com.adyen.model.nexo.Instalment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of adyen-java-api-library Show documentation
Show all versions of adyen-java-api-library Show documentation
Adyen API Client Library for Java
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 = {
"instalmentType"
})
public class Instalment {
/**
* The Instalment type.
*/
@XmlList
@XmlElement(name = "InstalmentType")
protected List instalmentType;
/**
* 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 getInstalmentType() {
if (instalmentType == null) {
instalmentType = new ArrayList();
}
return this.instalmentType;
}
/**
* 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;
}
}