com.adyen.model.nexo.PaymentInstrumentData 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 instrument of payment for the transaction. -- Usage: Sent in the result of the payment transaction. For a card, it could also be sent in the CardAcquisition response, to be processed by the Sale System. In this case, the card or type of card has to be configured to have this behaviour. It is
*
* Java class for PaymentInstrumentData complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PaymentInstrumentData">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="CardData" type="{}CardData" minOccurs="0"/>
* <element name="CheckData" type="{}CheckData" minOccurs="0"/>
* <element name="MobileData" type="{}MobileData" minOccurs="0"/>
* </sequence>
* <attribute name="PaymentInstrument" use="required" type="{}PaymentInstrumentType" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PaymentInstrumentData", propOrder = {
"cardData",
"checkData",
"mobileData"
})
public class PaymentInstrumentData {
/**
* The Card data.
*/
@XmlElement(name = "CardData")
protected CardData cardData;
/**
* The Check data.
*/
@XmlElement(name = "CheckData")
protected CheckData checkData;
/**
* The Mobile data.
*/
@XmlElement(name = "MobileData")
protected MobileData mobileData;
/**
* The Payment instrument.
*/
@XmlAttribute(name = "PaymentInstrumentType", required = true)
protected PaymentInstrumentType paymentInstrumentType;
/**
* Gets the value of the cardData property.
*
* @return possible object is {@link CardData }
*/
public CardData getCardData() {
return cardData;
}
/**
* Sets the value of the cardData property.
*
* @param value allowed object is {@link CardData }
*/
public void setCardData(CardData value) {
this.cardData = value;
}
/**
* Gets the value of the checkData property.
*
* @return possible object is {@link CheckData }
*/
public CheckData getCheckData() {
return checkData;
}
/**
* Sets the value of the checkData property.
*
* @param value allowed object is {@link CheckData }
*/
public void setCheckData(CheckData value) {
this.checkData = value;
}
/**
* Gets the value of the mobileData property.
*
* @return possible object is {@link MobileData }
*/
public MobileData getMobileData() {
return mobileData;
}
/**
* Sets the value of the mobileData property.
*
* @param value allowed object is {@link MobileData }
*/
public void setMobileData(MobileData value) {
this.mobileData = value;
}
/**
* Gets the value of the paymentInstrumentType property.
*
* @return possible object is {@link PaymentInstrumentType }
*/
public PaymentInstrumentType getPaymentInstrumentType() {
return paymentInstrumentType;
}
/**
* Sets the value of the paymentInstrumentType property.
*
* @param value allowed object is {@link PaymentInstrumentType }
*/
public void setPaymentInstrumentType(PaymentInstrumentType value) {
this.paymentInstrumentType = value;
}
}