Purchase
Class that represents a Purchase.
Public parameters
Name | Type | Description |
---|---|---|
developerPayload | String | String-based payload specified by the Developer when initiating this Purchase. |
isAutoRenewing | Boolean | Specifies if the subscription will renew automatically. If set to true, the subscription remains active and is scheduled to renew on the upcoming billing date. If set to false, the subscription has been canceled. |
itemType | String | String value of the SkuType of the product purchased. |
orderId | String | The order UID (Unique Identifier) used internally in Aptoide. |
originalJson | String | String-based value of the original JSON that contains detailed information about the Purchase. |
packageName | String | Package name of the application that originated this Purchase. |
purchaseState | Int | State of the Purchase. |
purchaseTime | Long | Purchase time in milliseconds. |
sku | String | ID of the product purchased. |
token | String | The UID (Unique Identifier) of the Purchase to filter by in the Aptoide Services. |
purchaseState
Possible values of the Response:
Value | Title | Description |
---|---|---|
0 | Purchased | Purchase has been successfully completed. |
1 | Cancelled | Purchase has been cancelled. |
Updated 3 days ago