TDLib
Loading...
Searching...
No Matches
paymentReceiptTypeRegular Class Referencefinal

Inherits PaymentReceiptType.

Description

The payment was done using a third-party payment provider.

Public Member Functions

 paymentReceiptTypeRegular ()
 paymentReceiptTypeRegular (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_)
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

string credentials_title_
 Title of the saved credentials chosen by the buyer.
object_ptr< invoice > invoice_
 Information about the invoice.
object_ptr< orderInfo > order_info_
 Order information; may be null.
int53 payment_provider_user_id_
 User identifier of the payment provider bot.
object_ptr< shippingOption > shipping_option_
 Chosen shipping option; may be null.
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 = -1636362826
 Identifier uniquely determining a type of the object.

Constructor & Destructor Documentation

◆ paymentReceiptTypeRegular() [1/2]

paymentReceiptTypeRegular ( )

The payment was done using a third-party payment provider.

◆ paymentReceiptTypeRegular() [2/2]

paymentReceiptTypeRegular ( 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_ )

The payment was done using a third-party payment provider.

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

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: