import { DaffPaymentResponseKindFactory } from '@daffodil/payment/testing'
Factory for creating DaffPaymentResponses. This will create a payment response of random kind.
@Injectable()
class DaffPaymentResponseKindFactory extends DaffModelFactory<DaffPaymentResponse> {
create(partial: {} = {}): DaffPaymentResponse
}
DaffPaymentResponse
Creates a payment result of random kind.
Parameter | partial: {} |
---|---|
Default | {} |
Description |