PHP Class XeroPHP\Models\PayrollAU\Employee\OpeningBalance

Inheritance: extends XeroPHP\Remote\Object
Exibir arquivo Open project: calcinai/xero-php

Public Methods

Method Description
addDeductionLine ( DeductionLine $value ) : OpeningBalance
addEarningsLine ( EarningsLine $value ) : OpeningBalance
addReimbursementLine ( ReimbursementLine $value ) : OpeningBalance
getAPIStem ( ) : string | null Get the stem of the API (core.xro) etc
getAmount ( ) : float
getCalculationType ( ) : string
getDeductionLines ( ) : DeductionLine[] | Collection
getDeductionTypeID ( ) : string
getEarningsLines ( ) : EarningsLine[] | Collection
getEarningsRateID ( ) : string
getGUIDProperty ( ) : string Get the guid property
getLeaveLines ( ) : string
getLeaveTypeID ( ) : string
getNumberOfUnits ( ) : string
getOpeningBalanceDate ( ) : DateTimeInterface
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
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
getTax ( ) : string
isPageable ( )
setAmount ( float $value ) : OpeningBalance
setCalculationType ( string $value ) : OpeningBalance
setDeductionTypeID ( string $value ) : OpeningBalance
setEarningsRateID ( string $value ) : OpeningBalance
setLeaveLine ( string $value ) : OpeningBalance
setLeaveTypeID ( string $value ) : OpeningBalance
setNumberOfUnit ( string $value ) : OpeningBalance
setOpeningBalanceDate ( DateTimeInterface $value ) : OpeningBalance
setReimbursementTypeID ( string $value ) : OpeningBalance
setSuperLine ( string $value ) : OpeningBalance
setSuperMembershipID ( string $value ) : OpeningBalance
setTax ( string $value ) : OpeningBalance

Method Details

addDeductionLine() public method

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

addEarningsLine() public method

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

addReimbursementLine() public method

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

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

getCalculationType() public method

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

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

getEarningsRateID() public method

public getEarningsRateID ( ) : string
return string

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

getNumberOfUnits() public method

public getNumberOfUnits ( ) : string
return string

getOpeningBalanceDate() public method

public getOpeningBalanceDate ( ) : DateTimeInterface
return DateTimeInterface

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

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

getTax() public method

public getTax ( ) : string
return string

isPageable() public static method

public static isPageable ( )

setAmount() public method

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

setCalculationType() public method

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

setDeductionTypeID() public method

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

setEarningsRateID() public method

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

setLeaveLine() public method

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

setLeaveTypeID() public method

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

setNumberOfUnit() public method

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

setOpeningBalanceDate() public method

public setOpeningBalanceDate ( DateTimeInterface $value ) : OpeningBalance
$value DateTimeInterface
return OpeningBalance

setReimbursementTypeID() public method

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

setSuperLine() public method

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

setSuperMembershipID() public method

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

setTax() public method

public setTax ( string $value ) : OpeningBalance
$value string
return OpeningBalance