Class: VoidedLineItem

order.VoidedLineItem()

new VoidedLineItem()

Source:

Methods

(static) VoidedLineItem#getClientEventType() → {order.ClientEventType}

Get the field value What event on the client removed this? Was it because of moving a table? Or was it plain old deleting a line item?
Source:
Returns:
Type
order.ClientEventType

(static) VoidedLineItem#getCreatedBy() → {base.Reference}

Get the field value Employee who created the order from which the line item was voided
Source:
Returns:
Type
base.Reference

(static) VoidedLineItem#getDeletedTime() → {Number}

Get the field value Timestamp of when this line item was deleted
Source:
Returns:
must be a long integer
Type
Number

(static) VoidedLineItem#getEnvironment() → {Null|String}

Get the field value Which environment was this recorded in
Source:
Returns:
Type
Null | String

(static) VoidedLineItem#getLineItem() → {order.LineItem}

Get the field value The line item that was voided
Source:
Returns:
Type
order.LineItem

(static) VoidedLineItem#getMerchant() → {base.Reference}

Get the field value
Source:
Returns:
Type
base.Reference

(static) VoidedLineItem#getReason() → {Null|String}

Get the field value Why was the line item voided
Source:
Returns:
Type
Null | String

(static) VoidedLineItem#getRemovedBy() → {base.Reference}

Get the field value Employee who voided the item
Source:
Returns:
Type
base.Reference

(static) VoidedLineItem#setClientEventType(clientEventType)

Set the field value What event on the client removed this? Was it because of moving a table? Or was it plain old deleting a line item?
Parameters:
Name Type Description
clientEventType order.ClientEventType
Source:

(static) VoidedLineItem#setCreatedBy(createdBy)

Set the field value Employee who created the order from which the line item was voided
Parameters:
Name Type Description
createdBy base.Reference
Source:

(static) VoidedLineItem#setDeletedTime(deletedTime)

Set the field value Timestamp of when this line item was deleted
Parameters:
Name Type Description
deletedTime Number must be a long integer
Source:

(static) VoidedLineItem#setEnvironment(environment)

Set the field value Which environment was this recorded in
Parameters:
Name Type Description
environment Null | String
Source:

(static) VoidedLineItem#setLineItem(lineItem)

Set the field value The line item that was voided
Parameters:
Name Type Description
lineItem order.LineItem
Source:

(static) VoidedLineItem#setMerchant(merchant)

Set the field value
Parameters:
Name Type Description
merchant base.Reference
Source:

(static) VoidedLineItem#setReason(reason)

Set the field value Why was the line item voided
Parameters:
Name Type Description
reason Null | String
Source:

(static) VoidedLineItem#setRemovedBy(removedBy)

Set the field value Employee who voided the item
Parameters:
Name Type Description
removedBy base.Reference
Source: