PHP Class XeroPHP\Models\PayrollAU\Payslip\TimesheetEarningsLine

Inheritance: extends XeroPHP\Remote\Object
Mostrar archivo Open project: calcinai/xero-php

Public Methods

Method Description
getAPIStem ( ) : string | null Get the stem of the API (core.xro) etc
getAmount ( ) : float
getEarningsRateID ( ) : string
getGUIDProperty ( ) : string Get the guid property
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 ( )
setAmount ( float $value ) : TimesheetEarningsLine
setEarningsRateID ( string $value ) : TimesheetEarningsLine
setRatePerUnit ( float $value ) : TimesheetEarningsLine

Method Details

getAPIStem() public static method

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

getAmount() public method

public getAmount ( ) : float
return float

getEarningsRateID() public method

public getEarningsRateID ( ) : string
return string

getGUIDProperty() public static method

Get the guid property
public static getGUIDProperty ( ) : 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

getRatePerUnit() public method

public getRatePerUnit ( ) : float
return float

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

setAmount() public method

public setAmount ( float $value ) : TimesheetEarningsLine
$value float
return TimesheetEarningsLine

setEarningsRateID() public method

public setEarningsRateID ( string $value ) : TimesheetEarningsLine
$value string
return TimesheetEarningsLine

setRatePerUnit() public method

public setRatePerUnit ( float $value ) : TimesheetEarningsLine
$value float
return TimesheetEarningsLine