Package Avalara.SDK.model.A1099.V2
Class StateAndLocalWithholdingResponse
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.StateAndLocalWithholdingResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class StateAndLocalWithholdingResponse extends Object
StateAndLocalWithholdingResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStateAndLocalWithholdingResponse.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 StateAndLocalWithholdingResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static StateAndLocalWithholdingResponsefromJson(String jsonString)Create an instance of StateAndLocalWithholdingResponse 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()StateAndLocalWithholdingResponselocalIncome(Double localIncome)StateAndLocalWithholdingResponselocality(String locality)StateAndLocalWithholdingResponselocalityIdNumber(String localityIdNumber)StateAndLocalWithholdingResponselocalTaxWithheld(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)StateAndLocalWithholdingResponsestate(String state)StateAndLocalWithholdingResponsestateIdNumber(String stateIdNumber)StateAndLocalWithholdingResponsestateIncome(Double stateIncome)StateAndLocalWithholdingResponsestateTaxWithheld(Double stateTaxWithheld)StringtoJson()Convert an instance of StateAndLocalWithholdingResponse 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 StateAndLocalWithholdingResponse 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 StateAndLocalWithholdingResponse state(String state)
-
setState
public void setState(String state)
-
stateIdNumber
public StateAndLocalWithholdingResponse 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 StateAndLocalWithholdingResponse stateIncome(Double stateIncome)
-
setStateIncome
public void setStateIncome(Double stateIncome)
-
localTaxWithheld
public StateAndLocalWithholdingResponse 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 StateAndLocalWithholdingResponse locality(String locality)
-
setLocality
public void setLocality(String locality)
-
localityIdNumber
public StateAndLocalWithholdingResponse 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 StateAndLocalWithholdingResponse 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 StateAndLocalWithholdingResponse
-
fromJson
public static StateAndLocalWithholdingResponse fromJson(String jsonString) throws IOException
Create an instance of StateAndLocalWithholdingResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of StateAndLocalWithholdingResponse
- Throws:
IOException- if the JSON string is invalid with respect to StateAndLocalWithholdingResponse
-
toJson
public String toJson()
Convert an instance of StateAndLocalWithholdingResponse to an JSON string- Returns:
- JSON string
-
-