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