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

Function convertTripToUSD

  • convertTripToUSD(
        trip: PricingCalculator.Trip,
        currentExchangeRate: number,
        withMargin?: boolean,
    ): PricingCalculator.Trip
  • Parameters

    • trip: PricingCalculator.Trip

      trip to convert

    • currentExchangeRate: number

      currency exchange rate

    • OptionalwithMargin: boolean = false

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

    Returns PricingCalculator.Trip

    trip with converted prices to USD

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

Settings

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

Generated using TypeDoc