ConsecutiveActionStreakProgress

data class ConsecutiveActionStreakProgress(val currentStreakLength: Int, val longestStreakLength: Int, val nextMilestones: List<StreakMilestoneReference>) : StreakProgress

Data class representing the customer's progress on a ConsecutiveActionStreak.

Parameters

currentStreakLength

Number of qualifying actions recorded in the current run.

longestStreakLength

Highest currentStreakLength ever achieved by this customer. Retained across resets.

nextMilestones

The upcoming milestones closest to the customer's current progress.

Constructors

Link copied to clipboard
constructor(currentStreakLength: Int, longestStreakLength: Int, nextMilestones: List<StreakMilestoneReference>)

Properties

Link copied to clipboard
open override val currentStreakLength: Int
Link copied to clipboard
open override val longestStreakLength: Int
Link copied to clipboard