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 <memory>
5#include <string>
6
7namespace TgBot {
8
15
16public:
17 typedef std::shared_ptr<ShippingAddress> Ptr;
18
22 std::string countryCode;
23
27 std::string state;
28
32 std::string city;
33
37 std::string streetLine1;
38
42 std::string streetLine2;
43
47 std::string postCode;
48};
49}
50
51#endif //TGBOT_SHIPPINGADDRESS_H
This object represents a shipping address.
std::string streetLine2
Second line for the address.
std::string countryCode
Two-letter ISO 3166-1 alpha-2 country code.
std::string state
State, if applicable.
std::string postCode
Address post code.
std::shared_ptr< ShippingAddress > Ptr
std::string city
City.
std::string streetLine1
First line for the address.
Definition Api.h:40