Class LocationValidationModel


  • public class LocationValidationModel
    extends java.lang.Object
    Tells you whether this location object has been correctly set up to the local jurisdiction's standards
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.ArrayList<LocationQuestionModel> getRequiredSettings()
      Getter for requiredSettings A list of settings that must be defined for this location
      java.lang.Boolean getSettingsValidated()
      Getter for settingsValidated True if the location has a value for each jurisdiction-required setting.
      void setRequiredSettings​(java.util.ArrayList<LocationQuestionModel> value)
      Setter for requiredSettings A list of settings that must be defined for this location
      void setSettingsValidated​(java.lang.Boolean value)
      Setter for settingsValidated True if the location has a value for each jurisdiction-required setting.
      java.lang.String toString()
      Returns a JSON string representation of LocationValidationModel
      • Methods inherited from class java.lang.Object

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

      • LocationValidationModel

        public LocationValidationModel()
    • Method Detail

      • getSettingsValidated

        public java.lang.Boolean getSettingsValidated()
        Getter for settingsValidated True if the location has a value for each jurisdiction-required setting. The user is required to ensure that the values are correct according to the jurisdiction; this flag does not indicate whether the taxing jurisdiction has accepted the data you have provided.
      • setSettingsValidated

        public void setSettingsValidated​(java.lang.Boolean value)
        Setter for settingsValidated True if the location has a value for each jurisdiction-required setting. The user is required to ensure that the values are correct according to the jurisdiction; this flag does not indicate whether the taxing jurisdiction has accepted the data you have provided.
      • getRequiredSettings

        public java.util.ArrayList<LocationQuestionModel> getRequiredSettings()
        Getter for requiredSettings A list of settings that must be defined for this location
      • setRequiredSettings

        public void setRequiredSettings​(java.util.ArrayList<LocationQuestionModel> value)
        Setter for requiredSettings A list of settings that must be defined for this location
      • toString

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