tgbot-cpp
Loading...
Searching...
No Matches
OrderInfo.h
Go to the documentation of this file.
1#ifndef TGBOT_ORDERINFO_H
2#define TGBOT_ORDERINFO_H
3
5
6#include <string>
7#include <memory>
8
9namespace TgBot {
10
18class OrderInfo {
19public:
20 typedef std::shared_ptr<OrderInfo> Ptr;
21
25 std::string name;
26
30 std::string phoneNumber;
31
35 std::string email;
36
41};
42
43}
44
45#endif //TGBOT_ORDERINFO_H
This object represents information about an order.
Definition OrderInfo.h:18
std::string name
Optional. User name.
Definition OrderInfo.h:25
std::string email
Optional. User email.
Definition OrderInfo.h:35
std::string phoneNumber
Optional. User's phone number.
Definition OrderInfo.h:30
std::shared_ptr< OrderInfo > Ptr
Definition OrderInfo.h:20
ShippingAddress::Ptr shippingAddress
Optional. User shipping address.
Definition OrderInfo.h:40
std::shared_ptr< ShippingAddress > Ptr
Definition Api.h:40