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 |
Method | Description | |
---|---|---|
AbstractStore ( ) : System |
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 |
public abstract Initialize ( IStoreCallback callback ) : void | ||
callback | IStoreCallback | Callback for stores to interact with Unity IAP. |
return | void |
public abstract Purchase ( ProductDefinition product, string developerPayload ) : void | ||
product | ProductDefinition | The product to purchase. |
developerPayload | string | Any additional developer-supplied data. |
return | void |
public abstract RetrieveProducts ( ReadOnlyCollection |
||
products | ReadOnlyCollection |
|
return | void |