Package com.adyen.model.nexo
Class LoyaltyAccountStatus
- java.lang.Object
-
- com.adyen.model.nexo.LoyaltyAccountStatus
-
public class LoyaltyAccountStatus extends Object
Definition: Data related to the result of a loyalty Balance Inquiry. -- Usage: In the Message Response, the result of each loyalty brand transaction.Java class for LoyaltyAccountStatus complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LoyaltyAccountStatus"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="LoyaltyAccount" type="{}LoyaltyAccount"/> </sequence> <attribute name="CurrentBalance" type="{}SimpleAmountType" /> <attribute name="LoyaltyUnit" type="{}LoyaltyUnitType" default="Point" /> <attribute name="Currency" type="{}ISOCurrency3A" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcurrencyThe Currency.protected BigDecimalcurrentBalanceThe Current balance.protected LoyaltyAccountloyaltyAccountThe Loyalty account.protected LoyaltyUnitTypeloyaltyUnitThe Loyalty unit.
-
Constructor Summary
Constructors Constructor Description LoyaltyAccountStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCurrency()Gets the value of the currency property.BigDecimalgetCurrentBalance()Gets the value of the currentBalance property.LoyaltyAccountgetLoyaltyAccount()Gets the value of the loyaltyAccount property.LoyaltyUnitTypegetLoyaltyUnit()Gets the value of the loyaltyUnit property.voidsetCurrency(String value)Sets the value of the currency property.voidsetCurrentBalance(BigDecimal value)Sets the value of the currentBalance property.voidsetLoyaltyAccount(LoyaltyAccount value)Sets the value of the loyaltyAccount property.voidsetLoyaltyUnit(LoyaltyUnitType value)Sets the value of the loyaltyUnit property.
-
-
-
Field Detail
-
loyaltyAccount
protected LoyaltyAccount loyaltyAccount
The Loyalty account.
-
currentBalance
protected BigDecimal currentBalance
The Current balance.
-
loyaltyUnit
protected LoyaltyUnitType loyaltyUnit
The Loyalty unit.
-
currency
protected String currency
The Currency.
-
-
Method Detail
-
getLoyaltyAccount
public LoyaltyAccount getLoyaltyAccount()
Gets the value of the loyaltyAccount property.- Returns:
- possible object is
LoyaltyAccount
-
setLoyaltyAccount
public void setLoyaltyAccount(LoyaltyAccount value)
Sets the value of the loyaltyAccount property.- Parameters:
value- allowed object isLoyaltyAccount
-
getCurrentBalance
public BigDecimal getCurrentBalance()
Gets the value of the currentBalance property.- Returns:
- possible object is
BigDecimal
-
setCurrentBalance
public void setCurrentBalance(BigDecimal value)
Sets the value of the currentBalance property.- Parameters:
value- allowed object isBigDecimal
-
getLoyaltyUnit
public LoyaltyUnitType getLoyaltyUnit()
Gets the value of the loyaltyUnit property.- Returns:
- possible object is
LoyaltyUnitType
-
setLoyaltyUnit
public void setLoyaltyUnit(LoyaltyUnitType value)
Sets the value of the loyaltyUnit property.- Parameters:
value- allowed object isLoyaltyUnitType
-
getCurrency
public String getCurrency()
Gets the value of the currency property.- Returns:
- possible object is
String
-
-