Order

data class Order @JvmOverloads constructor(val id: String, val lineItems: List<LineItem> = listOf(), val totalValue: Double? = null, val currency: String? = null, val attributes: Map<String, Any> = mapOf())

Constructors

Link copied to clipboard
constructor(id: String, lineItems: List<LineItem> = listOf(), totalValue: Double? = null, currency: String? = null, attributes: Map<String, Any> = mapOf())

Properties

Link copied to clipboard

A map of user-supplied values.

Link copied to clipboard
val currency: String? = null

The currency of the total value for the order.

Link copied to clipboard
val id: String

A unique identifier representing the order.

Link copied to clipboard

An list of Line Item Data values.

Link copied to clipboard
val totalValue: Double? = null

The total value of the order.