class TimesheetEntryCreate extends AbstractTimesheetEntry

Create a new timesheet entry record

Traits

Methods

array
getCustomFields()

Get custom fields

setCustomFields(array $customFields)

Set custom fields

setEntryDate(DateType $entryDate)

No description

float|int|string
getQuantity()

No description

setQuantity(float|int|string $quantity)

No description

string
getDescription()

No description

setDescription(string $description)

No description

string
getNotes()

No description

setNotes(string $notes)

No description

int|string
getTaskRecordNo()

No description

setTaskRecordNo(int|string $taskRecordNo)

No description

string
getTimeTypeName()

No description

setTimeTypeName(string $timeTypeName)

No description

boolean
isBillable()

No description

setBillable(boolean $billable)

No description

float|int|string
getOverrideBillingRate()

No description

setOverrideBillingRate(float|int|string $overrideBillingRate)

No description

float|int|string
getOverrideLaborCostRate()

No description

setOverrideLaborCostRate(float|int|string $overrideLaborCostRate)

No description

string
getDepartmentId()

No description

setDepartmentId(string $departmentId)

No description

string
getLocationId()

No description

setLocationId(string $locationId)

No description

string
getProjectId()

No description

setProjectId(string $projectId)

No description

string
getCustomerId()

No description

setCustomerId(string $customerId)

No description

string
getVendorId()

No description

setVendorId(string $vendorId)

No description

string
getItemId()

No description

setItemId(string $itemId)

No description

string
getClassId()

No description

setClassId(string $classId)

No description

string
getContractId()

No description

setContractId(string $contractId)

No description

string
getWarehouseId()

No description

setWarehouseId(string $warehouseId)

No description

writeXml(XMLWriter $xml)

Write the function block XML

Details

in CustomFieldsTrait at line line 33
array getCustomFields()

Get custom fields

Return Value

array

in CustomFieldsTrait at line line 43
setCustomFields(array $customFields)

Set custom fields

Parameters

array $customFields

in AbstractTimesheetEntry at line line 86
DateType getEntryDate()

Return Value

DateType

in AbstractTimesheetEntry at line line 94
setEntryDate(DateType $entryDate)

Parameters

DateType $entryDate

in AbstractTimesheetEntry at line line 102
float|int|string getQuantity()

Return Value

float|int|string

in AbstractTimesheetEntry at line line 110
setQuantity(float|int|string $quantity)

Parameters

float|int|string $quantity

in AbstractTimesheetEntry at line line 118
string getDescription()

Return Value

string

in AbstractTimesheetEntry at line line 126
setDescription(string $description)

Parameters

string $description

in AbstractTimesheetEntry at line line 134
string getNotes()

Return Value

string

in AbstractTimesheetEntry at line line 142
setNotes(string $notes)

Parameters

string $notes

in AbstractTimesheetEntry at line line 150
int|string getTaskRecordNo()

Return Value

int|string

in AbstractTimesheetEntry at line line 158
setTaskRecordNo(int|string $taskRecordNo)

Parameters

int|string $taskRecordNo

in AbstractTimesheetEntry at line line 166
string getTimeTypeName()

Return Value

string

in AbstractTimesheetEntry at line line 174
setTimeTypeName(string $timeTypeName)

Parameters

string $timeTypeName

in AbstractTimesheetEntry at line line 182
boolean isBillable()

Return Value

boolean

in AbstractTimesheetEntry at line line 190
setBillable(boolean $billable)

Parameters

boolean $billable

in AbstractTimesheetEntry at line line 198
float|int|string getOverrideBillingRate()

Return Value

float|int|string

in AbstractTimesheetEntry at line line 206
setOverrideBillingRate(float|int|string $overrideBillingRate)

Parameters

float|int|string $overrideBillingRate

in AbstractTimesheetEntry at line line 214
float|int|string getOverrideLaborCostRate()

Return Value

float|int|string

in AbstractTimesheetEntry at line line 222
setOverrideLaborCostRate(float|int|string $overrideLaborCostRate)

Parameters

float|int|string $overrideLaborCostRate

in AbstractTimesheetEntry at line line 230
string getDepartmentId()

Return Value

string

in AbstractTimesheetEntry at line line 238
setDepartmentId(string $departmentId)

Parameters

string $departmentId

in AbstractTimesheetEntry at line line 246
string getLocationId()

Return Value

string

in AbstractTimesheetEntry at line line 254
setLocationId(string $locationId)

Parameters

string $locationId

in AbstractTimesheetEntry at line line 262
string getProjectId()

Return Value

string

in AbstractTimesheetEntry at line line 270
setProjectId(string $projectId)

Parameters

string $projectId

in AbstractTimesheetEntry at line line 278
string getCustomerId()

Return Value

string

in AbstractTimesheetEntry at line line 286
setCustomerId(string $customerId)

Parameters

string $customerId

in AbstractTimesheetEntry at line line 294
string getVendorId()

Return Value

string

in AbstractTimesheetEntry at line line 302
setVendorId(string $vendorId)

Parameters

string $vendorId

in AbstractTimesheetEntry at line line 310
string getItemId()

Return Value

string

in AbstractTimesheetEntry at line line 318
setItemId(string $itemId)

Parameters

string $itemId

in AbstractTimesheetEntry at line line 326
string getClassId()

Return Value

string

in AbstractTimesheetEntry at line line 334
setClassId(string $classId)

Parameters

string $classId

in AbstractTimesheetEntry at line line 342
string getContractId()

Return Value

string

in AbstractTimesheetEntry at line line 350
setContractId(string $contractId)

Parameters

string $contractId

in AbstractTimesheetEntry at line line 358
string getWarehouseId()

Return Value

string

in AbstractTimesheetEntry at line line 366
setWarehouseId(string $warehouseId)

Parameters

string $warehouseId

at line line 35
writeXml(XMLWriter $xml)

Write the function block XML

Parameters

XMLWriter $xml