PHP Class XeroPHP\Models\PayrollAU\Employee\LeaveBalance

Inheritance: extends XeroPHP\Remote\Object
Exibir arquivo Open project: calcinai/xero-php

Public Methods

Method Description
addTypeOfUnit ( PayItem $value ) : LeaveBalance
getAPIStem ( ) : string | null Get the stem of the API (core.xro) etc
getGUIDProperty ( ) : string Get the guid property
getLeaveName ( ) : string
getLeaveTypeID ( ) : string
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
getTypeOfUnits ( ) : PayItem[] | Collection
isPageable ( )
setLeaveName ( string $value ) : LeaveBalance
setLeaveTypeID ( string $value ) : LeaveBalance
setNumberOfUnit ( string $value ) : LeaveBalance

Method Details

addTypeOfUnit() public method

public addTypeOfUnit ( PayItem $value ) : LeaveBalance
$value XeroPHP\Models\PayrollAU\PayItem
return LeaveBalance

getAPIStem() public static method

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

getGUIDProperty() public static method

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

getLeaveName() public method

public getLeaveName ( ) : string
return string

getLeaveTypeID() public method

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

getTypeOfUnits() public method

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

isPageable() public static method

public static isPageable ( )

setLeaveName() public method

public setLeaveName ( string $value ) : LeaveBalance
$value string
return LeaveBalance

setLeaveTypeID() public method

public setLeaveTypeID ( string $value ) : LeaveBalance
$value string
return LeaveBalance

setNumberOfUnit() public method

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