Skip to main content

Interface: Order

api/model/product.Order

Properties

createdAt

createdAt: number

epoch ts divided by 1000


currency

currency: string

The ISO 4217 3 letter currency code. E.g (Swedish krona) SEK


id

id: string

Order ID


message

Optional message: Message

The message object associated with the order. Only populated in onOrder callback.


products

products: CartItem[]

An array of items in the cart


sellerJid

sellerJid: string


subtotal

subtotal: `${number}`


total

total: `${number}`