Class: OrderCharge

Model~OrderCharge(data) → {void}

OrderCharge data model.

Constructor

new OrderCharge(data) → {void}

OrderCharge Constructor.

OrderCharge Constructor.

Parameters:
Name Type Description
data Object
Source:
Returns:
Type
void

Methods

getAmount() → {number}

Get amount.

Get amount.

Source:
Returns:
Type
number

getChargeId() → {number}

Get charge_id.

Get charge_id.

Source:
Returns:
Type
number

getDescription() → {string}

Get descrip.

Get descrip.

Source:
Returns:
Type
string

getDisplayAmount() → {number}

Get disp_amt.

Get disp_amt.

Source:
Returns:
Type
number

getModuleId() → {number}

Get module_id.

Get module_id.

Source:
Returns:
Type
number

getOrderId() → {number}

Get order_id.

Get order_id.

Source:
Returns:
Type
number

getTaxExempt() → {boolean}

Get tax_exempt.

Get tax_exempt.

Source:
Returns:
Type
boolean

getType() → {string}

Get type.

Get type.

Source:
Returns:
Type
string

setAmount(amount) → {OrderCharge}

Set amount.

Set amount.

Parameters:
Name Type Description
amount number
Source:
Returns:
Type
OrderCharge

setDescription(description) → {OrderCharge}

Set descrip.

Set descrip.

Parameters:
Name Type Description
description string
Source:
Returns:
Type
OrderCharge

setDisplayAmount(displayAmount) → {OrderCharge}

Set disp_amt.

Set disp_amt.

Parameters:
Name Type Description
displayAmount number
Source:
Returns:
Type
OrderCharge

setTaxExempt(taxExempt) → {OrderCharge}

Set tax_exempt.

Set tax_exempt.

Parameters:
Name Type Description
taxExempt boolean
Source:
Returns:
Type
OrderCharge

setType(type) → {OrderCharge}

Set type.

Set type.

Parameters:
Name Type Description
type string
Source:
Returns:
Type
OrderCharge