Class PricingUtils

java.lang.Object
de.hybris.platform.travelfacades.util.PricingUtils

public class PricingUtils extends Object
Utility class for pricing and taxing methods
  • Field Details

  • Method Details

    • getTotalTaxValue

      public static BigDecimal getTotalTaxValue(List<TaxData> taxes)
      Method to get the total tax value from collection
      Parameters:
      taxes - the taxes
      Returns:
      total tax value
    • getTotalFeesValue

      public static BigDecimal getTotalFeesValue(List<FeeData> fees)
      Method to get the total fee value from collection
      Parameters:
      fees - the fees
      Returns:
      total fee value
    • getTotalDiscountValue

      public static BigDecimal getTotalDiscountValue(List<DiscountData> discounts)
      Method to get the total discount value from collection
      Parameters:
      discounts - the discounts
      Returns:
      total discount value
    • changeFormattedValueAsNegative

      public static void changeFormattedValueAsNegative(PriceData priceData)
    • changeFormattedValueAsPositive

      public static void changeFormattedValueAsPositive(PriceData priceData)