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