tgbot-cpp
Loading...
Searching...
No Matches
ShippingAddress.h
Go to the documentation of this file.
1
#ifndef TGBOT_SHIPPINGADDRESS_H
2
#define TGBOT_SHIPPINGADDRESS_H
3
4
#include <string>
5
#include <memory>
6
7
namespace
TgBot
{
8
16
class
ShippingAddress
{
17
public
:
18
typedef
std::shared_ptr<ShippingAddress>
Ptr
;
19
23
std::string
countryCode
;
24
28
std::string
state
;
29
33
std::string
city
;
34
38
std::string
streetLine1
;
39
43
std::string
streetLine2
;
44
48
std::string
postCode
;
49
};
50
}
51
52
#endif
//TGBOT_SHIPPINGADDRESS_H
TgBot::ShippingAddress
This object represents a shipping address.
Definition
ShippingAddress.h:16
TgBot::ShippingAddress::streetLine2
std::string streetLine2
Second line for the address.
Definition
ShippingAddress.h:43
TgBot::ShippingAddress::countryCode
std::string countryCode
ISO 3166-1 alpha-2 country code.
Definition
ShippingAddress.h:23
TgBot::ShippingAddress::state
std::string state
State, if applicable.
Definition
ShippingAddress.h:28
TgBot::ShippingAddress::postCode
std::string postCode
Definition
ShippingAddress.h:48
TgBot::ShippingAddress::Ptr
std::shared_ptr< ShippingAddress > Ptr
Definition
ShippingAddress.h:18
TgBot::ShippingAddress::city
std::string city
City.
Definition
ShippingAddress.h:33
TgBot::ShippingAddress::streetLine1
std::string streetLine1
First line for the address.
Definition
ShippingAddress.h:38
TgBot
Definition
Api.h:39
include
tgbot
types
ShippingAddress.h
Generated on Mon Mar 4 2024 01:37:26 for tgbot-cpp by
1.10.0