Interface: Cart
Defined in: type/Cart.ts:21
Object class for Cart
Properties
actionCode?
optionalactionCode?:string
Defined in: type/Cart.ts:43
Action code that is applied to this cart. Is only filled when a valid action code is applied
appliedIncentives?
optionalappliedIncentives?:CartIncentive[]
Defined in: type/Cart.ts:77
All incentives that apply to this cart.
bonusItems?
optionalbonusItems?:CartBaseItem[]
Defined in: type/Cart.ts:55
Bonus items that are added to this cart through incentives.
carriers?
optionalcarriers?:CartCarrier[]
Defined in: type/Cart.ts:67
List of selectable carriers for this cart.
cartId
cartId:
string
Defined in: type/Cart.ts:23
Cart's primary identifier
channelId?
optionalchannelId?:number
Defined in: type/Cart.ts:25
Channel identifier this cart belongs to.
company?
optionalcompany?:Company
Defined in: type/Cart.ts:93
Tender Company
companyId?
optionalcompanyId?:number
Defined in: type/Cart.ts:31
CompanyId the contact belongs to. Goes in combination with contactId
contact?
optionalcontact?:Contact
Defined in: type/Cart.ts:89
Tender Contact
contactId?
optionalcontactId?:number
Defined in: type/Cart.ts:27
ContactId for this cart. Goes in combination with companyId
createdAt?
optionalcreatedAt?:string
Defined in: type/Cart.ts:69
Date this cart has been created.
createdBy?
optionalcreatedBy?:number
Defined in: type/Cart.ts:73
User which created the cart.
customer?
optionalcustomer?:Customer
Defined in: type/Cart.ts:91
Tender Customer
customerId?
optionalcustomerId?:number
Defined in: type/Cart.ts:29
CustomerId for this cart.
deliveryAddress
deliveryAddress:
CartAddress
Defined in: type/Cart.ts:61
Address the order should be sent to.
extra3?
optionalextra3?:string
Defined in: type/Cart.ts:37
Additional information field that can be stored with a cart and order.
extra4?
optionalextra4?:string
Defined in: type/Cart.ts:39
Additional information field that can be stored with a cart and order.
invoiceAddress
invoiceAddress:
CartAddress
Defined in: type/Cart.ts:59
Address the invoice for the order should be sent to.
items?
optionalitems?:CartMainItem[]
Defined in: type/Cart.ts:53
Cart's main items
language?
optionallanguage?:string
Defined in: type/Cart.ts:83
Language of the order that will be created from this cart. Order confirmation email will be sent in that language.
lastModifiedAt?
optionallastModifiedAt?:string
Defined in: type/Cart.ts:71
Date this cart has been last updated.
lastModifiedBy?
optionallastModifiedBy?:number
Defined in: type/Cart.ts:75
User which last updated the cart.
notes?
optionalnotes?:string
Defined in: type/Cart.ts:33
User's remarks for this cart.
orderStatus?
optionalorderStatus?:string
Defined in: type/Cart.ts:41
Status of the order after processing the cart. When order status is UNFINISHED, the cart is pending payment from PSP.
paymentData?
optionalpaymentData?:CartPaymentData
Defined in: type/Cart.ts:47
Payment data for this cart.
payMethods?
optionalpayMethods?:CartPaymethod[]
Defined in: type/Cart.ts:65
List of selectable paymethods for this cart and applied user.
postageData?
optionalpostageData?:CartPostageData
Defined in: type/Cart.ts:49
Postage data for this cart.
purchaseAuthorizationRequired
purchaseAuthorizationRequired:
boolean
Defined in: type/Cart.ts:85
Indicates whether authorization is required to finalize the cart
reference?
optionalreference?:string
Defined in: type/Cart.ts:35
User's reference for this cart.
shippingMethods?
optionalshippingMethods?:CartShippingMethod[]
Defined in: type/Cart.ts:81
All shipping methods available for this cart.
status?
optionalstatus?:CartStatus
Defined in: type/Cart.ts:87
Indicates cart status
taxLevels?
optionaltaxLevels?:CartTaxLevel[]
Defined in: type/Cart.ts:63
Amount of tax that applies to this cart per tax code
total?
optionaltotal?:CartTotal
Defined in: type/Cart.ts:51
Totals for this cart.
unOrderableItems?
optionalunOrderableItems?:CartUnOrderableItem[]
Defined in: type/Cart.ts:57
Items that are added to the Cart, but can't be ordered.
valuePoints?
optionalvaluePoints?:number
Defined in: type/Cart.ts:79
Total amount of value-points that apply to this cart
vouchers?
optionalvouchers?:CartVoucher[]
Defined in: type/Cart.ts:45
Array of voucher codes that are applied to this cart. Is only filled when a valid action is applied.