Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

OrderLineReadOnly

API reference for OrderLineReadOnly in Vendr, the eCommerce solution for Umbraco v8+

OrderLineReadOnly

A Vendr read only Order Line entity

public class OrderLineReadOnly : EntityBase<OrderLineState>, IHasReadableOrderLines, 
    IHasReadableProperties

Inheritance

Namespace

Properties

BundleId

Gets bundle ID of the of the order line

public string BundleId { get; }

CopiedFromOrderLineId

Gets the ID of a parent order line this order line was copied from

public Guid? CopiedFromOrderLineId { get; }

Name

Gets the name of the product of the order line

public string Name { get; }

OrderId

Gets the ID of the Order this entity belongs to

public Guid OrderId { get; }

OrderLines

Gets the child order lines of the order line

public IReadOnlyCollection<OrderLineReadOnly> OrderLines { get; }

ProductReference

Gets the unique product reference of the product of the order line

public string ProductReference { get; }

Properties

Gets the properties of the order line

public IReadOnlyDictionary<string, PropertyValue> Properties { get; }

Quantity

Gets the quantity of the product of the order line

public decimal Quantity { get; }

Sku

Gets the unique SKU of the product of the order line

public string Sku { get; }

StoreId

Gets the ID of the Store this entity belongs to

public Guid StoreId { get; }

TaxClassId

Gets ID of the TaxClass of the order line

public Guid? TaxClassId { get; }

TaxRate

Gets the TaxRate of the order line

public TaxRate TaxRate { get; }

TotalPrice

Gets the total price of the order line

public ReadOnlyOrderLineTotalPrice TotalPrice { get; }

UnitPrice

Gets the unit price of the order line

public ReadOnlyOrderLineUnitPrice UnitPrice { get; }

Edit this page on GitHub

Site + logo design © 2025 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.