From ce9bcf9d653a0598b41fcf52708d01b396c6fd30 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Sun, 27 May 2018 22:44:51 +0300 Subject: Update README.md and docs --- docs/_successful_payment_8h_source.html | 110 ++++++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 docs/_successful_payment_8h_source.html (limited to 'docs/_successful_payment_8h_source.html') diff --git a/docs/_successful_payment_8h_source.html b/docs/_successful_payment_8h_source.html new file mode 100644 index 0000000..14f5b73 --- /dev/null +++ b/docs/_successful_payment_8h_source.html @@ -0,0 +1,110 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/SuccessfulPayment.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
SuccessfulPayment.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  * Copyright (c) 2017 Maks Mazurov (fox.cpp)
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a copy
6  * of this software and associated documentation files (the "Software"), to deal
7  * in the Software without restriction, including without limitation the rights
8  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9  * copies of the Software, and to permit persons to whom the Software is
10  * furnished to do so, subject to the following conditions:
11  *
12  * The above copyright notice and this permission notice shall be included in all
13  * copies or substantial portions of the Software.
14  *
15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21  * SOFTWARE.
22  */
23 
24 #ifndef TGBOT_SUCCESSFULPAYMENT_H
25 #define TGBOT_SUCCESSFULPAYMENT_H
26 
27 #include <string>
28 #include <memory>
29 #include <vector>
30 #include "tgbot/types/OrderInfo.h"
31 
32 namespace TgBot {
33 
42 public:
43  typedef std::shared_ptr<SuccessfulPayment> Ptr;
44 
48  std::string currency;
49 
61  int32_t totalAmount;
62 
66  std::string invoicePayload;
67 
71  std::string shippingOptionId;
72 
77 
82 
87 };
88 }
89 
90 #endif //TGBOT_SUCCESSFULPAYMENT_H
OrderInfo::Ptr orderInfo
Optional. Order info provided by the user.
+
Definition: Api.h:46
+
int32_t totalAmount
Total price in the smallest units of the currency (integer, not float/double).
+
std::string invoicePayload
Bot specified invoice payload.
+
std::string currency
Three-letter ISO 4217 currency code.
+
std::string providerPaymentChargeId
Provider payment identifier.
+
This object contains basic information about a successful payment.
+
std::shared_ptr< SuccessfulPayment > Ptr
+
std::string telegramPaymentChargeId
Telegram payment identifier.
+ +
std::shared_ptr< OrderInfo > Ptr
Definition: OrderInfo.h:42
+
std::string shippingOptionId
Optional. Identifier of the shipping option chosen by the user.
+
+
+ + + + -- cgit v1.2.3