OrderResponse

data class OrderResponse(    val orderId: Int,     val status: OrderResponse.Status? = null,     val content: OrderResponse.Content? = null)

Constructors

Link copied to clipboard
fun OrderResponse(    orderId: Int,     status: OrderResponse.Status? = null,     content: OrderResponse.Content? = null)

Types

Link copied to clipboard
data class Content(    val price: OrderResponse.Price? = null,     val virtualPrice: OrderResponse.VirtualPrice? = null,     val isFree: Boolean,     val items: List<OrderResponse.Item> = emptyList())
Link copied to clipboard
data class Item(    val sku: String? = null,     val quantity: Long,     val isFree: Boolean,     val price: OrderResponse.Price? = null)
Link copied to clipboard
data class Price(    val amount: String? = null,     val amountWithoutDiscount: String? = null,     val currency: String? = null)
Link copied to clipboard
enum Status : Enum<OrderResponse.Status>
Link copied to clipboard
data class VirtualPrice(    val amount: Long,     val amountWithoutDiscount: String? = null,     val currency: String? = null)

Properties

Link copied to clipboard
val content: OrderResponse.Content? = null
Link copied to clipboard
@SerializedName(value = "order_id")
val orderId: Int
Link copied to clipboard
val status: OrderResponse.Status? = null

Sources

Link copied to clipboard