GitHub

MockDaffCustomerPaymentAuthorizeNetApplyRequest

Mock class for DaffCustomerPaymentAuthorizeNetApplyRequest.

import { MockDaffCustomerPaymentAuthorizeNetApplyRequest } from '@daffodil/customer-payment-authorizenet/testing'
class MockDaffCustomerPaymentAuthorizeNetApplyRequest extends MockDaffCustomerPaymentRequest implements DaffCustomerPaymentAuthorizeNetApplyRequest {
  kind: typeof DAFF_CUSTOMER_PAYMENT_AUTHORIZENET_PAYMENT_KIND
  data: {
      id: faker.datatype.uuid(),
      securityCode: faker.finance.creditCardCVV()
  }
}

Properties

Name Type Description
kind typeof DAFF_CUSTOMER_PAYMENT_AUTHORIZENET_PAYMENT_KIND
data { id: faker.datatype.uuid(), securityCode: faker.finance.creditCardCVV() }