Package Avalara.SDK.model.A1099.V2
Class PrimaryWithholdingAgentResponse
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.PrimaryWithholdingAgentResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class PrimaryWithholdingAgentResponse extends Object
PrimaryWithholdingAgentResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPrimaryWithholdingAgentResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_PRIMARY_WITHHOLDING_AGENT_EINstatic StringSERIALIZED_NAME_PRIMARY_WITHHOLDING_AGENT_NAME
-
Constructor Summary
Constructors Constructor Description PrimaryWithholdingAgentResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static PrimaryWithholdingAgentResponsefromJson(String jsonString)Create an instance of PrimaryWithholdingAgentResponse given an JSON stringStringgetPrimaryWithholdingAgentEin()Get primaryWithholdingAgentEinStringgetPrimaryWithholdingAgentName()Get primaryWithholdingAgentNameinthashCode()PrimaryWithholdingAgentResponseprimaryWithholdingAgentEin(String primaryWithholdingAgentEin)PrimaryWithholdingAgentResponseprimaryWithholdingAgentName(String primaryWithholdingAgentName)voidsetPrimaryWithholdingAgentEin(String primaryWithholdingAgentEin)voidsetPrimaryWithholdingAgentName(String primaryWithholdingAgentName)StringtoJson()Convert an instance of PrimaryWithholdingAgentResponse 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_PRIMARY_WITHHOLDING_AGENT_NAME
public static final String SERIALIZED_NAME_PRIMARY_WITHHOLDING_AGENT_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRIMARY_WITHHOLDING_AGENT_EIN
public static final String SERIALIZED_NAME_PRIMARY_WITHHOLDING_AGENT_EIN
- See Also:
- Constant Field Values
-
-
Method Detail
-
primaryWithholdingAgentName
public PrimaryWithholdingAgentResponse primaryWithholdingAgentName(String primaryWithholdingAgentName)
-
getPrimaryWithholdingAgentName
@Nullable public String getPrimaryWithholdingAgentName()
Get primaryWithholdingAgentName- Returns:
- primaryWithholdingAgentName
-
setPrimaryWithholdingAgentName
public void setPrimaryWithholdingAgentName(String primaryWithholdingAgentName)
-
primaryWithholdingAgentEin
public PrimaryWithholdingAgentResponse primaryWithholdingAgentEin(String primaryWithholdingAgentEin)
-
getPrimaryWithholdingAgentEin
@Nullable public String getPrimaryWithholdingAgentEin()
Get primaryWithholdingAgentEin- Returns:
- primaryWithholdingAgentEin
-
setPrimaryWithholdingAgentEin
public void setPrimaryWithholdingAgentEin(String primaryWithholdingAgentEin)
-
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 PrimaryWithholdingAgentResponse
-
fromJson
public static PrimaryWithholdingAgentResponse fromJson(String jsonString) throws IOException
Create an instance of PrimaryWithholdingAgentResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PrimaryWithholdingAgentResponse
- Throws:
IOException- if the JSON string is invalid with respect to PrimaryWithholdingAgentResponse
-
toJson
public String toJson()
Convert an instance of PrimaryWithholdingAgentResponse to an JSON string- Returns:
- JSON string
-
-