IDiscountItem Interface |
Namespace: Resto.Front.Api.Data.Orders
public interface IDiscountItem : ISerializable
The IDiscountItem type exposes the following members.
Name | Description | |
---|---|---|
DiscountType | Type of the discount item. | |
IsSelectivelyApplied | Whether 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. |
Name | Description | |
---|---|---|
GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. (Inherited from ISerializable.) |