Sage Intacct SDK for PHP
ControlBlock Class Reference

Public Member Functions

 getSenderId ()
 
 setSenderId (string $senderId)
 
 getPassword ()
 
 setPassword (string $password)
 
 getControlId ()
 
 setControlId (string $controlId)
 
 isUniqueId ()
 
 setUniqueId (bool $uniqueId)
 
 getDtdVersion ()
 
 getPolicyId ()
 
 setPolicyId (string $policyId)
 
 isIncludeWhitespace ()
 
 setIncludeWhitespace (bool $includeWhitespace)
 
 __construct (ClientConfig $clientConfig, RequestConfig $requestConfig)
 
 writeXml (XMLWriter &$xml)
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( ClientConfig  $clientConfig,
RequestConfig  $requestConfig 
)

ControlBlock constructor.

Parameters
ClientConfig$clientConfig
RequestConfig$requestConfig

Member Function Documentation

◆ getControlId()

getControlId ( )
Returns
string

◆ getDtdVersion()

getDtdVersion ( )
Returns
string

◆ getPassword()

getPassword ( )
Returns
string

◆ getPolicyId()

getPolicyId ( )
Returns
string

◆ getSenderId()

getSenderId ( )
Returns
string

◆ isIncludeWhitespace()

isIncludeWhitespace ( )
Returns
bool

◆ isUniqueId()

isUniqueId ( )
Returns
bool

◆ setControlId()

setControlId ( string  $controlId)
Parameters
string$controlId

◆ setIncludeWhitespace()

setIncludeWhitespace ( bool  $includeWhitespace)
Parameters
bool$includeWhitespace

◆ setPassword()

setPassword ( string  $password)
Parameters
string$password

◆ setPolicyId()

setPolicyId ( string  $policyId)
Parameters
string$policyId

◆ setSenderId()

setSenderId ( string  $senderId)
Parameters
string$senderId

◆ setUniqueId()

setUniqueId ( bool  $uniqueId)
Parameters
bool$uniqueId

◆ writeXml()

writeXml ( XMLWriter $xml)

Write the control block XML

Parameters
XMLWriter$xml