Class: DisplayPayment

order.DisplayPayment()

new DisplayPayment()

Source:

Methods

(static) DisplayPayment#getAmount() → {String}

Get the field value Formatted total amount paid
Source:
Returns:
Type
String

(static) DisplayPayment#getId() → {String}

Get the field value Unique identifier
Source:
Returns:
Type
String

(static) DisplayPayment#getLabel() → {String}

Get the field value Formatted display string for the tender e.g. credit card, cash, etc.
Source:
Returns:
Type
String

(static) DisplayPayment#getTaxAmount() → {Number|Null}

Get the field value Formatted amount paid in tax
Source:
Returns:
must be a long integer,
Type
Number | Null

(static) DisplayPayment#getTipAmount() → {String|Null}

Get the field value Formatted amount paid in tips
Source:
Returns:
Type
String | Null

(static) DisplayPayment#setAmount(amount)

Set the field value Formatted total amount paid
Parameters:
Name Type Description
amount String
Source:

(static) DisplayPayment#setId(id)

Set the field value Unique identifier
Parameters:
Name Type Description
id String
Source:

(static) DisplayPayment#setLabel(label)

Set the field value Formatted display string for the tender e.g. credit card, cash, etc.
Parameters:
Name Type Description
label String
Source:

(static) DisplayPayment#setTaxAmount(taxAmount)

Set the field value Formatted amount paid in tax
Parameters:
Name Type Description
taxAmount Number | Null must be a long integer,
Source:

(static) DisplayPayment#setTipAmount(tipAmount)

Set the field value Formatted amount paid in tips
Parameters:
Name Type Description
tipAmount String | Null
Source: