Constructor
new OrderCharge(data) → {void}
OrderCharge Constructor.
OrderCharge Constructor.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object |
Returns:
- Type
- void
Methods
getAmount() → {number}
Get amount.
Get amount.
Returns:
- Type
- number
getChargeId() → {number}
Get charge_id.
Get charge_id.
Returns:
- Type
- number
getDescription() → {string}
Get descrip.
Get descrip.
Returns:
- Type
- string
getDisplayAmount() → {number}
Get disp_amt.
Get disp_amt.
Returns:
- Type
- number
getModuleId() → {number}
Get module_id.
Get module_id.
Returns:
- Type
- number
getOrderId() → {number}
Get order_id.
Get order_id.
Returns:
- Type
- number
getTaxExempt() → {boolean}
Get tax_exempt.
Get tax_exempt.
Returns:
- Type
- boolean
getType() → {string}
Get type.
Get type.
Returns:
- Type
- string
setAmount(amount) → {OrderCharge}
Set amount.
Set amount.
Parameters:
Name | Type | Description |
---|---|---|
amount |
number |
Returns:
- Type
- OrderCharge
setDescription(description) → {OrderCharge}
Set descrip.
Set descrip.
Parameters:
Name | Type | Description |
---|---|---|
description |
string |
Returns:
- Type
- OrderCharge
setDisplayAmount(displayAmount) → {OrderCharge}
Set disp_amt.
Set disp_amt.
Parameters:
Name | Type | Description |
---|---|---|
displayAmount |
number |
Returns:
- Type
- OrderCharge
setTaxExempt(taxExempt) → {OrderCharge}
Set tax_exempt.
Set tax_exempt.
Parameters:
Name | Type | Description |
---|---|---|
taxExempt |
boolean |
Returns:
- Type
- OrderCharge
setType(type) → {OrderCharge}
Set type.
Set type.
Parameters:
Name | Type | Description |
---|---|---|
type |
string |
Returns:
- Type
- OrderCharge