Class BasketLineItem
Represents a line item in a Basket.
[JsonObject(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
public class BasketLineItem : IEntity
- Inheritance
-
BasketLineItem
- Implements
- Inherited Members
Properties
Basket
public Basket Basket { get; }
Property Value
BasketId
public Guid BasketId { get; }
Property Value
CreatedAt
public DateTime CreatedAt { get; set; }
Property Value
CustomisationFields
public IReadOnlyDictionary<string, string>? CustomisationFields { get; set; }
Property Value
Id
public Guid Id { get; set; }
Property Value
ProductSku
public string ProductSku { get; }
Property Value
Quantity
public int Quantity { get; }
Property Value
Tax
[Column(TypeName = "DECIMAL(19, 4)")]
public decimal Tax { get; }
Property Value
TaxFormatted
public string TaxFormatted { 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
TotalShippingPriceFormatted
public string TotalShippingPriceFormatted { get; }
Property Value
UnitPrice
[Column(TypeName = "DECIMAL(19, 4)")]
public decimal UnitPrice { get; }
Property Value
UnitPriceFormatted
public string UnitPriceFormatted { get; }
Property Value
UpdatedAt
public DateTime? UpdatedAt { get; set; }