BatchRequests
in package
This is the BatchRequest class in the LogiCommerce SDK package.
All LogiCommerce API Requests are prepared and executed through this class.
Tags
Table of Contents
addRequest() | This will made a curl petition to the given API resource with the metod PUT. | : array<string|int, mixed> |
---|---|---|
getRequests() | Returns the requests on this object | : array<string|int, mixed> |
Methods
addRequest()
This will made a curl petition to the given API resource with the metod PUT.
public
addRequest(BatchRequest $request) : array<string|int, mixed>
The return will be the deserialized API response.
Parameters
- $request : BatchRequest
Return values
array<string|int, mixed> —getRequests()
Returns the requests on this object
public
getRequests() : array<string|int, mixed>