PHP Класс XeroPHP\Models\PayrollAU\Payslip\DeductionLine

Наследование: extends XeroPHP\Remote\Object
Показать файл Открыть проект

Открытые методы

Метод Описание
addNumberOfUnit ( float $value ) : DeductionLine
getAPIStem ( ) : string | null Get the stem of the API (core.xro) etc
getCalculationType ( ) : float
getDeductionTypeID ( ) : string
getGUIDProperty ( ) : string Get the guid property
getNumberOfUnits ( ) : float[] | Collection
getPercentage ( ) : 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
isPageable ( )
setCalculationType ( float $value ) : DeductionLine
setDeductionTypeID ( string $value ) : DeductionLine
setPercentage ( string $value ) : DeductionLine

Описание методов

addNumberOfUnit() публичный Метод

public addNumberOfUnit ( float $value ) : DeductionLine
$value float
Результат DeductionLine

getAPIStem() публичный статический Метод

Get the stem of the API (core.xro) etc
public static getAPIStem ( ) : string | null
Результат string | null

getCalculationType() публичный Метод

public getCalculationType ( ) : float
Результат float

getDeductionTypeID() публичный Метод

public getDeductionTypeID ( ) : string
Результат string

getGUIDProperty() публичный статический Метод

Get the guid property
public static getGUIDProperty ( ) : string
Результат string

getNumberOfUnits() публичный Метод

public getNumberOfUnits ( ) : float[] | Collection
Результат float[] | XeroPHP\Remote\Collection Always returns a collection, switch is for type hinting

getPercentage() публичный Метод

public getPercentage ( ) : string
Результат string

getProperties() публичный статический Метод

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
Результат array

getResourceURI() публичный статический Метод

Get the resource uri of the class (Contacts) etc
public static getResourceURI ( ) : string
Результат string

getRootNodeName() публичный статический Метод

Get the root node name. Just the unqualified classname
public static getRootNodeName ( ) : string
Результат string

getSupportedMethods() публичный статический Метод

Get the supported methods
public static getSupportedMethods ( )

isPageable() публичный статический Метод

public static isPageable ( )

setCalculationType() публичный Метод

public setCalculationType ( float $value ) : DeductionLine
$value float
Результат DeductionLine

setDeductionTypeID() публичный Метод

public setDeductionTypeID ( string $value ) : DeductionLine
$value string
Результат DeductionLine

setPercentage() публичный Метод

public setPercentage ( string $value ) : DeductionLine
$value string
Результат DeductionLine