Beamable SDK
Public Member Functions | List of all members
Beamable.Api.Payments.IBeamablePurchaser Interface Reference

This type defines the Client main entry point for the In-App Purchasing feature. More...

Inheritance diagram for Beamable.Api.Payments.IBeamablePurchaser:
Inheritance graph
[legend]

Public Member Functions

Promise< UnitInitialize (IDependencyProvider provider=null)
 Begin initialization of Beamable purchasing. More...
 
string GetLocalizedPrice (string skuSymbol)
 Fetches the localized string from the provider.

Parameters
skuSymbolThe purchase symbol for the item. This is the skuSymbol for the offer.
More...
 
Promise< CompletedTransactionStartPurchase (string listingSymbol, string skuSymbol)
 Start a purchase through the chosen IAP implementation. More...
 

Detailed Description

This type defines the Client main entry point for the In-App Purchasing feature.

Related Links

img beamable-logo

Member Function Documentation

◆ GetLocalizedPrice()

string Beamable.Api.Payments.IBeamablePurchaser.GetLocalizedPrice ( string  skuSymbol)

Fetches the localized string from the provider.

Parameters
skuSymbolThe purchase symbol for the item. This is the skuSymbol for the offer.

Implemented in Beamable.Purchasing.UnityBeamablePurchaser.

◆ Initialize()

Promise< Unit > Beamable.Api.Payments.IBeamablePurchaser.Initialize ( IDependencyProvider  provider = null)

Begin initialization of Beamable purchasing.

Parameters
providerA IDependencyProvider that will be used to grant Beamable dependencies to the purchaser.
Returns
A Promise representing the completion of IAP initialization.

Implemented in Beamable.Purchasing.UnityBeamablePurchaser.

◆ StartPurchase()

Promise< CompletedTransaction > Beamable.Api.Payments.IBeamablePurchaser.StartPurchase ( string  listingSymbol,
string  skuSymbol 
)

Start a purchase through the chosen IAP implementation.

Parameters
listingSymbolListing symbol to buy.
skuSymbolSKU within the mobile platform.
Returns
Promise with a completed transaction data structure.

Implemented in Beamable.Purchasing.UnityBeamablePurchaser.


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