Package com.adyen.model.nexo
Class BatchResponse
- java.lang.Object
-
- com.adyen.model.nexo.BatchResponse
-
public class BatchResponse extends Object
Definition: Content of the Batch Response messageType. -- Usage: It conveys either the response of transactions to perform sent in the batch request, or a collection of results of performed Payment, Loyalty and Reversal transactions in a batch messageType or file.Java class for BatchResponse complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BatchResponse"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Response" type="{}Response"/> <element name="PerformedTransaction" type="{}PerformedTransaction" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<PerformedTransaction>performedTransactionThe Performed transaction.protected ResponseresponseThe Response.
-
Constructor Summary
Constructors Constructor Description BatchResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PerformedTransaction>getPerformedTransaction()Gets the value of the performedTransaction property.ResponsegetResponse()Gets the value of the response property.voidsetResponse(Response value)Sets the value of the response property.
-
-
-
Field Detail
-
response
protected Response response
The Response.
-
performedTransaction
protected List<PerformedTransaction> performedTransaction
The Performed transaction.
-
-
Method Detail
-
getResponse
public Response getResponse()
Gets the value of the response property.- Returns:
- possible object is
Response
-
setResponse
public void setResponse(Response value)
Sets the value of the response property.- Parameters:
value- allowed object isResponse
-
getPerformedTransaction
public List<PerformedTransaction> getPerformedTransaction()
Gets the value of the performedTransaction 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
setmethod for the performedTransaction property.For example, to add a new item, do as follows:
getPerformedTransaction().add(newItem);Objects of the following type(s) are allowed in the list
PerformedTransaction- Returns:
- the performed transaction
-
-