Class PaymentResult


  • public class PaymentResult
    extends Object
    Definition: Data related to the result of a processed payment transaction. -- Usage: In the Message Response, the result of card payment transaction.

    Java class for PaymentResult complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="PaymentResult">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="PaymentInstrumentData" type="{}PaymentInstrumentData" minOccurs="0"/>
             <element name="AmountsResp" type="{}AmountsResp" minOccurs="0"/>
             <element name="Instalment" type="{}Instalment" minOccurs="0"/>
             <element name="CurrencyConversion" type="{}CurrencyConversion" maxOccurs="unbounded" minOccurs="0"/>
             <element name="CapturedSignature" type="{}CapturedSignature" minOccurs="0"/>
             <element name="ProtectedSignature" type="{}ContentInformation" minOccurs="0"/>
             <element name="PaymentAcquirerData" type="{}PaymentAcquirerData" minOccurs="0"/>
           </sequence>
           <attribute name="Payment" type="{}PaymentType" default="Normal" />
           <attribute name="MerchantOverrideFlag" type="{}MerchantOverrideFlag" default="false" />
           <attribute name="CustomerLanguage" type="{}ISOLanguage2A" />
           <attribute name="OnlineFlag" type="{}OnlineFlag" default="true" />
           <attribute name="AuthenticationMethod" type="{}AuthenticationMethod" />
           <attribute name="ValidityDate" type="{}ISODate" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • paymentInstrumentData

        protected PaymentInstrumentData paymentInstrumentData
        The Payment instrument data.
      • amountsResp

        protected AmountsResp amountsResp
        The Amounts resp.
      • instalment

        protected Instalment instalment
        The Instalment.
      • capturedSignature

        protected CapturedSignature capturedSignature
        The Captured signature.
      • protectedSignature

        protected ContentInformation protectedSignature
        The Protected signature.
      • paymentAcquirerData

        protected PaymentAcquirerData paymentAcquirerData
        The Payment acquirer data.
      • paymentType

        protected PaymentType paymentType
        The Payment type.
      • merchantOverrideFlag

        protected Boolean merchantOverrideFlag
        The Merchant override flag.
      • customerLanguage

        protected String customerLanguage
        The Customer language.
      • onlineFlag

        protected Boolean onlineFlag
        The Online flag.
      • validityDate

        protected String validityDate
        The Validity date.
    • Constructor Detail

      • PaymentResult

        public PaymentResult()
    • Method Detail

      • setPaymentInstrumentData

        public void setPaymentInstrumentData​(PaymentInstrumentData value)
        Sets the value of the paymentInstrumentData property.
        Parameters:
        value - allowed object is PaymentInstrumentData
      • getAmountsResp

        public AmountsResp getAmountsResp()
        Gets the value of the amountsResp property.
        Returns:
        possible object is AmountsResp
      • setAmountsResp

        public void setAmountsResp​(AmountsResp value)
        Sets the value of the amountsResp property.
        Parameters:
        value - allowed object is AmountsResp
      • getInstalment

        public Instalment getInstalment()
        Gets the value of the instalment property.
        Returns:
        possible object is Instalment
      • setInstalment

        public void setInstalment​(Instalment value)
        Sets the value of the instalment property.
        Parameters:
        value - allowed object is Instalment
      • getCurrencyConversion

        public List<CurrencyConversion> getCurrencyConversion()
        Gets the value of the currencyConversion property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the currencyConversion property.

        For example, to add a new item, do as follows:

            getCurrencyConversion().add(newItem);
         

        Objects of the following type(s) are allowed in the list CurrencyConversion

        Returns:
        the currency conversion
      • setCapturedSignature

        public void setCapturedSignature​(CapturedSignature value)
        Sets the value of the capturedSignature property.
        Parameters:
        value - allowed object is CapturedSignature
      • setProtectedSignature

        public void setProtectedSignature​(ContentInformation value)
        Sets the value of the protectedSignature property.
        Parameters:
        value - allowed object is ContentInformation
      • setPaymentAcquirerData

        public void setPaymentAcquirerData​(PaymentAcquirerData value)
        Sets the value of the paymentAcquirerData property.
        Parameters:
        value - allowed object is PaymentAcquirerData
      • getPaymentType

        public PaymentType getPaymentType()
        Gets the value of the PaymentType property.
        Returns:
        possible object is PaymentType
      • setPaymentType

        public void setPaymentType​(PaymentType value)
        Sets the value of the PaymentType property.
        Parameters:
        value - allowed object is PaymentType
      • isMerchantOverrideFlag

        public boolean isMerchantOverrideFlag()
        Gets the value of the merchantOverrideFlag property.
        Returns:
        possible object is Boolean
      • setMerchantOverrideFlag

        public void setMerchantOverrideFlag​(Boolean value)
        Sets the value of the merchantOverrideFlag property.
        Parameters:
        value - allowed object is Boolean
      • getCustomerLanguage

        public String getCustomerLanguage()
        Gets the value of the customerLanguage property.
        Returns:
        possible object is String
      • setCustomerLanguage

        public void setCustomerLanguage​(String value)
        Sets the value of the customerLanguage property.
        Parameters:
        value - allowed object is String
      • isOnlineFlag

        public boolean isOnlineFlag()
        Gets the value of the onlineFlag property.
        Returns:
        possible object is Boolean
      • setOnlineFlag

        public void setOnlineFlag​(Boolean value)
        Sets the value of the onlineFlag property.
        Parameters:
        value - allowed object is Boolean
      • getAuthenticationMethod

        public List<AuthenticationMethodType> getAuthenticationMethod()
        Gets the value of the authenticationMethod property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the authenticationMethod property.

        For example, to add a new item, do as follows:

            getAuthenticationMethod().add(newItem);
         

        Objects of the following type(s) are allowed in the list AuthenticationMethodType

        Returns:
        the authentication method
      • getValidityDate

        public String getValidityDate()
        Gets the value of the validityDate property.
        Returns:
        possible object is String
      • setValidityDate

        public void setValidityDate​(String value)
        Sets the value of the validityDate property.
        Parameters:
        value - allowed object is String