Constructor
new OrderTotal(data) → {void}
OrderTotal Constructor.
OrderTotal Constructor.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object |
Returns:
- Type
- void
Methods
getFormattedTotal() → {string}
Get formatted_total.
Get formatted_total.
Returns:
- Type
- string
getTotal() → {number}
Get total.
Get total.
Returns:
- Type
- number