Total

constructor(cartTotal: Double, currency: String?, shipping: Double, tax: Double)

Parameters

cartTotal

The total cost of the cart, including items, tax, and shipping.

currency

The currency code for the cart's monetary values (e.g., "USD"), or null if not specified.

shipping

The shipping cost for the cart.

tax

The tax amount applied to the cart.