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

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

package com.adyen.model.nexo;

import io.swagger.v3.oas.annotations.media.Schema;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
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") @Schema(description = "Reference to the last CardAcquisition, to use the same card. --Rule: if the card data comes from a previous CardAcquisition") protected TransactionIdentification cardAcquisitionReference; /** * The Payment instrument data. */ @XmlElement(name = "PaymentInstrumentData") @Schema(description = "Data related to the instrument of payment for the transaction.") protected PaymentInstrumentData paymentInstrumentData; /** * The Account. */ @XmlElement(name = "AccountType") @Schema(description = "Type of cardholder account used for the transaction") 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; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy