new EmployeeCard()
- Source:
Methods
(static) EmployeeCard#getCreatedTime() → {Number}
Get the field value
Timestamp of when this employee card was created
- Source:
Returns:
must be a long integer
- Type
- Number
(static) EmployeeCard#getEmployee() → {base.Reference}
Get the field value
The employee who the card is currently assigned to
- Source:
Returns:
- Type
- base.Reference
(static) EmployeeCard#getId() → {String}
Get the field value
Unique identifier
- Source:
Returns:
- Type
- String
(static) EmployeeCard#getMerchant() → {base.Reference}
Get the field value
The merchant the card belongs to
- Source:
Returns:
- Type
- base.Reference
(static) EmployeeCard#getModifiedTime() → {Number}
Get the field value
Timestamp of when this employee card was last updated
- Source:
Returns:
must be a long integer
- Type
- Number
(static) EmployeeCard#getNumber() → {String}
Get the field value
Unique number on the employee card.
- Source:
Returns:
- Type
- String
(static) EmployeeCard#getStatus() → {employees.EmployeeCardStatus}
Get the field value
Current status of the employee card
- Source:
Returns:
(static) EmployeeCard#getUpdater() → {base.Reference}
Get the field value
The employee who last updated the card's state
- Source:
Returns:
- Type
- base.Reference
(static) EmployeeCard#setCreatedTime(createdTime)
Set the field value
Timestamp of when this employee card was created
Parameters:
Name | Type | Description |
---|---|---|
createdTime |
Number | must be a long integer |
- Source:
(static) EmployeeCard#setEmployee(employee)
Set the field value
The employee who the card is currently assigned to
Parameters:
Name | Type | Description |
---|---|---|
employee |
base.Reference |
- Source:
(static) EmployeeCard#setId(id)
Set the field value
Unique identifier
Parameters:
Name | Type | Description |
---|---|---|
id |
String |
- Source:
(static) EmployeeCard#setMerchant(merchant)
Set the field value
The merchant the card belongs to
Parameters:
Name | Type | Description |
---|---|---|
merchant |
base.Reference |
- Source:
(static) EmployeeCard#setModifiedTime(modifiedTime)
Set the field value
Timestamp of when this employee card was last updated
Parameters:
Name | Type | Description |
---|---|---|
modifiedTime |
Number | must be a long integer |
- Source:
(static) EmployeeCard#setNumber(number)
Set the field value
Unique number on the employee card.
Parameters:
Name | Type | Description |
---|---|---|
number |
String |
- Source:
(static) EmployeeCard#setStatus(status)
Set the field value
Current status of the employee card
Parameters:
Name | Type | Description |
---|---|---|
status |
employees.EmployeeCardStatus |
- Source:
(static) EmployeeCard#setUpdater(updater)
Set the field value
The employee who last updated the card's state
Parameters:
Name | Type | Description |
---|---|---|
updater |
base.Reference |
- Source: