class
Hamilton::Types::BusinessOpeningHours
- Hamilton::Types::BusinessOpeningHours
- Reference
- Object
Overview
Describes the opening hours of a business.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/business_opening_hours.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#opening_hours : Array(Hamilton::Types::BusinessOpeningHoursInterval)
List of time intervals describing business opening hours.
-
#opening_hours=(opening_hours : Array(Hamilton::Types::BusinessOpeningHoursInterval))
List of time intervals describing business opening hours.
-
#time_zone_name : String
Unique name of the time zone for which the opening hours are defined.
-
#time_zone_name=(time_zone_name : String)
Unique name of the time zone for which the opening hours are defined.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
def opening_hours : Array(Hamilton::Types::BusinessOpeningHoursInterval)
#
List of time intervals describing business opening hours.
def opening_hours=(opening_hours : Array(Hamilton::Types::BusinessOpeningHoursInterval))
#
List of time intervals describing business opening hours.
def time_zone_name=(time_zone_name : String)
#
Unique name of the time zone for which the opening hours are defined.