BatchCloseCommandResponseData
in package
implements
ResponseDataContract
Uses
ResponseDataTrait, CodeJsonResponseAttributeTrait, MessageJsonResponseAttributeTrait
Read onlyYes
Class BatchCloseCommandResponseData
Response data for the "closing of batch" command.
Table of Contents
Interfaces
- ResponseDataContract
- ResponseDataContract interface.
Properties
- $response : object
- The response object.
Methods
- getCode() : int
- Get the code from the JSON response.
- getMessage() : string
- Get the message from the JSON response.
- handle() : self
- Handle the JSON response object.
Properties
$response read-only
The response object.
private
object
$response
Methods
getCode()
Get the code from the JSON response.
public
getCode() : int
Return values
int —The code.
getMessage()
Get the message from the JSON response.
public
getMessage() : string
Return values
string —The message.
handle()
Handle the JSON response object.
public
handle(object $response) : self
Parameters
- $response : object
-
The JSON response object.
Return values
self —The instance of the class.