All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adyen.model.nexo.PaymentResult Maven / Gradle / Ivy

There is a newer version: 28.4.0
Show newest version
package com.adyen.model.nexo;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;


/**
 * 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>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PaymentResult", propOrder = { "paymentInstrumentData", "amountsResp", "instalment", "currencyConversion", "capturedSignature", "protectedSignature", "paymentAcquirerData" }) public class PaymentResult { /** * The Payment instrument data. */ @XmlElement(name = "PaymentInstrumentData") protected PaymentInstrumentData paymentInstrumentData; /** * The Amounts resp. */ @XmlElement(name = "AmountsResp") protected AmountsResp amountsResp; /** * The Instalment. */ @XmlElement(name = "Instalment") protected Instalment instalment; /** * The Currency conversion. */ @XmlElement(name = "CurrencyConversion") protected List currencyConversion; /** * The Captured signature. */ @XmlElement(name = "CapturedSignature") protected CapturedSignature capturedSignature; /** * The Protected signature. */ @XmlElement(name = "ProtectedSignature") protected ContentInformation protectedSignature; /** * The Payment acquirer data. */ @XmlElement(name = "PaymentAcquirerData") protected PaymentAcquirerData paymentAcquirerData; /** * The Payment type. */ @XmlAttribute(name = "PaymentType") protected PaymentType paymentType; /** * The Merchant override flag. */ @XmlAttribute(name = "MerchantOverrideFlag") protected Boolean merchantOverrideFlag; /** * The Customer language. */ @XmlAttribute(name = "CustomerLanguage") protected String customerLanguage; /** * The Online flag. */ @XmlAttribute(name = "OnlineFlag") protected Boolean onlineFlag; /** * The Authentication method. */ @XmlAttribute(name = "AuthenticationMethod") protected List authenticationMethod; /** * The Validity date. */ @XmlAttribute(name = "ValidityDate") protected String validityDate; /** * Gets the value of the paymentInstrumentData property. * * @return possible object is {@link PaymentInstrumentData } */ public PaymentInstrumentData getPaymentInstrumentData() { return paymentInstrumentData; } /** * Sets the value of the paymentInstrumentData property. * * @param value allowed object is {@link PaymentInstrumentData } */ public void setPaymentInstrumentData(PaymentInstrumentData value) { this.paymentInstrumentData = value; } /** * Gets the value of the amountsResp property. * * @return possible object is {@link AmountsResp } */ public AmountsResp getAmountsResp() { return amountsResp; } /** * Sets the value of the amountsResp property. * * @param value allowed object is {@link AmountsResp } */ public void setAmountsResp(AmountsResp value) { this.amountsResp = value; } /** * Gets the value of the instalment property. * * @return possible object is {@link Instalment } */ public Instalment getInstalment() { return instalment; } /** * Sets the value of the instalment property. * * @param value allowed object is {@link Instalment } */ public void setInstalment(Instalment value) { this.instalment = value; } /** * 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 * {@link CurrencyConversion } * * @return the currency conversion */ public List getCurrencyConversion() { if (currencyConversion == null) { currencyConversion = new ArrayList(); } return this.currencyConversion; } /** * Gets the value of the capturedSignature property. * * @return possible object is {@link CapturedSignature } */ public CapturedSignature getCapturedSignature() { return capturedSignature; } /** * Sets the value of the capturedSignature property. * * @param value allowed object is {@link CapturedSignature } */ public void setCapturedSignature(CapturedSignature value) { this.capturedSignature = value; } /** * Gets the value of the protectedSignature property. * * @return possible object is {@link ContentInformation } */ public ContentInformation getProtectedSignature() { return protectedSignature; } /** * Sets the value of the protectedSignature property. * * @param value allowed object is {@link ContentInformation } */ public void setProtectedSignature(ContentInformation value) { this.protectedSignature = value; } /** * Gets the value of the paymentAcquirerData property. * * @return possible object is {@link PaymentAcquirerData } */ public PaymentAcquirerData getPaymentAcquirerData() { return paymentAcquirerData; } /** * Sets the value of the paymentAcquirerData property. * * @param value allowed object is {@link PaymentAcquirerData } */ public void setPaymentAcquirerData(PaymentAcquirerData value) { this.paymentAcquirerData = value; } /** * Gets the value of the PaymentType property. * * @return possible object is {@link PaymentType } */ public PaymentType getPaymentType() { if (paymentType == null) { return PaymentType.NORMAL; } else { return paymentType; } } /** * Sets the value of the PaymentType property. * * @param value allowed object is {@link PaymentType } */ public void setPaymentType(PaymentType value) { this.paymentType = value; } /** * Gets the value of the merchantOverrideFlag property. * * @return possible object is {@link Boolean } */ public boolean isMerchantOverrideFlag() { if (merchantOverrideFlag == null) { return false; } else { return merchantOverrideFlag; } } /** * Sets the value of the merchantOverrideFlag property. * * @param value allowed object is {@link Boolean } */ public void setMerchantOverrideFlag(Boolean value) { this.merchantOverrideFlag = value; } /** * Gets the value of the customerLanguage property. * * @return possible object is {@link String } */ public String getCustomerLanguage() { return customerLanguage; } /** * Sets the value of the customerLanguage property. * * @param value allowed object is {@link String } */ public void setCustomerLanguage(String value) { this.customerLanguage = value; } /** * Gets the value of the onlineFlag property. * * @return possible object is {@link Boolean } */ public boolean isOnlineFlag() { if (onlineFlag == null) { return true; } else { return onlineFlag; } } /** * Sets the value of the onlineFlag property. * * @param value allowed object is {@link Boolean } */ public void setOnlineFlag(Boolean value) { this.onlineFlag = value; } /** * 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 * {@link AuthenticationMethodType } * * @return the authentication method */ public List getAuthenticationMethod() { if (authenticationMethod == null) { authenticationMethod = new ArrayList(); } return this.authenticationMethod; } /** * Gets the value of the validityDate property. * * @return possible object is {@link String } */ public String getValidityDate() { return validityDate; } /** * Sets the value of the validityDate property. * * @param value allowed object is {@link String } */ public void setValidityDate(String value) { this.validityDate = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy