class Hamilton::Types::BusinessOpeningHours

Overview

Describes the opening hours of a business.

Included Modules

Defined in:

types/business_opening_hours.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.


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 : String #

Unique name of the time zone for which the opening hours are defined.


def time_zone_name=(time_zone_name : String) #

Unique name of the time zone for which the opening hours are defined.