@commercetools-test-data/discounts-custom-view
v10.11.2
Published
Data model for commercetools API DiscountsCustomView
Downloads
1,170
Readme
@commercetools-test-data/discounts-custom-view
This package provides the data model for the commercetools platform DiscountsCustomView
and DiscountsCustomViewInput
type
Install
$ pnpm add -D @commercetools-test-data/discounts-custom-view
Usage
import type {
DiscountsCustomView,
DiscountsCustomViewInput,
type TDiscountsCustomView,
type TDiscountsCustomViewInput,
} from '@commercetools-test-data/discounts-custom-view';
const discountsCustomView =
DiscountsCustomView.random().build<TDiscountsCustomView>();
const discountsCustomViewInput =
DiscountsCustomViewInput.random().build<TDiscountsCustomViewInput>();