Skip to main content

DiscountType

Type of discount

enum DiscountType {
BUY_X_GET_Y
CATEGORY
CUSTOMER_TIER
FIXED_AMOUNT
LOYALTY
ORDER_TOTAL
PERCENTAGE
PRODUCT
SHIPPING
VOLUME_TIER
}

Values​

DiscountType.BUY_X_GET_Y​

Buy a number of items and get others free or cheaper.

DiscountType.CATEGORY​

A discount on a category.

DiscountType.CUSTOMER_TIER​

A discount for a customer tier.

DiscountType.FIXED_AMOUNT​

A fixed amount off.

DiscountType.LOYALTY​

A loyalty reward.

DiscountType.ORDER_TOTAL​

A discount based on the order total.

DiscountType.PERCENTAGE​

A percentage off.

DiscountType.PRODUCT​

A discount on a product.

DiscountType.SHIPPING​

A discount on shipping.

DiscountType.VOLUME_TIER​

A discount that grows with the quantity bought.

Member Of​

DiscountScheme object ● EffectiveTierInfo object