Class StatusEvent


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.7.0")
    public class StatusEvent
    extends Object
    Displays when a status event occurred
    • Constructor Detail

      • StatusEvent

        public StatusEvent()
    • Method Detail

      • getEventDateTime

        @Nullable
        public String getEventDateTime()
        The date and time when the status event occured, displayed in the format YYYY-MM-DDThh:mm:ss
        Returns:
        eventDateTime
      • setEventDateTime

        public void setEventDateTime​(String eventDateTime)
      • getMessage

        @Nullable
        public String getMessage()
        A message describing the status event
        Returns:
        message
      • setMessage

        public void setMessage​(String message)
      • getResponseKey

        @Nullable
        public String getResponseKey()
        The type of number or acknowledgement returned by the tax authority (if applicable). For example, it could be an identification key, acknowledgement code, or any other relevant identifier.
        Returns:
        responseKey
      • setResponseKey

        public void setResponseKey​(String responseKey)
      • getResponseValue

        @Nullable
        public String getResponseValue()
        The corresponding value associated with the response key. This value is provided by the tax authority in response to the event.
        Returns:
        responseValue
      • setResponseValue

        public void setResponseValue​(String responseValue)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates 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 StatusEvent
      • fromJson

        public static StatusEvent fromJson​(String jsonString)
                                    throws IOException
        Create an instance of StatusEvent given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of StatusEvent
        Throws:
        IOException - if the JSON string is invalid with respect to StatusEvent
      • toJson

        public String toJson()
        Convert an instance of StatusEvent to an JSON string
        Returns:
        JSON string