GitHub

MockMagentoOrderBundleItemSelectedOptionValue

import { MockMagentoOrderBundleItemSelectedOptionValue } from '@daffodil/order/driver/magento/2-4-1/testing'
class MockMagentoOrderBundleItemSelectedOptionValue implements MagentoOrderBundleItemSelectedOptionValue {
  product_name: faker.random.word()
  product_sku: faker.datatype.uuid()
  quantity: faker.datatype.number({ min: 1, max: 1000 })
  price: this.moneyFactory.create()
}

Properties

Name Type Description
product_name faker.random.word()
product_sku faker.datatype.uuid()
quantity faker.datatype.number({ min: 1, max: 1000 })
price this.moneyFactory.create()