PHP Class XeroPHP\Models\PayrollUS\Employee\SalaryAndWage

Inheritance: extends XeroPHP\Remote\Object
Show file Open project: calcinai/xero-php

Public Methods

Method Description
getAPIStem ( ) : string | null Get the stem of the API (core.xro) etc
getAnnualSalary ( ) : string
getEarningsTypeID ( ) : string
getEffectiveDate ( ) : DateTimeInterface
getGUIDProperty ( ) : string Get the guid property
getHourlyRate ( ) : float
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
getSalaryAndWageID ( ) : string
getSalaryAndWagesID ( ) : string
getSalaryWagesType ( ) : string
getStandardHoursPerWeek ( ) : string
getSupportedMethods ( ) Get the supported methods
isPageable ( )
setAnnualSalary ( string $value ) : SalaryAndWage
setEarningsTypeID ( string $value ) : SalaryAndWage
setEffectiveDate ( DateTimeInterface $value ) : SalaryAndWage
setHourlyRate ( float $value ) : SalaryAndWage
setSalaryAndWageID ( string $value ) : SalaryAndWage
setSalaryAndWagesID ( string $value ) : SalaryAndWage
setSalaryWagesType ( string $value ) : SalaryAndWage
setStandardHoursPerWeek ( string $value ) : SalaryAndWage

Method Details

getAPIStem() public static method

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

getAnnualSalary() public method

public getAnnualSalary ( ) : string
return string

getEarningsTypeID() public method

public getEarningsTypeID ( ) : string
return string

getEffectiveDate() public method

public getEffectiveDate ( ) : DateTimeInterface
return DateTimeInterface

getGUIDProperty() public static method

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

getHourlyRate() public method

public getHourlyRate ( ) : float
return float

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

getSalaryAndWageID() public method

Deprecation:
public getSalaryAndWageID ( ) : string
return string

getSalaryAndWagesID() public method

public getSalaryAndWagesID ( ) : string
return string

getSalaryWagesType() public method

public getSalaryWagesType ( ) : string
return string

getStandardHoursPerWeek() public method

public getStandardHoursPerWeek ( ) : string
return string

getSupportedMethods() public static method

Get the supported methods
public static getSupportedMethods ( )

isPageable() public static method

public static isPageable ( )

setAnnualSalary() public method

public setAnnualSalary ( string $value ) : SalaryAndWage
$value string
return SalaryAndWage

setEarningsTypeID() public method

public setEarningsTypeID ( string $value ) : SalaryAndWage
$value string
return SalaryAndWage

setEffectiveDate() public method

public setEffectiveDate ( DateTimeInterface $value ) : SalaryAndWage
$value DateTimeInterface
return SalaryAndWage

setHourlyRate() public method

public setHourlyRate ( float $value ) : SalaryAndWage
$value float
return SalaryAndWage

setSalaryAndWageID() public method

Deprecation:
public setSalaryAndWageID ( string $value ) : SalaryAndWage
$value string
return SalaryAndWage

setSalaryAndWagesID() public method

public setSalaryAndWagesID ( string $value ) : SalaryAndWage
$value string
return SalaryAndWage

setSalaryWagesType() public method

public setSalaryWagesType ( string $value ) : SalaryAndWage
$value string
return SalaryAndWage

setStandardHoursPerWeek() public method

public setStandardHoursPerWeek ( string $value ) : SalaryAndWage
$value string
return SalaryAndWage