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

com.adyen.model.nexo.CardData Maven / Gradle / Ivy

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;
import java.util.ArrayList;
import java.util.List;


/**
 * Definition: Information related to the payment card used for the transaction. -- Usage: Allows acquisition of the card data by the Sale System before the Payment, CardAcquisition  or BalanceInquiry request to the POI. It could also be sent in the CardAcquisition response, to be processed by the Sale System. In this case, the
 *
 * 

Java class for CardData complex type. * *

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

 * <complexType name="CardData">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="ProtectedCardData" type="{}ContentInformation" minOccurs="0"/>
 *         <element name="SensitiveCardData" type="{}SensitiveCardData" minOccurs="0"/>
 *         <element name="AllowedProductCode" type="{}AllowedProductCode" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="AllowedProduct" type="{}AllowedProduct" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="PaymentToken" type="{}PaymentToken" minOccurs="0"/>
 *         <element name="CustomerOrder" type="{}CustomerOrder" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="PaymentBrand" type="{}PaymentBrand" />
 *       <attribute name="MaskedPAN" type="{}MaskedPAN" />
 *       <attribute name="PaymentAccountRef" type="{}PaymentAccountRef" />
 *       <attribute name="EntryMode" type="{}EntryMode" />
 *       <attribute name="CardCountryCode" type="{}CardCountryCode" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CardData", propOrder = { "protectedCardData", "sensitiveCardData", "allowedProductCode", "allowedProduct", "paymentToken", "customerOrder" }) public class CardData { /** * The Protected card data. */ @XmlElement(name = "ProtectedCardData") protected ContentInformation protectedCardData; /** * The Sensitive card data. */ @XmlElement(name = "SensitiveCardData") protected SensitiveCardData sensitiveCardData; /** * The Allowed product code. */ @XmlElement(name = "AllowedProductCode") protected List allowedProductCode; /** * The Allowed product. */ @XmlElement(name = "AllowedProduct") protected List allowedProduct; /** * The Payment token. */ @XmlElement(name = "PaymentToken") protected PaymentToken paymentToken; /** * The Customer order. */ @XmlElement(name = "CustomerOrder") protected List customerOrder; /** * The Payment brand. */ @XmlAttribute(name = "PaymentBrand") protected String paymentBrand; /** * The Masked pan. */ @XmlAttribute(name = "MaskedPan") protected String maskedPAN; /** * The Payment account ref. */ @XmlAttribute(name = "PaymentAccountRef") protected String paymentAccountRef; /** * The Entry mode. */ @XmlAttribute(name = "EntryMode") protected List entryMode; /** * The Card country code. */ @XmlAttribute(name = "CardCountryCode") protected String cardCountryCode; /** * 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; } /** * Gets the value of the sensitiveCardData property. * * @return possible object is {@link SensitiveCardData } */ public SensitiveCardData getSensitiveCardData() { return sensitiveCardData; } /** * Sets the value of the sensitiveCardData property. * * @param value allowed object is {@link SensitiveCardData } */ public void setSensitiveCardData(SensitiveCardData value) { this.sensitiveCardData = value; } /** * Gets the value of the allowedProductCode property. * * * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the allowedProductCode property. * * * For example, to add a new item, do as follows: *
     *    getAllowedProductCode().add(newItem);
     * 
* * * * Objects of the following type(s) are allowed in the list * {@link String } * * @return the allowed product code */ public List getAllowedProductCode() { if (allowedProductCode == null) { allowedProductCode = new ArrayList<>(); } return this.allowedProductCode; } /** * Gets the value of the allowedProduct property. * * * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the allowedProduct property. * * * For example, to add a new item, do as follows: *
     *    getAllowedProduct().add(newItem);
     * 
* * * * Objects of the following type(s) are allowed in the list * {@link AllowedProduct } * * @return the allowed product */ public List getAllowedProduct() { if (allowedProduct == null) { allowedProduct = new ArrayList<>(); } return this.allowedProduct; } /** * Gets the value of the paymentToken property. * * @return possible object is {@link PaymentToken } */ public PaymentToken getPaymentToken() { return paymentToken; } /** * Sets the value of the paymentToken property. * * @param value allowed object is {@link PaymentToken } */ public void setPaymentToken(PaymentToken value) { this.paymentToken = value; } /** * Gets the value of the customerOrder property. * * * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the customerOrder property. * * * For example, to add a new item, do as follows: *
     *    getCustomerOrder().add(newItem);
     * 
* * * * Objects of the following type(s) are allowed in the list * {@link CustomerOrder } * * @return the customer order */ public List getCustomerOrder() { if (customerOrder == null) { customerOrder = new ArrayList<>(); } return this.customerOrder; } /** * Gets the value of the paymentBrand property. * * @return possible object is {@link String } */ public String getPaymentBrand() { return paymentBrand; } /** * Sets the value of the paymentBrand property. * * @param value allowed object is {@link String } */ public void setPaymentBrand(String value) { this.paymentBrand = value; } /** * Gets the value of the maskedPAN property. * * @return possible object is {@link String } */ public String getMaskedPAN() { return maskedPAN; } /** * Sets the value of the maskedPAN property. * * @param value allowed object is {@link String } */ public void setMaskedPAN(String value) { this.maskedPAN = value; } /** * Gets the value of the paymentAccountRef property. * * @return possible object is {@link String } */ public String getPaymentAccountRef() { return paymentAccountRef; } /** * Sets the value of the paymentAccountRef property. * * @param value allowed object is {@link String } */ public void setPaymentAccountRef(String value) { this.paymentAccountRef = value; } /** * Gets the value of the entryMode property. * * * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the entryMode property. * * * For example, to add a new item, do as follows: *
     *    getEntryMode().add(newItem);
     * 
* * * * Objects of the following type(s) are allowed in the list * {@link EntryModeType } * * @return the entry mode */ public List getEntryMode() { if (entryMode == null) { entryMode = new ArrayList<>(); } return this.entryMode; } /** * Gets the value of the cardCountryCode property. * * @return possible object is {@link String } */ public String getCardCountryCode() { return cardCountryCode; } /** * Sets the value of the cardCountryCode property. * * @param value allowed object is {@link String } */ public void setCardCountryCode(String value) { this.cardCountryCode = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy