GitHub

DaffCustomerPaymentRequestTransform

import { DaffCustomerPaymentRequestTransform } from '@daffodil/customer-payment/state'

Creates a payment from a payment request. Used for generating optimistic entities.

interface DaffCustomerPaymentRequestTransform {
  kind: string
  transform: (request: DaffCustomerPaymentRequest<unknown>) => DaffCustomerPayment<unknown>
}