The information of the item that is paid.
More...
|
static PurchasableReceipt | from (@Nullable String jsonString) |
| Factory method to create VO instance. More...
|
|
static< T > T | fromJson (@NonNull String json, Class< T > classOfT) |
|
static< T > T | fromJson (@NonNull JSONObject jsonObject, Class< T > classOfT) |
|
static< T > T | fromJson (@NonNull String json, Type type) |
|
The information of the item that is paid.
This information are used just for the confirmation of the function.
- See also
GamebaseToastPurchasable#purchase(Activity, String, String, String, JSONObject, String, Function2)
-
GamebaseToastPurchasable#requestConsumablePurchases(Activity, String, Function2)
-
GamebaseToastPurchasable#requestActivatedPurchases(Activity, String, Function2)
- Since
- 2016-12-07 @update 2020-06-23 Change main key to 'gamebaseProductId' from 'itemSeq'.
◆ from()
Factory method to create VO instance.
- Parameters
-
jsonString | Extracts the VO class instance from this JSON String. |
- Returns
- VO instance
◆ fromJson() [1/3]
static< T > T fromJson |
( |
@NonNull JSONObject |
jsonObject, |
|
|
Class< T > |
classOfT |
|
) |
| |
|
staticinherited |
◆ fromJson() [2/3]
static< T > T fromJson |
( |
@NonNull String |
json, |
|
|
Class< T > |
classOfT |
|
) |
| |
|
staticinherited |
◆ fromJson() [3/3]
static< T > T fromJson |
( |
@NonNull String |
json, |
|
|
Type |
type |
|
) |
| |
|
staticinherited |
◆ getGamebaseProductId()
String getGamebaseProductId |
( |
| ) |
|
◆ getMarketItemId()
String getMarketItemId |
( |
| ) |
|
◆ getUserId()
◆ setGamebaseProductId()
void setGamebaseProductId |
( |
@Nullable String |
gamebaseProductId | ) |
|
◆ setUserId()
void setUserId |
( |
@NonNull String |
userId | ) |
|
◆ toJsonString()
◆ toPrettyJsonString()
String toPrettyJsonString |
( |
| ) |
|
|
inherited |
◆ toString()
◆ currency
◆ expiryTime
◆ gamebaseProductId
◆ itemSeq
◆ marketItemId
◆ originalPaymentId
◆ payload
◆ paymentId
◆ paymentSeq
◆ price
◆ productType
◆ purchaseTime
◆ purchaseToken
◆ purchaseType
◆ storeCode
◆ userId