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

Function convertHostSelectedOptionalServicesToUSD

  • convertHostSelectedOptionalServicesToUSD(
        hostSelectedOptionalServices?: PricingCalculator.HostSelectedOptionalServices[],
        exchangeRate: number,
        withMargin?: boolean,
        marginFee?: number,
    ): PricingCalculator.HostSelectedOptionalServices[]
  • Parameters

    • OptionalhostSelectedOptionalServices: PricingCalculator.HostSelectedOptionalServices[] = []

      hostSelectedOptionalServices to convert

    • exchangeRate: number

      currency exchange rate

    • withMargin: boolean = false
    • marginFee: number = fees.hostSelectedOptionalServicesFee

    Returns PricingCalculator.HostSelectedOptionalServices[]

    converted hostSelectedOptionalServices to USD

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

Settings

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

Generated using TypeDoc