TDLib
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
paymentFormTypeRegular Class Referencefinal

Inherits PaymentFormType.

Description

The payment form is for a regular payment.

Public Member Functions

 paymentFormTypeRegular ()
 
 paymentFormTypeRegular (object_ptr< invoice > &&invoice_, 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_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
 
TlObject & operator= (TlObject &&)=default
 
virtual void store (TlStorerCalcLength &s) const
 
virtual void store (TlStorerUnsafe &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

array< object_ptr< paymentOption > > additional_payment_options_
 The list of additional payment options.
 
bool can_save_credentials_
 True, if the user can choose to save credentials.
 
object_ptr< invoice > invoice_
 Full information about the invoice.
 
bool need_password_
 True, if the user will be able to save credentials, if sets up a 2-step verification password.
 
object_ptr< PaymentProvider > payment_provider_
 Information about the payment provider.
 
int53 payment_provider_user_id_
 User identifier of the payment provider bot.
 
array< object_ptr< savedCredentials > > saved_credentials_
 The list of saved payment credentials.
 
object_ptr< orderInfo > saved_order_info_
 Saved server-side order information; may be null.
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ paymentFormTypeRegular() [1/2]

The payment form is for a regular payment.

◆ paymentFormTypeRegular() [2/2]

paymentFormTypeRegular ( object_ptr< invoice > &&  invoice_,
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_ 
)

The payment form is for a regular payment.

Parameters
[in]invoice_Full information about the invoice.
[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.

Member Function Documentation

◆ 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: