Constructor
new OrderCoupon(data) → {void}
OrderCoupon Constructor.
OrderCoupon Constructor.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object |
Returns:
- Type
- void
Methods
getCode() → {string}
Get code.
Get code.
Returns:
- Type
- string
getCouponId() → {number}
Get coupon_id.
Get coupon_id.
Returns:
- Type
- number
getDescription() → {string}
Get descrip.
Get descrip.
Returns:
- Type
- string
getOrderId() → {number}
Get order_id.
Get order_id.
Returns:
- Type
- number
getTotal() → {number}
Get total.
Get total.
Returns:
- Type
- number