• Preparing search index...
  • The search index is not available
Trova Core - v3.43.0
  • Trova Core
  • @trova-trip/trova-common
  • PricingCalculator
  • convertServicesByDayToUSD

Function convertServicesByDayToUSD

  • convertServicesByDayToUSD(
        servicesByDay?: ServicesByDay,
        exchangeRate: number,
        withMargin?: boolean,
        marginFee?: number,
    ): PricingCalculator.DayService[][]
  • Parameters

    • servicesByDay: ServicesByDay = []

      services by day to convert

    • exchangeRate: number

      currency exchange rate

    • OptionalwithMargin: boolean = false

      flag to indicate whether the margin should be applied to the conversion

    • marginFee: number = fees.travelerServicesByDayFee

    Returns PricingCalculator.DayService[][]

    converted ServicesByDay prices to USD

    • Defined in packages/common/src/PricingCalculator/Utils/conversion.utils.ts:443

Settings

Member Visibility
Trova Core - v3.43.0
  • Loading...

Generated using TypeDoc