IDiscountItem Interface |
Namespace: Resto.Front.Api.Data.Orders
public interface IDiscountItem : ISerializable
The IDiscountItem type exposes the following members.
Name | Description | |
---|---|---|
DiscountPaymentItem | Payment 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. | |
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.) |