getEnrollment

abstract suspend fun getEnrollment(): ActivePerksEnrollment

Retrieves the member's ActivePerks enrollment status.

Drives the feature's entry point: enrolled members go to the dashboard, non-enrolled members to signUp, and members with ActivePerksEnrollment.needsRecovery to the recovery flow.

Return

The current ActivePerksEnrollment.

Throws

if the status cannot be retrieved.