Item

data class Item(    val sku: String,     val groups: List<Group> = emptyList(),     val name: String? = null,     val type: String,     val attributes: List<Any> = emptyList(),     val description: String? = null,     val imageUrl: String? = null,     val quantity: Int,     val isFree: Boolean,     val price: Price? = null,     val inventoryOption: InventoryOption? = null,     val virtualItemType: RedeemCouponResponse.VirtualItemType? = null,     val virtualPrices: List<VirtualPrice> = emptyList())

Constructors

Link copied to clipboard
fun Item(    sku: String,     groups: List<Group> = emptyList(),     name: String? = null,     type: String,     attributes: List<Any> = emptyList(),     description: String? = null,     imageUrl: String? = null,     quantity: Int,     isFree: Boolean,     price: Price? = null,     inventoryOption: InventoryOption? = null,     virtualItemType: RedeemCouponResponse.VirtualItemType? = null,     virtualPrices: List<VirtualPrice> = emptyList())

Properties

Link copied to clipboard
val attributes: List<Any>
Link copied to clipboard
val description: String? = null
Link copied to clipboard
val groups: List<Group>
Link copied to clipboard
@SerializedName(value = "image_url")
val imageUrl: String? = null
Link copied to clipboard
@SerializedName(value = "inventory_options")
val inventoryOption: InventoryOption? = null
Link copied to clipboard
@SerializedName(value = "is_free")
val isFree: Boolean
Link copied to clipboard
val name: String? = null
Link copied to clipboard
val price: Price? = null
Link copied to clipboard
val quantity: Int
Link copied to clipboard
val sku: String
Link copied to clipboard
val type: String
Link copied to clipboard
@SerializedName(value = "virtual_item_type")
val virtualItemType: RedeemCouponResponse.VirtualItemType? = null
Link copied to clipboard
@SerializedName(value = "virtual_prices")
val virtualPrices: List<VirtualPrice>

Sources

Link copied to clipboard