Name | Type | Description | Notes |
---|---|---|---|
id | string | Assigned by the Voucherify API, identifies the earning rule object. | [optional] |
created_at | \DateTime | Timestamp representing the date and time when the earning rule was created. The value is shown in the ISO 8601 format. | [optional] |
loyalty | \OpenAPI\Client\Model\LoyaltiesEarningRulesDisableResponseBodyLoyalty | [optional] | |
event | string | [optional] | |
custom_event | \OpenAPI\Client\Model\LoyaltiesEarningRulesDisableResponseBodyCustomEvent | [optional] | |
segment | \OpenAPI\Client\Model\LoyaltiesEarningRulesDisableResponseBodySegment | [optional] | |
loyalty_tier | \OpenAPI\Client\Model\LoyaltiesEarningRulesDisableResponseBodyLoyaltyTier | [optional] | |
source | \OpenAPI\Client\Model\LoyaltiesEarningRulesDisableResponseBodySource | [optional] | |
object | string | The type of the object represented by JSON. Default is earning_rule. | [optional] [default to 'earning_rule'] |
automation_id | string | For internal use by Voucherify. | [optional] |
start_date | string | Start date defines when the earning rule starts to be active. Activation timestamp is presented in the ISO 8601 format. The earning rule is inactive before this date. If you do not define the start date for an earning rule, it will inherit the campaign start date by default. | [optional] |
expiration_date | string | Expiration date defines when the earning rule expires. Expiration timestamp is presented in the ISO 8601 format. The earning rule is inactive after this date. If you do not define the expiration date for an earning rule, it will inherit the campaign expiration date by default. | [optional] |
validity_timeframe | \OpenAPI\Client\Model\ValidityTimeframe | [optional] | |
validity_day_of_week | int[] | Integer array corresponding to the particular days of the week in which the voucher is valid. - `0` Sunday - `1` Monday - `2` Tuesday - `3` Wednesday - `4` Thursday - `5` Friday - `6` Saturday | [optional] |
validity_hours | \OpenAPI\Client\Model\ValidityHours | [optional] | |
metadata | object | The metadata object stores all custom attributes assigned to the earning rule. A set of key/value pairs that you can attach to an earning rule object. It can be useful for storing additional information about the earning rule in a structured format. | [optional] |
updated_at | \DateTime | Timestamp representing the date and time when the earning rule was last updated in ISO 8601 format. | [optional] |
active | bool | A flag to toggle the earning rule on or off. You can disable an earning rule even though it's within the active period defined by the start_date and expiration_date of the campaign or the earning rule's own start_date and expiration_date. | [optional] [default to false] |
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.