# Builder

open class Builder

This is the builder class for creating com.toast.android.gamebase.base.purchase.PurchasableConfiguration objects. An instance of this class can be created with the newBuilder factory function.

#### Since

Added 2.45.0.

#### See also

PurchasableConfiguration
Gamebase.Purchase

## Functions

build
Link copied to clipboard
open fun build(): PurchasableConfiguration
This method creates an instance of com.toast.android.gamebase.base.purchase.PurchasableConfiguration.
setAllStores
Link copied to clipboard
open fun setAllStores(allStores: Boolean): PurchasableConfiguration.Builder
This method determines the target store scope when calling the payment API.
setIncludeExpiredSubscriptions
Link copied to clipboard
open fun setIncludeExpiredSubscriptions(includeExpiredSubscriptions: Boolean): PurchasableConfiguration.Builder
This function determines whether to include expired subscriptions when querying subscription status.