GitHub

MockDaffCustomerPaymentRequest

class

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

class MockDaffCustomerPaymentRequest extends MockPaymentRequest implements DaffCustomerPaymentRequest {
  address: DaffCustomerAddress = this.addressFactory.create()
  default: faker.datatype.boolean() = faker.datatype.boolean()
  nickname: faker.lorem.word() = faker.lorem.word()
  owner: faker.name.fullName() = faker.name.fullName()
}