@vendure/core
Version:
A modern, headless ecommerce framework
19 lines (18 loc) • 799 B
TypeScript
import { RequestContext } from '../../api/common/request-context';
import { Fulfillment } from '../../entity/fulfillment/fulfillment.entity';
import { FulfillmentState } from '../../service/helpers/fulfillment-state-machine/fulfillment-state';
import { VendureEvent } from '../vendure-event';
/**
* @description
* This event is fired whenever an {@link Fulfillment} transitions from one {@link FulfillmentState} to another.
*
* @docsCategory events
* @docsPage Event Types
*/
export declare class FulfillmentStateTransitionEvent extends VendureEvent {
fromState: FulfillmentState;
toState: FulfillmentState;
ctx: RequestContext;
fulfillment: Fulfillment;
constructor(fromState: FulfillmentState, toState: FulfillmentState, ctx: RequestContext, fulfillment: Fulfillment);
}