Class StateAndLocalWithholding


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.7.0")
    public class StateAndLocalWithholding
    extends Object
    StateAndLocalWithholding
    • Constructor Detail

      • StateAndLocalWithholding

        public StateAndLocalWithholding()
    • Method Detail

      • getStateTaxWithheld

        @Nullable
        public Double getStateTaxWithheld()
        Amount of state tax that was withheld
        Returns:
        stateTaxWithheld
      • setStateTaxWithheld

        public void setStateTaxWithheld​(Double stateTaxWithheld)
      • setState

        public void setState​(String state)
      • getStateIdNumber

        @Nullable
        public String getStateIdNumber()
        State ID number of the entity issuing the form
        Returns:
        stateIdNumber
      • setStateIdNumber

        public void setStateIdNumber​(String stateIdNumber)
      • getStateIncome

        @Nullable
        public Double getStateIncome()
        Amount of state income
        Returns:
        stateIncome
      • setStateIncome

        public void setStateIncome​(Double stateIncome)
      • getLocalTaxWithheld

        @Nullable
        public Double getLocalTaxWithheld()
        Amount of local tax that was withheld
        Returns:
        localTaxWithheld
      • setLocalTaxWithheld

        public void setLocalTaxWithheld​(Double localTaxWithheld)
      • getLocality

        @Nullable
        public String getLocality()
        Locality name
        Returns:
        locality
      • setLocality

        public void setLocality​(String locality)
      • getLocalityIdNumber

        @Nullable
        public String getLocalityIdNumber()
        Locality ID number of the entity issuing the form
        Returns:
        localityIdNumber
      • setLocalityIdNumber

        public void setLocalityIdNumber​(String localityIdNumber)
      • getLocalIncome

        @Nullable
        public Double getLocalIncome()
        Amount of local income
        Returns:
        localIncome
      • setLocalIncome

        public void setLocalIncome​(Double localIncome)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        IOException - if the JSON Element is invalid with respect to StateAndLocalWithholding
      • fromJson

        public static StateAndLocalWithholding fromJson​(String jsonString)
                                                 throws IOException
        Create an instance of StateAndLocalWithholding given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of StateAndLocalWithholding
        Throws:
        IOException - if the JSON string is invalid with respect to StateAndLocalWithholding
      • toJson

        public String toJson()
        Convert an instance of StateAndLocalWithholding to an JSON string
        Returns:
        JSON string