Readonly
cartOptional
Readonly
customCustom Fields of the CartDiscount.
Optional
Readonly
descriptionDescription of the CartDiscount.
Optional
Readonly
isOnly active Discounts can be applied to the Cart.
Optional
Readonly
keyUser-defined unique identifier for the CartDiscount.
Readonly
nameName of the CartDiscount.
Optional
Readonly
requiresStates whether the Discount can only be used in a connection with a DiscountCode.
Readonly
sortValue between 0
and 1
.
A Discount with a higher sortOrder is prioritized.
The sort order must be unambiguous among all CartDiscounts.
Optional
Readonly
stackingSpecifies whether the application of this discount causes the following discounts to be ignored.
Optional
Readonly
targetMust not be set when the value
has type giftLineItem
, otherwise a CartDiscountTarget must be set.
Optional
Readonly
validDate and time (UTC) from which the Discount is effective.
Optional
Readonly
validDate and time (UTC) until which the Discount is effective.
Readonly
valueEffect of the CartDiscount. For a target, relative or absolute Discount values or a fixed item Price value can be specified. If no target is specified, a Gift Line Item can be added to the Cart.
Generated using TypeDoc
Valid Cart Predicate.