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 ()
 
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.

◆ 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: