Files
medusa-store/www/apps/docs/content/references/services/classes/AdminGetDiscountsDiscountRuleParams.mdx
github-actions[bot] cdd42dbdcd chore(docs): Generated References (#5743)
Generated the following references:
- `entities`
- `inventory`
- `js-client`
- `pricing`
- `product`
- `services`
- `stock-location`
- `workflows`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2023-11-27 18:58:52 +00:00

39 lines
810 B
Plaintext

---
displayed_sidebar: servicesSidebar
---
import ParameterTypes from "@site/src/components/ParameterTypes"
# AdminGetDiscountsDiscountRuleParams
Filters to apply on discounts' rules.
## Constructors
#### constructor
`**new AdminGetDiscountsDiscountRuleParams**()`
## Properties
<ParameterTypes parameters={[
{
"name": "allocation",
"type": "[AllocationType](../enums/AllocationType.mdx)",
"description": "Allocation to filter discount rules by.",
"optional": true,
"defaultValue": "",
"expandable": false,
"children": []
},
{
"name": "type",
"type": "[DiscountRuleType](../enums/DiscountRuleType.mdx)",
"description": "Type to filter discount rules by.",
"optional": true,
"defaultValue": "",
"expandable": false,
"children": []
}
]} />