OrderCreated

@Revision(value = 2)
data class OrderCreated(val items: List<OrderItem>, val address: ShippingAddress, val fromCart: Boolean)

Revision 2: the 9.x orderId field is the stream's ref now; upgradeOrderCreatedFrom1 reads the 9.x shape.

Constructors

Link copied to clipboard
constructor(items: List<OrderItem>, address: ShippingAddress, fromCart: Boolean)

Properties

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