class Tourmaline::BusinessOpeningHours
inherits Reference
#
Describes the opening hours of a business.
Included modules
JSON::Serializable
Constructors#
.new(time_zone_name, opening_hours : Array(Tourmaline::BusinessOpeningHoursInterval) = [] of Tourmaline::BusinessOpeningHoursInterval)
#
(time_zone_name, opening_hours : Array(Tourmaline::BusinessOpeningHoursInterval) = [] of Tourmaline::BusinessOpeningHoursInterval)
Methods#
#opening_hours : Array(Tourmaline::BusinessOpeningHoursInterval)
#
: Array(Tourmaline::BusinessOpeningHoursInterval)
List of time intervals describing business opening hours
#opening_hours=(opening_hours : Array(Tourmaline::BusinessOpeningHoursInterval))
#
(opening_hours : Array(Tourmaline::BusinessOpeningHoursInterval))
List of time intervals describing business opening hours
#time_zone_name : String
#
: String
Unique name of the time zone for which the opening hours are defined
#time_zone_name=(time_zone_name : String)
#
(time_zone_name : String)
Unique name of the time zone for which the opening hours are defined