Points allocation rule that awards points based on a participant's current level within a recognition topic. Looks up the participant's level status for the configured topic, reads a per-level custom field as a multiplier, and multiplies the sales record's amount by it; can be restricted to sales records matching a set of category codes. Registered as a built-in PointsRuleType (id "recog-levels-rule") that account admins can select when configuring a points allocation source.
Implements: PointsRuleType
Properties
| Property | Returns | Description |
|---|---|---|
| fields | List<ExtraField> | The configuration fields presented for this rule type: the recognition topic to use, an optional comma-separated list of category codes to restrict matching sales records to, and which custom field on the participant's level holds the multiplier. |
| id | String | The unique identifier used to select this rule type when configuring a points allocation source. |
| title | String | The display title shown for this rule type in the points allocation source configuration UI. |
Methods
getId()
Returns: String
The unique identifier used to select this rule type when configuring a points allocation source.
getTitle()
Returns: String
The display title shown for this rule type in the points allocation source configuration UI.
getFields()
Returns: List<ExtraField>
The configuration fields presented for this rule type: the recognition topic to use, an optional comma-separated list of category codes to restrict matching sales records to, and which custom field on the participant's level holds the multiplier.