com.adyen.model.nexo.PaymentAccountReq Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of adyen-java-api-library Show documentation
Show all versions of adyen-java-api-library Show documentation
Adyen API Client Library for Java
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 account pointed by the payment card -- Usage: Information provided by the Sale System related to the payment account requesting a balance.
*
* Java class for PaymentAccountReq complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PaymentAccountReq">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="CardAcquisitionReference" type="{}TransactionIdentification" minOccurs="0"/>
* <element name="PaymentInstrumentData" type="{}PaymentInstrumentData" minOccurs="0"/>
* </sequence>
* <attribute name="Account" type="{}AccountType" default="Default" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PaymentAccountReq", propOrder = {
"cardAcquisitionReference",
"paymentInstrumentData"
})
public class PaymentAccountReq {
/**
* The Card acquisition reference.
*/
@XmlElement(name = "CardAcquisitionReference")
protected TransactionIdentification cardAcquisitionReference;
/**
* The Payment instrument data.
*/
@XmlElement(name = "PaymentInstrumentData")
protected PaymentInstrumentData paymentInstrumentData;
/**
* The Account.
*/
@XmlAttribute(name = "AccountType")
protected AccountType accountType;
/**
* 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 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 AccountType property.
*
* @return possible object is {@link AccountType }
*/
public AccountType getAccountType() {
if (accountType == null) {
return AccountType.DEFAULT;
} else {
return accountType;
}
}
/**
* Sets the value of the AccountType property.
*
* @param value allowed object is {@link AccountType }
*/
public void setAccountType(AccountType value) {
this.accountType = value;
}
}