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

Inherits Object.

Description

Contains information about a successful payment.

Public Fields

string title_
 Product title.
 
string description_
 Product description.
 
object_ptr< photophoto_
 Product photo; may be null.
 
int32 date_
 Point in time (Unix timestamp) when the payment was made.
 
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< 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

 paymentReceipt ()
 
 paymentReceipt (string const &title_, string const &description_, object_ptr< photo > &&photo_, int32 date_, int53 seller_bot_user_id_, int53 payments_provider_user_id_, object_ptr< invoice > &&invoice_, object_ptr< orderInfo > &&order_info_, object_ptr< shippingOption > &&shipping_option_, string const &credentials_title_, int53 tip_amount_)
 
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 = -401796169
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ paymentReceipt() [1/2]

Contains information about a successful payment.

◆ paymentReceipt() [2/2]

paymentReceipt ( string const &  title_,
string const &  description_,
object_ptr< photo > &&  photo_,
int32  date_,
int53  seller_bot_user_id_,
int53  payments_provider_user_id_,
object_ptr< invoice > &&  invoice_,
object_ptr< orderInfo > &&  order_info_,
object_ptr< shippingOption > &&  shipping_option_,
string const &  credentials_title_,
int53  tip_amount_ 
)

Contains information about a successful payment.

Parameters
[in]title_Product title.
[in]description_Product description.
[in]photo_Product photo; may be null.
[in]date_Point in time (Unix timestamp) when the payment was made.
[in]seller_bot_user_id_User identifier of the seller bot.
[in]payments_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

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