Skip to main content

OrderLineReference

FulfillmentLine

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

property

fulfillmentId

property

OrderLineReference

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

property
number

orderLine

property

orderLineId

property

OrderModificationLine

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

property

RefundLine

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

property

refundId

property