Class AssignTerminalsResponse
- java.lang.Object
-
- com.adyen.model.posterminalmanagement.AssignTerminalsResponse
-
public class AssignTerminalsResponse extends Object
AssignTerminalsResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_RESULTS
-
Constructor Summary
Constructors Constructor Description AssignTerminalsResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this AssignTerminalsResponse object is equal to o.static AssignTerminalsResponsefromJson(String jsonString)Create an instance of AssignTerminalsResponse given an JSON stringMap<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.inthashCode()AssignTerminalsResponseputResultsItem(String key, String resultsItem)AssignTerminalsResponseresults(Map<String,String> results)voidsetResults(Map<String,String> results)Array that returns a list of the terminals, and for each terminal the result of assigning it to an account or store.StringtoJson()Convert an instance of AssignTerminalsResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_RESULTS
public static final String JSON_PROPERTY_RESULTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
results
public AssignTerminalsResponse results(Map<String,String> results)
-
putResultsItem
public AssignTerminalsResponse putResultsItem(String key, String resultsItem)
-
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
-
setResults
public void setResults(Map<String,String> results)
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.- Parameters:
results-
-
equals
public boolean equals(Object o)
Return true if this AssignTerminalsResponse object is equal to o.
-
fromJson
public static AssignTerminalsResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AssignTerminalsResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AssignTerminalsResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AssignTerminalsResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AssignTerminalsResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-