Package Avalara.SDK.model.A1099.V2
Class StateAndLocalWithholdingRequest
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.StateAndLocalWithholdingRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class StateAndLocalWithholdingRequest extends Object
StateAndLocalWithholdingRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStateAndLocalWithholdingRequest.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 StateAndLocalWithholdingRequest()
-
Method Summary
-
-
-
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 StateAndLocalWithholdingRequest stateTaxWithheld(Double stateTaxWithheld)
-
getStateTaxWithheld
@Nullable public Double getStateTaxWithheld()
Get stateTaxWithheld- Returns:
- stateTaxWithheld
-
setStateTaxWithheld
public void setStateTaxWithheld(Double stateTaxWithheld)
-
state
public StateAndLocalWithholdingRequest state(String state)
-
setState
public void setState(String state)
-
stateIdNumber
public StateAndLocalWithholdingRequest stateIdNumber(String stateIdNumber)
-
getStateIdNumber
@Nullable public String getStateIdNumber()
Get stateIdNumber- Returns:
- stateIdNumber
-
setStateIdNumber
public void setStateIdNumber(String stateIdNumber)
-
stateIncome
public StateAndLocalWithholdingRequest stateIncome(Double stateIncome)
-
setStateIncome
public void setStateIncome(Double stateIncome)
-
localTaxWithheld
public StateAndLocalWithholdingRequest localTaxWithheld(Double localTaxWithheld)
-
getLocalTaxWithheld
@Nullable public Double getLocalTaxWithheld()
Get localTaxWithheld- Returns:
- localTaxWithheld
-
setLocalTaxWithheld
public void setLocalTaxWithheld(Double localTaxWithheld)
-
locality
public StateAndLocalWithholdingRequest locality(String locality)
-
setLocality
public void setLocality(String locality)
-
localityIdNumber
public StateAndLocalWithholdingRequest localityIdNumber(String localityIdNumber)
-
getLocalityIdNumber
@Nullable public String getLocalityIdNumber()
Get localityIdNumber- Returns:
- localityIdNumber
-
setLocalityIdNumber
public void setLocalityIdNumber(String localityIdNumber)
-
localIncome
public StateAndLocalWithholdingRequest 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 StateAndLocalWithholdingRequest
-
fromJson
public static StateAndLocalWithholdingRequest fromJson(String jsonString) throws IOException
Create an instance of StateAndLocalWithholdingRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of StateAndLocalWithholdingRequest
- Throws:
IOException- if the JSON string is invalid with respect to StateAndLocalWithholdingRequest
-
toJson
public String toJson()
Convert an instance of StateAndLocalWithholdingRequest to an JSON string- Returns:
- JSON string
-
-