Skip to main content

Interface: CartMainItem

Defined in: type/CartMainItem.ts:14

Object class for CartMainItem

Extends

Properties

bundle?

optional bundle?: Bundle

Defined in: type/CartMainItem.ts:22

Bundle


bundleId?

optional bundleId?: string

Defined in: type/CartMainItem.ts:20

Cart item's bundleId if applicable


childItems?

optional childItems?: CartBaseItem[]

Defined in: type/CartMainItem.ts:64

Cart item's child items, used when ordering products that are part of a configuration or bundle


clusterId?

optional clusterId?: number

Defined in: type/CartMainItem.ts:48

Cart item's clusterId if applicable


deliveryDate?

optional deliveryDate?: string

Defined in: type/CartMainItem.ts:52

Expected delivery date for this cart item.


deliveryDeadline?

optional deliveryDeadline?: string

Defined in: type/CartMainItem.ts:54

Deadline for delivery of this cart item.


discount

discount: number

Defined in: type/CartMainItem.ts:56

Discount applied to this cart item


discountPercentage

discountPercentage: number

Defined in: type/CartMainItem.ts:58

Discount percentage applied to this cart item


incentive?

optional incentive?: CartItemIncentive

Defined in: type/CartMainItem.ts:62

Incentive that applied to this cart item


itemId

itemId: string

Defined in: type/CartMainItem.ts:16

Item ID of the cart item, this id can be used for update or delete mutation for this cart item.


notes?

optional notes?: string

Defined in: type/CartMainItem.ts:26

User notes on cart item level


parentItemUUID?

optional parentItemUUID?: string

Defined in: type/CartMainItem.ts:24

Id of the parent cart item.


price

price: number

Defined in: type/CartMainItem.ts:28

Gross price per UOM of this cart item, no item specific discounts are applied to this price.


priceMode?

optional priceMode?: PriceMode

Defined in: type/CartMainItem.ts:32

Price mode for this cart item, if not set the platform default will be used.


priceNet

priceNet: number

Defined in: type/CartMainItem.ts:30

Net price per UOM of this cart item, no item specific discounts are applied to this price.


product?

optional product?: Product

Defined in: type/CartMainItem.ts:66

product field

Overrides

ICartBaseItem.product


productId?

optional productId?: number

Defined in: type/CartMainItem.ts:18

Cart item's productId if applicable


quantity

quantity: number

Defined in: type/CartMainItem.ts:46

Quantity for this cart item


sum

sum: number

Defined in: type/CartMainItem.ts:38

Gross sum of the main cart price and the prices of its child items per UOM. No item specific discounts are applied to this price.


sumNet

sumNet: number

Defined in: type/CartMainItem.ts:40

Net sum of the main cart price and the prices of its child items per UOM. No item specific discounts are applied to this price.


surcharges?

optional surcharges?: CartItemSurcharge[]

Defined in: type/CartMainItem.ts:60

List of surcharges for this cart item


taxCode

taxCode: TaxCode

Defined in: type/CartMainItem.ts:50

Tax code for this cart item.


totalPrice

totalPrice: number

Defined in: type/CartMainItem.ts:34

Total gross price for this cart item, including item specific discounts.


totalPriceNet

totalPriceNet: number

Defined in: type/CartMainItem.ts:36

Total net price for this cart item, including item specific discounts.


totalSum

totalSum: number

Defined in: type/CartMainItem.ts:42

Total gross sum of the main cart price and the prices of its child items. Including item specific discounts.


totalSumNet

totalSumNet: number

Defined in: type/CartMainItem.ts:44

Total net sum of the main cart price and the prices of its child items. Including item specific discounts.