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

Public Member Functions

 execute (FunctionInterface $function, RequestConfig $requestConfig=null)
 
 executeBatch (array $functions, RequestConfig $requestConfig=null)
 
- Public Member Functions inherited from AbstractClient
 getConfig ()
 
 setConfig (ClientConfig $config)
 
 __construct (ClientConfig $config=null)
 

Additional Inherited Members

- Data Fields inherited from AbstractClient
const PROFILE_ENV_NAME = 'INTACCT_PROFILE'
 
- Protected Member Functions inherited from AbstractClient
 executeOnlineRequest (array $functions, RequestConfig &$requestConfig=null)
 
 executeOfflineRequest (array $functions, RequestConfig $requestConfig=null)
 

Member Function Documentation

◆ execute()

execute ( FunctionInterface  $function,
RequestConfig  $requestConfig = null 
)

Execute one Sage Intacct API function

Parameters
FunctionInterface$function
RequestConfig$requestConfig
Returns
OnlineResponse

◆ executeBatch()

executeBatch ( array  $functions,
RequestConfig  $requestConfig = null 
)

Execute multiple Sage Intacct API functions

Parameters
FunctionInterface[]$functions
RequestConfig$requestConfig
Returns
OnlineResponse