PHP Class XeroPHP\Models\PayrollAU\LeaveApplication

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

Public Methods

Method Description
addLeavePeriod ( LeavePeriod $value ) : LeaveApplication
getAPIStem ( ) : string | null Get the stem of the API (core.xro) etc
getDescription ( ) : string
getEmployeeID ( ) : string
getEndDate ( ) : DateTimeInterface
getGUIDProperty ( ) : string Get the guid property
getLeaveApplicationID ( ) : string
getLeavePeriods ( ) : LeavePeriod[] | Collection
getLeaveTypeID ( ) : 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
getResourceURI ( ) : string Get the resource uri of the class (Contacts) etc
getRootNodeName ( ) : string Get the root node name. Just the unqualified classname
getStartDate ( ) : DateTimeInterface
getSupportedMethods ( ) Get the supported methods
getTitle ( ) : string
isPageable ( )
setDescription ( string $value ) : LeaveApplication
setEmployeeID ( string $value ) : LeaveApplication
setEndDate ( DateTimeInterface $value ) : LeaveApplication
setLeaveApplicationID ( string $value ) : LeaveApplication
setLeaveTypeID ( string $value ) : LeaveApplication
setStartDate ( DateTimeInterface $value ) : LeaveApplication
setTitle ( string $value ) : LeaveApplication

Method Details

addLeavePeriod() public method

public addLeavePeriod ( LeavePeriod $value ) : LeaveApplication
$value XeroPHP\Models\PayrollAU\LeaveApplication\LeavePeriod
return LeaveApplication

getAPIStem() public static method

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

getDescription() public method

public getDescription ( ) : string
return string

getEmployeeID() public method

public getEmployeeID ( ) : string
return string

getEndDate() public method

public getEndDate ( ) : DateTimeInterface
return DateTimeInterface

getGUIDProperty() public static method

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

getLeaveApplicationID() public method

public getLeaveApplicationID ( ) : string
return string

getLeavePeriods() public method

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

getLeaveTypeID() public method

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

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

getStartDate() public method

public getStartDate ( ) : DateTimeInterface
return DateTimeInterface

getSupportedMethods() public static method

Get the supported methods
public static getSupportedMethods ( )

getTitle() public method

public getTitle ( ) : string
return string

isPageable() public static method

public static isPageable ( )

setDescription() public method

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

setEmployeeID() public method

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

setEndDate() public method

public setEndDate ( DateTimeInterface $value ) : LeaveApplication
$value DateTimeInterface
return LeaveApplication

setLeaveApplicationID() public method

public setLeaveApplicationID ( string $value ) : LeaveApplication
$value string
return LeaveApplication

setLeaveTypeID() public method

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

setStartDate() public method

public setStartDate ( DateTimeInterface $value ) : LeaveApplication
$value DateTimeInterface
return LeaveApplication

setTitle() public method

public setTitle ( string $value ) : LeaveApplication
$value string
return LeaveApplication