Sage Intacct SDK for PHP
RequestBlock Class Reference

Public Member Functions

 getEncoding ()
 
 setEncoding (string $encoding)
 
 getControlBlock ()
 
 setControlBlock (ControlBlock $controlBlock)
 
 getOperationBlock ()
 
 setOperationBlock (OperationBlock $operationBlock)
 
 __construct (ClientConfig $clientConfig, RequestConfig $requestConfig, array $content)
 
 writeXml ()
 

Protected Attributes

 $encoding
 
 $controlBlock
 
 $operationBlock
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( ClientConfig  $clientConfig,
RequestConfig  $requestConfig,
array  $content 
)

RequestBlock constructor.

Parameters
ClientConfig$clientConfig
RequestConfig$requestConfig
FunctionInterface[]$content

Member Function Documentation

◆ getControlBlock()

getControlBlock ( )
Returns
ControlBlock

◆ getEncoding()

getEncoding ( )
Returns
string

◆ getOperationBlock()

getOperationBlock ( )
Returns
OperationBlock

◆ setControlBlock()

setControlBlock ( ControlBlock  $controlBlock)
Parameters
ControlBlock$controlBlock

◆ setEncoding()

setEncoding ( string  $encoding)
Parameters
string$encoding

◆ setOperationBlock()

setOperationBlock ( OperationBlock  $operationBlock)
Parameters
OperationBlock$operationBlock

◆ writeXml()

writeXml ( )

Generate the request XML writer

Returns
XMLWriter

Field Documentation

◆ $controlBlock

$controlBlock
protected

◆ $encoding

$encoding
protected

◆ $operationBlock

$operationBlock
protected