toggle menu
Gamebase SDK for Android
2.63.0
androidJvm
switch theme
search in API
gamebase-sdk
/
com.toast.android.gamebase.base.purchase
/
PurchasableSubscriptionStatus
Purchasable
Subscription
Status
open
class
PurchasableSubscriptionStatus
:
ValueObject
,
PurchasableReceiptBase
The information of the purchased subscriptions.
Since
Added 2.40.0.
See also
Gamebase
Toast
Purchasable
Members
Constructors
Purchasable
Subscription
Status
Link copied to clipboard
constructor
(
)
Properties
currency
Link copied to clipboard
@
NonNull
open
var
currency
:
String
expiry
Time
Link copied to clipboard
open
var
expiryTime
:
Long
gamebase
Product
Id
Link copied to clipboard
@
Nullable
open
var
gamebaseProductId
:
String
item
Seq
Link copied to clipboard
open
var
itemSeq
:
Long
market
Item
Id
Link copied to clipboard
@
NonNull
open
var
marketItemId
:
String
original
Payment
Id
Link copied to clipboard
@
Nullable
open
var
originalPaymentId
:
String
payload
Link copied to clipboard
@
Nullable
open
var
payload
:
String
payment
Id
Link copied to clipboard
@
Nullable
open
var
paymentId
:
String
payment
Seq
Link copied to clipboard
@
NonNull
open
var
paymentSeq
:
String
price
Link copied to clipboard
open
var
price
:
Float
product
Type
Link copied to clipboard
@
NonNull
open
var
productType
:
String
purchase
Time
Link copied to clipboard
open
var
purchaseTime
:
Long
purchase
Token
Link copied to clipboard
@
NonNull
open
var
purchaseToken
:
String
purchase
Type
Link copied to clipboard
@
Nullable
open
var
purchaseType
:
String
status
Code
Link copied to clipboard
open
var
statusCode
:
Int
status
Description
Link copied to clipboard
@
NonNull
open
var
statusDescription
:
String
store
Code
Link copied to clipboard
@
NonNull
open
var
storeCode
:
String
user
Id
Link copied to clipboard
@
NonNull
open
var
userId
:
String
Functions
from
Link copied to clipboard
open
fun
from
(
@
Nullable
jsonString
:
String
)
:
PurchasableSubscriptionStatus
Factory method to create VO instance.
from
Json
Link copied to clipboard
open
fun
<
T
>
fromJson
(
@
NonNull
json
:
String
,
classOfT
:
Class
<
T
>
)
:
T
open
fun
<
T
>
fromJson
(
@
NonNull
json
:
String
,
type
:
Type
)
:
T
open
fun
<
T
>
fromJson
(
@
NonNull
jsonObject
:
JSONObject
,
classOfT
:
Class
<
T
>
)
:
T
get
Gamebase
Product
Id
Link copied to clipboard
@
Nullable
open
fun
getGamebaseProductId
(
)
:
String
get
Market
Item
Id
Link copied to clipboard
@
NonNull
open
fun
getMarketItemId
(
)
:
String
get
User
Id
Link copied to clipboard
@
NonNull
open
fun
getUserId
(
)
:
String
set
Gamebase
Product
Id
Link copied to clipboard
open
fun
setGamebaseProductId
(
@
Nullable
gamebaseProductId
:
String
)
set
User
Id
Link copied to clipboard
open
fun
setUserId
(
@
NonNull
userId
:
String
)
to
Json
String
Link copied to clipboard
open
fun
toJsonString
(
)
:
String
to
Pretty
Json
String
Link copied to clipboard
open
fun
toPrettyJsonString
(
)
:
String
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String