OrderLineReadOnly
A Vendr read only Order Line entity
public class OrderLineReadOnly : EntityBase<OrderLineState>, IHasReadableOrderLines,
IHasReadableProperties
Inheritance
- class EntityBase<TState>
- interface IHasReadableOrderLines
- interface IHasReadableProperties
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; }