Class: OrderCoupon

Model~OrderCoupon(data) → {void}

OrderCoupon data model.

Constructor

new OrderCoupon(data) → {void}

OrderCoupon Constructor.

OrderCoupon Constructor.

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

Methods

getCode() → {string}

Get code.

Get code.

Source:
Returns:
Type
string

getCouponId() → {number}

Get coupon_id.

Get coupon_id.

Source:
Returns:
Type
number

getDescription() → {string}

Get descrip.

Get descrip.

Source:
Returns:
Type
string

getOrderId() → {number}

Get order_id.

Get order_id.

Source:
Returns:
Type
number

getTotal() → {number}

Get total.

Get total.

Source:
Returns:
Type
number