Fulfillment

Fulfillment

Fulfillment

This entity represents a fulfillment of an Order or part of it, i.e. the OrderItems have been delivered to the Customer after successful payment.

Signature

class Fulfillment extends VendureEntity {
  constructor(input?: DeepPartial<Fulfillment>)
  @Column({ default: '' })
    trackingCode: string;
  @Column()
    method: string;
  @OneToMany(type => OrderItem, orderItem => orderItem.fulfillment)
    orderItems: OrderItem[];
}

Members

constructor

method
type:
(input?: DeepPartial<Fulfillment>) => Fulfillment

trackingCode

property
type:
string

method

property
type:
string

orderItems

property
type:
OrderItem[]