Click or drag to resize
Discount Properties

The Discount type exposes the following members.

Properties
  NameDescription
Public propertyCouponCodes
Returns coupon codes associated with this discount.
Public propertyDiscountApplyFurtherDiscounts
Indicates that further discounts (in order of DiscountOrder) are to be processed.
Public propertyDiscountCustomerRestriction
Type of discount customer restriction.
Public propertyDiscountDescription
Discount description.
Public propertyDiscountDisplayName
Discount display name.
Public propertyDiscountEnabled
Discount enabled.
Public propertyDiscountGUID
Discount GUID.
Public propertyDiscountID
Discount ID.
Public propertyDiscountIsFlat
True - discount value is flat, False - discount value is relative. Used for discount calculation in the shopping cart.
Public propertyDiscountLastModified
Discount last modified date and time.
Public propertyDiscountName
Discount name.
Public propertyDiscountOrder
Order of this discount among other discounts.
Public propertyDiscountRoles
Discount roles to apply discount for. Is dependable on DiscountCustomerRestriction configuration.
Public propertyDiscountSiteID
Discount site ID.
Public propertyDiscountStatus
Discount status.
Public propertyDiscountType
Gets the type of the discount.
Public propertyDiscountUsesCoupons
Indicates if this discount is applicable only with discount coupon.
Public propertyDiscountValidFrom
Discount valid from.
Public propertyDiscountValidTo
Discount valid to.
Public propertyDiscountValue
Discount value.
Public propertyHasOrUsesCoupon
Indicates if discount uses coupon or has some coupons defined.
Public propertyIsRunning
Determines whether discount is currently running. ValidFrom and ValidTo properties are compared to current date/time.
Public propertyIsValid
Determines whether discount is valid. Discount must be currently running and have usable coupon codes if discount uses coupons.
Top
See Also