| Package | Description |
|---|---|
| de.hybris.order.calculation.domain | |
| de.hybris.order.calculation.money |
| Modifier and Type | Method and Description |
|---|---|
AbstractAmount |
AbstractCharge.getAmount() |
AbstractAmount |
Tax.getAmount()
Returns the amount of this tax.
|
AbstractAmount |
AbstractDiscount.getAmount()
Returns the amount of discount.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
LineItem.assertCurrency(AbstractAmount amount) |
| Constructor and Description |
|---|
AbstractCharge(AbstractAmount amount)
Default constructor requiring a spcific amount.
|
AbstractDiscount(AbstractAmount amount)
Constructor that requires to provide a amount which cannot be changed later on.
|
LineItemCharge(AbstractAmount amount)
Creates a new line item charge with a given amount.
|
LineItemCharge(AbstractAmount amount,
boolean perUnit)
Creates a new line item charge with a specified amount.
|
LineItemCharge(AbstractAmount amount,
boolean perUnit,
int applicableForUnits)
Creates a new line item charge with a specified amount.
|
LineItemDiscount(AbstractAmount amount)
Creates a new line item discount with the given amount.
|
LineItemDiscount(AbstractAmount amount,
boolean perUnit)
Creates a new line item discount with given amount.
|
LineItemDiscount(AbstractAmount amount,
boolean perUnit,
int applicableUnits)
Creates a new line item discount with given amount.
|
OrderCharge(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.
|
OrderDiscount(AbstractAmount amount)
Creates a new order level discount with a specific amount.
|
Tax(AbstractAmount amount)
Creates a new tax with a given amount.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Money
Represents a monetary amount by combining a
BigDecimal and a Currency. |
class |
Percentage
Represents a relative amount to be used inside the calculation framework.
|
Copyright © 2018 SAP SE. All Rights Reserved.