- OrderItem
OrderItem
Namespace: Middleware.Accounts.Orders
Assembly: Middleware
Represents an item within an Order created by a user. This is primarily used by IAccountProvider and the UserAccount.Plugin module.Constructors
#ctor(Int64,String,Decimal,Decimal,Decimal,Middleware.ItemStatus,SharedPluginFeatures.DiscountType,Decimal) | Constructor |
Properties
Id | Unique id of order item. |
Order | Order the item belongs to. |
Description | Description of item. |
Price | Price of the item. |
TaxRate | Rate of tax applied to the item within an order. |
Quantity | Quantity of items within an order. |
Discount | Discount amount applied to the item. |
DiscountType | Type of discount applied to the item. |
Status | Current status of item within the order. |
Cost | Total + Tax |
TotalTax | Total Tax amount |
SubTotal | Sub total value for the item. |
TotalDiscount | Total discount for the item within the Order. |