CustomPaymentProcess

CustomPaymentProcess

Used to define extensions to or modifications of the default payment process.

For detailed description of the interface members, see the StateMachineConfig docs.

Signature

interface CustomPaymentProcess<State extends string> extends InjectableStrategy {
  transitions?: Transitions<State, State | PaymentState> & Partial<Transitions<PaymentState | State>>;
  onTransitionStart?: OnTransitionStartFn<State | PaymentState, PaymentTransitionData>;
  onTransitionEnd?: OnTransitionEndFn<State | PaymentState, PaymentTransitionData>;
  onTransitionError?: OnTransitionErrorFn<State | PaymentState>;
}

Extends

Members

transitions

property
type:
Transitions<State, State | PaymentState> & Partial<Transitions<PaymentState | State>>

onTransitionStart

onTransitionEnd

onTransitionError

property