@Environment(value=CLIENT) public class Subscription extends ValueObject
Modifier and Type | Class and Description |
---|---|
static class |
Subscription.SubscriptionType |
Modifier and Type | Field and Description |
---|---|
int |
daysLeft |
private static Logger |
LOGGER |
long |
startDate |
Subscription.SubscriptionType |
type |
Constructor and Description |
---|
Subscription() |
Modifier and Type | Method and Description |
---|---|
static Subscription |
parse(String json) |
private static Subscription.SubscriptionType |
typeFrom(String subscriptionType) |
toString
private static final Logger LOGGER
public long startDate
public int daysLeft
public Subscription.SubscriptionType type
public static Subscription parse(String json)
private static Subscription.SubscriptionType typeFrom(String subscriptionType)