PurchaseOrder

data class PurchaseOrder(    val orderId: String,     val chargedAmount: Double,     val totalAmount: Double,     val taxAmount: Double,     val shippingAmount: Double,     val discountAmount: Double? = null,     val discountCodes: String? = "",     val currency: String? = null,     val shippingAddress: ShippingAddress? = null,     val items: List<OrderItem>)

Constructors

Link copied to clipboard
fun PurchaseOrder(    orderId: String,     chargedAmount: Double,     totalAmount: Double,     taxAmount: Double,     shippingAmount: Double,     discountAmount: Double? = null,     discountCodes: String? = "",     currency: String? = null,     shippingAddress: ShippingAddress? = null,     items: List<OrderItem>)

Properties

Link copied to clipboard
val chargedAmount: Double
Link copied to clipboard
val currency: String? = null
Link copied to clipboard
val discountAmount: Double? = null
Link copied to clipboard
val discountCodes: String?
Link copied to clipboard
val items: List<OrderItem>
Link copied to clipboard
val orderId: String
Link copied to clipboard
val shippingAddress: ShippingAddress? = null
Link copied to clipboard
val shippingAmount: Double
Link copied to clipboard
val taxAmount: Double
Link copied to clipboard
val totalAmount: Double