TDLib
|
Inherits td::td_api::Object.
Public Attributes | |
int64 | id_ |
The payment form identifier. | |
object_ptr< invoice > | invoice_ |
Full information about the invoice. | |
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< PaymentProvider > | payment_provider_ |
Information about the payment provider. | |
array< object_ptr< paymentOption > > | additional_payment_options_ |
The list of additional payment options. | |
object_ptr< orderInfo > | saved_order_info_ |
Saved server-side order information; may be null. | |
array< object_ptr< savedCredentials > > | saved_credentials_ |
The list of saved payment credentials. | |
bool | can_save_credentials_ |
True, if the user can choose to save credentials. | |
bool | need_password_ |
True, if the user will be able to save credentials, if sets up a 2-step verification password. | |
string | product_title_ |
Product title. | |
object_ptr< formattedText > | product_description_ |
Product description. | |
object_ptr< photo > | product_photo_ |
Product photo; may be null. | |
Static Public Attributes | |
static const std::int32_t | ID = -1468471378 |
Identifier uniquely determining a type of the object. | |
Contains information about an invoice payment form.
td::td_api::paymentForm::paymentForm | ( | ) |
Contains information about an invoice payment form.
td::td_api::paymentForm::paymentForm | ( | int64 | id_, |
object_ptr< invoice > && | invoice_, | ||
int53 | seller_bot_user_id_, | ||
int53 | payment_provider_user_id_, | ||
object_ptr< PaymentProvider > && | payment_provider_, | ||
array< object_ptr< paymentOption > > && | additional_payment_options_, | ||
object_ptr< orderInfo > && | saved_order_info_, | ||
array< object_ptr< savedCredentials > > && | saved_credentials_, | ||
bool | can_save_credentials_, | ||
bool | need_password_, | ||
string const & | product_title_, | ||
object_ptr< formattedText > && | product_description_, | ||
object_ptr< photo > && | product_photo_ | ||
) |
Contains information about an invoice payment form.
[in] | id_ | The payment form identifier. |
[in] | invoice_ | Full information about the invoice. |
[in] | seller_bot_user_id_ | User identifier of the seller bot. |
[in] | payment_provider_user_id_ | User identifier of the payment provider bot. |
[in] | payment_provider_ | Information about the payment provider. |
[in] | additional_payment_options_ | The list of additional payment options. |
[in] | saved_order_info_ | Saved server-side order information; may be null. |
[in] | saved_credentials_ | The list of saved payment credentials. |
[in] | can_save_credentials_ | True, if the user can choose to save credentials. |
[in] | need_password_ | True, if the user will be able to save credentials, if sets up a 2-step verification password. |
[in] | product_title_ | Product title. |
[in] | product_description_ | Product description. |
[in] | product_photo_ | Product photo; may be null. |
|
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.