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

Inherits StoreTransaction.

Description

A purchase through Google Play.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 storeTransactionGooglePlay ()
 storeTransactionGooglePlay (string const &package_name_, string const &store_product_id_, string const &purchase_token_)
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 package_name_
 Application package name.
string purchase_token_
 Google Play purchase token.
string store_product_id_
 Identifier of the purchased store product.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ storeTransactionGooglePlay() [1/2]

storeTransactionGooglePlay ( )

A purchase through Google Play.

◆ storeTransactionGooglePlay() [2/2]

storeTransactionGooglePlay ( string const & package_name_,
string const & store_product_id_,
string const & purchase_token_ )

A purchase through Google Play.

Parameters
[in]package_name_Application package name.
[in]store_product_id_Identifier of the purchased store product.
[in]purchase_token_Google Play purchase token.

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: