Parameters
- data: SummaryPricingData
addOnsTotal: number
discountTotal: number
insurancePrice: number
travelersQuantity: number
tripPrice: number
Object with subtotal (travel amount), subtotalWithAddons (subtotal plus addons), total and minimum payment
Calculates the subtotal (travel amount), total, and minimum payment of a booking