Sage Intacct SDK for PHP
RequestHandler Class Reference

Public Member Functions

 getClientConfig ()
 
 setClientConfig (ClientConfig $clientConfig)
 
 getRequestConfig ()
 
 setRequestConfig (RequestConfig $requestConfig)
 
 getEndpointUrl ()
 
 setEndpointUrl (string $endpointUrl)
 
 getHistory ()
 
 __construct (ClientConfig $clientConfig, RequestConfig $requestConfig)
 
 executeOnline (array $content)
 
 executeOffline (array $content)
 

Data Fields

const VERSION = '3.1.0'
 

Protected Member Functions

 setHistory (array $history)
 

Protected Attributes

 $history = []
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( ClientConfig  $clientConfig,
RequestConfig  $requestConfig 
)

RequestHandler constructor.

Parameters
ClientConfig$clientConfig
RequestConfig$requestConfig

Member Function Documentation

◆ executeOffline()

executeOffline ( array  $content)
Parameters
FunctionInterface[]$content
Returns
OfflineResponse

◆ executeOnline()

executeOnline ( array  $content)
Parameters
FunctionInterface[]$content
Returns
OnlineResponse

◆ getClientConfig()

getClientConfig ( )
Returns
ClientConfig

◆ getEndpointUrl()

getEndpointUrl ( )
Returns
string

◆ getHistory()

getHistory ( )
Returns
array

◆ getRequestConfig()

getRequestConfig ( )
Returns
RequestConfig

◆ setClientConfig()

setClientConfig ( ClientConfig  $clientConfig)
Parameters
ClientConfig$clientConfig

◆ setEndpointUrl()

setEndpointUrl ( string  $endpointUrl)
Parameters
string$endpointUrl

◆ setHistory()

setHistory ( array  $history)
protected
Parameters
array$history

◆ setRequestConfig()

setRequestConfig ( RequestConfig  $requestConfig)
Parameters
RequestConfig$requestConfig

Field Documentation

◆ $history

$history = []
protected

◆ VERSION

const VERSION = '3.1.0'