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

com.adyen.model.nexo.LoyaltyTotals 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;
import java.math.BigDecimal;
import java.math.BigInteger;


/**
 * Definition: Totals of the loyalty transaction during the reconciliation period.
 *
 * 

Java class for LoyaltyTotals complex type. * *

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

 * <complexType name="LoyaltyTotals">
 *   <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 = "LoyaltyTotals") public class LoyaltyTotals { /** * The Transaction. */ @XmlElement(name = "TransactionType", required = true) @Schema(description = "Type of transaction for which totals are grouped. --Rule: Award, ReverseAward, Redemption, ReverseRedemption, Rebate, ReverseRebate") 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; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy