Inherits Object.
Contains information about an invoice payment form.
Public Fields | |
int64 | id_ |
The payment form identifier. | |
object_ptr< invoice > | invoice_ |
Full information of the invoice. | |
string | url_ |
Payment form URL. | |
int53 | seller_bot_user_id_ |
User identifier of the seller bot. | |
int53 | payments_provider_user_id_ |
User identifier of the payment provider bot. | |
object_ptr< paymentsProviderStripe > | payments_provider_ |
Information about the payment provider, if available, to support it natively without the need for opening the URL; may be null. | |
object_ptr< orderInfo > | saved_order_info_ |
Saved server-side order information; may be null. | |
object_ptr< savedCredentials > | saved_credentials_ |
Information about saved card credentials; may be null. | |
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 protected by a password they set up. | |
Public Instance Methods | |
paymentForm () | |
paymentForm (int64 id_, object_ptr< invoice > &&invoice_, string const &url_, int53 seller_bot_user_id_, int53 payments_provider_user_id_, object_ptr< paymentsProviderStripe > &&payments_provider_, object_ptr< orderInfo > &&saved_order_info_, object_ptr< savedCredentials > &&saved_credentials_, bool can_save_credentials_, bool need_password_) | |
std::int32_t | get_id () const final |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from 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 |
Static Public Attributes | |
static const std::int32_t | ID = 1462608358 |
Identifier uniquely determining a type of the object. | |
paymentForm | ( | ) |
Contains information about an invoice payment form.
paymentForm | ( | int64 | id_, |
object_ptr< invoice > && | invoice_, | ||
string const & | url_, | ||
int53 | seller_bot_user_id_, | ||
int53 | payments_provider_user_id_, | ||
object_ptr< paymentsProviderStripe > && | payments_provider_, | ||
object_ptr< orderInfo > && | saved_order_info_, | ||
object_ptr< savedCredentials > && | saved_credentials_, | ||
bool | can_save_credentials_, | ||
bool | need_password_ | ||
) |
Contains information about an invoice payment form.
[in] | id_ | The payment form identifier. |
[in] | invoice_ | Full information of the invoice. |
[in] | url_ | Payment form URL. |
[in] | seller_bot_user_id_ | User identifier of the seller bot. |
[in] | payments_provider_user_id_ | User identifier of the payment provider bot. |
[in] | payments_provider_ | Information about the payment provider, if available, to support it natively without the need for opening the URL; may be null. |
[in] | saved_order_info_ | Saved server-side order information; may be null. |
[in] | saved_credentials_ | Information about saved card credentials; may be null. |
[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 protected by a password they set up. |
|
inlinefinalvirtual |
|
finalvirtual |