NameDescriptionTypeAdditional information
flexNegative

Indicates whether or not the discount was partially applied to prevent a price below zero. FLEXED = Flexed NOT_FLEXED = Not flexed FLEXED_COUPON_APPLIED = Flexed (Manufacturer Coupon Applied) FLEXED_COUPON_NOT_APPLIED = Flexed (No Manufacturer Coupon Applied) FLEXED_WITH_GO_NEGATIVE = Flexed with Go Negative FLEXED_GO_NEGATIVE_COUPON_APPLIED = Flexed - Go Negative (Manufacturer Coupon Applied)

PesFlexType

None.

amount

Amount given out as discount

decimal number

None.

quantity

QuantityData on which the discount should be applied

PesQuantityData

None.

matchNetUnitPrice

Match items with the net unit price

decimal number

None.

unitCalculateAmount

DiscountReward amount per unit discounted

decimal number

None.

returnsAmount

Amount to be return it item is returned back;

decimal number

None.

fundingDepts

Department which DiscountReward is assigned

Collection of PesFundingData

None.

isApplyMarkup

Is the discount for the marked up value

boolean

None.

isReturnsProration

Is this discount for returns proration

boolean

None.

subSequenceIds

Subsequence ids, List of unit elements on which the discount is applied

Collection of integer

None.

triggeredItems

List of triggered items on which the discount is applied

Collection of PesTriggeredItemData

None.

isApplyAsTender

Is this discount to be treated as tender

boolean

None.

rewardLimit

If the reward can be used more than once, this denotes the maximum number of uses

integer

None.

receiptText

Default text that should be printed on the receipt with this specific discount

string

None.

localizedReceiptText

Localized version of the receiptData field

Collection of PesLocalizedTextData

None.

requiresPrompt

Indicates if this discount should trigger a prompt before being applied. May be a boolean prompt to apply/not apply the discount, or a multi select prompt to pick from a list of discounts by promotion ID.

boolean

None.

promptId

If requiresPrompt is true, ID of the prompt that should be triggered before the discount is applied.

string

None.