Class: CouponPriceGroupListLoadQuery

Request~CouponPriceGroupListLoadQuery(clientnullable, couponnullable)

Handles API Request CouponPriceGroupList_Load_Query. Scope: Store.

Constructor

new CouponPriceGroupListLoadQuery(clientnullable, couponnullable)

CouponPriceGroupListLoadQuery Constructor.

CouponPriceGroupListLoadQuery Constructor.

Parameters:
Name Type Attributes Default Description
client Client <nullable>
coupon Coupon <nullable>
null
Source:
See:

Methods

createResponse() → {Response}

Create a response object from the response data.

Create a response object from the response data.

Source:
Returns:
Type
Response

getAssigned() → {boolean}

Get Assigned.

Get Assigned.

Source:
Returns:
Type
boolean

getCouponCode() → {string}

Get Coupon_Code.

Get Coupon_Code.

Source:
Returns:
Type
string

getCouponId() → {number}

Get Coupon_ID.

Get Coupon_ID.

Source:
Returns:
Type
number

getEditCoupon() → {string}

Get Edit_Coupon.

Get Edit_Coupon.

Source:
Returns:
Type
string

getUnassigned() → {boolean}

Get Unassigned.

Get Unassigned.

Source:
Returns:
Type
boolean

setAssigned(assigned) → {CouponPriceGroupListLoadQuery}

Set Assigned.

Set Assigned.

Parameters:
Name Type Description
assigned boolean
Source:
Returns:
Type
CouponPriceGroupListLoadQuery

setCouponCode(couponCode) → {CouponPriceGroupListLoadQuery}

Set Coupon_Code.

Set Coupon_Code.

Parameters:
Name Type Description
couponCode string
Source:
Returns:
Type
CouponPriceGroupListLoadQuery

setCouponId(couponId) → {CouponPriceGroupListLoadQuery}

Set Coupon_ID.

Set Coupon_ID.

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

setEditCoupon(editCoupon) → {CouponPriceGroupListLoadQuery}

Set Edit_Coupon.

Set Edit_Coupon.

Parameters:
Name Type Description
editCoupon string
Source:
Returns:
Type
CouponPriceGroupListLoadQuery

setUnassigned(unassigned) → {CouponPriceGroupListLoadQuery}

Set Unassigned.

Set Unassigned.

Parameters:
Name Type Description
unassigned boolean
Source:
Returns:
Type
CouponPriceGroupListLoadQuery

toObject() → {Object}

Reduce the request to a an object.

Reduce the request to a an object.

Source:
Returns:
Type
Object