| Modifier and Type | Method and Description |
|---|---|
java.util.List<OrderCharge> |
Order.getCharges()
Returns all charges assigned to this order.
|
java.util.Map<OrderCharge,Money> |
Order.getTotalCharges()
Calculates totals of all charges assigned to this order separately.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Order.addCharge(int index,
OrderCharge aoc)
Assigns a single charge to this order at a specific position.
|
void |
Order.addCharge(OrderCharge aoc)
Assigns a single charge to this order.
|
void |
Order.addCharges(OrderCharge... charges)
Assigns multiple charges to this order.
|
protected Money |
Order.calculateOrderCharge(Money currentValue,
OrderCharge addCharge) |
void |
Order.removeCharge(OrderCharge aoc)
Removes a charge from this order.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Order.addCharges(java.util.List<OrderCharge> charges)
Assigns multiple charges to this order.
|
protected Money |
Order.getFixedTaxedAdditionalCharges(java.util.Map<OrderCharge,Money> aocValues) |
| Modifier and Type | Method and Description |
|---|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
protected OrderCharge |
AbstractOrderRaoToOrderConverter.convertToPaymentOrderCharge(AbstractOrderRAO cartRao)
creates the OrderCharge of type PAYMENT based on the given cart.
|
protected OrderCharge |
AbstractOrderRaoToOrderConverter.convertToShippingOrderCharge(AbstractOrderRAO cartRao)
creates the OrderCharge of type SHIPPING based on the given cart.
|
| Modifier and Type | Method and Description |
|---|---|
OrderCharge |
OrderUtils.createShippingCharge(Currency currency,
boolean absolute,
java.math.BigDecimal value)
Creates an
OrderCharge of AbstractCharge.ChargeType.SHIPPING for the given values. |
Copyright © 2018 SAP SE. All Rights Reserved.