Class: CouponListDelete

Request~CouponListDelete(clientnullable)

Handles API Request CouponList_Delete. Scope: Store.

Constructor

new CouponListDelete(clientnullable)

CouponListDelete Constructor.

CouponListDelete Constructor.

Parameters:
Name Type Attributes Description
client Client <nullable>
Source:
See:

Methods

addCoupon(coupon) → {CouponListDelete}

Add Coupon model.

Add Coupon model.

Parameters:
Name Type Description
coupon Coupon
Source:
Throws:
Error
Returns:
Type
CouponListDelete

addCouponId(couponId) → {CouponListDelete}

Add Coupon_IDs.

Add Coupon_IDs.

Parameters:
Name Type Description
couponId number
Source:
Returns:
Type
CouponListDelete

createResponse() → {Response}

Create a response object from the response data.

Create a response object from the response data.

Source:
Returns:
Type
Response

getCouponIds() → {Array}

Get Coupon_IDs.

Get Coupon_IDs.

Source:
Returns:
Type
Array

toObject() → {Object}

Reduce the request to a an object.

Reduce the request to a an object.

Source:
Returns:
Type
Object