Click or drag to resize

DiscountForOrderItem Class

Describes discount for specific order item like IOrderRootItem, modifier IOrderModifierItem or compound product component IOrderCompoundItemComponent.
Inheritance Hierarchy
SystemObject
  Resto.Front.Api.Data.OrdersDiscountForOrderItem

Namespace: Resto.Front.Api.Data.Orders
Assembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntax
C#
[SerializableAttribute]
public class DiscountForOrderItem

The DiscountForOrderItem type exposes the following members.

Constructors
 NameDescription
Public methodDiscountForOrderItem Initializes a new instance of the DiscountForOrderItem class.
Top
Properties
 NameDescription
Public propertyAmount The discount amount is a part of the dish amount that this discount applies to. The discount amount is equal to the dish amount if the discount applies to the whole item, otherwise the discount amount must be between zero and the dish amount.
Public propertyOrderItemId Order item id.
Public propertySum Sum of discount.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also