Class OrderCharge
java.lang.Object
de.hybris.order.calculation.domain.AbstractCharge
de.hybris.order.calculation.domain.OrderCharge
- All Implemented Interfaces:
Taxable
Specifies order level charges.
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.order.calculation.domain.AbstractCharge
AbstractCharge.ChargeType -
Constructor Summary
ConstructorsConstructorDescriptionOrderCharge(AbstractAmount amount) Creates a new order level charge with a specific amount.OrderCharge(AbstractAmount amount, AbstractCharge.ChargeType chargeType) Creates a new order level charge with a specific amount and optional charge type. -
Method Summary
Methods inherited from class de.hybris.order.calculation.domain.AbstractCharge
getAmount, getChargeType, isDisabled, setChargeType, setDisabled
-
Constructor Details
-
OrderCharge
Creates a new order level charge with a specific amount and optional charge type. -
OrderCharge
Creates a new order level charge with a specific amount.
-
-
Method Details
-
getTotal
Calculates the total for this charge within the given order context. Actually this is just delegating toOrder.getTotalCharges(). -
toString
-