AmazonInventoryz

interface AmazonInventoryz : Inventoryz

Functions

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

For internal use only

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

Properties

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

Inheritors

Link copied to clipboard