TDLib
Loading...
Searching...
No Matches
td::td_api::invoice Class Referencefinal
Inheritance diagram for td::td_api::invoice:
td::td_api::Object td::TlObject

Public Member Functions

 invoice (string const &currency_, array< object_ptr< labeledPricePart > > &&price_parts_, int32 subscription_period_, int53 max_tip_amount_, array< int53 > &&suggested_tip_amounts_, string const &recurring_payment_terms_of_service_url_, string const &terms_of_service_url_, bool is_test_, bool need_name_, bool need_phone_number_, bool need_email_address_, bool need_shipping_address_, bool send_phone_number_to_provider_, bool send_email_address_to_provider_, bool is_flexible_)
void store (TlStorerToString &s, const char *field_name) const final
Public Member Functions inherited from td::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

Public Attributes

string currency_
array< object_ptr< labeledPricePart > > price_parts_
int32 subscription_period_
int53 max_tip_amount_
array< int53 > suggested_tip_amounts_
string recurring_payment_terms_of_service_url_
string terms_of_service_url_
bool is_test_
bool need_name_
bool need_phone_number_
bool need_email_address_
bool need_shipping_address_
bool send_phone_number_to_provider_
bool send_email_address_to_provider_
bool is_flexible_

Static Public Attributes

static const std::int32_t ID = 113204876

Member Function Documentation

◆ store()

void td::td_api::invoice::store ( TlStorerToString & s,
const char * field_name ) const
finalvirtual

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

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

Implements td::TlObject.


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