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
7namespace TgBot {
8
17public:
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
This object represents a shipping address.
std::string streetLine2
Second line for the address.
std::string countryCode
ISO 3166-1 alpha-2 country code.
std::string state
State, if applicable.
std::shared_ptr< ShippingAddress > Ptr
std::string city
City.
std::string streetLine1
First line for the address.
Definition Api.h:39