Class LocationQuestionModel

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

public class LocationQuestionModel
extends java.lang.Object
Information about questions that the local jurisdictions require for each location
  • Constructor Summary

    Constructors 
    Constructor Description
    LocationQuestionModel()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getDescription()
    Getter for description If additional information is available about the location setting, this contains descriptive text to help you identify the correct value to provide in this setting.
    java.lang.String getExampleValue()
    Getter for exampleValue If available, this is an example value that you can demonstrate to the user to show what is expected.
    java.lang.Integer getId()
    Getter for id The unique ID number of this location setting type
    java.lang.String getJurisdictionCountry()
    Getter for jurisdictionCountry Indicates the country that this jurisdiction belongs to
    java.lang.String getJurisdictionName()
    Getter for jurisdictionName Indicates which jurisdiction requires this question
    java.lang.String getJurisdictionRegion()
    Getter for jurisdictionRegion Indicates the state, region, or province that this jurisdiction belongs to
    JurisdictionType getJurisdictionType()
    Getter for jurisdictionType Indicates which type of jurisdiction requires this question
    java.lang.String getQuestion()
    Getter for question This is the prompt for this question
    java.lang.String getRegularExpression()
    Getter for regularExpression If available, this regular expression will verify that the input from the user is in the expected format.
    void setDescription​(java.lang.String value)
    Setter for description If additional information is available about the location setting, this contains descriptive text to help you identify the correct value to provide in this setting.
    void setExampleValue​(java.lang.String value)
    Setter for exampleValue If available, this is an example value that you can demonstrate to the user to show what is expected.
    void setId​(java.lang.Integer value)
    Setter for id The unique ID number of this location setting type
    void setJurisdictionCountry​(java.lang.String value)
    Setter for jurisdictionCountry Indicates the country that this jurisdiction belongs to
    void setJurisdictionName​(java.lang.String value)
    Setter for jurisdictionName Indicates which jurisdiction requires this question
    void setJurisdictionRegion​(java.lang.String value)
    Setter for jurisdictionRegion Indicates the state, region, or province that this jurisdiction belongs to
    void setJurisdictionType​(JurisdictionType value)
    Setter for jurisdictionType Indicates which type of jurisdiction requires this question
    void setQuestion​(java.lang.String value)
    Setter for question This is the prompt for this question
    void setRegularExpression​(java.lang.String value)
    Setter for regularExpression If available, this regular expression will verify that the input from the user is in the expected format.
    java.lang.String toString()
    Returns a JSON string representation of LocationQuestionModel

    Methods inherited from class java.lang.Object

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

  • Method Details

    • getId

      public java.lang.Integer getId()
      Getter for id The unique ID number of this location setting type
    • setId

      public void setId​(java.lang.Integer value)
      Setter for id The unique ID number of this location setting type
    • getQuestion

      public java.lang.String getQuestion()
      Getter for question This is the prompt for this question
    • setQuestion

      public void setQuestion​(java.lang.String value)
      Setter for question This is the prompt for this question
    • getDescription

      public java.lang.String getDescription()
      Getter for description If additional information is available about the location setting, this contains descriptive text to help you identify the correct value to provide in this setting.
    • setDescription

      public void setDescription​(java.lang.String value)
      Setter for description If additional information is available about the location setting, this contains descriptive text to help you identify the correct value to provide in this setting.
    • getRegularExpression

      public java.lang.String getRegularExpression()
      Getter for regularExpression If available, this regular expression will verify that the input from the user is in the expected format.
    • setRegularExpression

      public void setRegularExpression​(java.lang.String value)
      Setter for regularExpression If available, this regular expression will verify that the input from the user is in the expected format.
    • getExampleValue

      public java.lang.String getExampleValue()
      Getter for exampleValue If available, this is an example value that you can demonstrate to the user to show what is expected.
    • setExampleValue

      public void setExampleValue​(java.lang.String value)
      Setter for exampleValue If available, this is an example value that you can demonstrate to the user to show what is expected.
    • getJurisdictionName

      public java.lang.String getJurisdictionName()
      Getter for jurisdictionName Indicates which jurisdiction requires this question
    • setJurisdictionName

      public void setJurisdictionName​(java.lang.String value)
      Setter for jurisdictionName Indicates which jurisdiction requires this question
    • getJurisdictionType

      public JurisdictionType getJurisdictionType()
      Getter for jurisdictionType Indicates which type of jurisdiction requires this question
    • setJurisdictionType

      public void setJurisdictionType​(JurisdictionType value)
      Setter for jurisdictionType Indicates which type of jurisdiction requires this question
    • getJurisdictionCountry

      public java.lang.String getJurisdictionCountry()
      Getter for jurisdictionCountry Indicates the country that this jurisdiction belongs to
    • setJurisdictionCountry

      public void setJurisdictionCountry​(java.lang.String value)
      Setter for jurisdictionCountry Indicates the country that this jurisdiction belongs to
    • getJurisdictionRegion

      public java.lang.String getJurisdictionRegion()
      Getter for jurisdictionRegion Indicates the state, region, or province that this jurisdiction belongs to
    • setJurisdictionRegion

      public void setJurisdictionRegion​(java.lang.String value)
      Setter for jurisdictionRegion Indicates the state, region, or province that this jurisdiction belongs to
    • toString

      public java.lang.String toString()
      Returns a JSON string representation of LocationQuestionModel
      Overrides:
      toString in class java.lang.Object