Uses of Class
de.hybris.order.calculation.domain.OrderDiscount
-
-
Uses of OrderDiscount in de.hybris.order.calculation.domain
Methods in de.hybris.order.calculation.domain that return types with arguments of type OrderDiscount Modifier and Type Method Description java.util.List<OrderDiscount>Order. getDiscounts()Returns all discounts attached to this order.java.util.Map<OrderDiscount,Money>Order. getTotalDiscounts()Calculates totals of all discounts assigned to this order separately.Methods in de.hybris.order.calculation.domain with parameters of type OrderDiscount Modifier and Type Method Description voidOrder. addDiscount(int index, OrderDiscount discount)Assigns a discount to this order at a speific position.voidOrder. addDiscount(OrderDiscount discount)Assigns a discount to this order.voidOrder. addDiscounts(OrderDiscount... discounts)Assigns multiple discounts to this order.protected MoneyOrder. calculateOrderDiscount(Money currentValue, OrderDiscount discount)Calculates order discountvoidOrder. removeDiscount(OrderDiscount orderDiscount)Removes a discount from this order.Method parameters in de.hybris.order.calculation.domain with type arguments of type OrderDiscount Modifier and Type Method Description voidOrder. addDiscounts(java.util.List<OrderDiscount> discounts)Assigns multiple discounts to this order. -
Uses of OrderDiscount in de.hybris.platform.ruleengineservices.calculation
Methods in de.hybris.platform.ruleengineservices.calculation with parameters of type OrderDiscount Modifier and Type Method Description booleanMinimumAmountValidationStrategy. isOrderLowerLimitValid(Order cart, OrderDiscount discount)Checks if the subtotal is valid after application of the Discount to the Cart. -
Uses of OrderDiscount in de.hybris.platform.ruleengineservices.calculation.impl
Methods in de.hybris.platform.ruleengineservices.calculation.impl that return OrderDiscount Modifier and Type Method Description protected OrderDiscountDefaultRuleEngineCalculationService. createOrderDiscount(Order cart, boolean absolute, java.math.BigDecimal amount)Creates an OrderDiscount based on the given values and adds it to the givencart.Methods in de.hybris.platform.ruleengineservices.calculation.impl with parameters of type OrderDiscount Modifier and Type Method Description booleanDefaultMinimumAmountValidationStrategy. isOrderLowerLimitValid(Order order, OrderDiscount discount) -
Uses of OrderDiscount in de.hybris.platform.ruleengineservices.converters
Methods in de.hybris.platform.ruleengineservices.converters that return OrderDiscount Modifier and Type Method Description protected OrderDiscountAbstractOrderRaoToOrderConverter. convertToOrderDiscount(DiscountRAO discountRao, AbstractOrderRAO cartRao)
-