Sage Intacct SDK for PHP
OperationBlock Class Reference

Public Member Functions

 isTransaction ()
 
 setTransaction (bool $transaction)
 
 getAuthentication ()
 
 setAuthentication (AuthenticationInterface $authentication)
 
 getContent ()
 
 setContent (array $content)
 
 __construct (ClientConfig $clientConfig, RequestConfig $requestConfig, array $content)
 
 writeXml (XMLWriter &$xml)
 

Constructor & Destructor Documentation

◆ __construct()

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

OperationBlock constructor.

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

Member Function Documentation

◆ getAuthentication()

getAuthentication ( )

◆ getContent()

getContent ( )
Returns
FunctionInterface[]

◆ isTransaction()

isTransaction ( )
Returns
bool

◆ setAuthentication()

setAuthentication ( AuthenticationInterface  $authentication)
Parameters
AuthenticationInterface$authentication

◆ setContent()

setContent ( array  $content)
Parameters
FunctionInterface[]$content

◆ setTransaction()

setTransaction ( bool  $transaction)
Parameters
bool$transaction

◆ writeXml()

writeXml ( XMLWriter $xml)

Write the operation block XML

Parameters
XMLWriter$xml