Sage Intacct SDK for PHP
AbstractDepartment Class Reference
Inheritance diagram for AbstractDepartment:
AbstractFunction FunctionInterface DepartmentCreate DepartmentDelete DepartmentUpdate

Public Member Functions

 getDepartmentId ()
 
 setDepartmentId ($departmentId)
 
 getDepartmentName ()
 
 setDepartmentName ($departmentName)
 
 getParentDepartmentId ()
 
 setParentDepartmentId ($parentDepartmentId)
 
 getManagerEmployeeId ()
 
 setManagerEmployeeId ($managerEmployeeId)
 
 getDepartmentTitle ()
 
 setDepartmentTitle ($departmentTitle)
 
 isActive ()
 
 setActive ($active)
 
- Public Member Functions inherited from AbstractFunction
 getControlId ()
 
 setControlId (string $controlId='')
 
 __construct (string $controlId='')
 
 writeXml (XMLWriter &$xml)
 

Protected Attributes

 $departmentId
 
 $departmentName
 
 $parentDepartmentId
 
 $managerEmployeeId
 
 $departmentTitle
 
 $active
 
- Protected Attributes inherited from AbstractFunction
 $controlId = ''
 

Member Function Documentation

◆ getDepartmentId()

getDepartmentId ( )

Get department ID

Returns
string

◆ getDepartmentName()

getDepartmentName ( )

Get department name

Returns
string

◆ getDepartmentTitle()

getDepartmentTitle ( )

Get department title

Returns
string

◆ getManagerEmployeeId()

getManagerEmployeeId ( )

Get manager employee ID

Returns
string

◆ getParentDepartmentId()

getParentDepartmentId ( )

Get parent department ID

Returns
string

◆ isActive()

isActive ( )

Get active

Returns
bool

◆ setActive()

setActive (   $active)

Set active

Parameters
bool$active

◆ setDepartmentId()

setDepartmentId (   $departmentId)

Set department ID

Parameters
string$departmentId

◆ setDepartmentName()

setDepartmentName (   $departmentName)

Set department name

Parameters
string$departmentName

◆ setDepartmentTitle()

setDepartmentTitle (   $departmentTitle)

Set department title

Parameters
string$departmentTitle

◆ setManagerEmployeeId()

setManagerEmployeeId (   $managerEmployeeId)

Set manager employee ID

Parameters
string$managerEmployeeId

◆ setParentDepartmentId()

setParentDepartmentId (   $parentDepartmentId)

Set parent department ID

Parameters
string$parentDepartmentId

Field Documentation

◆ $active

$active
protected

◆ $departmentId

$departmentId
protected

◆ $departmentName

$departmentName
protected

◆ $departmentTitle

$departmentTitle
protected

◆ $managerEmployeeId

$managerEmployeeId
protected

◆ $parentDepartmentId

$parentDepartmentId
protected