Package com.adyen.model.management
Class TerminalModelsResponse
- java.lang.Object
-
- com.adyen.model.management.TerminalModelsResponse
-
public class TerminalModelsResponse extends Object
TerminalModelsResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DATA
-
Constructor Summary
Constructors Constructor Description TerminalModelsResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TerminalModelsResponseaddDataItem(IdName dataItem)TerminalModelsResponsedata(List<IdName> data)The terminal models that the API credential has access to.booleanequals(Object o)Return true if this TerminalModelsResponse object is equal to o.static TerminalModelsResponsefromJson(String jsonString)Create an instance of TerminalModelsResponse given an JSON stringList<IdName>getData()The terminal models that the API credential has access to.inthashCode()voidsetData(List<IdName> data)The terminal models that the API credential has access to.StringtoJson()Convert an instance of TerminalModelsResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DATA
public static final String JSON_PROPERTY_DATA
- See Also:
- Constant Field Values
-
-
Method Detail
-
data
public TerminalModelsResponse data(List<IdName> data)
The terminal models that the API credential has access to.- Parameters:
data-- Returns:
- the current
TerminalModelsResponseinstance, allowing for method chaining
-
addDataItem
public TerminalModelsResponse addDataItem(IdName dataItem)
-
getData
public List<IdName> getData()
The terminal models that the API credential has access to.- Returns:
- data
-
setData
public void setData(List<IdName> data)
The terminal models that the API credential has access to.- Parameters:
data-
-
equals
public boolean equals(Object o)
Return true if this TerminalModelsResponse object is equal to o.
-
fromJson
public static TerminalModelsResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TerminalModelsResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TerminalModelsResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TerminalModelsResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TerminalModelsResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-