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::SystemComponent Class Reference

Inherits AZ::Component, InAppPurchasesRequestBus::Handler, and InAppPurchasesResponseAccessorBus::Handler.

Public Member Functions

 AZ_COMPONENT (SystemComponent, "{D0ABA496-16A7-4090-98AB-6D372BE7BD45}")
 
void Initialize () override
 
void QueryProductInfoById (const AZStd::string &productId) const override
 
void QueryProductInfoByIds (AZStd::vector< AZStd::string > &productIds) const override
 
void QueryProductInfo () const override
 
void QueryProductInfoFromJson (const AZStd::string &filePath) const override
 
const AZStd::vector< AZStd::unique_ptr< ProductDetails const > > * GetCachedProductInfo () const override
 
const AZStd::vector< AZStd::unique_ptr< PurchasedProductDetails const > > * GetCachedPurchasedProductInfo () const override
 
void PurchaseProductWithDeveloperPayload (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
 
void ClearCachedProductDetails () override
 
void ClearCachedPurchasedProductDetails () override
 
bool GetNextProduct () override
 
bool GetPreviousProduct () override
 
bool GetNextPurchasedProduct () override
 
bool GetPreviousPurchasedProduct () override
 
AZStd::string GetProductId () override
 
AZStd::string GetProductTitle () override
 
AZStd::string GetProductDescription () override
 
AZStd::string GetProductPrice () override
 
AZStd::string GetProductCurrencyCode () override
 
AZ::u64 GetProductPriceMicro () override
 
AZStd::string GetPurchasedProductId () override
 
AZStd::string GetOrderId () override
 
AZStd::string GetDeveloperPayload () override
 
AZStd::string GetPurchaseTime () override
 
AZStd::string GetPurchaseSignature () override
 
AZStd::string GetPackageName () override
 
AZStd::string GetPurchaseToken () override
 
bool IsAutoRenewing () override
 
AZStd::string GetRestoredOrderId () override
 
AZ::u64 GetSubscriptionExpirationTime () override
 
AZ::u64 GetRestoredPurchaseTime () override
 
bool HasDownloads () override
 
bool IsProductOwned () override
 
void ResetIndices () override
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided)
 
static void GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible)
 
static void GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required)
 
static void GetDependentServices (AZ::ComponentDescriptor::DependencyArrayType &dependent)
 

Protected Member Functions

void Init () override
 
void Activate () override
 
void Deactivate () override
 

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