Table of Contents

Class BasketLineItem

Namespace
Rescope.Commerce.Core.Entities
Assembly
Rescope.Commerce.Core.dll

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

Basket

BasketId

public Guid BasketId { get; }

Property Value

Guid

CreatedAt

public DateTime CreatedAt { get; set; }

Property Value

DateTime

CustomisationFields

public IReadOnlyDictionary<string, string>? CustomisationFields { get; set; }

Property Value

IReadOnlyDictionary<string, string>

Id

public Guid Id { get; set; }

Property Value

Guid

ProductSku

public string ProductSku { get; }

Property Value

string

Quantity

public int Quantity { get; }

Property Value

int

Tax

[Column(TypeName = "DECIMAL(19, 4)")]
public decimal Tax { get; }

Property Value

decimal

TaxFormatted

public string TaxFormatted { get; }

Property Value

string

TotalPrice

[Column(TypeName = "DECIMAL(19, 4)")]
public decimal TotalPrice { get; }

Property Value

decimal

TotalPriceFormatted

public string TotalPriceFormatted { get; }

Property Value

string

TotalShippingPrice

[Column(TypeName = "DECIMAL(19, 4)")]
public decimal? TotalShippingPrice { get; }

Property Value

decimal?

TotalShippingPriceFormatted

public string TotalShippingPriceFormatted { get; }

Property Value

string

UnitPrice

[Column(TypeName = "DECIMAL(19, 4)")]
public decimal UnitPrice { get; }

Property Value

decimal

UnitPriceFormatted

public string UnitPriceFormatted { get; }

Property Value

string

UpdatedAt

public DateTime? UpdatedAt { get; set; }

Property Value

DateTime?