Total
data class Total(val cartTotal: Double, val currency: String?, val shipping: Double, val tax: Double)
Represents the total cost details for a cart in the prepurchase flow.
Parameters
cart Total
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.