Class OrderLineItem
Represents a line item in a Basket.
[JsonObject(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
public class OrderLineItem : IEntity
- Inheritance
-
OrderLineItem
- Implements
- Inherited Members
Properties
CustomisationFields
public IReadOnlyDictionary<string, string>? CustomisationFields { get; set; }
Property Value
Id
public Guid Id { get; set; }
Property Value
Order
[JsonIgnore]
public Order Order { get; set; }
Property Value
OrderId
public Guid OrderId { get; set; }
Property Value
Product
[NotMapped]
public IProductOrVariant? Product { get; set; }
Property Value
ProductSku
public string ProductSku { get; set; }
Property Value
Quantity
public int Quantity { get; }
Property Value
Tax
[Column(TypeName = "DECIMAL(19, 4)")]
public decimal Tax { get; }
Property Value
TotalPrice
[Column(TypeName = "DECIMAL(19, 4)")]
public decimal TotalPrice { get; }
Property Value
TotalPriceFormatted
public string TotalPriceFormatted { get; }
Property Value
TotalShippingPrice
[Column(TypeName = "DECIMAL(19, 4)")]
public decimal? TotalShippingPrice { get; }
Property Value
UnitPrice
[Column(TypeName = "DECIMAL(19, 4)")]
public decimal UnitPrice { get; }
Property Value
UnitPriceFormatted
public string UnitPriceFormatted { get; }
Property Value
WasOutOfStock
public bool? WasOutOfStock { get; set; }
Property Value
- bool?