Order
Describes@ebitex/commerce-sdk 0.2.xSee the changelog:@ebitex/commerce-sdk
An order as a storefront reads it back: no buyer contact details and no delivery address. status is worked out from payment, shipping, cancellation and refunds, never set by hand.
Properties
Section titled “Properties”currency
Section titled “currency”currency:
string
id:
string
isTest
Section titled “isTest”isTest:
boolean
itemsMinor
Section titled “itemsMinor”itemsMinor:
number
lines:
OrderLine[]
number
Section titled “number”number:
string
The store’s own order number, such as ORD-1042.
paidUtc?
Section titled “paidUtc?”
optionalpaidUtc?:string
Absent until the payment is confirmed.
placedUtc
Section titled “placedUtc”placedUtc:
string
shipments
Section titled “shipments”shipments:
Shipment[]
shippingMinor
Section titled “shippingMinor”shippingMinor:
number
status
Section titled “status”status:
OrderStatus
taxMinor
Section titled “taxMinor”taxMinor:
number
totalMinor
Section titled “totalMinor”totalMinor:
number