GitHub

MockMagentoOrderBundleItemSelectedOptionValue

class

import { MockMagentoOrderBundleItemSelectedOptionValue } from '@daffodil/order/driver/magento/2-4-1/testing'

class MockMagentoOrderBundleItemSelectedOptionValue implements MagentoOrderBundleItemSelectedOptionValue {
  product_name: faker.lorem.word() = faker.lorem.word()
  product_sku: faker.string.uuid() = faker.string.uuid()
  quantity: faker.number.int({ min: 1, max: 1000 }) = faker.number.int({ min: 1, max: 1000 })
  price: MagentoMoney = this.moneyFactory.create()
}