Skip to content

Issue: Replace String Status with Enum #235

@iRahmanG

Description

@iRahmanG

Problem

Right now subscription status in SubscriptionServiceImpl is stored as plain strings like "ACTIVE" and "CANCELLED".
Using strings is not safe because typos or inconsistent values can break the logic

Expected

We should use an enum SubscriptionStatus instead of strings
Example:

public enum SubscriptionStatus {
    ACTIVE,
    CANCELLED,
    EXPIRED
}

@rdodiya Kindly assign me this issue

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions