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.V7 (in Resto.Front.Api.V7.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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also