import { DaffCustomerPaymentFactory } from '@daffodil/customer-payment/testing'
Model factory for DaffCustomerPayment.
@Injectable()
class DaffCustomerPaymentFactory extends DaffModelFactory<DaffCustomerPayment> {
_instantiationArgs: ConstructorParameters<Klass>
type: Constructable<DaffAccountRegistration, any[]>
create(partial: Partial<T> = {}): T
createMany(
qty: number = 1
partial: Partial<T> = {}
): T[]
}
T| Parameter | partial: Partial |
|---|---|
| Default | {} |
| Description |
T[]| Parameter | qty: number |
|---|---|
| Default | 1 |
| Description |
| Parameter | partial: Partial |
|---|---|
| Default | {} |
| Description |