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) @Index()
@ManyToOne(type => Fulfillment, fulfillment => fulfillment.lines)
fulfillment: Fulfillment;
@EntityId() @EntityId()
fulfillmentId: ID;
}
Extends
Members
constructor
method
type:
(input?: DeepPartial<FulfillmentLine>) => FulfillmentLine
fulfillment
property
type:
Fulfillment
fulfillmentId
property
type:
ID
OrderLineReference
This is an abstract base class for entities which reference an OrderLine.
Signature
class OrderLineReference extends VendureEntity {
@Column() @Column()
quantity: number;
@Index() @ManyToOne(type => OrderLine, { onDelete: 'CASCADE' }) @Index()
@ManyToOne(type => OrderLine, { onDelete: 'CASCADE' })
orderLine: OrderLine;
@EntityId() @EntityId()
orderLineId: ID;
}
Extends
Members
quantity
property
type:
number
orderLine
property
type:
OrderLine
orderLineId
property
type:
ID
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) @Index()
@ManyToOne(type => OrderModification, modification => modification.lines)
modification: OrderModification;
@EntityId() @EntityId()
modificationId: ID;
}
Extends
Members
constructor
method
type:
(input?: DeepPartial<OrderModificationLine>) => OrderModificationLine
modification
property
type:
OrderModification
modificationId
property
type:
ID
RefundLine
This entity represents a line from an Order which has been refunded by a {@link Refund}.
Signature
class RefundLine extends OrderLineReference {
constructor(input?: DeepPartial<RefundLine>)
@Index() @ManyToOne(type => Refund, refund => refund.lines) @Index()
@ManyToOne(type => Refund, refund => refund.lines)
refund: Refund;
@EntityId() @EntityId()
refundId: ID;
}
Extends
Members
constructor
method
type:
(input?: DeepPartial<RefundLine>) => RefundLine
refund
property
type:
Refund
refundId
property
type:
ID