Discount Properties |
The Discount type exposes the following members.
Name | Description | |
---|---|---|
CouponCodes |
Returns coupon codes associated with this discount.
| |
DiscountApplyFurtherDiscounts |
Indicates that further discounts (in order of DiscountOrder) are to be processed.
| |
DiscountCustomerRestriction |
Type of discount customer restriction.
| |
DiscountDescription |
Discount description.
| |
DiscountDisplayName |
Discount display name.
| |
DiscountEnabled |
Discount enabled.
| |
DiscountGUID |
Discount GUID.
| |
DiscountID |
Discount ID.
| |
DiscountIsFlat |
True - discount value is flat, False - discount value is relative. Used for discount calculation in the shopping cart.
| |
DiscountLastModified |
Discount last modified date and time.
| |
DiscountName |
Discount name.
| |
DiscountOrder |
Order of this discount among other discounts.
| |
DiscountRoles |
Discount roles to apply discount for. Is dependable on DiscountCustomerRestriction configuration.
| |
DiscountSiteID |
Discount site ID.
| |
DiscountStatus |
Discount status.
| |
DiscountType |
Gets the type of the discount.
| |
DiscountUsesCoupons |
Indicates if this discount is applicable only with discount coupon.
| |
DiscountValidFrom |
Discount valid from.
| |
DiscountValidTo |
Discount valid to.
| |
DiscountValue |
Discount value.
| |
HasOrUsesCoupon |
Indicates if discount uses coupon or has some coupons defined.
| |
IsRunning |
Determines whether discount is currently running. ValidFrom and ValidTo properties are compared to current date/time.
| |
IsValid |
Determines whether discount is valid. Discount must be currently running and have usable coupon codes if discount uses coupons.
|