import { DaffCustomerStoreCreditFactory } from '@daffodil/customer-store-credit/testing'
Model factory for DaffCustomerStoreCredit.
@Injectable()
class DaffCustomerStoreCreditFactory extends DaffModelFactory<DaffCustomerStoreCredit> {
_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 |