GitHub

MockDaffCustomerPaymentRequest

Mock class for DaffCustomerPaymentRequest.

import { MockDaffCustomerPaymentRequest } from '@daffodil/customer-payment/testing'
class MockDaffCustomerPaymentRequest extends MockPaymentRequest implements DaffCustomerPaymentRequest {
  address: this.addressFactory.create()
  default: faker.datatype.boolean()
  nickname: faker.random.word()
  owner: faker.name.fullName()
}

Properties

Name Type Description
address this.addressFactory.create()
default faker.datatype.boolean()
nickname faker.random.word()
owner faker.name.fullName()