com.adyen.model.nexo.CheckData 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: Information related to the paper check used for the transaction. -- Usage: Allows the check information to be provided by the Sale System before requesting the payment, or stored by the Sale System after processing of the payment.
*
* Java class for CheckData complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CheckData">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="BankID" type="{}BankID" minOccurs="0"/>
* <element name="AccountNumber" type="{}AccountNumber" minOccurs="0"/>
* <element name="CheckNumber" type="{}CheckNumber" minOccurs="0"/>
* <element name="TrackData" type="{}TrackData" minOccurs="0"/>
* <element name="CheckCardNumber" type="{}CheckCardNumber" minOccurs="0"/>
* </sequence>
* <attribute name="Type" type="{}CheckTypeCodeType" default="Personal" />
* <attribute name="Country" type="{}ISOCountry3A" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CheckData", propOrder = {
"bankID",
"accountNumber",
"checkNumber",
"trackData",
"checkCardNumber"
})
public class CheckData {
/**
* The Bank id.
*/
@XmlElement(name = "BankID")
protected String bankID;
/**
* The Account number.
*/
@XmlElement(name = "AccountNumber")
protected String accountNumber;
/**
* The Check number.
*/
@XmlElement(name = "CheckNumber")
protected String checkNumber;
/**
* The Track data.
*/
@XmlElement(name = "TrackData")
protected TrackData trackData;
/**
* The Check card number.
*/
@XmlElement(name = "CheckCardNumber")
protected String checkCardNumber;
/**
* The Type.
*/
@XmlAttribute(name = "Type")
protected CheckTypeCodeType type;
/**
* The Country.
*/
@XmlAttribute(name = "Country")
protected String country;
/**
* Gets the value of the bankID property.
*
* @return possible object is {@link String }
*/
public String getBankID() {
return bankID;
}
/**
* Sets the value of the bankID property.
*
* @param value allowed object is {@link String }
*/
public void setBankID(String value) {
this.bankID = value;
}
/**
* Gets the value of the accountNumber property.
*
* @return possible object is {@link String }
*/
public String getAccountNumber() {
return accountNumber;
}
/**
* Sets the value of the accountNumber property.
*
* @param value allowed object is {@link String }
*/
public void setAccountNumber(String value) {
this.accountNumber = value;
}
/**
* Gets the value of the checkNumber property.
*
* @return possible object is {@link String }
*/
public String getCheckNumber() {
return checkNumber;
}
/**
* Sets the value of the checkNumber property.
*
* @param value allowed object is {@link String }
*/
public void setCheckNumber(String value) {
this.checkNumber = value;
}
/**
* Gets the value of the trackData property.
*
* @return possible object is {@link TrackData }
*/
public TrackData getTrackData() {
return trackData;
}
/**
* Sets the value of the trackData property.
*
* @param value allowed object is {@link TrackData }
*/
public void setTrackData(TrackData value) {
this.trackData = value;
}
/**
* Gets the value of the checkCardNumber property.
*
* @return possible object is {@link String }
*/
public String getCheckCardNumber() {
return checkCardNumber;
}
/**
* Sets the value of the checkCardNumber property.
*
* @param value allowed object is {@link String }
*/
public void setCheckCardNumber(String value) {
this.checkCardNumber = value;
}
/**
* Gets the value of the type property.
*
* @return possible object is {@link CheckTypeCodeType }
*/
public CheckTypeCodeType getType() {
if (type == null) {
return CheckTypeCodeType.PERSONAL;
} else {
return type;
}
}
/**
* Sets the value of the type property.
*
* @param value allowed object is {@link CheckTypeCodeType }
*/
public void setType(CheckTypeCodeType value) {
this.type = value;
}
/**
* Gets the value of the country property.
*
* @return possible object is {@link String }
*/
public String getCountry() {
return country;
}
/**
* Sets the value of the country property.
*
* @param value allowed object is {@link String }
*/
public void setCountry(String value) {
this.country = value;
}
}