PHP Class XeroPHP\Models\PayrollAU\Payslip\DeductionLine

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

Méthodes publiques

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

public addNumberOfUnit ( float $value ) : DeductionLine
$value float
Résultat DeductionLine

getAPIStem() public static méthode

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

getCalculationType() public méthode

public getCalculationType ( ) : float
Résultat float

getDeductionTypeID() public méthode

public getDeductionTypeID ( ) : string
Résultat string

getGUIDProperty() public static méthode

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

getNumberOfUnits() public méthode

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

getPercentage() public méthode

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

isPageable() public static méthode

public static isPageable ( )

setCalculationType() public méthode

public setCalculationType ( float $value ) : DeductionLine
$value float
Résultat DeductionLine

setDeductionTypeID() public méthode

public setDeductionTypeID ( string $value ) : DeductionLine
$value string
Résultat DeductionLine

setPercentage() public méthode

public setPercentage ( string $value ) : DeductionLine
$value string
Résultat DeductionLine