SessionCredentials
class SessionCredentials
Methods
__construct(array $params, SenderCredentials $senderCreds)
Initializes the class with the given parameters.
string
getSessionId()
Get Intacct session ID
getEndpoint()
Get endpoint
getSenderCredentials()
Get sender credentials
string
getCurrentCompanyId()
Get session's current company ID
string
getCurrentUserId()
Get session's current user ID
bool
getCurrentUserIsExternal()
Get session's current user is external or not
MockHandler
getMockHandler()
Get mock handler for unit testing
LoggerInterface
getLogger()
No description
getLogMessageFormat()
No description
int
getLogLevel()
No description
Details
at line line 84
__construct(array $params, SenderCredentials $senderCreds)
Initializes the class with the given parameters.
The constructor accepts the following options:
session_id(string) Intacct session IDendpoint_url(string) Endpoint URLcurrent_company_id(string) Current Intacct company IDcurrent_user_id(string) Current Intacct user IDcurrent_user_is_external(bool) Current Intacct user is externalmock_handler(GuzzleHttp\Handler\MockHandler) Mock handler for unit tests
at line line 129
string
getSessionId()
Get Intacct session ID
at line line 139
Endpoint
getEndpoint()
Get endpoint
at line line 149
SenderCredentials
getSenderCredentials()
Get sender credentials
at line line 159
string
getCurrentCompanyId()
Get session's current company ID
at line line 169
string
getCurrentUserId()
Get session's current user ID
at line line 179
bool
getCurrentUserIsExternal()
Get session's current user is external or not
at line line 189
MockHandler
getMockHandler()
Get mock handler for unit testing