Open 3D Engine InAppPurchases Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
InAppPurchases::InAppPurchasesAndroid Class Reference

Inherits InAppPurchases::InAppPurchasesInterface.

Public Member Functions

void Initialize () override
 
void QueryProductInfo (AZStd::vector< AZStd::string > &productIds) const override
 
void QueryProductInfo () const override
 
void PurchaseProduct (const AZStd::string &productId, const AZStd::string &developerPayload) const override
 
void PurchaseProduct (const AZStd::string &productId) const override
 
void QueryPurchasedProducts () const override
 
void RestorePurchasedProducts () const override
 
void ConsumePurchase (const AZStd::string &purchaseToken) const override
 
void FinishTransaction (const AZStd::string &transactionId, bool downloadHostedContent) const override
 
InAppPurchasesCacheGetCache () override
 
virtual void Initialize ()=0
 
virtual void QueryProductInfo (AZStd::vector< AZStd::string > &productIds) const =0
 
virtual void QueryProductInfo () const =0
 
virtual void PurchaseProduct (const AZStd::string &productId, const AZStd::string &developerPayload) const =0
 
virtual void PurchaseProduct (const AZStd::string &productId) const =0
 
virtual void QueryPurchasedProducts () const =0
 
virtual void RestorePurchasedProducts () const =0
 
virtual void ConsumePurchase (const AZStd::string &purchaseToken) const =0
 
virtual void FinishTransaction (const AZStd::string &transactionId, bool downloadHostedContent) const =0
 
virtual InAppPurchasesCacheGetCache ()=0
 

Additional Inherited Members

- Static Public Member Functions inherited from InAppPurchases::InAppPurchasesInterface
static InAppPurchasesInterfaceGetInstance ()
 
static void DestroyInstance ()
 
- Protected Attributes inherited from InAppPurchases::InAppPurchasesInterface
InAppPurchasesCache m_cache
 

Member Function Documentation

◆ ConsumePurchase()

void InAppPurchases::InAppPurchasesAndroid::ConsumePurchase ( const AZStd::string &  purchaseToken) const
overridevirtual

◆ FinishTransaction()

void InAppPurchases::InAppPurchasesAndroid::FinishTransaction ( const AZStd::string &  transactionId,
bool  downloadHostedContent 
) const
overridevirtual

◆ GetCache()

InAppPurchasesCache * InAppPurchases::InAppPurchasesAndroid::GetCache ( )
overridevirtual

◆ Initialize()

void InAppPurchases::InAppPurchasesAndroid::Initialize ( )
overridevirtual

◆ PurchaseProduct() [1/2]

void InAppPurchases::InAppPurchasesAndroid::PurchaseProduct ( const AZStd::string &  productId) const
overridevirtual

◆ PurchaseProduct() [2/2]

void InAppPurchases::InAppPurchasesAndroid::PurchaseProduct ( const AZStd::string &  productId,
const AZStd::string &  developerPayload 
) const
overridevirtual

◆ QueryProductInfo() [1/2]

void InAppPurchases::InAppPurchasesAndroid::QueryProductInfo ( ) const
overridevirtual

◆ QueryProductInfo() [2/2]

void InAppPurchases::InAppPurchasesAndroid::QueryProductInfo ( AZStd::vector< AZStd::string > &  productIds) const
overridevirtual

◆ QueryPurchasedProducts()

void InAppPurchases::InAppPurchasesAndroid::QueryPurchasedProducts ( ) const
overridevirtual

◆ RestorePurchasedProducts()

void InAppPurchases::InAppPurchasesAndroid::RestorePurchasedProducts ( ) const
overridevirtual

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