Sage Intacct SDK for PHP
RequestConfig Class Reference

Public Member Functions

 getControlId ()
 
 setControlId (string $controlId)
 
 isTransaction ()
 
 setTransaction (bool $transaction)
 
 isUniqueId ()
 
 setUniqueId (bool $uniqueId)
 
 getPolicyId ()
 
 setPolicyId (string $policyId)
 
 getEncoding ()
 
 setEncoding (string $encoding)
 
 getMaxRetries ()
 
 setMaxRetries (int $maxRetries)
 
 getMaxTimeout ()
 
 setMaxTimeout (float $maxTimeout)
 
 getNoRetryServerErrorCodes ()
 
 setNoRetryServerErrorCodes (array $noRetryServerErrorCodes)
 
 __construct ()
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Member Function Documentation

◆ getControlId()

getControlId ( )
Returns
string

◆ getEncoding()

getEncoding ( )
Returns
string

◆ getMaxRetries()

getMaxRetries ( )
Returns
int

◆ getMaxTimeout()

getMaxTimeout ( )

The timeout of the request in seconds.

Returns
float

◆ getNoRetryServerErrorCodes()

getNoRetryServerErrorCodes ( )
Returns
int[]

◆ getPolicyId()

getPolicyId ( )
Returns
string

◆ isTransaction()

isTransaction ( )
Returns
bool

◆ isUniqueId()

isUniqueId ( )
Returns
bool

◆ setControlId()

setControlId ( string  $controlId)
Parameters
string$controlId

◆ setEncoding()

setEncoding ( string  $encoding)
Parameters
string$encoding

◆ setMaxRetries()

setMaxRetries ( int  $maxRetries)
Parameters
int$maxRetries

◆ setMaxTimeout()

setMaxTimeout ( float  $maxTimeout)

The timeout of the request in seconds. Use 0 to wait indefinitely. Default is 300.

Parameters
float$maxTimeout

◆ setNoRetryServerErrorCodes()

setNoRetryServerErrorCodes ( array  $noRetryServerErrorCodes)
Parameters
int[]$noRetryServerErrorCodes

◆ setPolicyId()

setPolicyId ( string  $policyId)
Parameters
string$policyId

◆ setTransaction()

setTransaction ( bool  $transaction)
Parameters
bool$transaction

◆ setUniqueId()

setUniqueId ( bool  $uniqueId)
Parameters
bool$uniqueId