Package com.moesif.api.models
Class SubscriptionModel
java.lang.Object
com.moesif.api.models.SubscriptionModel
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGETTER User's company_id stringGETTER End date of the current subscription periodGETTER Start date of the current subscription periodGETTER Custom company metadata as a JSON objectGETTER Subscription StatusGETTER 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 objectvoidSETTER Subscription StatusvoidsetSubscriptionId(String value) SETTER Subscription Id
-
Constructor Details
-
SubscriptionModel
public SubscriptionModel()
-
-
Method Details
-
getSubscriptionId
GETTER Subscription Id- Returns:
- the value
-
setSubscriptionId
SETTER Subscription Id- Parameters:
value- the value to set
-
getCompanyId
GETTER User's company_id string- Returns:
- the value
-
setCompanyId
SETTER User's company_id string- Parameters:
value- the value to set
-
getCurrentPeriodStart
GETTER Start date of the current subscription period- Returns:
- the value
-
setCurrentPeriodStart
SETTER Start date of the current subscription period- Parameters:
value- the value to set
-
getCurrentPeriodEnd
GETTER End date of the current subscription period- Returns:
- the value
-
setCurrentPeriodEnd
SETTER End date of the current subscription period- Parameters:
value- the value to set
-
getStatus
GETTER Subscription Status- Returns:
- the value
-
setStatus
SETTER Subscription Status- Parameters:
value- the value to set
-
getMetadata
GETTER Custom company metadata as a JSON object- Returns:
- the value
-
setMetadata
SETTER Custom company metadata as a JSON object- Parameters:
value- the value to set
-