Click or drag to resize

IDiscountItem Properties

The IDiscountItem type exposes the following members.

Properties
 NameDescription
Public propertyDiscountPaymentItemPayment item from Payments processed or fiscalized as discount from which this discount item was created. null if disount item was not created from payment item.
Public propertyDiscountTypeType of the discount item.
Public propertyIsSelectivelyAppliedWhether this discount item is applied selectively to some order items. If true, use TryGetSelectiveDiscountItemSettings(IOrder, IDiscountItem) to get or ChangeSelectiveDiscount(IOrderStub, IDiscountType, IReadOnlyListIOrderProductItemStub, IReadOnlyListIOrderModifierItemStub, IReadOnlyListIOrderCompoundItemComponentStub) to change list of selected order items.
Top
See Also