Interface IStorePurchaseFetchCallback
A public interface for a class that handles callbacks for fetching existing purchases from a Store.
Namespace: UnityEngine.Purchasing
Assembly: Unity.Purchasing.dll
Syntax
public interface IStorePurchaseFetchCallback
Methods
OnAllPurchasesRetrieved(IReadOnlyList<Order>)
Inform Unity Purchasing of all active or pending purchases.
Declaration
void OnAllPurchasesRetrieved(IReadOnlyList<Order> orders)
Parameters
Type | Name | Description |
---|---|---|
IReadOnlyList<Order> | orders | All active or pending purchased products. |
OnPurchasesRetrievalFailed(PurchasesFetchFailureDescription)
Inform Unity Purchasing of a failure to retrieve purchases.
Declaration
void OnPurchasesRetrievalFailed(PurchasesFetchFailureDescription failureReason)
Parameters
Type | Name | Description |
---|---|---|
PurchasesFetchFailureDescription | failureReason | The reason that purchases could not be retrieved. |