Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 4.1 KB

File metadata and controls

19 lines (16 loc) · 4.1 KB

VoucherifySdk::ValidationRulesUpdateResponseBody

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 ValidationRulesUpdateResponseBodyError [optional]
applicable_to ValidationRulesUpdateResponseBodyApplicableTo [optional]
type String Type of validation rule. [optional][default to 'expression']
context_type String Validation rule context type. Context Type
id String Unique validation rule ID. [optional]
created_at Time Timestamp representing the date and time when the validation rule was created. The value is shown in the ISO 8601 format. [optional]
updated_at Time Timestamp representing the date and time when the validation rule was updated. The value is shown in the ISO 8601 format. [optional]
assignments_count Integer The number of instances the validation rule has been assigned to different types of redeemables. [optional]
object String The type of the object represented by JSON. This object stores information about the validation rule. [optional][default to 'validation_rules']