PastOrderItem Class |
Namespace: Resto.Front.Api.Data.Orders
[SerializableAttribute] public class PastOrderItem : ISerializable
The PastOrderItem type exposes the following members.
| Name | Description | |
|---|---|---|
| PastOrderItem | Initializes a new instance of the PastOrderItem class | |
| PastOrderItem(SerializationInfo, StreamingContext) | Initializes a new instance of the PastOrderItem class |
| Name | Description | |
|---|---|---|
| Amount | Item amount. | |
| IsMainDish | true if item is a main dish, false if item is a modifier. | |
| Price | Item price. | |
| Product | Item product. | |
| ProductSize | Item product size if item is a main dish. | |
| SumWithDiscounts | Result sum with all discounts included. | |
| SumWithoutDiscounts | Full sum without any discounts. |
| 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.) | |
| GetObjectData | ||
| 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.) |