namespace Nop.Core.Domain.Orders; /// /// Represents an order item /// public partial class OrderItem : BaseEntity { /// /// Gets or sets the order item identifier /// public Guid OrderItemGuid { get; set; } /// /// Gets or sets the order identifier /// public int OrderId { get; set; } /// /// Gets or sets the product identifier /// public int ProductId { get; set; } /// /// Gets or sets the quantity /// public int Quantity { get; set; } /// /// Gets or sets the unit price in primary store currency (include tax) /// public decimal UnitPriceInclTax { get; set; } /// /// Gets or sets the unit price in primary store currency (exclude tax) /// public decimal UnitPriceExclTax { get; set; } /// /// Gets or sets the price in primary store currency (include tax) /// public decimal PriceInclTax { get; set; } /// /// Gets or sets the price in primary store currency (exclude tax) /// public decimal PriceExclTax { get; set; } /// /// Gets or sets the discount amount (include tax) /// public decimal DiscountAmountInclTax { get; set; } /// /// Gets or sets the discount amount (exclude tax) /// public decimal DiscountAmountExclTax { get; set; } /// /// Gets or sets the original cost of this order item (when an order was placed), qty 1 /// public decimal OriginalProductCost { get; set; } /// /// Gets or sets the attribute description /// public string AttributeDescription { get; set; } /// /// Gets or sets the product attributes in XML format /// public string AttributesXml { get; set; } /// /// Gets or sets the download count /// public int DownloadCount { get; set; } /// /// Gets or sets a value indicating whether download is activated /// public bool IsDownloadActivated { get; set; } /// /// Gets or sets a license download identifier (in case this is a downloadable product) /// public int? LicenseDownloadId { get; set; } /// /// Gets or sets the total weight of one item /// It's nullable for compatibility with the previous version of nopCommerce where was no such property /// public decimal? ItemWeight { get; set; } /// /// Gets or sets the rental product start date (null if it's not a rental product) /// public DateTime? RentalStartDateUtc { get; set; } /// /// Gets or sets the rental product end date (null if it's not a rental product) /// public DateTime? RentalEndDateUtc { get; set; } }