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

com.adyen.model.nexo.PaymentData 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;


/**
 * Definition: Data related to the payment transaction. -- Usage: Elements requested by the Sale System that are related to the payment only.
 *
 * 

Java class for PaymentData complex type. * *

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

 * <complexType name="PaymentData">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="CardAcquisitionReference" type="{}TransactionIdentification" minOccurs="0"/>
 *         <element name="RequestedValidityDate" type="{}ISODate" minOccurs="0"/>
 *         <element name="Instalment" type="{}Instalment" minOccurs="0"/>
 *         <element name="CustomerOrder" type="{}CustomerOrder" minOccurs="0"/>
 *         <element name="PaymentInstrumentData" type="{}PaymentInstrumentData" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="Payment" type="{}PaymentType" default="Normal" />
 *       <attribute name="SplitPaymentFlag" type="{}SplitPaymentFlag" default="false" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PaymentData", propOrder = { "cardAcquisitionReference", "requestedValidityDate", "instalment", "customerOrder", "paymentInstrumentData" }) public class PaymentData { /** * The Card acquisition reference. */ @XmlElement(name = "CardAcquisitionReference") protected TransactionIdentification cardAcquisitionReference; /** * The Requested validity date. */ @XmlElement(name = "RequestedValidityDate") protected String requestedValidityDate; /** * The Instalment. */ @XmlElement(name = "Instalment") protected Instalment instalment; /** * The Customer order. */ @XmlElement(name = "CustomerOrder") protected CustomerOrder customerOrder; /** * The Payment instrument data. */ @XmlElement(name = "PaymentInstrumentData") protected PaymentInstrumentData paymentInstrumentData; /** * The Payment. */ @XmlAttribute(name = "PaymentType") protected PaymentType paymentType; /** * The Split payment flag. */ @XmlAttribute(name = "SplitPaymentFlag") protected Boolean splitPaymentFlag; /** * Gets the value of the cardAcquisitionReference property. * * @return possible object is {@link TransactionIdentification } */ public TransactionIdentification getCardAcquisitionReference() { return cardAcquisitionReference; } /** * Sets the value of the cardAcquisitionReference property. * * @param value allowed object is {@link TransactionIdentification } */ public void setCardAcquisitionReference(TransactionIdentification value) { this.cardAcquisitionReference = value; } /** * Gets the value of the requestedValidityDate property. * * @return possible object is {@link String } */ public String getRequestedValidityDate() { return requestedValidityDate; } /** * Sets the value of the requestedValidityDate property. * * @param value allowed object is {@link String } */ public void setRequestedValidityDate(String value) { this.requestedValidityDate = 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 customerOrder property. * * @return possible object is {@link CustomerOrder } */ public CustomerOrder getCustomerOrder() { return customerOrder; } /** * Sets the value of the customerOrder property. * * @param value allowed object is {@link CustomerOrder } */ public void setCustomerOrder(CustomerOrder value) { this.customerOrder = value; } /** * 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 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 splitPaymentFlag property. * * @return possible object is {@link Boolean } */ public boolean isSplitPaymentFlag() { if (splitPaymentFlag == null) { return false; } else { return splitPaymentFlag; } } /** * Sets the value of the splitPaymentFlag property. * * @param value allowed object is {@link Boolean } */ public void setSplitPaymentFlag(Boolean value) { this.splitPaymentFlag = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy