Package Avalara.SDK.model.A1099.V2
Class StateAndLocalWithholding
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.StateAndLocalWithholding
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class StateAndLocalWithholding extends Object
StateAndLocalWithholding
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStateAndLocalWithholding.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_LOCAL_INCOMEstatic StringSERIALIZED_NAME_LOCAL_TAX_WITHHELDstatic StringSERIALIZED_NAME_LOCALITYstatic StringSERIALIZED_NAME_LOCALITY_ID_NUMBERstatic StringSERIALIZED_NAME_STATEstatic StringSERIALIZED_NAME_STATE_ID_NUMBERstatic StringSERIALIZED_NAME_STATE_INCOMEstatic StringSERIALIZED_NAME_STATE_TAX_WITHHELD
-
Constructor Summary
Constructors Constructor Description StateAndLocalWithholding()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static StateAndLocalWithholdingfromJson(String jsonString)Create an instance of StateAndLocalWithholding given an JSON stringDoublegetLocalIncome()Amount of local incomeStringgetLocality()Locality nameStringgetLocalityIdNumber()Locality ID number of the entity issuing the formDoublegetLocalTaxWithheld()Amount of local tax that was withheldStringgetState()US stateStringgetStateIdNumber()State ID number of the entity issuing the formDoublegetStateIncome()Amount of state incomeDoublegetStateTaxWithheld()Amount of state tax that was withheldinthashCode()StateAndLocalWithholdinglocalIncome(Double localIncome)StateAndLocalWithholdinglocality(String locality)StateAndLocalWithholdinglocalityIdNumber(String localityIdNumber)StateAndLocalWithholdinglocalTaxWithheld(Double localTaxWithheld)voidsetLocalIncome(Double localIncome)voidsetLocality(String locality)voidsetLocalityIdNumber(String localityIdNumber)voidsetLocalTaxWithheld(Double localTaxWithheld)voidsetState(String state)voidsetStateIdNumber(String stateIdNumber)voidsetStateIncome(Double stateIncome)voidsetStateTaxWithheld(Double stateTaxWithheld)StateAndLocalWithholdingstate(String state)StateAndLocalWithholdingstateIdNumber(String stateIdNumber)StateAndLocalWithholdingstateIncome(Double stateIncome)StateAndLocalWithholdingstateTaxWithheld(Double stateTaxWithheld)StringtoJson()Convert an instance of StateAndLocalWithholding to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_STATE_TAX_WITHHELD
public static final String SERIALIZED_NAME_STATE_TAX_WITHHELD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATE
public static final String SERIALIZED_NAME_STATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATE_ID_NUMBER
public static final String SERIALIZED_NAME_STATE_ID_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATE_INCOME
public static final String SERIALIZED_NAME_STATE_INCOME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOCAL_TAX_WITHHELD
public static final String SERIALIZED_NAME_LOCAL_TAX_WITHHELD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOCALITY
public static final String SERIALIZED_NAME_LOCALITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOCALITY_ID_NUMBER
public static final String SERIALIZED_NAME_LOCALITY_ID_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOCAL_INCOME
public static final String SERIALIZED_NAME_LOCAL_INCOME
- See Also:
- Constant Field Values
-
-
Method Detail
-
stateTaxWithheld
public StateAndLocalWithholding stateTaxWithheld(Double stateTaxWithheld)
-
getStateTaxWithheld
@Nullable public Double getStateTaxWithheld()
Amount of state tax that was withheld- Returns:
- stateTaxWithheld
-
setStateTaxWithheld
public void setStateTaxWithheld(Double stateTaxWithheld)
-
state
public StateAndLocalWithholding state(String state)
-
setState
public void setState(String state)
-
stateIdNumber
public StateAndLocalWithholding stateIdNumber(String stateIdNumber)
-
getStateIdNumber
@Nullable public String getStateIdNumber()
State ID number of the entity issuing the form- Returns:
- stateIdNumber
-
setStateIdNumber
public void setStateIdNumber(String stateIdNumber)
-
stateIncome
public StateAndLocalWithholding stateIncome(Double stateIncome)
-
setStateIncome
public void setStateIncome(Double stateIncome)
-
localTaxWithheld
public StateAndLocalWithholding localTaxWithheld(Double localTaxWithheld)
-
getLocalTaxWithheld
@Nullable public Double getLocalTaxWithheld()
Amount of local tax that was withheld- Returns:
- localTaxWithheld
-
setLocalTaxWithheld
public void setLocalTaxWithheld(Double localTaxWithheld)
-
locality
public StateAndLocalWithholding locality(String locality)
-
setLocality
public void setLocality(String locality)
-
localityIdNumber
public StateAndLocalWithholding localityIdNumber(String localityIdNumber)
-
getLocalityIdNumber
@Nullable public String getLocalityIdNumber()
Locality ID number of the entity issuing the form- Returns:
- localityIdNumber
-
setLocalityIdNumber
public void setLocalityIdNumber(String localityIdNumber)
-
localIncome
public StateAndLocalWithholding localIncome(Double localIncome)
-
setLocalIncome
public void setLocalIncome(Double localIncome)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates 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
-
-