Name | Type | Description | Notes |
---|---|---|---|
type | String | Defines how the points will be added to the loyalty card.PROPORTIONAL adds points based on a pre-defined ratio. | [default to 'PROPORTIONAL'] |
calculation_type | String | CUSTOM_EVENT_METADATA: Custom event metadata (X points for every Y in metadata attribute). | [default to 'CUSTOM_EVENT_METADATA'] |
custom_event | EarningRuleProportionalCustomEventCustomEvent |