Package Avalara.SDK.model.EInvoicing.V1
Class SubmitInteropDocument202Response
- java.lang.Object
-
- Avalara.SDK.model.EInvoicing.V1.SubmitInteropDocument202Response
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class SubmitInteropDocument202Response extends Object
SubmitInteropDocument202Response
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubmitInteropDocument202Response.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_INTERCHANGE_IDstatic StringSERIALIZED_NAME_MESSAGE
-
Constructor Summary
Constructors Constructor Description SubmitInteropDocument202Response()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static SubmitInteropDocument202ResponsefromJson(String jsonString)Create an instance of SubmitInteropDocument202Response given an JSON stringStringgetInterchangeId()The unique interchange ID for this submission.StringgetMessage()A message indicating that the document has been accepted.inthashCode()SubmitInteropDocument202ResponseinterchangeId(String interchangeId)SubmitInteropDocument202Responsemessage(String message)voidsetInterchangeId(String interchangeId)voidsetMessage(String message)StringtoJson()Convert an instance of SubmitInteropDocument202Response 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_INTERCHANGE_ID
public static final String SERIALIZED_NAME_INTERCHANGE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MESSAGE
public static final String SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
interchangeId
public SubmitInteropDocument202Response interchangeId(String interchangeId)
-
getInterchangeId
@Nullable public String getInterchangeId()
The unique interchange ID for this submission.- Returns:
- interchangeId
-
setInterchangeId
public void setInterchangeId(String interchangeId)
-
message
public SubmitInteropDocument202Response message(String message)
-
getMessage
@Nullable public String getMessage()
A message indicating that the document has been accepted.- Returns:
- message
-
setMessage
public void setMessage(String message)
-
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 SubmitInteropDocument202Response
-
fromJson
public static SubmitInteropDocument202Response fromJson(String jsonString) throws IOException
Create an instance of SubmitInteropDocument202Response given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SubmitInteropDocument202Response
- Throws:
IOException- if the JSON string is invalid with respect to SubmitInteropDocument202Response
-
toJson
public String toJson()
Convert an instance of SubmitInteropDocument202Response to an JSON string- Returns:
- JSON string
-
-