Skip to main content

OrderLineReference

This entity represents a line from an Order which has been fulfilled by a Fulfillment.

Signature
class FulfillmentLine extends OrderLineReference {    constructor(input?: DeepPartial<FulfillmentLine>)    @Index()    @ManyToOne(type => Fulfillment, fulfillment => fulfillment.lines)    fulfillment: Fulfillment;    @EntityId()    fulfillmentId: ID;}

constructor

method(input?: DeepPartial<FulfillmentLine>) => FulfillmentLine

fulfillment

propertyFulfillment

fulfillmentId

propertyID

This is an abstract base class for entities which reference an OrderLine.

Signature
class OrderLineReference extends VendureEntity {    @Column()    quantity: number;    @Index()    @ManyToOne(type => OrderLine, line => line.linesReferences, { onDelete: 'CASCADE' })    orderLine: OrderLine;    @EntityId()    orderLineId: ID;}

quantity

propertynumber

orderLine

propertyOrderLine

orderLineId

propertyID

This entity represents a line from an Order which has been modified by an OrderModification.

Signature
class OrderModificationLine extends OrderLineReference {    constructor(input?: DeepPartial<OrderModificationLine>)    @Index()    @ManyToOne(type => OrderModification, modification => modification.lines)    modification: OrderModification;    @EntityId()    modificationId: ID;}

constructor

method(input?: DeepPartial<OrderModificationLine>) => OrderModificationLine

modification

modificationId

propertyID

This entity represents a line from an Order which has been refunded by a Refund.

Signature
class RefundLine extends OrderLineReference {    constructor(input?: DeepPartial<RefundLine>)    @Index()    @ManyToOne(type => Refund, refund => refund.lines)    refund: Refund;    @EntityId()    refundId: ID;}

constructor

method(input?: DeepPartial<RefundLine>) => RefundLine

refund

propertyRefund

refundId

propertyID
Was this chapter helpful?
Report Issue
Edited Feb 4, 2026·Edit this page