# PurchasableConfiguration

open class PurchasableConfiguration : ValueObject

Parameter class for the initialization of requestItemListOfNotConsumed or requestActivatedPurchases.

#### Since

Added 2.45.0.

#### See also

Gamebase.Purchase

## Types

Builder
Link copied to clipboard
open class Builder
This is the builder class for creating com.toast.android.gamebase.base.purchase.PurchasableConfiguration objects.

## Functions

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
isAllStores
Link copied to clipboard
open fun isAllStores(): Boolean
isIncludeExpiredSubscriptions
Link copied to clipboard
open fun isIncludeExpiredSubscriptions(): Boolean
newBuilder
Link copied to clipboard
open fun newBuilder(): PurchasableConfiguration.Builder
The factory method to create an instance of the builder to build requestItemListOfNotConsumed or requestActivatedPurchases.
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