BasketLine Class
Basket line for validation.
Backward compatibility of the constructor is not guaranteed.

Properties
Quantity
public decimal Quantity { get; }
The quantity of products/variants ordered in this line.
VariationId
public string? VariationId { get; }
ID of the variant.
ProductId
public string ProductId { get; }
ID of the product.
IsVariant
public bool IsVariant { get; }
Indicates this product is a variant.
ProductTitle
public string ProductTitle { get; }
The title of the product when basket was saved.
VariantTitle
public string? VariantTitle { get; }
The variant title of the product when basket was saved.
UnitOfMeasureId
public string? UnitOfMeasureId { get; }
The unit of measure.
UnitOfMeasureDescription
public string? UnitOfMeasureDescription { get; }
The unit of measure description.
Price
public decimal Price { get; }
The unit price of the variant or product.
SubTotal
public decimal SubTotal { get; }
The total price of the line. This includes all products in this line and generally will be Quantity * Price.
BaseSalesPrice
public decimal? BaseSalesPrice { get; }
The base sales price of the line.
DiscountAmount
public decimal DiscountAmount { get; }
The discount amount on this line.
DiscountPercentage
public decimal DiscountPercentage { get; }
The discount percentage.
TaxPercent
public decimal TaxPercent { get; }
The tax percentage.
Inventory
public decimal? Inventory { get; }
The remaining inventory of items on this line in stock.
Height
public decimal? Height { get; }
The combined height measure of items on this line.
Length
public decimal? Length { get; }
The combined length measure of items on this line.
Width
public decimal? Width { get; }
The combined width measure of items on this line.
GrossWeight
public decimal GrossWeight { get; }
The combined gross weight of items on this line.
ConfigurationId
public long? ConfigurationId { get; }
The ID of the configuration associated with this line as created by a product configurator.
SalesAgreementLine
public AppliedSalesAgreementLine? SalesAgreementLine { get; }
The applied sales agreement line information for this basket line.
ProductDiscountCode
public string? ProductDiscountCode { get; }
The code of the product discount.
IsSupplementary
public bool IsSupplementary { get; }
The value indicating whether this line contains a product that is added automatically to the user's basket by ERP based on some marketing rules defined in ERP.
ProductAttributes
public IReadOnlyList<ProductAddonField> ProductAttributes { get; }
The add-on product fields containing extra information about the product associated with the basket line.