Periodic Action Streak Progress
data class PeriodicActionStreakProgress(val currentStreakLength: Int, val longestStreakLength: Int, val nextMilestones: List<StreakMilestoneReference>, val periodProgress: Int, val thresholdMet: Boolean, val periodEndTime: Calendar?) : StreakProgress
Data class representing the customer's progress on a PeriodicActionStreak.
Parameters
current Streak Length
Number of qualifying actions recorded in the current run.
longest Streak Length
Highest currentStreakLength ever achieved by this customer. Retained across resets.
next Milestones
The upcoming milestones closest to the customer's current progress.
period Progress
Tracks the number of qualifying actions completed within the current period.
threshold Met
Indicates whether the customer has completed the required number of actions for the current period.
period End Time
The end of the current period window (e.g., the end of the current day for a daily streak). The customer must meet the threshold before this time to advance the streak.