Class: PriceGroup

Model~PriceGroup(data) → {void}

PriceGroup data model.

Constructor

new PriceGroup(data) → {void}

PriceGroup Constructor.

PriceGroup Constructor.

Parameters:
Name Type Description
data Object
Source:
Returns:
Type
void

Members

(static, constant) ELIGIBILITY_ALL

Constant ELIGIBILITY_ALL

.

Constant ELIGIBILITY_ALL

Source:

(static, constant) ELIGIBILITY_COUPON

Constant ELIGIBILITY_COUPON

.

Constant ELIGIBILITY_COUPON

Source:

(static, constant) ELIGIBILITY_CUSTOMER

Constant ELIGIBILITY_CUSTOMER

.

Constant ELIGIBILITY_CUSTOMER

Source:

(static, constant) ELIGIBILITY_LOGGED_IN

Constant ELIGIBILITY_LOGGED_IN

.

Constant ELIGIBILITY_LOGGED_IN

Source:

Methods

getBasketMaximumQuantity() → {number}

Get bmx_quan.

Get bmx_quan.

Source:
Returns:
Type
number

getBasketMaximumSubtotal() → {number}

Get bmx_subtot.

Get bmx_subtot.

Source:
Returns:
Type
number

getBasketMaximumWeight() → {number}

Get bmx_weight.

Get bmx_weight.

Source:
Returns:
Type
number

getBasketMinimumQuantity() → {number}

Get bmn_quan.

Get bmn_quan.

Source:
Returns:
Type
number

getBasketMinimumSubtotal() → {number}

Get bmn_subtot.

Get bmn_subtot.

Source:
Returns:
Type
number

getBasketMinimumWeight() → {number}

Get bmn_weight.

Get bmn_weight.

Source:
Returns:
Type
number

getCapabilities() → {DiscountModuleCapabilities|*}

Get capabilities.

Get capabilities.

Source:
Returns:
Type
DiscountModuleCapabilities | *

getCustomerScope() → {string}

Get custscope.

Get custscope.

Source:
Returns:
Type
string

getDateTimeEnd() → {number}

Get dt_end.

Get dt_end.

Source:
Returns:
Type
number

getDateTimeStart() → {number}

Get dt_start.

Get dt_start.

Source:
Returns:
Type
number

getDescription() → {string}

Get descrip.

Get descrip.

Source:
Returns:
Type
string

getDiscount() → {number}

Get discount.

Get discount.

Source:
Returns:
Type
number

getDisplay() → {boolean}

Get display.

Get display.

Source:
Returns:
Type
boolean

getExclusion() → {boolean}

Get exclusion.

Get exclusion.

Source:
Returns:
Type
boolean

getId() → {number}

Get id.

Get id.

Source:
Returns:
Type
number

getMarkup() → {number}

Get markup.

Get markup.

Source:
Returns:
Type
number

getMaximumQuantity() → {number}

Get qmx_quan.

Get qmx_quan.

Source:
Returns:
Type
number

getMaximumSubtotal() → {number}

Get qmx_subtot.

Get qmx_subtot.

Source:
Returns:
Type
number

getMaximumWeight() → {number}

Get qmx_weight.

Get qmx_weight.

Source:
Returns:
Type
number

getMinimumQuantity() → {number}

Get qmn_quan.

Get qmn_quan.

Source:
Returns:
Type
number

getMinimumSubtotal() → {number}

Get qmn_subtot.

Get qmn_subtot.

Source:
Returns:
Type
number

getMinimumWeight() → {number}

Get qmn_weight.

Get qmn_weight.

Source:
Returns:
Type
number

getModule() → {Module|*}

Get module.

Get module.

Source:
Returns:
Type
Module | *

getName() → {string}

Get name.

Get name.

Source:
Returns:
Type
string

getPriority() → {number}

Get priority.

Get priority.

Source:
Returns:
Type
number

setBasketMaximumQuantity(basketMaximumQuantity) → {PriceGroup}

Set bmx_quan.

Set bmx_quan.

Parameters:
Name Type Description
basketMaximumQuantity number
Source:
Returns:
Type
PriceGroup

setBasketMaximumSubtotal(basketMaximumSubtotal) → {PriceGroup}

Set bmx_subtot.

Set bmx_subtot.

Parameters:
Name Type Description
basketMaximumSubtotal number
Source:
Returns:
Type
PriceGroup

setBasketMaximumWeight(basketMaximumWeight) → {PriceGroup}

Set bmx_weight.

Set bmx_weight.

Parameters:
Name Type Description
basketMaximumWeight number
Source:
Returns:
Type
PriceGroup

setBasketMinimumQuantity(basketMinimumQuantity) → {PriceGroup}

Set bmn_quan.

Set bmn_quan.

Parameters:
Name Type Description
basketMinimumQuantity number
Source:
Returns:
Type
PriceGroup

setBasketMinimumSubtotal(basketMinimumSubtotal) → {PriceGroup}

Set bmn_subtot.

Set bmn_subtot.

Parameters:
Name Type Description
basketMinimumSubtotal number
Source:
Returns:
Type
PriceGroup

setBasketMinimumWeight(basketMinimumWeight) → {PriceGroup}

Set bmn_weight.

Set bmn_weight.

Parameters:
Name Type Description
basketMinimumWeight number
Source:
Returns:
Type
PriceGroup

setCustomerScope(customerScope) → {PriceGroup}

Set custscope.

Set custscope.

Parameters:
Name Type Description
customerScope string
Source:
Returns:
Type
PriceGroup

setDateTimeEnd(dateTimeEnd) → {PriceGroup}

Set dt_end.

Set dt_end.

Parameters:
Name Type Description
dateTimeEnd Date | number
Source:
Returns:
Type
PriceGroup

setDateTimeStart(dateTimeStart) → {PriceGroup}

Set dt_start.

Set dt_start.

Parameters:
Name Type Description
dateTimeStart Date | number
Source:
Returns:
Type
PriceGroup

setDescription(description) → {PriceGroup}

Set descrip.

Set descrip.

Parameters:
Name Type Description
description string
Source:
Returns:
Type
PriceGroup

setDiscount(discount) → {PriceGroup}

Set discount.

Set discount.

Parameters:
Name Type Description
discount number
Source:
Returns:
Type
PriceGroup

setDisplay(display) → {PriceGroup}

Set display.

Set display.

Parameters:
Name Type Description
display boolean
Source:
Returns:
Type
PriceGroup

setExclusion(exclusion) → {PriceGroup}

Set exclusion.

Set exclusion.

Parameters:
Name Type Description
exclusion boolean
Source:
Returns:
Type
PriceGroup

setMaximumQuantity(maximumQuantity) → {PriceGroup}

Set qmx_quan.

Set qmx_quan.

Parameters:
Name Type Description
maximumQuantity number
Source:
Returns:
Type
PriceGroup

setMaximumSubtotal(maximumSubtotal) → {PriceGroup}

Set qmx_subtot.

Set qmx_subtot.

Parameters:
Name Type Description
maximumSubtotal number
Source:
Returns:
Type
PriceGroup

setMaximumWeight(maximumWeight) → {PriceGroup}

Set qmx_weight.

Set qmx_weight.

Parameters:
Name Type Description
maximumWeight number
Source:
Returns:
Type
PriceGroup

setMinimumQuantity(minimumQuantity) → {PriceGroup}

Set qmn_quan.

Set qmn_quan.

Parameters:
Name Type Description
minimumQuantity number
Source:
Returns:
Type
PriceGroup

setMinimumSubtotal(minimumSubtotal) → {PriceGroup}

Set qmn_subtot.

Set qmn_subtot.

Parameters:
Name Type Description
minimumSubtotal number
Source:
Returns:
Type
PriceGroup

setMinimumWeight(minimumWeight) → {PriceGroup}

Set qmn_weight.

Set qmn_weight.

Parameters:
Name Type Description
minimumWeight number
Source:
Returns:
Type
PriceGroup

setModule(module) → {PriceGroup}

Set module.

Set module.

Parameters:
Name Type Description
module Module | Object
Source:
Throws:
Error
Returns:
Type
PriceGroup

setPriority(priority) → {PriceGroup}

Set priority.

Set priority.

Parameters:
Name Type Description
priority number
Source:
Returns:
Type
PriceGroup

toObject()

Source: