PriceRuleTrait

Version 2019-04

A list of features used by the price rule.

Show definition
"""
A list of features used by the price rule.
"""
enum PriceRuleTrait {
  """
  The price rule is a bulk discount price rule.
  """
  BULK
  """
  The price rule is a buy-one-get-one price rule.
  """
  BUY_ONE_GET_ONE
  """
  The price rule supports buy-one-get-one using custom allocation limit.
  """
  BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT
  """
  The price rule supports quantity discounts.
  """
  QUANTITY_DISCOUNTS
  """
  The price rule supports specific customers.
  """
  SPECIFIC_CUSTOMERS
}

Values

BULK

The price rule is a bulk discount price rule.

BUY_ONE_GET_ONE

The price rule is a buy-one-get-one price rule.

BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT

The price rule supports buy-one-get-one using custom allocation limit.

QUANTITY_DISCOUNTS

The price rule supports quantity discounts.

SPECIFIC_CUSTOMERS

The price rule supports specific customers.

Version 2019-07 (Latest)

A list of features used by the price rule.

Show definition
"""
A list of features used by the price rule.
"""
enum PriceRuleTrait {
  """
  The price rule is a bulk discount price rule.
  """
  BULK
  """
  The price rule is a buy-one-get-one price rule.
  """
  BUY_ONE_GET_ONE
  """
  The price rule supports buy-one-get-one using custom allocation limit.
  """
  BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT
  """
  The price rule supports quantity discounts.
  """
  QUANTITY_DISCOUNTS
  """
  The price rule supports specific customers.
  """
  SPECIFIC_CUSTOMERS
}

Values

BULK

The price rule is a bulk discount price rule.

BUY_ONE_GET_ONE

The price rule is a buy-one-get-one price rule.

BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT

The price rule supports buy-one-get-one using custom allocation limit.

QUANTITY_DISCOUNTS

The price rule supports quantity discounts.

SPECIFIC_CUSTOMERS

The price rule supports specific customers.

Version 2019-10 (Release candidate)

A list of features used by the price rule.

Show definition
"""
A list of features used by the price rule.
"""
enum PriceRuleTrait {
  """
  The price rule is a bulk discount price rule.
  """
  BULK
  """
  The price rule is a buy-one-get-one price rule.
  """
  BUY_ONE_GET_ONE
  """
  The price rule supports buy-one-get-one using custom allocation limit.
  """
  BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT
  """
  The price rule supports quantity discounts.
  """
  QUANTITY_DISCOUNTS
  """
  The price rule supports specific customers.
  """
  SPECIFIC_CUSTOMERS
}

Values

BULK

The price rule is a bulk discount price rule.

BUY_ONE_GET_ONE

The price rule is a buy-one-get-one price rule.

BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT

The price rule supports buy-one-get-one using custom allocation limit.

QUANTITY_DISCOUNTS

The price rule supports quantity discounts.

SPECIFIC_CUSTOMERS

The price rule supports specific customers.

Sign up for a Partner account to get started.

Sign up