Class: CartResponse

CartResponse

Class for Cart Response model

new CartResponse(id, items, itemsOutOfStock, delivery, grossTotal, taxTotal, totalDiscount)

Parameters:
Name Type Description
id String the response id.
items ItemWithPrice the items with price.
itemsOutOfStock String a list of items that are out of stock.
delivery Delivery the delivery information.
grossTotal Price the gross total.
taxTotal Price the tax total.
totalDiscount DiscountSchema the total discount.