GitHub

DaffPaymentAvailableProcessor

import { DaffPaymentAvailableProcessor } from '@daffodil/payment/state'

A representation of an available payment processor.

interface DaffPaymentAvailableProcessor {
  kind: string
  action: string
  driver: InjectionToken<DaffPaymentDriverInterface<DaffPaymentResponse<unknown>>>
}

Properties

kind
string

The processor kind.

action
string

The action type string that triggers token generation.

driver
InjectionToken<DaffPaymentDriverInterface<DaffPaymentResponse<unknown>>>

An injection token of the driver that can perform token generation for this specific payment processor.