com.adyen.model.nexo.PaymentTotals 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 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;
import java.math.BigInteger;
/**
* Definition: Totals of the payment transaction during the reconciliation period.
*
* Java class for PaymentTotals complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PaymentTotals">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="Transaction" use="required" type="{}TransactionType" />
* <attribute name="TransactionCount" use="required" type="{}TransactionCount" />
* <attribute name="TransactionAmount" use="required" type="{}SimpleAmountType" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PaymentTotals")
public class PaymentTotals {
/**
* The Transaction.
*/
@XmlElement(name = "TransactionType", required = true)
@Schema(description = "Type of transaction for which totals are grouped. --Rule: Debit, Credit, ReverseDebit, ReverseCredit, OneTimeReservation, CompletedDeffered, FirstReservation, UpdateReservation,")
protected TransactionType transactionType;
/**
* The Transaction count.
*/
@XmlElement(name = "TransactionCount", required = true)
@Schema(description = "Number of processed transaction during the period.")
protected BigInteger transactionCount;
/**
* The Transaction amount.
*/
@XmlElement(name = "TransactionAmount", required = true)
@Schema(description = "Sum of amount of processed transaction during the period.")
protected BigDecimal transactionAmount;
/**
* Gets the value of the transactionType property.
*
* @return possible object is {@link TransactionType }
*/
public TransactionType getTransactionType() {
return transactionType;
}
/**
* Sets the value of the transactionType property.
*
* @param value allowed object is {@link TransactionType }
*/
public void setTransactionType(TransactionType value) {
this.transactionType = value;
}
/**
* Gets the value of the transactionCount property.
*
* @return possible object is {@link BigInteger }
*/
public BigInteger getTransactionCount() {
return transactionCount;
}
/**
* Sets the value of the transactionCount property.
*
* @param value allowed object is {@link BigInteger }
*/
public void setTransactionCount(BigInteger value) {
this.transactionCount = value;
}
/**
* Gets the value of the transactionAmount property.
*
* @return possible object is {@link BigDecimal }
*/
public BigDecimal getTransactionAmount() {
return transactionAmount;
}
/**
* Sets the value of the transactionAmount property.
*
* @param value allowed object is {@link BigDecimal }
*/
public void setTransactionAmount(BigDecimal value) {
this.transactionAmount = value;
}
}