* adjusted configurations * enhancements to tool and configurations * change reference in docs * fixed issue in workflows reference * added project name * more optimizations * fix context error * added a types reference * resolved missing types * fix reference reflection types not having children * add an expand url parameter * added new option to the README * added details about new option
41 lines
877 B
Plaintext
41 lines
877 B
Plaintext
---
|
|
displayed_sidebar: pricingReference
|
|
---
|
|
|
|
import ParameterTypes from "@site/src/components/ParameterTypes"
|
|
|
|
# AddRulesDTO
|
|
|
|
The rules to add to a price set.
|
|
|
|
<ParameterTypes parameters={[
|
|
{
|
|
"name": "priceSetId",
|
|
"type": "`string`",
|
|
"description": "The ID of the price set to add the rules to.",
|
|
"optional": false,
|
|
"defaultValue": "",
|
|
"expandable": false,
|
|
"children": []
|
|
},
|
|
{
|
|
"name": "rules",
|
|
"type": "`object`[]",
|
|
"description": "The rules to add to a price set.",
|
|
"optional": false,
|
|
"defaultValue": "",
|
|
"expandable": false,
|
|
"children": [
|
|
{
|
|
"name": "attribute",
|
|
"type": "`string`",
|
|
"description": "The value of the rule's `rule_attribute` attribute.",
|
|
"optional": false,
|
|
"defaultValue": "",
|
|
"expandable": false,
|
|
"children": []
|
|
}
|
|
]
|
|
}
|
|
]} />
|