# PurchasableSubscriptionStatus

open class PurchasableSubscriptionStatus : ValueObject, PurchasableReceiptBase

The information of the purchased subscriptions.

#### Since

Added 2.40.0.

#### See also

GamebasePurchasable

## Constructors

PurchasableSubscriptionStatus
Link copied to clipboard
constructor()

## Properties

currency
Link copied to clipboard
@NonNull
open var currency: String
expiryTime
Link copied to clipboard
open var expiryTime: Long
gamebaseProductId
Link copied to clipboard
@Nullable
open var gamebaseProductId: String
itemSeq
Link copied to clipboard
open var itemSeq: Long
marketItemId
Link copied to clipboard
@NonNull
open var marketItemId: String
originalPaymentId
Link copied to clipboard
@Nullable
open var originalPaymentId: String
payload
Link copied to clipboard
@Nullable
open var payload: String
paymentId
Link copied to clipboard
@Nullable
open var paymentId: String
paymentSeq
Link copied to clipboard
@NonNull
open var paymentSeq: String
price
Link copied to clipboard
open var price: Float
productType
Link copied to clipboard
@NonNull
open var productType: String
purchaseTime
Link copied to clipboard
open var purchaseTime: Long
purchaseToken
Link copied to clipboard
@NonNull
open var purchaseToken: String
purchaseType
Link copied to clipboard
@Nullable
open var purchaseType: String
statusCode
Link copied to clipboard
open var statusCode: Int
statusDescription
Link copied to clipboard
@NonNull
open var statusDescription: String
storeCode
Link copied to clipboard
@NonNull
open var storeCode: String
userId
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.
fromJson
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
getGamebaseProductId
Link copied to clipboard
@Nullable
open fun getGamebaseProductId(): String
getMarketItemId
Link copied to clipboard
@NonNull
open fun getMarketItemId(): String
getUserId
Link copied to clipboard
@NonNull
open fun getUserId(): String
setGamebaseProductId
Link copied to clipboard
open fun setGamebaseProductId(@Nullable gamebaseProductId: String)
setUserId
Link copied to clipboard
open fun setUserId(@NonNull userId: String)
toJsonString
Link copied to clipboard
open fun toJsonString(): String
toPrettyJsonString
Link copied to clipboard
open fun toPrettyJsonString(): String
toString
Link copied to clipboard
open fun toString(): String