ProductBasket model¶
ProductBasket
model represents a single product in the basket and consists of the following fields:
- actions:
TBasketActions
- id:
string
- variantId:
number
- productId:
number
- name:
string
- quantity:
number
- isExchangedWithLoyaltyPoints:
boolean
- image:
{ title: string; paths: { webp?: string; webp2x?: string; 'webp1.5x'?: string; jpg?: string; jpg2x?: string; 'jpg1.5x'?: string; original?: string; original2x?: string; 'original1.5x'?: string; }; }
- hasOptions:
boolean
- options:
{ name: string; value: string; }[]
- delivery:
Delivery | null
- unit:
Unit
- isBundle:
boolean
- bundleItems:
BundleItem[]
- isDigital:
boolean
- sum:
FullPrice
- price:
FullPrice
- hasDifferentCurrency:
boolean
- isSpecialOffer:
boolean
- basePrice:
FullPrice
- lowestHistoricalPriceInLast30Days:
FullPrice
- loyaltyPointsAwarded:
LoyaltyPoints | null
- sumLoyaltyPointsCost:
LoyaltyPoints | null
- sumLoyaltyPointsExchangePrice:
FullPrice | null
- loyaltyPointsCost:
LoyaltyPoints | null
- loyaltyPointsExchangePrice:
FullPrice | null
- url:
string
- package:
number
TBasketActions¶
Represents the TBasketActions object.
Delivery¶
Represents the Delivery model.
BundleItem¶
Represents the BundleItem model.
FullPrice¶
Represents the FullPrice model.
LoyaltyPoints¶
Represents the LoyaltyPoints model.