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;
}
- Extends:
OrderLineReference
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;
}
- Extends:
VendureEntity
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;
}
- Extends:
OrderLineReference
constructor
method
(input?: DeepPartial<OrderModificationLine>) => OrderModificationLine
modification
property
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;
}
- Extends:
OrderLineReference