Fulfillment
Fulfillment
This entity represents a fulfillment of an Order or part of it, i.e. which OrderLines have been delivered to the Customer after successful payment.
Signature
class Fulfillment extends VendureEntity implements HasCustomFields {
constructor(input?: DeepPartial<Fulfillment>)
@Column('varchar') @Column('varchar') state: FulfillmentState;
@Column({ default: '' }) @Column({ default: '' })
trackingCode: string;
@Column() @Column()
method: string;
@Column() @Column()
handlerCode: string;
@OneToMany(type => FulfillmentLine, fulfillmentLine => fulfillmentLine.fulfillment) @OneToMany(type => FulfillmentLine, fulfillmentLine => fulfillmentLine.fulfillment)
lines: FulfillmentLine[];
@Column(type => CustomFulfillmentFields) @Column(type => CustomFulfillmentFields)
customFields: CustomFulfillmentFields;
}
Extends
Implements
- HasCustomFields
Members
constructor
method
type:
(input?: DeepPartial<Fulfillment>) => Fulfillment
state
property
type:
FulfillmentState
trackingCode
property
type:
string
method
property
type:
string
handlerCode
property
type:
string
lines
property
type:
FulfillmentLine[]
customFields
property
type:
CustomFulfillmentFields