public class LoyaltyAmount extends Object
Java class for LoyaltyAmount complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LoyaltyAmount">
<simpleContent>
<extension base="Decimal">
<attribute name="LoyaltyUnit" type="{}LoyaltyUnitType" default="Point" />
<attribute name="Currency" type="{}ISOCurrency3A" />
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
currency
The Currency.
|
protected LoyaltyUnitType |
loyaltyUnit
The Loyalty unit.
|
protected BigDecimal |
value
The Value.
|
| Constructor and Description |
|---|
LoyaltyAmount() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrency()
Gets the value of the currency property.
|
LoyaltyUnitType |
getLoyaltyUnit()
Gets the value of the loyaltyUnit property.
|
BigDecimal |
getValue()
Gets the value of the value property.
|
void |
setCurrency(String value)
Sets the value of the currency property.
|
void |
setLoyaltyUnit(LoyaltyUnitType value)
Sets the value of the loyaltyUnit property.
|
void |
setValue(BigDecimal value)
Sets the value of the value property.
|
protected BigDecimal value
protected LoyaltyUnitType loyaltyUnit
protected String currency
public BigDecimal getValue()
BigDecimalpublic void setValue(BigDecimal value)
value - allowed object is BigDecimalpublic LoyaltyUnitType getLoyaltyUnit()
LoyaltyUnitTypepublic void setLoyaltyUnit(LoyaltyUnitType value)
value - allowed object is LoyaltyUnitTypepublic String getCurrency()
StringCopyright © 2022. All rights reserved.