PHP Class XeroPHP\Models\PayrollAU\Employee\LeaveBalance

Inheritance: extends XeroPHP\Remote\Object
Afficher le fichier Open project: calcinai/xero-php

Méthodes publiques

Méthode 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 méthode

public addTypeOfUnit ( PayItem $value ) : LeaveBalance
$value XeroPHP\Models\PayrollAU\PayItem
Résultat LeaveBalance

getAPIStem() public static méthode

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

getGUIDProperty() public static méthode

Get the guid property
public static getGUIDProperty ( ) : string
Résultat string

getLeaveName() public méthode

public getLeaveName ( ) : string
Résultat string

getLeaveTypeID() public méthode

public getLeaveTypeID ( ) : string
Résultat string

getNumberOfUnits() public méthode

public getNumberOfUnits ( ) : string
Résultat string

getProperties() public static méthode

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
Résultat array

getResourceURI() public static méthode

Get the resource uri of the class (Contacts) etc
public static getResourceURI ( ) : string
Résultat string

getRootNodeName() public static méthode

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

getSupportedMethods() public static méthode

Get the supported methods
public static getSupportedMethods ( )

getTypeOfUnits() public méthode

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

isPageable() public static méthode

public static isPageable ( )

setLeaveName() public méthode

public setLeaveName ( string $value ) : LeaveBalance
$value string
Résultat LeaveBalance

setLeaveTypeID() public méthode

public setLeaveTypeID ( string $value ) : LeaveBalance
$value string
Résultat LeaveBalance

setNumberOfUnit() public méthode

public setNumberOfUnit ( string $value ) : LeaveBalance
$value string
Résultat LeaveBalance