References of all resources that are addressed in the predicate.
The API generates this array from the predicate.
ReadonlyrequiresDiscountCode
requiresDiscountCode:boolean
Indicates if the Discount is used in connection with a DiscountCode.
ReadonlysortOrder
sortOrder:string
Value between 0 and 1.
All matching CartDiscounts are applied to a Cart in the order defined by this field.
A Discount with a higher sortOrder is prioritized.
The sort order is unambiguous among all CartDiscounts.
ReadonlystackingMode
stackingMode:string
Indicates whether the application of the CartDiscount causes other discounts to be ignored.
Readonlystores
stores:StoreKeyReference[]
If a value exists, the Cart Discount applies on Carts having a Store matching any Store defined for this field.
If empty, the Cart Discount applies on all Carts, irrespective of a Store.
OptionalReadonlytarget
target?:CartDiscountTarget
Segment of the Cart that is discounted.
Empty, ifthe`value`is`giftLineItem`.
OptionalReadonlyvalidFrom
validFrom?:string
Date and time (UTC) from which the Discount is effective.
OptionalReadonlyvalidUntil
validUntil?:string
Date and time (UTC) until which the Discount is effective.
Valid Cart Predicate.