Package com.adyen.model.nexo
Class LoyaltyResult
- java.lang.Object
-
- com.adyen.model.nexo.LoyaltyResult
-
public class LoyaltyResult extends Object
Definition: Data related to the result of a processed loyalty transaction. -- Usage: In the Message Response, the result of each loyalty brand transaction.Java class for LoyaltyResult complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LoyaltyResult"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="LoyaltyAccount" type="{}LoyaltyAccount"/> <element name="LoyaltyAmount" type="{}LoyaltyAmount" minOccurs="0"/> <element name="LoyaltyAcquirerData" type="{}LoyaltyAcquirerData" minOccurs="0"/> <element name="Rebates" type="{}Rebates" minOccurs="0"/> </sequence> <attribute name="CurrentBalance" type="{}SimpleAmountType" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BigDecimalcurrentBalanceThe Current balance.protected LoyaltyAccountloyaltyAccountThe Loyalty account.protected LoyaltyAcquirerDataloyaltyAcquirerDataThe Loyalty acquirer data.protected LoyaltyAmountloyaltyAmountThe Loyalty amount.protected RebatesrebatesThe Rebates.
-
Constructor Summary
Constructors Constructor Description LoyaltyResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetCurrentBalance()Gets the value of the currentBalance property.LoyaltyAccountgetLoyaltyAccount()Gets the value of the loyaltyAccount property.LoyaltyAcquirerDatagetLoyaltyAcquirerData()Gets the value of the loyaltyAcquirerData property.LoyaltyAmountgetLoyaltyAmount()Gets the value of the loyaltyAmount property.RebatesgetRebates()Gets the value of the rebates property.voidsetCurrentBalance(BigDecimal value)Sets the value of the currentBalance property.voidsetLoyaltyAccount(LoyaltyAccount value)Sets the value of the loyaltyAccount property.voidsetLoyaltyAcquirerData(LoyaltyAcquirerData value)Sets the value of the loyaltyAcquirerData property.voidsetLoyaltyAmount(LoyaltyAmount value)Sets the value of the loyaltyAmount property.voidsetRebates(Rebates value)Sets the value of the rebates property.
-
-
-
Field Detail
-
loyaltyAccount
protected LoyaltyAccount loyaltyAccount
The Loyalty account.
-
loyaltyAmount
protected LoyaltyAmount loyaltyAmount
The Loyalty amount.
-
loyaltyAcquirerData
protected LoyaltyAcquirerData loyaltyAcquirerData
The Loyalty acquirer data.
-
rebates
protected Rebates rebates
The Rebates.
-
currentBalance
protected BigDecimal currentBalance
The Current balance.
-
-
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
-
getLoyaltyAmount
public LoyaltyAmount getLoyaltyAmount()
Gets the value of the loyaltyAmount property.- Returns:
- possible object is
LoyaltyAmount
-
setLoyaltyAmount
public void setLoyaltyAmount(LoyaltyAmount value)
Sets the value of the loyaltyAmount property.- Parameters:
value- allowed object isLoyaltyAmount
-
getLoyaltyAcquirerData
public LoyaltyAcquirerData getLoyaltyAcquirerData()
Gets the value of the loyaltyAcquirerData property.- Returns:
- possible object is
LoyaltyAcquirerData
-
setLoyaltyAcquirerData
public void setLoyaltyAcquirerData(LoyaltyAcquirerData value)
Sets the value of the loyaltyAcquirerData property.- Parameters:
value- allowed object isLoyaltyAcquirerData
-
getRebates
public Rebates getRebates()
Gets the value of the rebates property.- Returns:
- possible object is
Rebates
-
setRebates
public void setRebates(Rebates value)
Sets the value of the rebates property.- Parameters:
value- allowed object isRebates
-
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
-
-