new Shift()
- Source:
Methods
(static) Shift#getCashTipsCollected() → {Number}
Get the field value
Amount of cash tips collected
- Source:
Returns:
must be a long integer
- Type
- Number
(static) Shift#getEmployee() → {employees.Employee}
Get the field value
The employee that worked this shift
- Source:
Returns:
- Type
- employees.Employee
(static) Shift#getId() → {String}
Get the field value
Unique identifier
- Source:
Returns:
- Type
- String
(static) Shift#getInTime() → {Number}
Get the field value
Clock in time
- Source:
Returns:
must be a long integer
- Type
- Number
(static) Shift#getOutTime() → {Number}
Get the field value
Clock out time
- Source:
Returns:
must be a long integer
- Type
- Number
(static) Shift#getOverrideInEmployee() → {employees.Employee}
Get the field value
The employee who overrode the clock in time
- Source:
Returns:
- Type
- employees.Employee
(static) Shift#getOverrideInTime() → {Number}
Get the field value
Overridden clock in time
- Source:
Returns:
must be a long integer
- Type
- Number
(static) Shift#getOverrideOutEmployee() → {employees.Employee}
Get the field value
The employee who overrode the clock out time
- Source:
Returns:
- Type
- employees.Employee
(static) Shift#getOverrideOutTime() → {Number}
Get the field value
Overridden clock out time
- Source:
Returns:
must be a long integer
- Type
- Number
(static) Shift#getServerBanking() → {Boolean}
Get the field value
Whether the employee used server banking
- Source:
Returns:
- Type
- Boolean
(static) Shift#setCashTipsCollected(cashTipsCollected)
Set the field value
Amount of cash tips collected
Parameters:
Name | Type | Description |
---|---|---|
cashTipsCollected |
Number | must be a long integer |
- Source:
(static) Shift#setEmployee(employee)
Set the field value
The employee that worked this shift
Parameters:
Name | Type | Description |
---|---|---|
employee |
employees.Employee |
- Source:
(static) Shift#setId(id)
Set the field value
Unique identifier
Parameters:
Name | Type | Description |
---|---|---|
id |
String |
- Source:
(static) Shift#setInTime(inTime)
Set the field value
Clock in time
Parameters:
Name | Type | Description |
---|---|---|
inTime |
Number | must be a long integer |
- Source:
(static) Shift#setOutTime(outTime)
Set the field value
Clock out time
Parameters:
Name | Type | Description |
---|---|---|
outTime |
Number | must be a long integer |
- Source:
(static) Shift#setOverrideInEmployee(overrideInEmployee)
Set the field value
The employee who overrode the clock in time
Parameters:
Name | Type | Description |
---|---|---|
overrideInEmployee |
employees.Employee |
- Source:
(static) Shift#setOverrideInTime(overrideInTime)
Set the field value
Overridden clock in time
Parameters:
Name | Type | Description |
---|---|---|
overrideInTime |
Number | must be a long integer |
- Source:
(static) Shift#setOverrideOutEmployee(overrideOutEmployee)
Set the field value
The employee who overrode the clock out time
Parameters:
Name | Type | Description |
---|---|---|
overrideOutEmployee |
employees.Employee |
- Source:
(static) Shift#setOverrideOutTime(overrideOutTime)
Set the field value
Overridden clock out time
Parameters:
Name | Type | Description |
---|---|---|
overrideOutTime |
Number | must be a long integer |
- Source:
(static) Shift#setServerBanking(serverBanking)
Set the field value
Whether the employee used server banking
Parameters:
Name | Type | Description |
---|---|---|
serverBanking |
Boolean |
- Source: