The following table displays properties for the discount item-descriptor:

Property Name

Type

Values

Description

oneUsePerOrder
(display name: One use per order)

boolean

true or false

Property used for shipping promotions only. It determines whether a shipping promotion can discount a single order multiple times. If set to true, then only one shipping group in the order can use the promotion. If set to false, then it is possible for each shipping group in the order to be discounted by the promotion.

pmdlRule
(display name: Discount rule)

big string

Any valid pmdlRule

Required. This is the PMDL rule describing the conditions under which this promotion should take effect.

pricingCalculator
Service
(display name: Pricing Calculator)

string

The calculator that computes and applies this promotion’s discount.

Note: This read-only property is no longer used, and is maintained only for backward compatibility.

adjuster
(display name: Discount Price, Amount or Percentage, depending on the discount type)

double

any double

Value by which the item is discounted. Works in conjunction with discountType to specify the discount to be applied. For example, an adjuster of 15 and a discountType of percentOff produce a discount of “15 percent off.”

Note: This property is no longer used, and is maintained only for backward compatibility.

discountType
(display name: Discount type)

string

percentOff, amountOff, fixedPrice

Read-only. The type of discount this promotion gives.


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices