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

com.adyen.model.nexo.PaymentInstrumentData 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 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; /** * The Stored value account id. */ @XmlAttribute(name = "StoredValueAccountID") protected StoredValueAccountID storedValueAccountID; /** * The Protected card data. */ @XmlAttribute(name = "ProtectedCardData") protected ContentInformation protectedCardData; /** * 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; } /** * Gets the value of the storedValueAccountID property. * * @return possible object is {@link StoredValueAccountID } */ public StoredValueAccountID getStoredValueAccountID() { return storedValueAccountID; } /** * Sets the value of the storedValueAccountID property. * * @param value allowed object is {@link StoredValueAccountID } */ public void setStoredValueAccountID(StoredValueAccountID value) { this.storedValueAccountID = value; } /** * Gets the value of the protectedCardData property. * * @return possible object is {@link ContentInformation } */ public ContentInformation getProtectedCardData() { return protectedCardData; } /** * Sets the value of the protectedCardData property. * * @param value allowed object is {@link ContentInformation } */ public void setProtectedCardData(ContentInformation value) { this.protectedCardData = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy