Constructor
new CartModel(basket, discountPlan)
Parameters:
Name | Type | Description |
---|---|---|
basket |
dw.order.Basket |
Current users's basket |
discountPlan |
dw.campaign.DiscountPlan |
set of applicable discounts |
CartModel class that represents the current basket
Name | Type | Description |
---|---|---|
basket |
dw.order.Basket |
Current users's basket |
discountPlan |
dw.campaign.DiscountPlan |
set of applicable discounts |