PHP Class XeroPHP\Models\PayrollAU\PayItem\LeaveType

Inheritance: extends XeroPHP\Remote\Object
显示文件 Open project: calcinai/xero-php

Public Methods

Method Description
addTypeOfUnit ( float $value ) : LeaveType
getAPIStem ( ) : string | null Get the stem of the API (core.xro) etc
getGUIDProperty ( ) : string Get the guid property
getIsPaidLeave ( ) : string
getLeaveLoadingRate ( ) : float
getLeaveTypeID ( ) : string
getName ( ) : string
getNormalEntitlement ( ) : 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
getShowOnPayslip ( ) : string
getSupportedMethods ( ) Get the supported methods
getTypeOfUnits ( ) : float[] | Collection
isPageable ( )
setIsPaidLeave ( string $value ) : LeaveType
setLeaveLoadingRate ( float $value ) : LeaveType
setLeaveTypeID ( string $value ) : LeaveType
setName ( string $value ) : LeaveType
setNormalEntitlement ( string $value ) : LeaveType
setShowOnPayslip ( string $value ) : LeaveType

Method Details

addTypeOfUnit() public method

public addTypeOfUnit ( float $value ) : LeaveType
$value float
return LeaveType

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

getIsPaidLeave() public method

public getIsPaidLeave ( ) : string
return string

getLeaveLoadingRate() public method

public getLeaveLoadingRate ( ) : float
return float

getLeaveTypeID() public method

public getLeaveTypeID ( ) : string
return string

getName() public method

public getName ( ) : string
return string

getNormalEntitlement() public method

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

getShowOnPayslip() public method

public getShowOnPayslip ( ) : string
return string

getSupportedMethods() public static method

Get the supported methods
public static getSupportedMethods ( )

getTypeOfUnits() public method

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

isPageable() public static method

public static isPageable ( )

setIsPaidLeave() public method

public setIsPaidLeave ( string $value ) : LeaveType
$value string
return LeaveType

setLeaveLoadingRate() public method

public setLeaveLoadingRate ( float $value ) : LeaveType
$value float
return LeaveType

setLeaveTypeID() public method

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

setName() public method

public setName ( string $value ) : LeaveType
$value string
return LeaveType

setNormalEntitlement() public method

public setNormalEntitlement ( string $value ) : LeaveType
$value string
return LeaveType

setShowOnPayslip() public method

public setShowOnPayslip ( string $value ) : LeaveType
$value string
return LeaveType