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

com.adyen.model.nexo.BatchRequest 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 Batch Request messageType. -- Usage: Message to send Payment, Loyalty and Reversal transactions to be performed without the Sale System, or to request the Payment, Loyalty and Reversal transactions that has been performed without the Sale System.
 *
 * 

Java class for BatchRequest complex type. * *

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

 * <complexType name="BatchRequest">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="TransactionToPerform" type="{}TransactionToPerform" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="RemoveAllFlag" type="{}RemoveAllFlag" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "BatchRequest", propOrder = { "transactionToPerform" }) public class BatchRequest { /** * The Transaction to perform. */ @XmlElement(name = "TransactionToPerform") @Schema(description = "Content of the Batch Request message") protected List transactionToPerform; /** * The Remove all flag. */ @XmlElement(name = "RemoveAllFlag") @Schema(description = "A flag requesting to remove the transactions stored and not yet performed. default False.") protected Boolean removeAllFlag; /** * Gets the value of the transactionToPerform 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 transactionToPerform property. *

*

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

     *    getTransactionToPerform().add(newItem);
     * 
*

*

*

* Objects of the following type(s) are allowed in the list * {@link TransactionToPerform } * * @return the transaction to perform */ public List getTransactionToPerform() { if (transactionToPerform == null) { transactionToPerform = new ArrayList<>(); } return this.transactionToPerform; } /** * Gets the value of the removeAllFlag property. * * @return possible object is {@link Boolean } */ public Boolean isRemoveAllFlag() { return removeAllFlag; } /** * Sets the value of the removeAllFlag property. * * @param value allowed object is {@link Boolean } */ public void setRemoveAllFlag(Boolean value) { this.removeAllFlag = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy