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

Inherits PaymentReceiptType.

Description

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

Public Fields

int53 payment_provider_user_id_
 User identifier of the payment provider bot.
 
object_ptr< invoiceinvoice_
 Information about the invoice.
 
object_ptr< orderInfoorder_info_
 Order information; may be null.
 
object_ptr< shippingOptionshipping_option_
 Chosen shipping option; may be null.
 
string credentials_title_
 Title of the saved credentials chosen by the buyer.
 
int53 tip_amount_
 The amount of tip chosen by the buyer in the smallest units of the currency.
 

Public Instance Methods

 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 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 = -1636362826
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ paymentReceiptTypeRegular() [1/2]

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.

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