GitHub

DaffPaymentResponseKindFactory

Factory for creating DaffPaymentResponses. This will create a payment response of random kind.

import { DaffPaymentResponseKindFactory } from '@daffodil/payment/testing'
@Injectable()
class DaffPaymentResponseKindFactory extends DaffModelFactory<DaffPaymentResponse> {
  create(partial: {} = {}): DaffPaymentResponse
}

Properties

Name Type Description
create DaffPaymentResponse

Creates a payment result of random kind.