---
displayed_sidebar: servicesSidebar
---

import ParameterTypes from "@site/src/components/ParameterTypes"

# AdminGetDiscountsDiscountRuleParams

Filters to apply on discounts' rules.

## 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": []
  }
]} />
