CartMainItem
No description
type CartMainItem implements ICartBaseItem {
id: Int!
productId: Int
bundleId: Int
bundle(
taxZone: String = "NL"
): Bundle
notes: String!
price: Float!
priceNet: Float!
totalPrice: Float!
totalPriceNet: Float!
sum: Float!
sumNet: Float!
totalSum: Float!
totalSumNet: Float!
quantity: Int!
taxCode: Taxcode!
expectedDeliveryDate: DateTime
deliveryDeadline: DateTime
discount: Float!
discountPercentage: Float!
childItems: [CartBaseItem!]
product: Product
}
Fields
CartMainItem.id
● Int!
non-null scalar
Id of the cart item, this id can be used for update or delete mutation for this cart item.
CartMainItem.productId
● Int
scalar
The cart item's productId if applicable
CartMainItem.bundleId
● Int
scalar
The cart item's bundleId if applicable
CartMainItem.bundle
● Bundle
object
CartMainItem.bundle.taxZone
●String
scalar
CartMainItem.notes
● String!
non-null scalar
User notes on cart item level
CartMainItem.price
● Float!
non-null scalar
The gross price per UOM of this cart item, no item specific discounts are applied to this price.
CartMainItem.priceNet
● Float!
non-null scalar
The net price per UOM of this cart item, no item specific discounts are applied to this price.
CartMainItem.totalPrice
● Float!
non-null scalar
The total gross price for this cart item, including item specific discounts.
CartMainItem.totalPriceNet
● Float!
non-null scalar
The total net price for this cart item, including item specific discounts.
CartMainItem.sum
● Float!
non-null scalar
The 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.
CartMainItem.sumNet
● Float!
non-null scalar
The 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.
CartMainItem.totalSum
● Float!
non-null scalar
The total gross sum of the main cart price and the prices of its child items. Including item specific discounts.
CartMainItem.totalSumNet
● Float!
non-null scalar
The total net sum of the main cart price and the prices of its child items. Including item specific discounts.
CartMainItem.quantity
● Int!
non-null scalar
The quantity for this cart item
CartMainItem.taxCode
● Taxcode!
non-null enum
The tax code for this cart item.
CartMainItem.expectedDeliveryDate
● DateTime
scalar
The expected delivery date for this cart item.
CartMainItem.deliveryDeadline
● DateTime
scalar
CartMainItem.discount
● Float!
non-null scalar
The discount applied to this cart item
CartMainItem.discountPercentage
● Float!
non-null scalar
The discount percentage applied to this cart item