OrderRef

data class OrderRef(val orderId: String, val catalogItemId: String, val amount: Money)

A server-created order the client is about to pay. The client never sets the amount — it sends a catalog item id and the backend resolves the price (the trust boundary this whole app exists to demonstrate). This is what the backend returns from POST /orders.

Constructors

Link copied to clipboard
constructor(orderId: String, catalogItemId: String, amount: Money)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard