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

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

There is a newer version: 38.1.0
Show newest version
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;
import java.math.BigDecimal;


/**
 * Definition: Data related to the result of a Balance Inquiry request.
 *
 * 

Java class for PaymentAccountStatus complex type. * *

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

 * <complexType name="PaymentAccountStatus">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="PaymentInstrumentData" type="{}PaymentInstrumentData" minOccurs="0"/>
 *         <element name="PaymentAcquirerData" type="{}PaymentAcquirerData" minOccurs="0"/>
 *         <element name="LoyaltyAccountStatus" type="{}LoyaltyAccountStatus" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="Currency" type="{}ISOCurrency3A" />
 *       <attribute name="CurrentBalance" type="{}SimpleAmountType" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PaymentAccountStatus", propOrder = { "paymentInstrumentData", "paymentAcquirerData", "loyaltyAccountStatus" }) public class PaymentAccountStatus { /** * The Payment instrument data. */ @XmlElement(name = "PaymentInstrumentData") @Schema(description = "Data related to the instrument of payment for the transaction. --Rule: If a payment instrument is analysed") protected PaymentInstrumentData paymentInstrumentData; /** * The Payment acquirer data. */ @XmlElement(name = "PaymentAcquirerData") @Schema(description = "Data related to the response from the payment Acquirer. --Rule: If a card is analysed") protected PaymentAcquirerData paymentAcquirerData; /** * The Loyalty account status. */ @XmlElement(name = "LoyaltyAccountStatus") @Schema(description = "Data related to the result of a loyalty Balance Inquiry. --Rule: If PaymentInstrumentData absent and Result is Success") protected LoyaltyAccountStatus loyaltyAccountStatus; /** * The Currency. */ @XmlElement(name = "Currency") @Schema(description = "Currency of a monetary amount. --Rule: If PaymentInstrumentData present and Result is Success") protected String currency; /** * The Current balance. */ @XmlElement(name = "CurrentBalance") @Schema(description = "Balance of an account. --Rule: If PaymentInstrumentData present and Result is Success") protected BigDecimal currentBalance; /** * 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 paymentAcquirerData property. * * @return possible object is {@link PaymentAcquirerData } */ public PaymentAcquirerData getPaymentAcquirerData() { return paymentAcquirerData; } /** * Sets the value of the paymentAcquirerData property. * * @param value allowed object is {@link PaymentAcquirerData } */ public void setPaymentAcquirerData(PaymentAcquirerData value) { this.paymentAcquirerData = value; } /** * Gets the value of the loyaltyAccountStatus property. * * @return possible object is {@link LoyaltyAccountStatus } */ public LoyaltyAccountStatus getLoyaltyAccountStatus() { return loyaltyAccountStatus; } /** * Sets the value of the loyaltyAccountStatus property. * * @param value allowed object is {@link LoyaltyAccountStatus } */ public void setLoyaltyAccountStatus(LoyaltyAccountStatus value) { this.loyaltyAccountStatus = value; } /** * Gets the value of the currency property. * * @return possible object is {@link String } */ public String getCurrency() { return currency; } /** * Sets the value of the currency property. * * @param value allowed object is {@link String } */ public void setCurrency(String value) { this.currency = value; } /** * Gets the value of the currentBalance property. * * @return possible object is {@link BigDecimal } */ public BigDecimal getCurrentBalance() { return currentBalance; } /** * Sets the value of the currentBalance property. * * @param value allowed object is {@link BigDecimal } */ public void setCurrentBalance(BigDecimal value) { this.currentBalance = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy