new Cart(items, itemsOutOfStock, grossTotal, taxTotal)
Class for Cart model
Parameters:
Name | Type | Description |
---|---|---|
items |
Item | Array of CartItem. |
itemsOutOfStock |
CartItem | Array of CartItem which are out of stock. |
grossTotal |
Price | Gross Total Price. |
taxTotal |
Price | Tax Total Price. |