PHP Class XeroPHP\Models\PayrollAU\Timesheet

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

Public Methods

Method Description
addTimesheetLine ( TimesheetLine $value ) : Timesheet
getAPIStem ( ) : string | null Get the stem of the API (core.xro) etc
getEmployeeID ( ) : string
getEndDate ( ) : DateTimeInterface
getGUIDProperty ( ) : string Get the guid property
getHours ( ) : 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
getStatus ( ) : string
getSupportedMethods ( ) Get the supported methods
getTimesheetID ( ) : string
getTimesheetLines ( ) : TimesheetLine[] | Collection
isPageable ( )
setEmployeeID ( string $value ) : Timesheet
setEndDate ( DateTimeInterface $value ) : Timesheet
setHour ( string $value ) : Timesheet
setStartDate ( DateTimeInterface $value ) : Timesheet
setStatus ( string $value ) : Timesheet
setTimesheetID ( string $value ) : Timesheet

Method Details

addTimesheetLine() public method

public addTimesheetLine ( TimesheetLine $value ) : Timesheet
$value XeroPHP\Models\PayrollAU\Timesheet\TimesheetLine
return Timesheet

getAPIStem() public static method

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

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

getHours() public method

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

getStatus() public method

public getStatus ( ) : string
return string

getSupportedMethods() public static method

Get the supported methods
public static getSupportedMethods ( )

getTimesheetID() public method

public getTimesheetID ( ) : string
return string

getTimesheetLines() public method

public getTimesheetLines ( ) : TimesheetLine[] | Collection
return XeroPHP\Models\PayrollAU\Timesheet\TimesheetLine[] | 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 ) : Timesheet
$value string
return Timesheet

setEndDate() public method

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

setHour() public method

public setHour ( string $value ) : Timesheet
$value string
return Timesheet

setStartDate() public method

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

setStatus() public method

public setStatus ( string $value ) : Timesheet
$value string
return Timesheet

setTimesheetID() public method

public setTimesheetID ( string $value ) : Timesheet
$value string
return Timesheet