PHP Class XeroPHP\Models\PayrollAU\Payslip\DeductionLine

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

Public Methods

Method Description
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

Method Details

addNumberOfUnit() public method

public addNumberOfUnit ( float $value ) : DeductionLine
$value float
return DeductionLine

getAPIStem() public static method

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

getCalculationType() public method

public getCalculationType ( ) : float
return float

getDeductionTypeID() public method

public getDeductionTypeID ( ) : string
return string

getGUIDProperty() public static method

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

getNumberOfUnits() public method

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

getPercentage() public method

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

isPageable() public static method

public static isPageable ( )

setCalculationType() public method

public setCalculationType ( float $value ) : DeductionLine
$value float
return DeductionLine

setDeductionTypeID() public method

public setDeductionTypeID ( string $value ) : DeductionLine
$value string
return DeductionLine

setPercentage() public method

public setPercentage ( string $value ) : DeductionLine
$value string
return DeductionLine