C# Class UnityEngine.Purchasing.Extension.AbstractStore

Extension point for purchasing plugins.

Inheritance: IStore
Show file Open project: CarlosHBC/UnityDecompiled

Public Methods

Method Description
FinishTransaction ( ProductDefinition product, string transactionId ) : void

Called when Unity IAP has finished processing a purchase.

Initialize ( IStoreCallback callback ) : void

Called when Unity IAP is initializing.

Purchase ( ProductDefinition product, string developerPayload ) : void

Called when a user wants to buy the specified Product.

RetrieveProducts ( ReadOnlyCollection products ) : void

Protected Methods

Method Description
AbstractStore ( ) : System

Method Details

AbstractStore() protected method

protected AbstractStore ( ) : System
return System

FinishTransaction() public abstract method

Called when Unity IAP has finished processing a purchase.

public abstract FinishTransaction ( ProductDefinition product, string transactionId ) : void
product ProductDefinition The product that was purchased.
transactionId string The transaction ID for the purchase.
return void

Initialize() public abstract method

Called when Unity IAP is initializing.

public abstract Initialize ( IStoreCallback callback ) : void
callback IStoreCallback Callback for stores to interact with Unity IAP.
return void

Purchase() public abstract method

Called when a user wants to buy the specified Product.

public abstract Purchase ( ProductDefinition product, string developerPayload ) : void
product ProductDefinition The product to purchase.
developerPayload string Any additional developer-supplied data.
return void

RetrieveProducts() public abstract method

public abstract RetrieveProducts ( ReadOnlyCollection products ) : void
products ReadOnlyCollection
return void