Consecutive Action Streak
data class ConsecutiveActionStreak(val id: String, val name: String, val description: String, val status: StreakStatus, val action: LoyaltyAction, val startTime: Calendar, val expirationTime: Calendar?, val resetAction: LoyaltyAction?, val progress: ConsecutiveActionStreakProgress?) : Streak
A streak based on successful consecutive actions, independent of timing between them.
Parameters
id
Unique identifier of the streak.
name
Display name of the streak.
description
Describes the purpose, rules, or goal of the streak.
status
Current state of the customer's participation in the streak.
action
The qualifying action that advances the streak.
start Time
When the streak becomes available to customers.
expiration Time
The date and time when the streak campaign expires.
reset Action
The action that resets the streak, when defined.
progress
The customer's progress within the streak. Absent until the streak becomes active.
Constructors
Link copied to clipboard
constructor(id: String, name: String, description: String, status: StreakStatus, action: LoyaltyAction, startTime: Calendar, expirationTime: Calendar?, resetAction: LoyaltyAction?, progress: ConsecutiveActionStreakProgress?)