MockCompositeProductItem

Mocked DaffCompositeProductItem object.

Properties

Name Type Description
id faker.datatype.uuid()
url `/${faker.internet.domainWord()}.html`
required faker.datatype.boolean()
title faker.commerce.productName()
input_type DaffCompositeProductItemInputEnum.select
options [ this.optionFactory.create({ is_default: true }), this.optionFactory.create({ is_default: false }), ]
optionFactory DaffCompositeProductItemOptionFactory
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.