| Package | Description |
|---|---|
| uk.co.visalia.brightpearl.apiclient | |
| uk.co.visalia.brightpearl.apiclient.multimessage | |
| uk.co.visalia.brightpearl.apiclient.request |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
BrightpearlApiClient.execute(AppAuthorisation authorisation,
ServiceWriteRequest<T> serviceRequest)
Make a POST, PUT or DELETE call to the API.
|
<T> T |
BrightpearlLegacyApiSession.execute(ServiceWriteRequest<T> request)
Executes a write (PUT, POST, DELETE) request and returns the parsed response if the request was successful.
|
<T> T |
BrightpearlApiClient.ApiSession.execute(ServiceWriteRequest<T> serviceRequest)
Make a POST, PUT or DELETE call to the API.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceWriteRequest |
MultiRequest.getRequest(String id)
Returns an individual request by its unique ID.
|
| Modifier and Type | Method and Description |
|---|---|
List<ServiceWriteRequest> |
MultiRequest.getRequests()
The list of requests included in the multimessage batch.
|
| Modifier and Type | Method and Description |
|---|---|
<T> ServiceResponse<T> |
MultiResponse.getServiceResponse(ServiceWriteRequest<T> request)
Fetches the response for an individual request included in the multimessage, using the request's unique ID.
|
MultiRequestBuilder |
MultiRequestBuilder.withAddedRequest(ServiceWriteRequest request)
Add a request to the multimessage batch.
|
| Modifier and Type | Method and Description |
|---|---|
MultiRequestBuilder |
MultiRequestBuilder.withRequests(List<ServiceWriteRequest> requests)
Set the requests to be added to the multimessage batch, replacing any previously set.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceWriteRequest<T> |
ServiceWriteRequestBuilder.build()
Builds an immutable request instance from values provided to this builder.
|
Copyright © 2014. All Rights Reserved.