Class SubscriptionLineItem
Represents a line item in a Basket.
[JsonObject(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
public class SubscriptionLineItem : IEntity, IRescopeEntity
- Inheritance
-
SubscriptionLineItem
- Implements
- Inherited Members
Properties
CustomisationFields
public IReadOnlyDictionary<string, string>? CustomisationFields { get; set; }
Property Value
Id
public Guid Id { 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
Subscription
[JsonIgnore]
public Subscription Subscription { get; set; }
Property Value
SubscriptionId
public Guid SubscriptionId { get; set; }
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; }