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

com.adyen.model.nexo.ReconciliationResponse 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 ReconciliationResponse complex type. * *

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

 * <complexType name="ReconciliationResponse">
 *   <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="Reconciliation" use="required" type="{}ReconciliationType" />
 *       <attribute name="POIReconciliationID" type="{}POIReconciliationID" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ReconciliationResponse", propOrder = { "response", "transactionTotals" }) public class ReconciliationResponse { /** * 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 Reconciliation. */ @XmlElement(name = "ReconciliationType", required = true) @Schema(description = "Type of Reconciliation requested by the Sale to the POI. --Rule: Copy") protected ReconciliationType reconciliationType; /** * The Poi reconciliation id. */ @XmlElement(name = "POIReconciliationID") @Schema(description = "Identification of the reconciliation period between Sale and POI. --Rule: Absent if ReconciliationType is \"AcquirerReconciliation\"") 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 reconciliationType property. * * @return possible object is {@link ReconciliationType } */ public ReconciliationType getReconciliationType() { return reconciliationType; } /** * Sets the value of the reconciliationType property. * * @param value allowed object is {@link ReconciliationType } */ public void setReconciliationType(ReconciliationType value) { this.reconciliationType = value; } /** * 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