public abstract class AbstractPromotionRounding extends Object implements PromotionRounding
| Modifier and Type | Field and Description |
|---|---|
protected RoundingMode |
roundingMode |
protected Integer |
roundingScale |
| Constructor and Description |
|---|
AbstractPromotionRounding() |
| Modifier and Type | Method and Description |
|---|---|
RoundingMode |
getRoundingMode()
It is sometimes problematic to offer percentage-off offers with regards to rounding.
|
Integer |
getRoundingScale()
It is sometimes problematic to offer percentage-off offers with regards to rounding.
|
void |
setRoundingMode(RoundingMode roundingMode)
It is sometimes problematic to offer percentage-off offers with regards to rounding.
|
void |
setRoundingScale(int roundingScale)
It is sometimes problematic to offer percentage-off offers with regards to rounding.
|
protected Integer roundingScale
protected RoundingMode roundingMode
public void setRoundingScale(int roundingScale)
roundingScale - public void setRoundingMode(RoundingMode roundingMode)
roundingMode - public RoundingMode getRoundingMode()
PromotionRoundinggetRoundingMode in interface PromotionRoundingpublic Integer getRoundingScale()
PromotionRoundinggetRoundingScale in interface PromotionRoundingCopyright © 2023. All rights reserved.