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 implements HasCustomFields {
  constructor(input?: DeepPartial<Fulfillment>)
  @Column('varchar') state: FulfillmentState;
  @Column({ default: '' })
    trackingCode: string;
  @Column()
    method: string;
  @Column()
    handlerCode: string;
  @ManyToMany(type => OrderItem, orderItem => orderItem.fulfillments)
    orderItems: OrderItem[];
  @Column(type => CustomFulfillmentFields)
    customFields: CustomFulfillmentFields;
}

Extends

Implements

  • HasCustomFields

Members

constructor

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

state

property

trackingCode

property
type:
string

method

property
type:
string

handlerCode

property
type:
string

orderItems

property
type:
OrderItem[]

customFields

property
type:
CustomFulfillmentFields