List of all members | Public Fields | Public Instance Methods | Static Public Attributes
paymentForm Class Referencefinal

Inherits Object.

Description

Contains information about an invoice payment form.

Public Fields

int64 id_
 The payment form identifier.
 
object_ptr< invoiceinvoice_
 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< paymentsProviderStripepayments_provider_
 Information about the payment provider, if available, to support it natively without the need for opening the URL; may be null.
 
object_ptr< orderInfosaved_order_info_
 Saved server-side order information; may be null.
 
object_ptr< savedCredentialssaved_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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

static const std::int32_t ID = 1462608358
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ paymentForm() [1/2]

Contains information about an invoice payment form.

◆ paymentForm() [2/2]

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.

Parameters
[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.

Method Documentation

◆ get_id()

std::int32_t get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements TlObject.

◆ store()

void store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: