Package Avalara.SDK.model.A1099.V2
Class TinMatchStatusResponse
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.TinMatchStatusResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class TinMatchStatusResponse extends Object
TinMatchStatusResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTinMatchStatusResponse.CustomTypeAdapterFactorystatic classTinMatchStatusResponse.StatusEnumThe current status for the TIN match request.
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_IRS_RESPONSEstatic StringSERIALIZED_NAME_STATUSstatic StringSERIALIZED_NAME_TIME
-
Constructor Summary
Constructors Constructor Description TinMatchStatusResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static TinMatchStatusResponsefromJson(String jsonString)Create an instance of TinMatchStatusResponse given an JSON stringIrsResponsegetIrsResponse()The IRS response.TinMatchStatusResponse.StatusEnumgetStatus()The current status for the TIN match request.OffsetDateTimegetTime()The current timestamp for the TIN match request.inthashCode()TinMatchStatusResponseirsResponse(IrsResponse irsResponse)voidsetIrsResponse(IrsResponse irsResponse)voidsetStatus(TinMatchStatusResponse.StatusEnum status)voidsetTime(OffsetDateTime time)TinMatchStatusResponsestatus(TinMatchStatusResponse.StatusEnum status)TinMatchStatusResponsetime(OffsetDateTime time)StringtoJson()Convert an instance of TinMatchStatusResponse 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_TIME
public static final String SERIALIZED_NAME_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IRS_RESPONSE
public static final String SERIALIZED_NAME_IRS_RESPONSE
- See Also:
- Constant Field Values
-
-
Method Detail
-
time
public TinMatchStatusResponse time(OffsetDateTime time)
-
getTime
@Nullable public OffsetDateTime getTime()
The current timestamp for the TIN match request.- Returns:
- time
-
setTime
public void setTime(OffsetDateTime time)
-
status
public TinMatchStatusResponse status(TinMatchStatusResponse.StatusEnum status)
-
getStatus
@Nullable public TinMatchStatusResponse.StatusEnum getStatus()
The current status for the TIN match request.- Returns:
- status
-
setStatus
public void setStatus(TinMatchStatusResponse.StatusEnum status)
-
irsResponse
public TinMatchStatusResponse irsResponse(IrsResponse irsResponse)
-
getIrsResponse
@Nullable public IrsResponse getIrsResponse()
The IRS response.- Returns:
- irsResponse
-
setIrsResponse
public void setIrsResponse(IrsResponse irsResponse)
-
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 TinMatchStatusResponse
-
fromJson
public static TinMatchStatusResponse fromJson(String jsonString) throws IOException
Create an instance of TinMatchStatusResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TinMatchStatusResponse
- Throws:
IOException- if the JSON string is invalid with respect to TinMatchStatusResponse
-
toJson
public String toJson()
Convert an instance of TinMatchStatusResponse to an JSON string- Returns:
- JSON string
-
-