|
TDLib
|
Inherits td::td_api::Object.
Public Member Functions | |
| paymentReceipt () | |
| paymentReceipt (string const &title_, object_ptr< formattedText > &&description_, object_ptr< photo > &&photo_, int32 date_, int53 seller_bot_user_id_, int53 payment_provider_user_id_, object_ptr< invoice > &&invoice_, object_ptr< orderInfo > &&order_info_, object_ptr< shippingOption > &&shipping_option_, string const &credentials_title_, int53 tip_amount_) | |
| std::int32_t | get_id () const final |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Member Functions inherited from td::TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Public Attributes | |
| string | title_ |
| Product title. | |
| object_ptr< formattedText > | description_ |
| Product description. | |
| object_ptr< photo > | photo_ |
| Product photo; may be null. | |
| int32 | date_ |
| Point in time (Unix timestamp) when the payment was made. | |
| int53 | seller_bot_user_id_ |
| User identifier of the seller bot. | |
| int53 | payment_provider_user_id_ |
| User identifier of the payment provider bot. | |
| object_ptr< invoice > | invoice_ |
| Information about the invoice. | |
| object_ptr< orderInfo > | order_info_ |
| Order information; may be null. | |
| object_ptr< shippingOption > | shipping_option_ |
| Chosen shipping option; may be null. | |
| string | credentials_title_ |
| Title of the saved credentials chosen by the buyer. | |
| int53 | tip_amount_ |
| The amount of tip chosen by the buyer in the smallest units of the currency. | |
Static Public Attributes | |
| static const std::int32_t | ID = -400955711 |
| Identifier uniquely determining a type of the object. | |
Contains information about a successful payment.
| td::td_api::paymentReceipt::paymentReceipt | ( | ) |
Contains information about a successful payment.
| td::td_api::paymentReceipt::paymentReceipt | ( | string const & | title_, |
| object_ptr< formattedText > && | description_, | ||
| object_ptr< photo > && | photo_, | ||
| int32 | date_, | ||
| int53 | seller_bot_user_id_, | ||
| int53 | payment_provider_user_id_, | ||
| object_ptr< invoice > && | invoice_, | ||
| object_ptr< orderInfo > && | order_info_, | ||
| object_ptr< shippingOption > && | shipping_option_, | ||
| string const & | credentials_title_, | ||
| int53 | tip_amount_ | ||
| ) |
Contains information about a successful payment.
| [in] | title_ | Product title. |
| [in] | description_ | Product description. |
| [in] | photo_ | Product photo; may be null. |
| [in] | date_ | Point in time (Unix timestamp) when the payment was made. |
| [in] | seller_bot_user_id_ | User identifier of the seller bot. |
| [in] | payment_provider_user_id_ | User identifier of the payment provider bot. |
| [in] | invoice_ | Information about the invoice. |
| [in] | order_info_ | Order information; may be null. |
| [in] | shipping_option_ | Chosen shipping option; may be null. |
| [in] | credentials_title_ | Title of the saved credentials chosen by the buyer. |
| [in] | tip_amount_ | The amount of tip chosen by the buyer in the smallest units of the currency. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.