Purchase
com.aptoide.sdk.billing.Purchase
Class that represents a Purchase.
Public parameters
Name | Type | Description |
---|---|---|
accountIdentifiers | AccountIdentifiers | Account Identifiers that were provided when creating the Purchase request. |
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, and access to content will end on the next billing date unless the user opts to restore automatic renewal or completes a manual renewal. |
orderId | String | The order UID (Unique Identifier) used internally in Aptoide. |
originalJson | String | String based value of the original JSON value that contains detailed information about the Purchase. |
packageName | String | Package name of the application that originated this Purchase. |
products | List | List containing the productId of all the Products Purchased. |
purchaseState | Int | State of the Purchase. |
purchaseTime | Long | Purchase time in millies. |
purchaseToken | String | The UID (Unique Identifier) of the Purchase to filter by in the Aptoide Services. |
signature | String | String based value containing the signature of the Purchase data that was signed with the private key of the developer. SHA1withRSA algorithm scheme is used. |
purchaseState
Possible values of the Response:
Value | Title | Description |
---|---|---|
0 | Purchased | Purchase has been successfully completed. |
1 | Cancelled | Purchase has been cancelled. |
Updated 10 days ago