1#ifndef TGBOT_SUCCESSFULPAYMENT_H
2#define TGBOT_SUCCESSFULPAYMENT_H
22 typedef std::shared_ptr<SuccessfulPayment>
Ptr;
std::shared_ptr< OrderInfo > Ptr
This object contains basic information about a successful payment.
std::string providerPaymentChargeId
Provider payment identifier.
std::string invoicePayload
Bot specified invoice payload.
std::string shippingOptionId
Optional. Identifier of the shipping option chosen by the user.
std::string telegramPaymentChargeId
Telegram payment identifier.
std::int32_t totalAmount
Total price in the smallest units of the currency (integer, not float/double).
std::shared_ptr< SuccessfulPayment > Ptr
std::string currency
Three-letter ISO 4217 currency code.
OrderInfo::Ptr orderInfo
Optional. Order info provided by the user.