PHP Class XeroPHP\Models\PayrollUS\Employee\OpeningBalance

Inheritance: extends XeroPHP\Remote\Object
Afficher le fichier Open project: calcinai/xero-php

Méthodes publiques

Méthode Description
addBenefitLine ( BenefitLine $value ) : OpeningBalance
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
getBenefitLines ( ) : BenefitLine[] | Collection
getBenefitTypeID ( ) : string
getDeductionLines ( ) : DeductionLine[] | Collection
getDeductionTypeID ( ) : string
getEarningsLines ( ) : EarningsLine[] | Collection
getEarningsTypeID ( ) : string
getEmployeeID ( ) : string
getGUIDProperty ( ) : string Get the guid property
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
getSupportedMethods ( ) Get the supported methods
isPageable ( )
setAmount ( float $value ) : OpeningBalance
setBenefitTypeID ( string $value ) : OpeningBalance
setDeductionTypeID ( string $value ) : OpeningBalance
setEarningsTypeID ( string $value ) : OpeningBalance
setEmployeeID ( string $value ) : OpeningBalance
setReimbursementTypeID ( string $value ) : OpeningBalance

Method Details

addBenefitLine() public méthode

public addBenefitLine ( BenefitLine $value ) : OpeningBalance
$value XeroPHP\Models\PayrollUS\Paystub\BenefitLine
Résultat OpeningBalance

addDeductionLine() public méthode

public addDeductionLine ( DeductionLine $value ) : OpeningBalance
$value XeroPHP\Models\PayrollUS\Paystub\DeductionLine
Résultat OpeningBalance

addEarningsLine() public méthode

public addEarningsLine ( EarningsLine $value ) : OpeningBalance
$value XeroPHP\Models\PayrollUS\Paystub\EarningsLine
Résultat OpeningBalance

addReimbursementLine() public méthode

public addReimbursementLine ( ReimbursementLine $value ) : OpeningBalance
$value XeroPHP\Models\PayrollUS\Paystub\ReimbursementLine
Résultat OpeningBalance

getAPIStem() public static méthode

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

getAmount() public méthode

public getAmount ( ) : float
Résultat float

getBenefitLines() public méthode

public getBenefitLines ( ) : BenefitLine[] | Collection
Résultat XeroPHP\Models\PayrollUS\Paystub\BenefitLine[] | XeroPHP\Remote\Collection Always returns a collection, switch is for type hinting

getBenefitTypeID() public méthode

public getBenefitTypeID ( ) : string
Résultat string

getDeductionLines() public méthode

public getDeductionLines ( ) : DeductionLine[] | Collection
Résultat XeroPHP\Models\PayrollUS\Paystub\DeductionLine[] | XeroPHP\Remote\Collection Always returns a collection, switch is for type hinting

getDeductionTypeID() public méthode

public getDeductionTypeID ( ) : string
Résultat string

getEarningsLines() public méthode

public getEarningsLines ( ) : EarningsLine[] | Collection
Résultat XeroPHP\Models\PayrollUS\Paystub\EarningsLine[] | XeroPHP\Remote\Collection Always returns a collection, switch is for type hinting

getEarningsTypeID() public méthode

public getEarningsTypeID ( ) : string
Résultat string

getEmployeeID() public méthode

Deprecation:
public getEmployeeID ( ) : string
Résultat string

getGUIDProperty() public static méthode

Get the guid property
public static getGUIDProperty ( ) : string
Résultat string

getProperties() public static méthode

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
Résultat array

getReimbursementLines() public méthode

public getReimbursementLines ( ) : ReimbursementLine[] | Collection
Résultat XeroPHP\Models\PayrollUS\Paystub\ReimbursementLine[] | XeroPHP\Remote\Collection Always returns a collection, switch is for type hinting

getReimbursementTypeID() public méthode

public getReimbursementTypeID ( ) : string
Résultat string

getResourceURI() public static méthode

Get the resource uri of the class (Contacts) etc
public static getResourceURI ( ) : string
Résultat string

getRootNodeName() public static méthode

Get the root node name. Just the unqualified classname
public static getRootNodeName ( ) : string
Résultat string

getSupportedMethods() public static méthode

Get the supported methods
public static getSupportedMethods ( )

isPageable() public static méthode

public static isPageable ( )

setAmount() public méthode

public setAmount ( float $value ) : OpeningBalance
$value float
Résultat OpeningBalance

setBenefitTypeID() public méthode

public setBenefitTypeID ( string $value ) : OpeningBalance
$value string
Résultat OpeningBalance

setDeductionTypeID() public méthode

public setDeductionTypeID ( string $value ) : OpeningBalance
$value string
Résultat OpeningBalance

setEarningsTypeID() public méthode

public setEarningsTypeID ( string $value ) : OpeningBalance
$value string
Résultat OpeningBalance

setEmployeeID() public méthode

Deprecation:
public setEmployeeID ( string $value ) : OpeningBalance
$value string
Résultat OpeningBalance

setReimbursementTypeID() public méthode

public setReimbursementTypeID ( string $value ) : OpeningBalance
$value string
Résultat OpeningBalance