Streak Milestone
constructor(id: String, streakId: String, type: StreakMilestoneType, length: Int, rewards: List<ValueInUnits>, repeatOnReset: Boolean, creationTime: Calendar, achievement: StreakMilestoneAchievementSummary)
Parameters
id
Unique identifier of the streak milestone.
streak Id
Unique identifier of the streak this milestone belongs to.
type
The type of the streak milestone.
length
The required streak length to achieve this milestone.
rewards
List of rewards that are awarded to the customer when the milestone is reached.
repeat On Reset
Whether the milestone can be achieved again after the streak resets.
creation Time
The time the streak milestone was created.
achievement
Summary of the customer's achievements of the milestone.