PHP Class XeroPHP\Models\Accounting\Employee

Inheritance: extends XeroPHP\Remote\Object
Show file Open project: calcinai/xero-php

Public Methods

Method Description
getAPIStem ( ) : string | null Get the stem of the API (core.xro) etc
getEmployeeID ( ) : string
getExternalLink ( ) : ExternalLink
getFirstName ( ) : string
getGUIDProperty ( ) : string Get the guid property
getLastName ( ) : string
getProperties ( ) : array Get the properties of the object. Indexed by constants [0] - Mandatory [1] - Type [2] - PHP type [3] - Is an Array [4] - Saves directly
getResourceURI ( ) : string Get the resource uri of the class (Contacts) etc
getRootNodeName ( ) : string Get the root node name. Just the unqualified classname
getStatus ( ) : string
getSupportedMethods ( ) Get the supported methods
isPageable ( )
setEmployeeID ( string $value ) : Employee
setExternalLink ( ExternalLink $value ) : Employee
setFirstName ( string $value ) : Employee
setLastName ( string $value ) : Employee
setStatus ( string $value ) : Employee

Method Details

getAPIStem() public static method

Get the stem of the API (core.xro) etc
public static getAPIStem ( ) : string | null
return string | null

getEmployeeID() public method

public getEmployeeID ( ) : string
return string

getFirstName() public method

public getFirstName ( ) : string
return string

getGUIDProperty() public static method

Get the guid property
public static getGUIDProperty ( ) : string
return string

getLastName() public method

public getLastName ( ) : string
return string

getProperties() public static method

Get the properties of the object. Indexed by constants [0] - Mandatory [1] - Type [2] - PHP type [3] - Is an Array [4] - Saves directly
public static getProperties ( ) : array
return array

getResourceURI() public static method

Get the resource uri of the class (Contacts) etc
public static getResourceURI ( ) : string
return string

getRootNodeName() public static method

Get the root node name. Just the unqualified classname
public static getRootNodeName ( ) : string
return string

getStatus() public method

public getStatus ( ) : string
return string

getSupportedMethods() public static method

Get the supported methods
public static getSupportedMethods ( )

isPageable() public static method

public static isPageable ( )

setEmployeeID() public method

public setEmployeeID ( string $value ) : Employee
$value string
return Employee

setFirstName() public method

public setFirstName ( string $value ) : Employee
$value string
return Employee

setLastName() public method

public setLastName ( string $value ) : Employee
$value string
return Employee

setStatus() public method

public setStatus ( string $value ) : Employee
$value string
return Employee