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

com.adyen.model.nexo.Instalment 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.XmlList;
import javax.xml.bind.annotation.XmlType;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;


/**
 * Definition: Information related an instalment transaction. -- Usage: To request an instalment to the issuer, or to make individual instalments of a payment transaction.
 *
 * 

Java class for Instalment complex type. * *

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

 * <complexType name="Instalment">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Instalment" type="{}InstalmentTypeList" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="SequenceNumber" type="{}SequenceNumber" />
 *       <attribute name="PlanID" type="{}PlanID" />
 *       <attribute name="Period" type="{}Period" />
 *       <attribute name="PeriodUnit" type="{}PeriodUnitType" />
 *       <attribute name="FirstPaymentDate" type="{}ISODate" />
 *       <attribute name="TotalNbOfPayments" type="{}TotalNbOfPayments" />
 *       <attribute name="CumulativeAmount" type="{}SimpleAmountType" />
 *       <attribute name="FirstAmount" type="{}SimpleAmountType" />
 *       <attribute name="Charges" type="{}SimpleAmountType" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Instalment", propOrder = { "instalment" }) public class Instalment { /** * The Instalment. */ @XmlList @XmlElement(name = "Instalment") protected List instalment; /** * The Sequence number. */ @XmlAttribute(name = "SequenceNumber") protected BigInteger sequenceNumber; /** * The Plan id. */ @XmlAttribute(name = "PlanID") protected String planID; /** * The Period. */ @XmlAttribute(name = "Period") protected BigInteger period; /** * The Period unit. */ @XmlAttribute(name = "PeriodUnit") protected PeriodUnitType periodUnit; /** * The First payment date. */ @XmlAttribute(name = "FirstPaymentDate") protected String firstPaymentDate; /** * The Total nb of payments. */ @XmlAttribute(name = "TotalNbOfPayments") protected BigInteger totalNbOfPayments; /** * The Cumulative amount. */ @XmlAttribute(name = "CumulativeAmount") protected BigDecimal cumulativeAmount; /** * The First amount. */ @XmlAttribute(name = "FirstAmount") protected BigDecimal firstAmount; /** * The Charges. */ @XmlAttribute(name = "Charges") protected BigDecimal charges; /** * Gets the value of the instalment 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 instalment property. * * * For example, to add a new item, do as follows: *
     *    getInstalment().add(newItem);
     * 
* * * * Objects of the following type(s) are allowed in the list * {@link InstalmentType } * * @return the instalment */ public List getInstalment() { if (instalment == null) { instalment = new ArrayList(); } return this.instalment; } /** * Gets the value of the sequenceNumber property. * * @return possible object is {@link BigInteger } */ public BigInteger getSequenceNumber() { return sequenceNumber; } /** * Sets the value of the sequenceNumber property. * * @param value allowed object is {@link BigInteger } */ public void setSequenceNumber(BigInteger value) { this.sequenceNumber = value; } /** * Gets the value of the planID property. * * @return possible object is {@link String } */ public String getPlanID() { return planID; } /** * Sets the value of the planID property. * * @param value allowed object is {@link String } */ public void setPlanID(String value) { this.planID = value; } /** * Gets the value of the period property. * * @return possible object is {@link BigInteger } */ public BigInteger getPeriod() { return period; } /** * Sets the value of the period property. * * @param value allowed object is {@link BigInteger } */ public void setPeriod(BigInteger value) { this.period = value; } /** * Gets the value of the periodUnit property. * * @return possible object is {@link PeriodUnitType } */ public PeriodUnitType getPeriodUnit() { return periodUnit; } /** * Sets the value of the periodUnit property. * * @param value allowed object is {@link PeriodUnitType } */ public void setPeriodUnit(PeriodUnitType value) { this.periodUnit = value; } /** * Gets the value of the firstPaymentDate property. * * @return possible object is {@link String } */ public String getFirstPaymentDate() { return firstPaymentDate; } /** * Sets the value of the firstPaymentDate property. * * @param value allowed object is {@link String } */ public void setFirstPaymentDate(String value) { this.firstPaymentDate = value; } /** * Gets the value of the totalNbOfPayments property. * * @return possible object is {@link BigInteger } */ public BigInteger getTotalNbOfPayments() { return totalNbOfPayments; } /** * Sets the value of the totalNbOfPayments property. * * @param value allowed object is {@link BigInteger } */ public void setTotalNbOfPayments(BigInteger value) { this.totalNbOfPayments = value; } /** * Gets the value of the cumulativeAmount property. * * @return possible object is {@link BigDecimal } */ public BigDecimal getCumulativeAmount() { return cumulativeAmount; } /** * Sets the value of the cumulativeAmount property. * * @param value allowed object is {@link BigDecimal } */ public void setCumulativeAmount(BigDecimal value) { this.cumulativeAmount = value; } /** * Gets the value of the firstAmount property. * * @return possible object is {@link BigDecimal } */ public BigDecimal getFirstAmount() { return firstAmount; } /** * Sets the value of the firstAmount property. * * @param value allowed object is {@link BigDecimal } */ public void setFirstAmount(BigDecimal value) { this.firstAmount = value; } /** * Gets the value of the charges property. * * @return possible object is {@link BigDecimal } */ public BigDecimal getCharges() { return charges; } /** * Sets the value of the charges property. * * @param value allowed object is {@link BigDecimal } */ public void setCharges(BigDecimal value) { this.charges = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy