PHP Class XeroPHP\Models\PayrollUS\Employee\TimeOffBalance

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

Public Methods

Method Description
addTypeOfUnit ( PayItem $value ) : TimeOffBalance
getAPIStem ( ) : string | null Get the stem of the API (core.xro) etc
getEmployeeID ( ) : string
getGUIDProperty ( ) : string Get the guid property
getNumberOfUnits ( ) : 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
getSupportedMethods ( ) Get the supported methods
getTimeOffName ( ) : string
getTimeOffTypeId ( ) : PayItem
getTypeOfUnits ( ) : PayItem[] | Collection
isPageable ( )
setEmployeeID ( string $value ) : TimeOffBalance
setNumberOfUnit ( string $value ) : TimeOffBalance
setTimeOffName ( string $value ) : TimeOffBalance
setTimeOffTypeId ( PayItem $value ) : TimeOffBalance

Method Details

addTypeOfUnit() public method

public addTypeOfUnit ( PayItem $value ) : TimeOffBalance
$value XeroPHP\Models\PayrollUS\PayItem
return TimeOffBalance

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

getGUIDProperty() public static method

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

getNumberOfUnits() public method

public getNumberOfUnits ( ) : 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

getSupportedMethods() public static method

Get the supported methods
public static getSupportedMethods ( )

getTimeOffName() public method

public getTimeOffName ( ) : string
return string

getTimeOffTypeId() public method

public getTimeOffTypeId ( ) : PayItem
return XeroPHP\Models\PayrollUS\PayItem

getTypeOfUnits() public method

public getTypeOfUnits ( ) : PayItem[] | Collection
return XeroPHP\Models\PayrollUS\PayItem[] | XeroPHP\Remote\Collection Always returns a collection, switch is for type hinting

isPageable() public static method

public static isPageable ( )

setEmployeeID() public method

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

setNumberOfUnit() public method

public setNumberOfUnit ( string $value ) : TimeOffBalance
$value string
return TimeOffBalance

setTimeOffName() public method

public setTimeOffName ( string $value ) : TimeOffBalance
$value string
return TimeOffBalance

setTimeOffTypeId() public method

public setTimeOffTypeId ( PayItem $value ) : TimeOffBalance
$value XeroPHP\Models\PayrollUS\PayItem
return TimeOffBalance