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

Inherits Object.

Description

Describes an address.

Public Fields

string country_code_
 A two-letter ISO 3166-1 alpha-2 country code.
 
string state_
 State, if applicable.
 
string city_
 City.
 
string street_line1_
 First line of the address.
 
string street_line2_
 Second line of the address.
 
string postal_code_
 Address postal code.
 

Public Instance Methods

 address ()
 
 address (string const &country_code_, string const &state_, string const &city_, string const &street_line1_, string const &street_line2_, string const &postal_code_)
 
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 = -2043654342
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ address() [1/2]

address ( )

Describes an address.

◆ address() [2/2]

address ( string const &  country_code_,
string const &  state_,
string const &  city_,
string const &  street_line1_,
string const &  street_line2_,
string const &  postal_code_ 
)

Describes an address.

Parameters
[in]country_code_A two-letter ISO 3166-1 alpha-2 country code.
[in]state_State, if applicable.
[in]city_City.
[in]street_line1_First line of the address.
[in]street_line2_Second line of the address.
[in]postal_code_Address postal code.

Method Documentation

◆ store()

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

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

Parameters
[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: