PHP Class XeroPHP\Models\PayrollAU\Payslip

Inheritance: extends XeroPHP\Remote\Object
Datei anzeigen Open project: calcinai/xero-php

Public Methods

Method Description
addDeductionLine ( DeductionLine $value ) : Payslip
addEarningsLine ( EarningsLine $value ) : Payslip
addLeaveAccrualLine ( LeaveAccrualLine $value ) : Payslip
addReimbursementLine ( ReimbursementLine $value ) : Payslip
addSuperannuationLine ( SuperannuationLine $value ) : Payslip
addTaxLine ( TaxLine $value ) : Payslip
addTimesheetEarningsLine ( TimesheetEarningsLine $value ) : Payslip
getAPIStem ( ) : string | null Get the stem of the API (core.xro) etc
getDeductionLines ( ) : DeductionLine[] | Collection
getDeductions ( ) : float[] | Collection
getEarningsLines ( ) : EarningsLine[] | Collection
getEmployeeGroup ( ) : string
getEmployeeID ( ) : string
getFirstName ( ) : string
getGUIDProperty ( ) : string Get the guid property
getLastEdited ( ) : string
getLastName ( ) : string
getLeaveAccrualLines ( ) : LeaveAccrualLine[] | Collection
getLeaveEarningsLines ( ) : LeaveEarningsLine[] | Collection
getNetPay ( ) : float
getPayslipID ( ) : 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
getReimbursementLines ( ) : ReimbursementLine[] | Collection
getReimbursements ( ) : float[] | Collection
getResourceURI ( ) : string Get the resource uri of the class (Contacts) etc
getRootNodeName ( ) : string Get the root node name. Just the unqualified classname
getSuper ( ) : float
getSuperannuationLines ( ) : SuperannuationLine[] | Collection
getSupportedMethods ( ) Get the supported methods
getTax ( ) : float
getTaxLines ( ) : TaxLine[] | Collection
getTimesheetEarningsLines ( ) : TimesheetEarningsLine[] | Collection
getWages ( ) : float[] | Collection
isPageable ( )
setEmployeeID ( string $value ) : Payslip
setPayslipID ( string $value ) : Payslip

Method Details

addDeductionLine() public method

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

addEarningsLine() public method

public addEarningsLine ( EarningsLine $value ) : Payslip
$value XeroPHP\Models\PayrollAU\Payslip\EarningsLine
return Payslip

addLeaveAccrualLine() public method

public addLeaveAccrualLine ( LeaveAccrualLine $value ) : Payslip
$value XeroPHP\Models\PayrollAU\Payslip\LeaveAccrualLine
return Payslip

addReimbursementLine() public method

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

addSuperannuationLine() public method

public addSuperannuationLine ( SuperannuationLine $value ) : Payslip
$value XeroPHP\Models\PayrollAU\Payslip\SuperannuationLine
return Payslip

addTaxLine() public method

public addTaxLine ( TaxLine $value ) : Payslip
$value XeroPHP\Models\PayrollAU\Payslip\TaxLine
return Payslip

addTimesheetEarningsLine() public method

public addTimesheetEarningsLine ( TimesheetEarningsLine $value ) : Payslip
$value XeroPHP\Models\PayrollAU\Payslip\TimesheetEarningsLine
return Payslip

getAPIStem() public static method

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

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

getDeductions() public method

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

getEarningsLines() public method

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

getEmployeeGroup() public method

public getEmployeeGroup ( ) : string
return string

getEmployeeID() public method

public getEmployeeID ( ) : string
return string

getFirstName() public method

public getFirstName ( ) : string
return string

getGUIDProperty() public static method

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

getLastEdited() public method

public getLastEdited ( ) : string
return string

getLastName() public method

public getLastName ( ) : string
return string

getLeaveAccrualLines() public method

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

getLeaveEarningsLines() public method

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

getNetPay() public method

public getNetPay ( ) : float
return float

getPayslipID() public method

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

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

getReimbursements() public method

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

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

getSuper() public method

public getSuper ( ) : float
return float

getSuperannuationLines() public method

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

getSupportedMethods() public static method

Get the supported methods
public static getSupportedMethods ( )

getTax() public method

public getTax ( ) : float
return float

getTaxLines() public method

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

getTimesheetEarningsLines() public method

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

getWages() public method

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

isPageable() public static method

public static isPageable ( )

setEmployeeID() public method

public setEmployeeID ( string $value ) : Payslip
$value string
return Payslip

setPayslipID() public method

public setPayslipID ( string $value ) : Payslip
$value string
return Payslip