Properties

Returns an array of thresholds taken from the validityPeriod in the itinerary. If there are thresholds in the trip that don't exist in the itinerary, then the missing values are generated dynamically using the predictive algorithm.

itinerary validity periods or predictive algorithm (depends on where it is built)

(per traveler) -> cost by day * trip length

companionsCosts: CompanionCostThresholds[]

Returns an array of thresholds with the companions costs

base cost, trip request or trip companions (depends on where it is built)

(per traveler) -> (base cost * quantity) / number of travelers

costsByDay: CostByDayThresholds[]

Returns an array of thresholds with the base costs divided by the days of the trip

itinerary validity periods

(per traveler) -> validityPeriod cost / trip length

currentCosts: CostPerThreshold[]

Returns an array of thresholds with the current costs taken from trip or itinerary

suggested costs or trip thresholds (depends on where it is built)

(per traveler) -> base cost

hostCostsWithFixedCostsAndPrices: CostThresholdWithAllCosts[]

Returns an array of thresholds with the fixed cost and prices for the host

hostGroundTransferCost: CostPerThreshold[]

Returns the host ground transfer cost per threshold

itinerary or trip hostGroundTransferCost (depends on where it is built)

hostSelectedOptionalsCosts: OptionalCostThresholds[]

Returns an array of thresholds with the selected optional services costs

trip request or trip hostSelectedOptionalsServices (depends on where it is built)

(per traveler) -> service cost / number of travelers

operatorTotalCosts: CostPerThreshold[]

Returns an array of thresholds with the operator total costs

baseCosts, workshopsCosts, companionsCosts, hostSelectedOptionalsCosts

(per traveler) -> baseCosts + workshopsCosts + companionsCosts + hostSelectedOptionalsCosts

platformFees: CostPerThreshold[]

Returns the operator fee

default $200 per threshold

servicesTotalCosts: CostPerThreshold[]

Returns an array of thresholds with the services costs

workshopsCosts, hostSelectedOptionalsCosts

(per traveler) -> workshopsCosts + hostSelectedOptionalsCosts

servicesTotalFeeCosts: CostPerThreshold[]

Returns an array of thresholds with the services total fees

singleSupplementCostAdjustments: CostPerThreshold[]

Returns an array of thresholds with the single supplement cost adjustments

hostRooms and host taken form the trip request or from the trip (depends on where it is built)

singleSupplementCosts: CostPerThreshold[]

Returns an array of thresholds with the single supplement costs

itinerary or trip singleSupplement (depends on where it is built)

(per traveler) -> single supplement / number of travelers

singleSupplementFeeCosts: CostPerThreshold[]

Returns an array of thresholds with the single supplement fee

suggestedCosts: CostPerThreshold[]

Returns an array of thresholds with the original suggested costs

base cost, companion cost

(per traveler) -> base cost + companion cost

travelerTotalCosts: CostPerThreshold[]

Returns an array of thresholds with the traveler total costs

operatorTotalCosts, singleSupplementFeeCosts, operatorFee

(per traveler) -> operatorTotalCosts + singleSupplementFeeCosts + operatorFee / number of travelers

workshopsCosts: WorkshopCostThresholds[]

Returns an array of thresholds with the workshops costs

trip request or trip workshops (depends on where it is built)

(per traveler) -> (available hours * service price per hour) / number of travelers

Methods