Class SubscriptionModel
java.lang.Object
net.avalara.avatax.rest.client.models.SubscriptionModel
public class SubscriptionModel
extends java.lang.Object
Represents a service that this account has subscribed to.
-
Constructor Summary
Constructors Constructor Description SubscriptionModel()
-
Method Summary
Modifier and Type Method Description java.lang.Integer
getAccountId()
Getter for accountId The unique ID number of the account this subscription belongs to.java.util.Date
getCreatedDate()
Getter for createdDate The date when this record was created.java.lang.Integer
getCreatedUserId()
Getter for createdUserId The User ID of the user who created this record.java.util.Date
getEffectiveDate()
Getter for effectiveDate The date when the subscription began.java.util.Date
getEndDate()
Getter for endDate If the subscription has ended or will end, this date indicates when the subscription ends.java.lang.Integer
getId()
Getter for id The unique ID number of this subscription.java.util.Date
getModifiedDate()
Getter for modifiedDate The date/time when this record was last modified.java.lang.Integer
getModifiedUserId()
Getter for modifiedUserId The user ID of the user who last modified this record.java.lang.String
getSubscriptionDescription()
Getter for subscriptionDescription A friendly description of the service that the account is subscribed to.java.lang.Integer
getSubscriptionTypeId()
Getter for subscriptionTypeId The unique ID number of the service that the account is subscribed to.void
setAccountId(java.lang.Integer value)
Setter for accountId The unique ID number of the account this subscription belongs to.void
setCreatedDate(java.util.Date value)
Setter for createdDate The date when this record was created.void
setCreatedUserId(java.lang.Integer value)
Setter for createdUserId The User ID of the user who created this record.void
setEffectiveDate(java.util.Date value)
Setter for effectiveDate The date when the subscription began.void
setEndDate(java.util.Date value)
Setter for endDate If the subscription has ended or will end, this date indicates when the subscription ends.void
setId(java.lang.Integer value)
Setter for id The unique ID number of this subscription.void
setModifiedDate(java.util.Date value)
Setter for modifiedDate The date/time when this record was last modified.void
setModifiedUserId(java.lang.Integer value)
Setter for modifiedUserId The user ID of the user who last modified this record.void
setSubscriptionDescription(java.lang.String value)
Setter for subscriptionDescription A friendly description of the service that the account is subscribed to.void
setSubscriptionTypeId(java.lang.Integer value)
Setter for subscriptionTypeId The unique ID number of the service that the account is subscribed to.java.lang.String
toString()
Returns a JSON string representation of SubscriptionModel
-
Constructor Details
-
SubscriptionModel
public SubscriptionModel()
-
-
Method Details
-
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:
toString
in classjava.lang.Object
-