Class BeamableIAPService
A class for wrapping Beamable's server interactions with the IAP Purchasing Service.
Interacts with Beamable's API to manipulate data on Beamable's servers
Inheritance
BeamableIAPService
Assembly: cs.temp.dll.dll
Syntax
public class BeamableIAPService : IService
Fields
_actionService
Declaration
protected IActionService _actionService
Field Value
Type |
Description |
IActionService |
|
_purchasedProduct
Declaration
protected Product _purchasedProduct
Field Value
_purchasedStoreProductData
Declaration
protected IStoreProductData _purchasedStoreProductData
Field Value
Type |
Description |
IStoreProductData |
|
_resolver
Declaration
protected IResolver _resolver
Field Value
Type |
Description |
IResolver |
|
RETRIES
Declaration
Field Value
RETRY_TIME
Declaration
Field Value
Properties
IsInitialized
Declaration
public bool IsInitialized { get; }
Property Value
Methods
Cleanup()
Declaration
GetCurrencyAndItems(List<CurrencyAmount>, IPayoutEntity[], String, PaymentService)
Declaration
protected (List<ObtainCurrency> obtainCurrency, List<ObtainItem> obtainItems)GetCurrencyAndItems(List<CurrencyAmount> payouts, IPayoutEntity[] payoutEntities, string purchaseId, PaymentService payments)
Parameters
Returns
Type |
Description |
ValueTuple<List<ObtainCurrency>, List<ObtainItem>> |
|
GetPayoutEntities(String)
Declaration
protected (IPayoutEntity[], List<CurrencyAmount>)GetPayoutEntities(string skuProductId)
Parameters
Type |
Name |
Description |
String |
skuProductId |
|
Returns
Initialize()
Declaration
Inject(IResolver)
Declaration
public void Inject(IResolver resolver)
Parameters
Type |
Name |
Description |
IResolver |
resolver |
|
OnIAPComplete(IAPCompletedStateAction)
Declaration
protected void OnIAPComplete(IAPCompletedStateAction completedPurchase)
Parameters
Type |
Name |
Description |
IAPCompletedStateAction |
completedPurchase |
|
TrackPurchaseBeamable()
Handles tracking the purchase with Beamable.
Declaration
protected virtual void TrackPurchaseBeamable()
Events
OnInitialized
Declaration
public event Action<IService> OnInitialized
Event Type
Type |
Description |
Action<IService> |
|