Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 3.38 KB

File metadata and controls

14 lines (11 loc) · 3.38 KB

VoucherifySdk::ValidationRulesCreateRequestBody

Properties

Name Type Description Notes
name String Custom, unique name for set of validation rules. [optional]
rules Object Contains all the rule definitions for the validation rule. It is a set of key value pairs representing the rules and logic between the rules. The keys are numbered consecutively beginning from `1`. The values are objects containing the rule conditions. [optional]
bundle_rules Object Contains all the definitions for the bundle rules. It is a set of key value pairs representing the rules and logic between them. The keys are numbered consecutively beginning from `1`. The values are objects containing the rule conditions. While updating with the PUT method, you can pass `"bundle_rules": null` to delete the configuration; in the response, an empty object is then returned. [optional]
error ValidationRulesCreateRequestBodyError [optional]
applicable_to ValidationRulesCreateRequestBodyApplicableTo [optional]
type String Type of validation rule. [optional][default to 'expression']
context_type String Validation rule context type. Context Type