Package com.moesif.api.models
Class SubscriptionModel
- java.lang.Object
-
- com.moesif.api.models.SubscriptionModel
-
- All Implemented Interfaces:
Serializable
public class SubscriptionModel extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SubscriptionModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCompanyId()GETTER User's company_id stringDategetCurrentPeriodEnd()GETTER End date of the current subscription periodDategetCurrentPeriodStart()GETTER Start date of the current subscription periodObjectgetMetadata()GETTER Custom company metadata as a JSON objectStringgetStatus()GETTER Subscription StatusStringgetSubscriptionId()GETTER Subscription IdvoidsetCompanyId(String value)SETTER User's company_id stringvoidsetCurrentPeriodEnd(Date value)SETTER End date of the current subscription periodvoidsetCurrentPeriodStart(Date value)SETTER Start date of the current subscription periodvoidsetMetadata(Object value)SETTER Custom company metadata as a JSON objectvoidsetStatus(String value)SETTER Subscription StatusvoidsetSubscriptionId(String value)SETTER Subscription Id
-
-
-
Method Detail
-
getSubscriptionId
public String getSubscriptionId()
GETTER Subscription Id- Returns:
- the value
-
setSubscriptionId
public void setSubscriptionId(String value)
SETTER Subscription Id- Parameters:
value- the value to set
-
getCompanyId
public String getCompanyId()
GETTER User's company_id string- Returns:
- the value
-
setCompanyId
public void setCompanyId(String value)
SETTER User's company_id string- Parameters:
value- the value to set
-
getCurrentPeriodStart
public Date getCurrentPeriodStart()
GETTER Start date of the current subscription period- Returns:
- the value
-
setCurrentPeriodStart
public void setCurrentPeriodStart(Date value)
SETTER Start date of the current subscription period- Parameters:
value- the value to set
-
getCurrentPeriodEnd
public Date getCurrentPeriodEnd()
GETTER End date of the current subscription period- Returns:
- the value
-
setCurrentPeriodEnd
public void setCurrentPeriodEnd(Date value)
SETTER End date of the current subscription period- Parameters:
value- the value to set
-
getStatus
public String getStatus()
GETTER Subscription Status- Returns:
- the value
-
setStatus
public void setStatus(String value)
SETTER Subscription Status- Parameters:
value- the value to set
-
getMetadata
public Object getMetadata()
GETTER Custom company metadata as a JSON object- Returns:
- the value
-
setMetadata
public void setMetadata(Object value)
SETTER Custom company metadata as a JSON object- Parameters:
value- the value to set
-
-