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

com.adyen.model.nexo.GetTotalsResponse 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.util.ArrayList;
import java.util.List;


/**
 * Definition: Content of the Reconciliation Response messageType. -- Usage: It conveys Information related to the Reconciliation transaction processed by the POI System
 *
 * 

Java class for GetTotalsResponse complex type. * *

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

 * <complexType name="GetTotalsResponse">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Response" type="{}Response"/>
 *         <element name="TransactionTotals" type="{}TransactionTotals" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="POIReconciliationID" use="required" type="{}POIReconciliationID" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "GetTotalsResponse", propOrder = { "response", "transactionTotals" }) public class GetTotalsResponse { /** * The Response. */ @XmlElement(name = "Response", required = true) @Schema(description = "Result of a message request processing.") protected Response response; /** * The Transaction totals. */ @XmlElement(name = "TransactionTotals") @Schema(description = "Result of the Sale to POI Reconciliation processing. --Rule: if Response.Result is Success") protected List transactionTotals; /** * The Poi reconciliation id. */ @XmlElement(name = "POIReconciliationID", required = true) @Schema(description = "Identification of the reconciliation period between Sale and POI. ") protected String poiReconciliationID; /** * Gets the value of the response property. * * @return possible object is {@link Response } */ public Response getResponse() { return response; } /** * Sets the value of the response property. * * @param value allowed object is {@link Response } */ public void setResponse(Response value) { this.response = value; } /** * Gets the value of the transactionTotals 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 transactionTotals property. *

*

* For example, to add a new item, do as follows: *

     *    getTransactionTotals().add(newItem);
     * 
*

*

*

* Objects of the following type(s) are allowed in the list * {@link TransactionTotals } * * @return the transaction totals */ public List getTransactionTotals() { if (transactionTotals == null) { transactionTotals = new ArrayList<>(); } return this.transactionTotals; } /** * Gets the value of the poiReconciliationID property. * * @return possible object is {@link String } */ public String getPOIReconciliationID() { return poiReconciliationID; } /** * Sets the value of the poiReconciliationID property. * * @param value allowed object is {@link String } */ public void setPOIReconciliationID(String value) { this.poiReconciliationID = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy