GitHub

DaffCustomerPaymentRequestTransform

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

import { DaffCustomerPaymentRequestTransform } from '@daffodil/customer-payment/state'
interface DaffCustomerPaymentRequestTransform {
  kind: DaffCustomerPaymentRequest['kind']
  transform: (request: DaffCustomerPaymentRequest) => DaffCustomerPayment
}

Properties

Name Type Description
kind DaffCustomerPaymentRequest['kind']
transform (request: DaffCustomerPaymentRequest) => DaffCustomerPayment