Package com.adyen.model.nexo
Class CurrencyConversion
- java.lang.Object
-
- com.adyen.model.nexo.CurrencyConversion
-
public class CurrencyConversion extends Object
Definition: Information related to a currency conversion -- Usage: A currency conversion occurred in the payment, and the merchant needs to know information related to this conversion (e.g. to print on the sale receipt)Java class for CurrencyConversion complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CurrencyConversion"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="ConvertedAmount" type="{}Amount"/> <element name="Commission" type="{}SimpleAmountType" minOccurs="0"/> <element name="Declaration" type="{}Declaration" minOccurs="0"/> </sequence> <attribute name="CustomerApprovedFlag" type="{}CustomerApprovedFlag" default="true" /> <attribute name="Rate" type="{}Rate" /> <attribute name="Markup" type="{}Markup" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BigDecimalcommissionThe Commission.protected AmountconvertedAmountThe Converted amount.protected BooleancustomerApprovedFlagThe Customer approved flag.protected StringdeclarationThe Declaration.protected BigDecimalmarkupThe Markup.protected BigDecimalrateThe Rate.
-
Constructor Summary
Constructors Constructor Description CurrencyConversion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetCommission()Gets the value of the commission property.AmountgetConvertedAmount()Gets the value of the convertedAmount property.StringgetDeclaration()Gets the value of the declaration property.BigDecimalgetMarkup()Gets the value of the markup property.BigDecimalgetRate()Gets the value of the rate property.booleanisCustomerApprovedFlag()Gets the value of the customerApprovedFlag property.voidsetCommission(BigDecimal value)Sets the value of the commission property.voidsetConvertedAmount(Amount value)Sets the value of the convertedAmount property.voidsetCustomerApprovedFlag(Boolean value)Sets the value of the customerApprovedFlag property.voidsetDeclaration(String value)Sets the value of the declaration property.voidsetMarkup(BigDecimal value)Sets the value of the markup property.voidsetRate(BigDecimal value)Sets the value of the rate property.
-
-
-
Field Detail
-
convertedAmount
protected Amount convertedAmount
The Converted amount.
-
commission
protected BigDecimal commission
The Commission.
-
declaration
protected String declaration
The Declaration.
-
customerApprovedFlag
protected Boolean customerApprovedFlag
The Customer approved flag.
-
rate
protected BigDecimal rate
The Rate.
-
markup
protected BigDecimal markup
The Markup.
-
-
Method Detail
-
getConvertedAmount
public Amount getConvertedAmount()
Gets the value of the convertedAmount property.- Returns:
- possible object is
Amount
-
setConvertedAmount
public void setConvertedAmount(Amount value)
Sets the value of the convertedAmount property.- Parameters:
value- allowed object isAmount
-
getCommission
public BigDecimal getCommission()
Gets the value of the commission property.- Returns:
- possible object is
BigDecimal
-
setCommission
public void setCommission(BigDecimal value)
Sets the value of the commission property.- Parameters:
value- allowed object isBigDecimal
-
getDeclaration
public String getDeclaration()
Gets the value of the declaration property.- Returns:
- possible object is
String
-
setDeclaration
public void setDeclaration(String value)
Sets the value of the declaration property.- Parameters:
value- allowed object isString
-
isCustomerApprovedFlag
public boolean isCustomerApprovedFlag()
Gets the value of the customerApprovedFlag property.- Returns:
- possible object is
Boolean
-
setCustomerApprovedFlag
public void setCustomerApprovedFlag(Boolean value)
Sets the value of the customerApprovedFlag property.- Parameters:
value- allowed object isBoolean
-
getRate
public BigDecimal getRate()
Gets the value of the rate property.- Returns:
- possible object is
BigDecimal
-
setRate
public void setRate(BigDecimal value)
Sets the value of the rate property.- Parameters:
value- allowed object isBigDecimal
-
getMarkup
public BigDecimal getMarkup()
Gets the value of the markup property.- Returns:
- possible object is
BigDecimal
-
setMarkup
public void setMarkup(BigDecimal value)
Sets the value of the markup property.- Parameters:
value- allowed object isBigDecimal
-
-