Class AssignTerminalsResponse


  • public class AssignTerminalsResponse
    extends Object
    AssignTerminalsResponse
    • Constructor Detail

      • AssignTerminalsResponse

        public AssignTerminalsResponse()
    • Method Detail

      • getResults

        public Map<String,​String> getResults()
        Array that returns a list of the terminals, and for each terminal the result of assigning it to an account or store. The results can be: - `Done`: The terminal has been assigned. - `AssignmentScheduled`: The terminal will be assigned asynschronously. - `RemoveConfigScheduled`: The terminal was previously assigned and boarded. Wait for the terminal to synchronize with the Adyen platform. For more information, refer to [Reassigning boarded terminals](https://docs.adyen.com/point-of-sale/managing-terminals/assign-terminals#reassign-boarded-terminals). - `Error`: There was an error when assigning the terminal.
        Returns:
        results
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to AssignTerminalsResponse
      • fromJson

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

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