DataService/IntuitBatchResponse.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\IntuitBatchResponse

Package: Default
This class processes the batch request.

Properties

>VPropertypublicstring $Id
the type of the response return after batch execution
Details
Type
string
>VPropertypublicstring $batchItemId
unique batch item Id
Details
Type
string
>VPropertypublicarray $entities
list of entities in case ResponseType is query.
Details
Type
array
>VPropertypublic\IEntity $entity
entity in case response type is entity.
Details
Type
\IEntity
>VPropertypublic\IdsException $exception
IdsException in case of ResponseType is exception.
Details
Type
\IdsException
>VPropertypublic\ResponseType $responseType
enum representing ResponseType after batch execution.
Details
Type
\ResponseType

Methods

methodpublicAddEntities( $entity) : void

Adds the entities to entities list

Parameters
NameTypeDescription
$entity
methodpublicReadOnlyCollection() : array

Gets list of entites in case ResponseType is Report.

Returns
TypeDescription
arrayentities
methodpublic__construct() : void

Initializes a new instance of the IntuitBatchResponse class.

Documentation was generated by phpDocumentor 2.8.5.