PHP Класс XeroPHP\Models\PayrollUS\Employee\PayTemplate

Наследование: extends XeroPHP\Remote\Object
Показать файл Открыть проект

Открытые методы

Метод Описание
addBenefitLine ( BenefitLine $value ) : PayTemplate
addDeductionLine ( DeductionLine $value ) : PayTemplate
addEarningsLine ( float $value ) : PayTemplate
addReimbursementLine ( ReimbursementLine $value ) : PayTemplate
getAPIStem ( ) : string | null Get the stem of the API (core.xro) etc
getAmount ( ) : float
getBenefitLines ( ) : BenefitLine[] | Collection
getBenefitTypeID ( ) : string
getCalculationType ( ) : string
getDeductionLines ( ) : DeductionLine[] | Collection
getDeductionTypeID ( ) : string
getDescription ( ) : string
getEarningsLines ( ) : float[] | Collection
getEarningsTypeID ( ) : string
getEmployeeMax ( ) : float
getGUIDProperty ( ) : string Get the guid property
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
getRatePerUnit ( ) : float
getReimbursementLines ( ) : ReimbursementLine[] | Collection
getReimbursementTypeID ( ) : string
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
getUnitsOrHours ( ) : string
isPageable ( )
setAmount ( float $value ) : PayTemplate
setBenefitTypeID ( string $value ) : PayTemplate
setCalculationType ( string $value ) : PayTemplate
setDeductionTypeID ( string $value ) : PayTemplate
setDescription ( string $value ) : PayTemplate
setEarningsTypeID ( string $value ) : PayTemplate
setEmployeeMax ( float $value ) : PayTemplate
setPercentage ( string $value ) : PayTemplate
setRatePerUnit ( float $value ) : PayTemplate
setReimbursementTypeID ( string $value ) : PayTemplate
setUnitsOrHour ( string $value ) : PayTemplate

Описание методов

addBenefitLine() публичный Метод

public addBenefitLine ( BenefitLine $value ) : PayTemplate
$value XeroPHP\Models\PayrollUS\Paystub\BenefitLine
Результат PayTemplate

addDeductionLine() публичный Метод

public addDeductionLine ( DeductionLine $value ) : PayTemplate
$value XeroPHP\Models\PayrollUS\Paystub\DeductionLine
Результат PayTemplate

addEarningsLine() публичный Метод

public addEarningsLine ( float $value ) : PayTemplate
$value float
Результат PayTemplate

addReimbursementLine() публичный Метод

public addReimbursementLine ( ReimbursementLine $value ) : PayTemplate
$value XeroPHP\Models\PayrollUS\Paystub\ReimbursementLine
Результат PayTemplate

getAPIStem() публичный статический Метод

Get the stem of the API (core.xro) etc
public static getAPIStem ( ) : string | null
Результат string | null

getAmount() публичный Метод

public getAmount ( ) : float
Результат float

getBenefitLines() публичный Метод

public getBenefitLines ( ) : BenefitLine[] | Collection
Результат XeroPHP\Models\PayrollUS\Paystub\BenefitLine[] | XeroPHP\Remote\Collection Always returns a collection, switch is for type hinting

getBenefitTypeID() публичный Метод

public getBenefitTypeID ( ) : string
Результат string

getCalculationType() публичный Метод

public getCalculationType ( ) : string
Результат string

getDeductionLines() публичный Метод

public getDeductionLines ( ) : DeductionLine[] | Collection
Результат XeroPHP\Models\PayrollUS\Paystub\DeductionLine[] | XeroPHP\Remote\Collection Always returns a collection, switch is for type hinting

getDeductionTypeID() публичный Метод

public getDeductionTypeID ( ) : string
Результат string

getDescription() публичный Метод

public getDescription ( ) : string
Результат string

getEarningsLines() публичный Метод

public getEarningsLines ( ) : float[] | Collection
Результат float[] | XeroPHP\Remote\Collection Always returns a collection, switch is for type hinting

getEarningsTypeID() публичный Метод

public getEarningsTypeID ( ) : string
Результат string

getEmployeeMax() публичный Метод

public getEmployeeMax ( ) : float
Результат float

getGUIDProperty() публичный статический Метод

Get the guid property
public static getGUIDProperty ( ) : string
Результат string

getPercentage() публичный Метод

public getPercentage ( ) : string
Результат string

getProperties() публичный статический Метод

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
Результат array

getRatePerUnit() публичный Метод

public getRatePerUnit ( ) : float
Результат float

getReimbursementLines() публичный Метод

public getReimbursementLines ( ) : ReimbursementLine[] | Collection
Результат XeroPHP\Models\PayrollUS\Paystub\ReimbursementLine[] | XeroPHP\Remote\Collection Always returns a collection, switch is for type hinting

getReimbursementTypeID() публичный Метод

public getReimbursementTypeID ( ) : string
Результат string

getResourceURI() публичный статический Метод

Get the resource uri of the class (Contacts) etc
public static getResourceURI ( ) : string
Результат string

getRootNodeName() публичный статический Метод

Get the root node name. Just the unqualified classname
public static getRootNodeName ( ) : string
Результат string

getSupportedMethods() публичный статический Метод

Get the supported methods
public static getSupportedMethods ( )

getUnitsOrHours() публичный Метод

public getUnitsOrHours ( ) : string
Результат string

isPageable() публичный статический Метод

public static isPageable ( )

setAmount() публичный Метод

public setAmount ( float $value ) : PayTemplate
$value float
Результат PayTemplate

setBenefitTypeID() публичный Метод

public setBenefitTypeID ( string $value ) : PayTemplate
$value string
Результат PayTemplate

setCalculationType() публичный Метод

public setCalculationType ( string $value ) : PayTemplate
$value string
Результат PayTemplate

setDeductionTypeID() публичный Метод

public setDeductionTypeID ( string $value ) : PayTemplate
$value string
Результат PayTemplate

setDescription() публичный Метод

public setDescription ( string $value ) : PayTemplate
$value string
Результат PayTemplate

setEarningsTypeID() публичный Метод

public setEarningsTypeID ( string $value ) : PayTemplate
$value string
Результат PayTemplate

setEmployeeMax() публичный Метод

public setEmployeeMax ( float $value ) : PayTemplate
$value float
Результат PayTemplate

setPercentage() публичный Метод

public setPercentage ( string $value ) : PayTemplate
$value string
Результат PayTemplate

setRatePerUnit() публичный Метод

public setRatePerUnit ( float $value ) : PayTemplate
$value float
Результат PayTemplate

setReimbursementTypeID() публичный Метод

public setReimbursementTypeID ( string $value ) : PayTemplate
$value string
Результат PayTemplate

setUnitsOrHour() публичный Метод

public setUnitsOrHour ( string $value ) : PayTemplate
$value string
Результат PayTemplate