Class 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 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.
    • Constructor Detail

      • CurrencyConversion

        public CurrencyConversion()
    • 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 is Amount
      • 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 is BigDecimal
      • 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 is String
      • 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 is Boolean
      • 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 is BigDecimal
      • 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 is BigDecimal