CartResponse

data class CartResponse(    val cartId: String? = null,     val price: Price? = null,     val isFree: Boolean,     val items: List<CartResponse.Item> = emptyList())

Constructors

Link copied to clipboard
fun CartResponse(    cartId: String? = null,     price: Price? = null,     isFree: Boolean,     items: List<CartResponse.Item> = emptyList())

Types

Link copied to clipboard
data class Item(    val sku: String? = null,     val groups: List<Group> = emptyList(),     val name: String? = null,     val type: String? = null,     val description: String? = null,     val imageUrl: String? = null,     val quantity: Long,     val isFree: Boolean,     val attributes: List<Any> = emptyList(),     val price: Price? = null,     val virtualPrices: List<VirtualPrice> = emptyList(),     val inventoryOption: InventoryOption? = null)

Properties

Link copied to clipboard
@SerializedName(value = "cart_id")
val cartId: String? = null
Link copied to clipboard
@SerializedName(value = "is_free")
val isFree: Boolean
Link copied to clipboard
val items: List<CartResponse.Item>
Link copied to clipboard
val price: Price? = null

Sources

Link copied to clipboard