Enumerations

CalculationType
OptName
OptType

Interfaces

Accomodations
BaseCostThresholds
CompanionCostThresholds
Cost
CostByDayThresholds
CostPerThreshold
CostThreshold
CostThresholdWithAllCosts
CostThresholdWithFixedCosts
Currency
DayService
FinalCostThresholds
FixedTripCosts
FoundCostThreshold
HostPrices
HostSelectedOptionalServices
Itinerary
ItineraryAdditionalCosts
OptionalCostThresholds
SummaryPricing
SummaryPricingData
ThresholdEarning
TotalToPayData
Transfers
Trip
TripAdditionalCosts
TripPrices
ValidityPeriod
ValidityPeriodByDay
ValidityPeriodWithAdditionalCost
WorkshopCostThresholds

Type Aliases

CalculateCostScheduleInput
CalculatedCosts
CalculatedHostRevenues
CalculatePriceInput
CostConfig
CostConfiguration
DayOfTheWeek
ItineraryCostDTO
SuggestedSellPrice
ThresholdEarningsForTrip
TripCostDTO
TripRequestCostDTO

Variables

DEFAULT_REMAINING_PRICE_EXTRA
fees
MAXIMUM_HOST_MARGIN
TARGET_MINIMUM_HOST_PROFIT
TIER_CUTOFF

Functions

addPlatformFeesToCostSchedule
adjustCostScheduleWithFocs
applyFee
buildCostScheduleWithPlatformFees
calculateCostsWithFixedCosts
calculateCostThresholdsFromValidityPeriods
calculateDefaultHostPrices
calculateDepositAmount
calculateHostCostsWithFixedCostsAndPrices
calculateHostPriceFromCostThreshold
calculatePredictedPricePerTier
calculateSlope
calculateSummaryPricing
calculateThresholdEarningsForTrip
calculateThresholdPricePerTravelerForHost
calculateTotalSingleSupp
calculateTotalToPay
calculateTravelerAdditionalOptionalServiceCostWithMargin
calculateTravelerOptionalServiceCostWithMargin
calculateTravelerSingleSupplementCostWithMargin
convertAccommodationPriceToUSD
convertAdditionalCostsToUSD
convertAdditionalOptionalServicesToUSD
convertCostPerThresholdToCostThreshold
convertCostScheduleToUSD
convertCostThresholdsToUSD
convertCurrencyToUSD
convertHostSelectedOptionalServicesToUSD
convertItineraryInventoryItemToUSD
convertItineraryPackagesPrices
convertItineraryPricesToUSD
convertPackagePrices
convertPlatformFeesInCostThresholds
convertPlatformFeesInPackages
convertPriceToUSD
convertPriceToUSDWithMargin
convertServicesByDayToUSD
convertToCalculatorThresholds
convertTripToLocalCurrency
convertTripToUSD
convertUSDToLocalCurrency
convertValidityPeriodsPrices
getAdjustedTiersForCompanions
getCostOutputs
getCostPerThreshold
getDynamicCostPerThreshold
getFeeCost
getHostCostsWithFixedCostsAndPrices
getHostRevenues
getOperatorFeeCost
getOriginalCostsWithMissingTiers
getRoomQuantityForSingleSupplement
getStandardCosts
getSuggestedSellPriceFromTrip
getSuggestedSellPriceFromTripRequest
getTierPriceForInventoryItems
getTotalCosts
getTripEarnings
getTrovaHostOptionalFee
getTrovaOperatorFee
getTrovaPayDownPercentage
getTrovaServiceFee
getTrovaSingleSupplementFee
getTrovaTransactionFee
meetsTravelerThreshold
roundDown
roundUp
sumPrices
tripPricing