public class AmountModificator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private AmountModificatorType |
type |
private java.math.BigDecimal |
value |
Constructor and Description |
---|
AmountModificator(AmountModificatorType type,
java.math.BigDecimal value)
Instantiates a new Amount modificator.
|
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getNormalizedValue()
Gets normalized value.
|
AmountModificatorType |
getType()
Gets type.
|
java.math.BigDecimal |
getValue()
Gets value.
|
@SerializedName(value="type") @Expose private AmountModificatorType type
@SerializedName(value="value") @Expose private java.math.BigDecimal value
public AmountModificator(AmountModificatorType type, java.math.BigDecimal value)
type
- the typevalue
- the valuepublic AmountModificatorType getType()
public java.math.BigDecimal getValue()
public java.math.BigDecimal getNormalizedValue()