Package com.adyen.model.transfers
Class FindTransfersResponse
- java.lang.Object
-
- com.adyen.model.transfers.FindTransfersResponse
-
public class FindTransfersResponse extends Object
FindTransfersResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DATAstatic StringJSON_PROPERTY_LINKS
-
Constructor Summary
Constructors Constructor Description FindTransfersResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FindTransfersResponseaddDataItem(TransferData dataItem)FindTransfersResponsedata(List<TransferData> data)booleanequals(Object o)Return true if this FindTransfersResponse object is equal to o.static FindTransfersResponsefromJson(String jsonString)Create an instance of FindTransfersResponse given an JSON stringList<TransferData>getData()Contains the transfers that match the query parameters.LinksgetLinks()Get linksinthashCode()FindTransfersResponselinks(Links links)voidsetData(List<TransferData> data)Contains the transfers that match the query parameters.voidsetLinks(Links links)linksStringtoJson()Convert an instance of FindTransfersResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_LINKS
public static final String JSON_PROPERTY_LINKS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DATA
public static final String JSON_PROPERTY_DATA
- See Also:
- Constant Field Values
-
-
Method Detail
-
links
public FindTransfersResponse links(Links links)
-
getLinks
public Links getLinks()
Get links- Returns:
- links
-
setLinks
public void setLinks(Links links)
links- Parameters:
links-
-
data
public FindTransfersResponse data(List<TransferData> data)
-
addDataItem
public FindTransfersResponse addDataItem(TransferData dataItem)
-
getData
public List<TransferData> getData()
Contains the transfers that match the query parameters.- Returns:
- data
-
setData
public void setData(List<TransferData> data)
Contains the transfers that match the query parameters.- Parameters:
data-
-
equals
public boolean equals(Object o)
Return true if this FindTransfersResponse object is equal to o.
-
fromJson
public static FindTransfersResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of FindTransfersResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FindTransfersResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to FindTransfersResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of FindTransfersResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-