Class: CouponPriceGroupUpdateAssigned

Request~CouponPriceGroupUpdateAssigned(clientnullable, couponnullable)

Handles API Request CouponPriceGroup_Update_Assigned. Scope: Store.

Constructor

new CouponPriceGroupUpdateAssigned(clientnullable, couponnullable)

CouponPriceGroupUpdateAssigned Constructor.

CouponPriceGroupUpdateAssigned 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

getPriceGroupId() → {number}

Get PriceGroup_ID.

Get PriceGroup_ID.

Source:
Returns:
Type
number

getPriceGroupName() → {string}

Get PriceGroup_Name.

Get PriceGroup_Name.

Source:
Returns:
Type
string

setAssigned(assigned) → {CouponPriceGroupUpdateAssigned}

Set Assigned.

Set Assigned.

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

setCouponCode(couponCode) → {CouponPriceGroupUpdateAssigned}

Set Coupon_Code.

Set Coupon_Code.

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

setCouponId(couponId) → {CouponPriceGroupUpdateAssigned}

Set Coupon_ID.

Set Coupon_ID.

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

setEditCoupon(editCoupon) → {CouponPriceGroupUpdateAssigned}

Set Edit_Coupon.

Set Edit_Coupon.

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

setPriceGroupId(priceGroupId) → {CouponPriceGroupUpdateAssigned}

Set PriceGroup_ID.

Set PriceGroup_ID.

Parameters:
Name Type Description
priceGroupId number
Source:
Returns:
Type
CouponPriceGroupUpdateAssigned

setPriceGroupName(priceGroupName) → {CouponPriceGroupUpdateAssigned}

Set PriceGroup_Name.

Set PriceGroup_Name.

Parameters:
Name Type Description
priceGroupName string
Source:
Returns:
Type
CouponPriceGroupUpdateAssigned

toObject() → {Object}

Reduce the request to a an object.

Reduce the request to a an object.

Source:
Returns:
Type
Object