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
Problem
Right now subscription status in
SubscriptionServiceImplis 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
SubscriptionStatusinstead of stringsExample:
@rdodiya Kindly assign me this issue