Class SubscriptionModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.SubscriptionModel
-
public class SubscriptionModel extends java.lang.ObjectRepresents a service that this account has subscribed to.
-
-
Constructor Summary
Constructors Constructor Description SubscriptionModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetAccountId()Getter for accountId The unique ID number of the account this subscription belongs to.java.util.DategetCreatedDate()Getter for createdDate The date when this record was created.java.lang.IntegergetCreatedUserId()Getter for createdUserId The User ID of the user who created this record.java.util.DategetEffectiveDate()Getter for effectiveDate The date when the subscription began.java.util.DategetEndDate()Getter for endDate If the subscription has ended or will end, this date indicates when the subscription ends.java.lang.IntegergetId()Getter for id The unique ID number of this subscription.java.util.DategetModifiedDate()Getter for modifiedDate The date/time when this record was last modified.java.lang.IntegergetModifiedUserId()Getter for modifiedUserId The user ID of the user who last modified this record.java.lang.StringgetSubscriptionDescription()Getter for subscriptionDescription A friendly description of the service that the account is subscribed to.java.lang.IntegergetSubscriptionTypeId()Getter for subscriptionTypeId The unique ID number of the service that the account is subscribed to.voidsetAccountId(java.lang.Integer value)Setter for accountId The unique ID number of the account this subscription belongs to.voidsetCreatedDate(java.util.Date value)Setter for createdDate The date when this record was created.voidsetCreatedUserId(java.lang.Integer value)Setter for createdUserId The User ID of the user who created this record.voidsetEffectiveDate(java.util.Date value)Setter for effectiveDate The date when the subscription began.voidsetEndDate(java.util.Date value)Setter for endDate If the subscription has ended or will end, this date indicates when the subscription ends.voidsetId(java.lang.Integer value)Setter for id The unique ID number of this subscription.voidsetModifiedDate(java.util.Date value)Setter for modifiedDate The date/time when this record was last modified.voidsetModifiedUserId(java.lang.Integer value)Setter for modifiedUserId The user ID of the user who last modified this record.voidsetSubscriptionDescription(java.lang.String value)Setter for subscriptionDescription A friendly description of the service that the account is subscribed to.voidsetSubscriptionTypeId(java.lang.Integer value)Setter for subscriptionTypeId The unique ID number of the service that the account is subscribed to.java.lang.StringtoString()Returns a JSON string representation of SubscriptionModel
-
-
-
Method Detail
-
getId
public java.lang.Integer getId()
Getter for id The unique ID number of this subscription.
-
setId
public void setId(java.lang.Integer value)
Setter for id The unique ID number of this subscription.
-
getAccountId
public java.lang.Integer getAccountId()
Getter for accountId The unique ID number of the account this subscription belongs to.
-
setAccountId
public void setAccountId(java.lang.Integer value)
Setter for accountId The unique ID number of the account this subscription belongs to.
-
getSubscriptionTypeId
public java.lang.Integer getSubscriptionTypeId()
Getter for subscriptionTypeId The unique ID number of the service that the account is subscribed to. If this is provided, subscription description is ignored.
-
setSubscriptionTypeId
public void setSubscriptionTypeId(java.lang.Integer value)
Setter for subscriptionTypeId The unique ID number of the service that the account is subscribed to. If this is provided, subscription description is ignored.
-
getSubscriptionDescription
public java.lang.String getSubscriptionDescription()
Getter for subscriptionDescription A friendly description of the service that the account is subscribed to. You can either provide the subscription type Id or this but not both. If subscription type Id is provided, then this information is ignored and this field will be updated with the information from subscription type id.
-
setSubscriptionDescription
public void setSubscriptionDescription(java.lang.String value)
Setter for subscriptionDescription A friendly description of the service that the account is subscribed to. You can either provide the subscription type Id or this but not both. If subscription type Id is provided, then this information is ignored and this field will be updated with the information from subscription type id.
-
getEffectiveDate
public java.util.Date getEffectiveDate()
Getter for effectiveDate The date when the subscription began.
-
setEffectiveDate
public void setEffectiveDate(java.util.Date value)
Setter for effectiveDate The date when the subscription began.
-
getEndDate
public java.util.Date getEndDate()
Getter for endDate If the subscription has ended or will end, this date indicates when the subscription ends.
-
setEndDate
public void setEndDate(java.util.Date value)
Setter for endDate If the subscription has ended or will end, this date indicates when the subscription ends.
-
getCreatedDate
public java.util.Date getCreatedDate()
Getter for createdDate The date when this record was created.
-
setCreatedDate
public void setCreatedDate(java.util.Date value)
Setter for createdDate The date when this record was created.
-
getCreatedUserId
public java.lang.Integer getCreatedUserId()
Getter for createdUserId The User ID of the user who created this record.
-
setCreatedUserId
public void setCreatedUserId(java.lang.Integer value)
Setter for createdUserId The User ID of the user who created this record.
-
getModifiedDate
public java.util.Date getModifiedDate()
Getter for modifiedDate The date/time when this record was last modified.
-
setModifiedDate
public void setModifiedDate(java.util.Date value)
Setter for modifiedDate The date/time when this record was last modified.
-
getModifiedUserId
public java.lang.Integer getModifiedUserId()
Getter for modifiedUserId The user ID of the user who last modified this record.
-
setModifiedUserId
public void setModifiedUserId(java.lang.Integer value)
Setter for modifiedUserId The user ID of the user who last modified this record.
-
toString
public java.lang.String toString()
Returns a JSON string representation of SubscriptionModel- Overrides:
toStringin classjava.lang.Object
-
-