Sage Intacct SDK for PHP
LoginAuthentication Class Reference
Inheritance diagram for LoginAuthentication:
AuthenticationInterface

Public Member Functions

 getUserId ()
 
 setUserId (string $userId)
 
 getCompanyId ()
 
 setCompanyId (string $companyId)
 
 getEntityId ()
 
 setEntityId (string $entityId)
 
 getPassword ()
 
 setPassword (string $password)
 
 __construct (string $userId, string $companyId, string $password, string $entityId=null)
 
 writeXml (XMLWriter &$xml)
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( string  $userId,
string  $companyId,
string  $password,
string  $entityId = null 
)

LoginAuthentication constructor.

Parameters
string$userId
string$companyId
string$password
string | null$entityId

Member Function Documentation

◆ getCompanyId()

getCompanyId ( )
Returns
string

◆ getEntityId()

getEntityId ( )
Returns
string|null

◆ getPassword()

getPassword ( )
Returns
string

◆ 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

◆ setUserId()

setUserId ( string  $userId)
Parameters
string$userId

◆ writeXml()

writeXml ( XMLWriter $xml)

Write the operation block XML

Parameters
XMLWriter$xml

Implements AuthenticationInterface.