PHP Class XeroPHP\Models\PayrollAU\Employee\PayTemplate

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

Public Methods

Method Description
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
getAnnualNumberOfUnits ( ) : string
getAnnualSalary ( ) : string
getCalculationType ( ) : string
getContributionType ( ) : string
getDeductionLines ( ) : DeductionLine[] | Collection
getDeductionTypeID ( ) : string
getDescription ( ) : string
getEarningsLines ( ) : float[] | Collection
getEarningsRateID ( ) : string
getEntitlementFinalPayPayoutType ( ) : string
getExpenseAccountCode ( ) : string
getFullTimeNumberOfUnitsPerPeriod ( ) : string
getGUIDProperty ( ) : string Get the guid property
getLeaveLines ( ) : string
getLeaveTypeID ( ) : string
getLiabilityAccountCode ( ) : string
getMinimumMonthlyEarnings ( ) : string
getNormalNumberOfUnits ( ) : string
getNumberOfUnits ( ) : string
getNumberOfUnitsPerWeek ( ) : string
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
getSuperLines ( ) : string
getSuperMembershipID ( ) : string
getSupportedMethods ( ) Get the supported methods
isPageable ( )
setAmount ( float $value ) : PayTemplate
setAnnualNumberOfUnit ( string $value ) : PayTemplate
setAnnualSalary ( string $value ) : PayTemplate
setCalculationType ( string $value ) : PayTemplate
setContributionType ( string $value ) : PayTemplate
setDeductionTypeID ( string $value ) : PayTemplate
setDescription ( string $value ) : PayTemplate
setEarningsRateID ( string $value ) : PayTemplate
setEntitlementFinalPayPayoutType ( string $value ) : PayTemplate
setExpenseAccountCode ( string $value ) : PayTemplate
setFullTimeNumberOfUnitsPerPeriod ( string $value ) : PayTemplate
setLeaveLine ( string $value ) : PayTemplate
setLeaveTypeID ( string $value ) : PayTemplate
setLiabilityAccountCode ( string $value ) : PayTemplate
setMinimumMonthlyEarning ( string $value ) : PayTemplate
setNormalNumberOfUnit ( string $value ) : PayTemplate
setNumberOfUnit ( string $value ) : PayTemplate
setNumberOfUnitsPerWeek ( string $value ) : PayTemplate
setPercentage ( string $value ) : PayTemplate
setRatePerUnit ( float $value ) : PayTemplate
setReimbursementTypeID ( string $value ) : PayTemplate
setSuperLine ( string $value ) : PayTemplate
setSuperMembershipID ( string $value ) : PayTemplate

Method Details

addDeductionLine() public method

public addDeductionLine ( DeductionLine $value ) : PayTemplate
$value XeroPHP\Models\PayrollAU\Payslip\DeductionLine
return PayTemplate

addEarningsLine() public method

public addEarningsLine ( float $value ) : PayTemplate
$value float
return PayTemplate

addReimbursementLine() public method

public addReimbursementLine ( ReimbursementLine $value ) : PayTemplate
$value XeroPHP\Models\PayrollAU\Payslip\ReimbursementLine
return PayTemplate

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

getAnnualNumberOfUnits() public method

public getAnnualNumberOfUnits ( ) : string
return string

getAnnualSalary() public method

public getAnnualSalary ( ) : string
return string

getCalculationType() public method

public getCalculationType ( ) : string
return string

getContributionType() public method

public getContributionType ( ) : string
return string

getDeductionLines() public method

public getDeductionLines ( ) : DeductionLine[] | Collection
return XeroPHP\Models\PayrollAU\Payslip\DeductionLine[] | XeroPHP\Remote\Collection Always returns a collection, switch is for type hinting

getDeductionTypeID() public method

public getDeductionTypeID ( ) : string
return string

getDescription() public method

public getDescription ( ) : string
return string

getEarningsLines() public method

public getEarningsLines ( ) : float[] | Collection
return float[] | XeroPHP\Remote\Collection Always returns a collection, switch is for type hinting

getEarningsRateID() public method

public getEarningsRateID ( ) : string
return string

getEntitlementFinalPayPayoutType() public method

getExpenseAccountCode() public method

public getExpenseAccountCode ( ) : string
return string

getFullTimeNumberOfUnitsPerPeriod() public method

getGUIDProperty() public static method

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

getLeaveLines() public method

public getLeaveLines ( ) : string
return string

getLeaveTypeID() public method

public getLeaveTypeID ( ) : string
return string

getLiabilityAccountCode() public method

public getLiabilityAccountCode ( ) : string
return string

getMinimumMonthlyEarnings() public method

getNormalNumberOfUnits() public method

public getNormalNumberOfUnits ( ) : string
return string

getNumberOfUnits() public method

public getNumberOfUnits ( ) : string
return string

getNumberOfUnitsPerWeek() public method

public getNumberOfUnitsPerWeek ( ) : string
return string

getPercentage() public method

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

getReimbursementLines() public method

public getReimbursementLines ( ) : ReimbursementLine[] | Collection
return XeroPHP\Models\PayrollAU\Payslip\ReimbursementLine[] | XeroPHP\Remote\Collection Always returns a collection, switch is for type hinting

getReimbursementTypeID() public method

public getReimbursementTypeID ( ) : string
return string

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

getSuperLines() public method

public getSuperLines ( ) : string
return string

getSuperMembershipID() public method

public getSuperMembershipID ( ) : 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 ) : PayTemplate
$value float
return PayTemplate

setAnnualNumberOfUnit() public method

public setAnnualNumberOfUnit ( string $value ) : PayTemplate
$value string
return PayTemplate

setAnnualSalary() public method

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

setCalculationType() public method

public setCalculationType ( string $value ) : PayTemplate
$value string
return PayTemplate

setContributionType() public method

public setContributionType ( string $value ) : PayTemplate
$value string
return PayTemplate

setDeductionTypeID() public method

public setDeductionTypeID ( string $value ) : PayTemplate
$value string
return PayTemplate

setDescription() public method

public setDescription ( string $value ) : PayTemplate
$value string
return PayTemplate

setEarningsRateID() public method

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

setEntitlementFinalPayPayoutType() public method

public setEntitlementFinalPayPayoutType ( string $value ) : PayTemplate
$value string
return PayTemplate

setExpenseAccountCode() public method

public setExpenseAccountCode ( string $value ) : PayTemplate
$value string
return PayTemplate

setFullTimeNumberOfUnitsPerPeriod() public method

public setFullTimeNumberOfUnitsPerPeriod ( string $value ) : PayTemplate
$value string
return PayTemplate

setLeaveLine() public method

public setLeaveLine ( string $value ) : PayTemplate
$value string
return PayTemplate

setLeaveTypeID() public method

public setLeaveTypeID ( string $value ) : PayTemplate
$value string
return PayTemplate

setLiabilityAccountCode() public method

public setLiabilityAccountCode ( string $value ) : PayTemplate
$value string
return PayTemplate

setMinimumMonthlyEarning() public method

public setMinimumMonthlyEarning ( string $value ) : PayTemplate
$value string
return PayTemplate

setNormalNumberOfUnit() public method

public setNormalNumberOfUnit ( string $value ) : PayTemplate
$value string
return PayTemplate

setNumberOfUnit() public method

public setNumberOfUnit ( string $value ) : PayTemplate
$value string
return PayTemplate

setNumberOfUnitsPerWeek() public method

public setNumberOfUnitsPerWeek ( string $value ) : PayTemplate
$value string
return PayTemplate

setPercentage() public method

public setPercentage ( string $value ) : PayTemplate
$value string
return PayTemplate

setRatePerUnit() public method

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

setReimbursementTypeID() public method

public setReimbursementTypeID ( string $value ) : PayTemplate
$value string
return PayTemplate

setSuperLine() public method

public setSuperLine ( string $value ) : PayTemplate
$value string
return PayTemplate

setSuperMembershipID() public method

public setSuperMembershipID ( string $value ) : PayTemplate
$value string
return PayTemplate