| Modifier and Type | Method and Description |
|---|---|
Order |
LineItem.getOrder() |
| Modifier and Type | Method and Description |
|---|---|
Money |
OrderCharge.getTotal(Order context)
Calculates the total for this charge within the given order context.
|
Money |
LineItem.getTotal(Order context)
Calculates to line item total.
|
Money |
Taxable.getTotal(Order context)
Called to fetch the taxable total for tax total calculation.
|
void |
LineItem.setOrder(Order order)
Sets the
Order to for this line item belongs to. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
MinimumAmountValidationStrategy.isOrderLowerLimitValid(Order cart,
OrderDiscount discount)
Checks if the subtotal is valid after application of the Discount to the Cart.
|
| Modifier and Type | Method and Description |
|---|---|
protected Order |
DefaultMinimumAmountValidationStrategyTest.createOrder() |
| Modifier and Type | Method and Description |
|---|---|
protected Converter<AbstractOrderRAO,Order> |
DefaultRuleEngineCalculationService.getAbstractOrderRaoToOrderConverter() |
| Modifier and Type | Method and Description |
|---|---|
protected java.math.BigDecimal |
DefaultRuleEngineCalculationService.convertPercentageDiscountToAbsoluteDiscount(java.math.BigDecimal percentageAmount,
Order cart) |
protected OrderDiscount |
DefaultRuleEngineCalculationService.createOrderDiscount(Order cart,
boolean absolute,
java.math.BigDecimal amount)
Creates an OrderDiscount based on the given values and adds it to the given
cart. |
protected OrderCharge |
DefaultRuleEngineCalculationService.createShippingCharge(Order cart,
boolean absolute,
java.math.BigDecimal value)
creates an
OrderCharge of AbstractCharge.ChargeType.SHIPPING for the given values and adds it to the given cart. |
protected NumberedLineItem |
DefaultRuleEngineCalculationService.findLineItem(Order cart,
OrderEntryRAO entryRao)
returns the corresponding NumberedLineItem for the given
entryRao. |
protected boolean |
DefaultMinimumAmountValidationStrategy.isOrderLowerLimitValid(Order order)
Checks if the Cart subtotal is valid.
|
boolean |
DefaultMinimumAmountValidationStrategy.isOrderLowerLimitValid(Order order,
OrderDiscount discount) |
protected void |
DefaultRuleEngineCalculationService.recalculateTotals(AbstractOrderRAO cartRao,
Order cart)
Uses the given
cart to recalculate the totals of the given cartRao. |
protected void |
DefaultRuleEngineCalculationService.removeShippingCharges(Order cart)
Returns all Shipping charges from the Order.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultRuleEngineCalculationService.setAbstractOrderRaoToOrderConverter(Converter<AbstractOrderRAO,Order> abstractOrderRaoToOrderConverter) |
| Modifier and Type | Method and Description |
|---|---|
Order |
AbstractOrderRaoToOrderConverter.convert(AbstractOrderRAO cartRao) |
Order |
AbstractOrderRaoToOrderConverter.convert(AbstractOrderRAO paramSOURCE,
Order paramTARGET) |
| Modifier and Type | Method and Description |
|---|---|
Order |
AbstractOrderRaoToOrderConverter.convert(AbstractOrderRAO paramSOURCE,
Order paramTARGET) |
Copyright © 2018 SAP SE. All Rights Reserved.