import { MagentoCartWithStoreCreditFactory } from '@daffodil/cart-store-credit/driver/magento/testing'
@Injectable()
class MagentoCartWithStoreCreditFactory extends DaffModelFactory<MagentoCartWithStoreCredit> {
_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 |