AmazonInventory

class AmazonInventory(dispatcher: Dispatcherz) : AmazonInventoryz

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun destroy()
Link copied to clipboard
open override fun getProduct(sku: String?): Productz?
Link copied to clipboard
open override fun getProducts(type: Productz.Type?, promo: Productz.Promotion?): Map<String, Productz>
Link copied to clipboard
open override fun isReadyLiveData(): LiveData<Boolean>
Link copied to clipboard
open override fun isReadyStateFlow(): StateFlow<Boolean>
Link copied to clipboard
open override fun processQueriedProducts(response: ProductDataResponse?)

For internal use only

Link copied to clipboard
open override fun queryInventory(products: Map<String, Productz.Type>): QueryResult<Map<String, Productz>>
Link copied to clipboard
open override fun queryProduct(sku: String, type: Productz.Type): QueryResult<Productz>
Link copied to clipboard
open override fun updateInventory(products: List<Productz>?, type: Productz.Type)

Properties

Link copied to clipboard
open override var allProducts: Map<String, Productz.Type>
Link copied to clipboard
open override var consumables: ArrayMap<String, Productz>
Link copied to clipboard
open override var isNewVersion: Boolean = false
Link copied to clipboard
open override var nonConsumables: ArrayMap<String, Productz>
Link copied to clipboard
open override var subscriptions: ArrayMap<String, Productz>
Link copied to clipboard
open override var unavailableSkus: Set<String>? = null

Cached list of invalid skus to prevent your app's users from being able to purchase these products.