GitHub

MockDaffCustomerPaymentAuthorizeNetApplyRequest

import { MockDaffCustomerPaymentAuthorizeNetApplyRequest } from '@daffodil/customer-payment-authorizenet/testing'

class MockDaffCustomerPaymentAuthorizeNetApplyRequest extends MockDaffCustomerPaymentRequest implements DaffCustomerPaymentAuthorizeNetApplyRequest {
  kind: "daffCustomerPaymentAuthorizeNet" = DAFF_CUSTOMER_PAYMENT_AUTHORIZENET_PAYMENT_KIND
  data: { id: any; securityCode: any; } = {
      id: faker.datatype.uuid(),
      securityCode: faker.finance.creditCardCVV(),
    }
}