PHP Class XeroPHP\Models\PayrollAU\PayItem

Inheritance: extends XeroPHP\Remote\Object
Datei anzeigen Open project: calcinai/xero-php

Public Methods

Method Description
addDeductionType ( DeductionType $value ) : PayItem
addEarningsRate ( EarningsRate $value ) : PayItem
addLeaveType ( LeaveType $value ) : PayItem
addReimbursementType ( ReimbursementType $value ) : PayItem
getAPIStem ( ) : string | null Get the stem of the API (core.xro) etc
getDeductionTypes ( ) : DeductionType[] | Collection
getEarningsRates ( ) : EarningsRate[] | Collection
getGUIDProperty ( ) : string Get the guid property
getLeaveTypes ( ) : LeaveType[] | Collection
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
getReimbursementTypes ( ) : ReimbursementType[] | Collection
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
isPageable ( )

Method Details

addDeductionType() public method

public addDeductionType ( DeductionType $value ) : PayItem
$value XeroPHP\Models\PayrollAU\PayItem\DeductionType
return PayItem

addEarningsRate() public method

public addEarningsRate ( EarningsRate $value ) : PayItem
$value XeroPHP\Models\PayrollAU\PayItem\EarningsRate
return PayItem

addLeaveType() public method

public addLeaveType ( LeaveType $value ) : PayItem
$value XeroPHP\Models\PayrollAU\PayItem\LeaveType
return PayItem

addReimbursementType() public method

public addReimbursementType ( ReimbursementType $value ) : PayItem
$value XeroPHP\Models\PayrollAU\PayItem\ReimbursementType
return PayItem

getAPIStem() public static method

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

getDeductionTypes() public method

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

getEarningsRates() public method

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

getGUIDProperty() public static method

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

getLeaveTypes() public method

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

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

getReimbursementTypes() public method

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

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 ( )

isPageable() public static method

public static isPageable ( )