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

Public Member Functions

 __construct (ClientConfig $config, SenderCredentials $senderCreds)
 
 getCompanyId ()
 
 setCompanyId (string $companyId)
 
 getEntityId ()
 
 setEntityId (string $entityId)
 
 getUserId ()
 
 setUserId (string $userId)
 
 getPassword ()
 
 setPassword (string $password)
 
 getSenderCredentials ()
 
 setSenderCredentials (SenderCredentials $senderCredentials)
 

Data Fields

const COMPANY_PROFILE_ENV_NAME = 'INTACCT_COMPANY_PROFILE'
 
const COMPANY_ID_ENV_NAME = 'INTACCT_COMPANY_ID'
 
const ENTITY_ID_ENV_NAME = 'INTACCT_ENTITY_ID'
 
const USER_ID_ENV_NAME = 'INTACCT_USER_ID'
 
const USER_PASSWORD_ENV_NAME = 'INTACCT_USER_PASSWORD'
 
const DEFAULT_COMPANY_PROFILE = 'default'
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( ClientConfig  $config,
SenderCredentials  $senderCreds 
)

LoginCredentials constructor.

Parameters
ClientConfig$config
SenderCredentials$senderCreds

Member Function Documentation

◆ getCompanyId()

getCompanyId ( )
Returns
string

◆ getEntityId()

getEntityId ( )
Returns
string

◆ getPassword()

getPassword ( )
Returns
string

◆ getSenderCredentials()

getSenderCredentials ( )

◆ getUserId()

getUserId ( )
Returns
string

◆ setCompanyId()

setCompanyId ( string  $companyId)
Parameters
string$companyId

◆ setEntityId()

setEntityId ( string  $entityId)
Parameters
string$entityId

◆ setPassword()

setPassword ( string  $password)
Parameters
string$password

◆ setSenderCredentials()

setSenderCredentials ( SenderCredentials  $senderCredentials)
Parameters
SenderCredentials$senderCredentials

Implements CredentialsInterface.

◆ setUserId()

setUserId ( string  $userId)
Parameters
string$userId

Field Documentation

◆ COMPANY_ID_ENV_NAME

const COMPANY_ID_ENV_NAME = 'INTACCT_COMPANY_ID'

◆ COMPANY_PROFILE_ENV_NAME

const COMPANY_PROFILE_ENV_NAME = 'INTACCT_COMPANY_PROFILE'

◆ DEFAULT_COMPANY_PROFILE

const DEFAULT_COMPANY_PROFILE = 'default'

◆ ENTITY_ID_ENV_NAME

const ENTITY_ID_ENV_NAME = 'INTACCT_ENTITY_ID'

◆ USER_ID_ENV_NAME

const USER_ID_ENV_NAME = 'INTACCT_USER_ID'

◆ USER_PASSWORD_ENV_NAME

const USER_PASSWORD_ENV_NAME = 'INTACCT_USER_PASSWORD'