Sage Intacct SDK for PHP
AbstractClient Class Reference
Inheritance diagram for AbstractClient:
OfflineClient OnlineClient

Public Member Functions

 getConfig ()
 
 setConfig (ClientConfig $config)
 
 __construct (ClientConfig $config=null)
 

Data Fields

const PROFILE_ENV_NAME = 'INTACCT_PROFILE'
 

Protected Member Functions

 executeOnlineRequest (array $functions, RequestConfig &$requestConfig=null)
 
 executeOfflineRequest (array $functions, RequestConfig $requestConfig=null)
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( ClientConfig  $config = null)

AbstractClient constructor.

Parameters
ClientConfig$config

Member Function Documentation

◆ executeOfflineRequest()

executeOfflineRequest ( array  $functions,
RequestConfig  $requestConfig = null 
)
protected
Parameters
array$functions
RequestConfig$requestConfig
Returns
Xml\OfflineResponse

◆ executeOnlineRequest()

executeOnlineRequest ( array  $functions,
RequestConfig $requestConfig = null 
)
protected
Parameters
array$functions
RequestConfig$requestConfig
Returns
Xml\OnlineResponse

◆ getConfig()

getConfig ( )
Returns
ClientConfig

◆ setConfig()

setConfig ( ClientConfig  $config)
Parameters
ClientConfig$config

Field Documentation

◆ PROFILE_ENV_NAME

const PROFILE_ENV_NAME = 'INTACCT_PROFILE'