Class SubscriptionModel

java.lang.Object
net.avalara.avatax.rest.client.models.SubscriptionModel

public class SubscriptionModel extends Object
Represents a service that this account has subscribed to.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Getter 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.
    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
    Setter for accountId The unique ID number of the account this subscription belongs to.
    void
    Setter for createdDate The date when this record was created.
    void
    Setter for createdUserId The User ID of the user who created this record.
    void
    Setter for effectiveDate The date when the subscription began.
    void
    Setter for endDate If the subscription has ended or will end, this date indicates when the subscription ends.
    void
    setId(Integer value)
    Setter for id The unique ID number of this subscription.
    void
    Setter for modifiedDate The date/time when this record was last modified.
    void
    Setter for modifiedUserId The user ID of the user who last modified this record.
    void
    Setter for subscriptionDescription A friendly description of the service that the account is subscribed to.
    void
    Setter for subscriptionTypeId The unique ID number of the service that the account is subscribed to.
    Returns a JSON string representation of SubscriptionModel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SubscriptionModel

      public SubscriptionModel()
  • Method Details

    • getId

      public Integer getId()
      Getter for id The unique ID number of this subscription.
    • setId

      public void setId(Integer value)
      Setter for id The unique ID number of this subscription.
    • getAccountId

      public Integer getAccountId()
      Getter for accountId The unique ID number of the account this subscription belongs to.
    • setAccountId

      public void setAccountId(Integer value)
      Setter for accountId The unique ID number of the account this subscription belongs to.
    • getSubscriptionTypeId

      public 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(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 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(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 Date getEffectiveDate()
      Getter for effectiveDate The date when the subscription began.
    • setEffectiveDate

      public void setEffectiveDate(Date value)
      Setter for effectiveDate The date when the subscription began.
    • getEndDate

      public Date getEndDate()
      Getter for endDate If the subscription has ended or will end, this date indicates when the subscription ends.
    • setEndDate

      public void setEndDate(Date value)
      Setter for endDate If the subscription has ended or will end, this date indicates when the subscription ends.
    • getCreatedDate

      public Date getCreatedDate()
      Getter for createdDate The date when this record was created.
    • setCreatedDate

      public void setCreatedDate(Date value)
      Setter for createdDate The date when this record was created.
    • getCreatedUserId

      public Integer getCreatedUserId()
      Getter for createdUserId The User ID of the user who created this record.
    • setCreatedUserId

      public void setCreatedUserId(Integer value)
      Setter for createdUserId The User ID of the user who created this record.
    • getModifiedDate

      public Date getModifiedDate()
      Getter for modifiedDate The date/time when this record was last modified.
    • setModifiedDate

      public void setModifiedDate(Date value)
      Setter for modifiedDate The date/time when this record was last modified.
    • getModifiedUserId

      public Integer getModifiedUserId()
      Getter for modifiedUserId The user ID of the user who last modified this record.
    • setModifiedUserId

      public void setModifiedUserId(Integer value)
      Setter for modifiedUserId The user ID of the user who last modified this record.
    • toString

      public String toString()
      Returns a JSON string representation of SubscriptionModel
      Overrides:
      toString in class Object