Sage Intacct SDK for PHP
SessionCredentials Class Reference
Inheritance diagram for SessionCredentials:
CredentialsInterface

Public Member Functions

 __construct (ClientConfig $config, SenderCredentials $senderCreds)
 
 getSessionId ()
 
 setSessionId (string $sessionId)
 
 getEndpoint ()
 
 setEndpoint (Endpoint $endpoint)
 
 getSenderCredentials ()
 
 setSenderCredentials (SenderCredentials $senderCredentials)
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( ClientConfig  $config,
SenderCredentials  $senderCreds 
)

SessionCredentials constructor.

Parameters
ClientConfig$config
SenderCredentials$senderCreds

Member Function Documentation

◆ getEndpoint()

getEndpoint ( )
Returns
Endpoint

◆ getSenderCredentials()

getSenderCredentials ( )

◆ getSessionId()

getSessionId ( )
Returns
string

◆ setEndpoint()

setEndpoint ( Endpoint  $endpoint)
Parameters
Endpoint$endpoint

◆ setSenderCredentials()

setSenderCredentials ( SenderCredentials  $senderCredentials)
Parameters
SenderCredentials$senderCredentials

Implements CredentialsInterface.

◆ setSessionId()

setSessionId ( string  $sessionId)
Parameters
string$sessionId