24 #ifndef TGBOT_SUCCESSFULPAYMENT_H 25 #define TGBOT_SUCCESSFULPAYMENT_H 43 typedef std::shared_ptr<SuccessfulPayment>
Ptr;
90 #endif //TGBOT_SUCCESSFULPAYMENT_H OrderInfo::Ptr orderInfo
Optional. Order info provided by the user.
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
std::string shippingOptionId
Optional. Identifier of the shipping option chosen by the user.