Files
medusa-store/docs/content/references/js-client/classes/internal-6.AdminPostDiscountsDiscountRule.md
Shahed Nasser a8293af8e1 fix: overlapping branch names for generated PRs of references (#2097)
* fix overlapping branch names of generated references

* regenerate references
2022-08-25 17:47:58 +03:00

54 lines
938 B
Markdown

# Class: AdminPostDiscountsDiscountRule
[internal](../modules/internal-6.md).AdminPostDiscountsDiscountRule
## Properties
### allocation
**allocation**: [`AllocationType`](../enums/internal.AllocationType.md)
#### Defined in
medusa/dist/api/routes/admin/discounts/create-discount.d.ts:143
___
### conditions
`Optional` **conditions**: [`AdminCreateCondition`](internal-6.AdminCreateCondition.md)[]
#### Defined in
medusa/dist/api/routes/admin/discounts/create-discount.d.ts:144
___
### description
`Optional` **description**: `string`
#### Defined in
medusa/dist/api/routes/admin/discounts/create-discount.d.ts:140
___
### type
**type**: [`DiscountRuleType`](../enums/internal.DiscountRuleType.md)
#### Defined in
medusa/dist/api/routes/admin/discounts/create-discount.d.ts:141
___
### value
**value**: `number`
#### Defined in
medusa/dist/api/routes/admin/discounts/create-discount.d.ts:142