PHP Class XeroPHP\Models\PayrollAU\Payslip\EarningsLine

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

Méthodes publiques

Méthode Description
addNumberOfUnit ( float $value ) : EarningsLine
getAPIStem ( ) : string | null Get the stem of the API (core.xro) etc
getEarningsRateID ( ) : string
getFixedAmount ( ) : float
getGUIDProperty ( ) : string Get the guid property
getNumberOfUnits ( ) : float[] | 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
getRatePerUnit ( ) : float
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 ( )
setEarningsRateID ( string $value ) : EarningsLine
setFixedAmount ( float $value ) : EarningsLine
setRatePerUnit ( float $value ) : EarningsLine

Method Details

addNumberOfUnit() public méthode

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

getAPIStem() public static méthode

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

getEarningsRateID() public méthode

public getEarningsRateID ( ) : string
Résultat string

getFixedAmount() public méthode

public getFixedAmount ( ) : float
Résultat float

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

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

getRatePerUnit() public méthode

public getRatePerUnit ( ) : float
Résultat float

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

setEarningsRateID() public méthode

public setEarningsRateID ( string $value ) : EarningsLine
$value string
Résultat EarningsLine

setFixedAmount() public méthode

public setFixedAmount ( float $value ) : EarningsLine
$value float
Résultat EarningsLine

setRatePerUnit() public méthode

public setRatePerUnit ( float $value ) : EarningsLine
$value float
Résultat EarningsLine