Create a Cart model entity.
subtotal of Cart
discount percent to be applied subtotal of the Cart
total tax amount to be applied to Cart
(Optional) total price of the Cart with taxes and discount applied, if not specified will be calculated
from subtotal
, discount
and taxes
Calculates the total price of a cart.
Subtotal amount of cart
Tax amount of cart
Discount percentage to apply
The total price of a cart after tax and discount is applied.
Generated using TypeDoc
Model entity for a shopping cart.