Class PricingUtils
java.lang.Object
de.hybris.platform.travelfacades.util.PricingUtils
Utility class for pricing and taxing methods
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidchangeFormattedValueAsNegative(PriceData priceData) static voidchangeFormattedValueAsPositive(PriceData priceData) static BigDecimalgetTotalDiscountValue(List<DiscountData> discounts) Method to get the total discount value from collectionstatic BigDecimalgetTotalFeesValue(List<FeeData> fees) Method to get the total fee value from collectionstatic BigDecimalgetTotalTaxValue(List<TaxData> taxes) Method to get the total tax value from collection
-
Field Details
-
PLUS
- See Also:
-
MINUS
- See Also:
-
-
Method Details
-
getTotalTaxValue
Method to get the total tax value from collection- Parameters:
taxes- the taxes- Returns:
- total tax value
-
getTotalFeesValue
Method to get the total fee value from collection- Parameters:
fees- the fees- Returns:
- total fee value
-
getTotalDiscountValue
Method to get the total discount value from collection- Parameters:
discounts- the discounts- Returns:
- total discount value
-
changeFormattedValueAsNegative
-
changeFormattedValueAsPositive
-