public final class MultiRequest extends Object
OnFailOption and a ProcessingMode to define a multimessage
request for execution with the Brightpearl API. Instances are immutable and may be constructed using MultiRequestBuilder.
For further information please see the link below.| Modifier and Type | Method and Description |
|---|---|
OnFailOption |
getOnFailOption()
The on fail option (STOP or CONTINUE) set on the request, defining whether remaining requests should still be
executed when one fails.
|
ProcessingMode |
getProcessingMode()
The processing mode option (SEQUENTIAL or PARALLEL) set on the request, which defines whether requests should be
executed in serial or in parallel by the Brightpearl multimessage API.
|
ServiceWriteRequest |
getRequest(String id)
Returns an individual request by its unique ID.
|
List<ServiceWriteRequest> |
getRequests()
The list of requests included in the multimessage batch.
|
public OnFailOption getOnFailOption()
public ProcessingMode getProcessingMode()
public List<ServiceWriteRequest> getRequests()
public ServiceWriteRequest getRequest(String id)
id - a request unique ID.Copyright © 2014. All Rights Reserved.