Constructor
new PriceGroup(data) → {void}
PriceGroup Constructor.
PriceGroup Constructor.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object |
Returns:
- Type
- void
Members
(static, constant) ELIGIBILITY_ALL
Constant ELIGIBILITY_ALL
.Constant ELIGIBILITY_ALL
(static, constant) ELIGIBILITY_COUPON
Constant ELIGIBILITY_COUPON
.Constant ELIGIBILITY_COUPON
(static, constant) ELIGIBILITY_CUSTOMER
Constant ELIGIBILITY_CUSTOMER
.Constant ELIGIBILITY_CUSTOMER
(static, constant) ELIGIBILITY_LOGGED_IN
Constant ELIGIBILITY_LOGGED_IN
.Constant ELIGIBILITY_LOGGED_IN
Methods
getBasketMaximumQuantity() → {number}
Get bmx_quan.
Get bmx_quan.
Returns:
- Type
- number
getBasketMaximumSubtotal() → {number}
Get bmx_subtot.
Get bmx_subtot.
Returns:
- Type
- number
getBasketMaximumWeight() → {number}
Get bmx_weight.
Get bmx_weight.
Returns:
- Type
- number
getBasketMinimumQuantity() → {number}
Get bmn_quan.
Get bmn_quan.
Returns:
- Type
- number
getBasketMinimumSubtotal() → {number}
Get bmn_subtot.
Get bmn_subtot.
Returns:
- Type
- number
getBasketMinimumWeight() → {number}
Get bmn_weight.
Get bmn_weight.
Returns:
- Type
- number
getCapabilities() → {DiscountModuleCapabilities|*}
Get capabilities.
Get capabilities.
Returns:
- Type
- DiscountModuleCapabilities | *
getCustomerScope() → {string}
Get custscope.
Get custscope.
Returns:
- Type
- string
getDateTimeEnd() → {number}
Get dt_end.
Get dt_end.
Returns:
- Type
- number
getDateTimeStart() → {number}
Get dt_start.
Get dt_start.
Returns:
- Type
- number
getDescription() → {string}
Get descrip.
Get descrip.
Returns:
- Type
- string
getDiscount() → {number}
Get discount.
Get discount.
Returns:
- Type
- number
getDisplay() → {boolean}
Get display.
Get display.
Returns:
- Type
- boolean
getExclusion() → {boolean}
Get exclusion.
Get exclusion.
Returns:
- Type
- boolean
getId() → {number}
Get id.
Get id.
Returns:
- Type
- number
getMarkup() → {number}
Get markup.
Get markup.
Returns:
- Type
- number
getMaximumQuantity() → {number}
Get qmx_quan.
Get qmx_quan.
Returns:
- Type
- number
getMaximumSubtotal() → {number}
Get qmx_subtot.
Get qmx_subtot.
Returns:
- Type
- number
getMaximumWeight() → {number}
Get qmx_weight.
Get qmx_weight.
Returns:
- Type
- number
getMinimumQuantity() → {number}
Get qmn_quan.
Get qmn_quan.
Returns:
- Type
- number
getMinimumSubtotal() → {number}
Get qmn_subtot.
Get qmn_subtot.
Returns:
- Type
- number
getMinimumWeight() → {number}
Get qmn_weight.
Get qmn_weight.
Returns:
- Type
- number
getModule() → {Module|*}
Get module.
Get module.
Returns:
- Type
- Module | *
getName() → {string}
Get name.
Get name.
Returns:
- Type
- string
getPriority() → {number}
Get priority.
Get priority.
Returns:
- Type
- number
setBasketMaximumQuantity(basketMaximumQuantity) → {PriceGroup}
Set bmx_quan.
Set bmx_quan.
Parameters:
Name | Type | Description |
---|---|---|
basketMaximumQuantity |
number |
Returns:
- Type
- PriceGroup
setBasketMaximumSubtotal(basketMaximumSubtotal) → {PriceGroup}
Set bmx_subtot.
Set bmx_subtot.
Parameters:
Name | Type | Description |
---|---|---|
basketMaximumSubtotal |
number |
Returns:
- Type
- PriceGroup
setBasketMaximumWeight(basketMaximumWeight) → {PriceGroup}
Set bmx_weight.
Set bmx_weight.
Parameters:
Name | Type | Description |
---|---|---|
basketMaximumWeight |
number |
Returns:
- Type
- PriceGroup
setBasketMinimumQuantity(basketMinimumQuantity) → {PriceGroup}
Set bmn_quan.
Set bmn_quan.
Parameters:
Name | Type | Description |
---|---|---|
basketMinimumQuantity |
number |
Returns:
- Type
- PriceGroup
setBasketMinimumSubtotal(basketMinimumSubtotal) → {PriceGroup}
Set bmn_subtot.
Set bmn_subtot.
Parameters:
Name | Type | Description |
---|---|---|
basketMinimumSubtotal |
number |
Returns:
- Type
- PriceGroup
setBasketMinimumWeight(basketMinimumWeight) → {PriceGroup}
Set bmn_weight.
Set bmn_weight.
Parameters:
Name | Type | Description |
---|---|---|
basketMinimumWeight |
number |
Returns:
- Type
- PriceGroup
setCustomerScope(customerScope) → {PriceGroup}
Set custscope.
Set custscope.
Parameters:
Name | Type | Description |
---|---|---|
customerScope |
string |
Returns:
- Type
- PriceGroup
setDateTimeEnd(dateTimeEnd) → {PriceGroup}
Set dt_end.
Set dt_end.
Parameters:
Name | Type | Description |
---|---|---|
dateTimeEnd |
Date | number |
Returns:
- Type
- PriceGroup
setDateTimeStart(dateTimeStart) → {PriceGroup}
Set dt_start.
Set dt_start.
Parameters:
Name | Type | Description |
---|---|---|
dateTimeStart |
Date | number |
Returns:
- Type
- PriceGroup
setDescription(description) → {PriceGroup}
Set descrip.
Set descrip.
Parameters:
Name | Type | Description |
---|---|---|
description |
string |
Returns:
- Type
- PriceGroup
setDiscount(discount) → {PriceGroup}
Set discount.
Set discount.
Parameters:
Name | Type | Description |
---|---|---|
discount |
number |
Returns:
- Type
- PriceGroup
setDisplay(display) → {PriceGroup}
Set display.
Set display.
Parameters:
Name | Type | Description |
---|---|---|
display |
boolean |
Returns:
- Type
- PriceGroup
setExclusion(exclusion) → {PriceGroup}
Set exclusion.
Set exclusion.
Parameters:
Name | Type | Description |
---|---|---|
exclusion |
boolean |
Returns:
- Type
- PriceGroup
setMaximumQuantity(maximumQuantity) → {PriceGroup}
Set qmx_quan.
Set qmx_quan.
Parameters:
Name | Type | Description |
---|---|---|
maximumQuantity |
number |
Returns:
- Type
- PriceGroup
setMaximumSubtotal(maximumSubtotal) → {PriceGroup}
Set qmx_subtot.
Set qmx_subtot.
Parameters:
Name | Type | Description |
---|---|---|
maximumSubtotal |
number |
Returns:
- Type
- PriceGroup
setMaximumWeight(maximumWeight) → {PriceGroup}
Set qmx_weight.
Set qmx_weight.
Parameters:
Name | Type | Description |
---|---|---|
maximumWeight |
number |
Returns:
- Type
- PriceGroup
setMinimumQuantity(minimumQuantity) → {PriceGroup}
Set qmn_quan.
Set qmn_quan.
Parameters:
Name | Type | Description |
---|---|---|
minimumQuantity |
number |
Returns:
- Type
- PriceGroup
setMinimumSubtotal(minimumSubtotal) → {PriceGroup}
Set qmn_subtot.
Set qmn_subtot.
Parameters:
Name | Type | Description |
---|---|---|
minimumSubtotal |
number |
Returns:
- Type
- PriceGroup
setMinimumWeight(minimumWeight) → {PriceGroup}
Set qmn_weight.
Set qmn_weight.
Parameters:
Name | Type | Description |
---|---|---|
minimumWeight |
number |
Returns:
- Type
- PriceGroup
setModule(module) → {PriceGroup}
Set module.
Set module.
Parameters:
Name | Type | Description |
---|---|---|
module |
Module | Object |
Throws:
Returns:
- Type
- PriceGroup
setPriority(priority) → {PriceGroup}
Set priority.
Set priority.
Parameters:
Name | Type | Description |
---|---|---|
priority |
number |
Returns:
- Type
- PriceGroup