List of all members | Public Fields | Public Instance Methods | Static Public Attributes
businessOpeningHours Class Referencefinal

Inherits Object.


Describes opening hours of a business.

Public Fields

string time_zone_id_
 Unique time zone identifier.
array< object_ptr< businessOpeningHoursInterval > > opening_hours_
 Intervals of the time when the business is open.

Public Instance Methods

 businessOpeningHours ()
 businessOpeningHours (string const &time_zone_id_, array< object_ptr< businessOpeningHoursInterval >> &&opening_hours_)
void store (TlStorerToString &s, const char *field_name) const final
- Public Instance Methods inherited from TlObject
virtual void store (TlStorerUnsafe &s) const
virtual void store (TlStorerCalcLength &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
TlObjectoperator= (const TlObject &)=delete
 TlObject (TlObject &&)=default
TlObjectoperator= (TlObject &&)=default
virtual ~TlObject ()=default

Static Public Attributes

static const std::int32_t ID = 816603700
 Identifier uniquely determining a type of the object.

Constructor & Destructor Documentation

◆ businessOpeningHours() [1/2]

Describes opening hours of a business.

◆ businessOpeningHours() [2/2]

businessOpeningHours ( string const &  time_zone_id_,
array< object_ptr< businessOpeningHoursInterval >> &&  opening_hours_ 

Describes opening hours of a business.

[in]time_zone_id_Unique time zone identifier.
[in]opening_hours_Intervals of the time when the business is open.

Method Documentation

◆ store()

void store ( TlStorerToString &  s,
const char *  field_name 
) const

Helper function for to_string method. Appends string representation of the object to the storer.

[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.

The documentation for this class was generated from the following file: