DiscountForOrderItem Class |
Namespace: Resto.Front.Api.Data.Orders
[SerializableAttribute] public class DiscountForOrderItem
The DiscountForOrderItem type exposes the following members.
Name | Description | |
---|---|---|
DiscountForOrderItem |
Initializes a new instance of the DiscountForOrderItem class.
|
Name | Description | |
---|---|---|
Amount |
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.
| |
OrderItemId |
Order item id.
| |
Sum |
Sum of discount.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |