Builder

interface Builder

Functions

Link copied to clipboard
abstract fun build(context: Context?): Storez

Return an instance of Storez for either Google Play or Amazon Appstore

Link copied to clipboard
abstract fun setAccountId(id: String?): Storez.Builder

Google Play can use it to detect irregular activity, such as many devices making purchases on the same account in a short period of time.

Link copied to clipboard
abstract fun setNewVersion(enable: Boolean): Storez.Builder

Toggle between an old and new version of Billingz. Old versions maintain legacy functionality, and newer versions use the latest changes from their respetive billing libraries. Refer to the Billingz documntation to review current version differences in Google and Amazon.

Link copied to clipboard
abstract fun setOrderUpdater(listener: Salez.OrderUpdaterListener): Storez.Builder
Link copied to clipboard
abstract fun setOrderValidator(listener: Salez.OrderValidatorListener): Storez.Builder