Click or drag to resize

IAppliedDiscountItem Interface

The result of applying discount item, contains discount sums.

Namespace:  Resto.Front.Api.Data.Orders
Assembly:  Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
public interface IAppliedDiscountItem : ISerializable

The IAppliedDiscountItem type exposes the following members.

Properties
  NameDescription
Public propertyDiscount
The discount item.
Public propertyDiscountSum
Total discount sum given by the discount item for all order items.
Public propertyDiscountSumByOrderItemId
Discount sums given by the discount item for each order item (products, compounds, services and modifiers). Absence of some order item's id means zero discount for that item.
Public propertyIsRounding
Indicates that the discount was used to round off the order sum. Depending on the settings, rounding can be performed up or down for individual items as well as for the entire order.
Top
Methods
  NameDescription
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
(Inherited from ISerializable.)
Top
See Also