ConsecutiveActionStreak

constructor(id: String, name: String, description: String, status: StreakStatus, action: LoyaltyAction, startTime: Calendar, expirationTime: Calendar?, resetAction: LoyaltyAction?, progress: ConsecutiveActionStreakProgress?)

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.

startTime

When the streak becomes available to customers.

expirationTime

The date and time when the streak campaign expires.

resetAction

The action that resets the streak, when defined.

progress

The customer's progress within the streak. Absent until the streak becomes active.