AmazonSalez

interface AmazonSalez : Salez

Functions

Link copied to clipboard
abstract fun cancelOrder(order: Orderz)
Link copied to clipboard
abstract fun completeOrder(order: Orderz)
Link copied to clipboard
abstract fun destroy()
Link copied to clipboard
abstract fun failedOrder(order: Orderz)
Link copied to clipboard
abstract fun processHistoryQueryResult(response: PurchaseUpdatesResponse)

Helper method for a verified PurchaseUpdatesResponse

Link copied to clipboard
abstract fun processOrder(order: Orderz)
Link copied to clipboard
abstract fun processOrdersQueryResult(response: PurchaseUpdatesResponse)

Helper method for a verified PurchaseUpdatesResponse

Link copied to clipboard
abstract fun processPurchase(response: PurchaseResponse?)

For handling Amazon IAP purchases. Purchases can exist from both and incomplete purchase flow, such as when a user loses network connection after a purchase, or from a normal purchase flow.

Link copied to clipboard
abstract fun processPurchaseUpdates(response: PurchaseUpdatesResponse?)

For handling queries for either a recent list of purchases, or for a complete history of purchases made.

Link copied to clipboard
abstract fun queryOrders(): QueryResult<Orderz>
Link copied to clipboard
abstract fun queryReceipts(type: Productz.Type?): QueryResult<OrderHistoryz>
Link copied to clipboard
abstract fun refreshQueries()
Link copied to clipboard
abstract fun setObfuscatedIdentifiers(accountId: String?, profileId: String?)
Link copied to clipboard
abstract fun startOrder(activity: Activity?, product: Productz, client: Clientz, options: Bundle?)
Link copied to clipboard
abstract fun validateOrder(order: Orderz)

Properties

Link copied to clipboard
abstract val currentOrder: MutableLiveData<Orderz>
Link copied to clipboard
abstract val currentReceipt: MutableLiveData<out Receiptz>
Link copied to clipboard
abstract var isNewVersion: Boolean
Link copied to clipboard
abstract val orderHistoryLiveData: MutableLiveData<out OrderHistoryz>
Link copied to clipboard
abstract val orderHistoryState: StateFlow<OrderHistoryz?>
Link copied to clipboard
abstract val orderHistoryStateFlow: MutableStateFlow<out OrderHistoryz?>
Link copied to clipboard
abstract var orderUpdaterListener: Salez.OrderUpdaterListener?
Link copied to clipboard
abstract var orderValidatorListener: Salez.OrderValidatorListener?

Inheritors

Link copied to clipboard