new PrintOrder()
- Source:
Methods
(static) PrintOrder#getCategory() → {printer.PrintCategory}
Get the field value
The print category
- Source:
Returns:
(static) PrintOrder#getCreatedTime() → {Number}
Get the field value
Timestamp when the print event was created
- Source:
Returns:
must be a long integer
- Type
- Number
(static) PrintOrder#getDeletedTime() → {Number}
Get the field value
Timestamp when the print event was last deleted
- Source:
Returns:
must be a long integer
- Type
- Number
(static) PrintOrder#getDeviceRef() → {base.Reference}
Get the field value
The printing device. A 128-bit UUID, not a normal base-13 Clover ID.
- Source:
Returns:
- Type
- base.Reference
(static) PrintOrder#getId() → {String}
Get the field value
Unique identifier
- Source:
Returns:
- Type
- String
(static) PrintOrder#getMerchantRef() → {base.Reference}
Get the field value
- Source:
Returns:
- Type
- base.Reference
(static) PrintOrder#getModifiedTime() → {Number}
Get the field value
Timestamp when the print event was last modified
- Source:
Returns:
must be a long integer
- Type
- Number
(static) PrintOrder#getOrderRef() → {base.Reference}
Get the field value
Reference to the order to be printed
- Source:
Returns:
- Type
- base.Reference
(static) PrintOrder#getState() → {Null|order.PrintState}
Get the field value
print event state
- Source:
Returns:
- Type
- Null | order.PrintState
(static) PrintOrder#setCategory(category)
Set the field value
The print category
Parameters:
Name | Type | Description |
---|---|---|
category |
printer.PrintCategory |
- Source:
(static) PrintOrder#setCreatedTime(createdTime)
Set the field value
Timestamp when the print event was created
Parameters:
Name | Type | Description |
---|---|---|
createdTime |
Number | must be a long integer |
- Source:
(static) PrintOrder#setDeletedTime(deletedTime)
Set the field value
Timestamp when the print event was last deleted
Parameters:
Name | Type | Description |
---|---|---|
deletedTime |
Number | must be a long integer |
- Source:
(static) PrintOrder#setDeviceRef(deviceRef)
Set the field value
The printing device. A 128-bit UUID, not a normal base-13 Clover ID.
Parameters:
Name | Type | Description |
---|---|---|
deviceRef |
base.Reference |
- Source:
(static) PrintOrder#setId(id)
Set the field value
Unique identifier
Parameters:
Name | Type | Description |
---|---|---|
id |
String |
- Source:
(static) PrintOrder#setMerchantRef(merchantRef)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
merchantRef |
base.Reference |
- Source:
(static) PrintOrder#setModifiedTime(modifiedTime)
Set the field value
Timestamp when the print event was last modified
Parameters:
Name | Type | Description |
---|---|---|
modifiedTime |
Number | must be a long integer |
- Source:
(static) PrintOrder#setOrderRef(orderRef)
Set the field value
Reference to the order to be printed
Parameters:
Name | Type | Description |
---|---|---|
orderRef |
base.Reference |
- Source:
(static) PrintOrder#setState(state)
Set the field value
print event state
Parameters:
Name | Type | Description |
---|---|---|
state |
Null | order.PrintState |
- Source: