Package com.adyen.model.management
Class PayoutSettingsResponse
- java.lang.Object
-
- com.adyen.model.management.PayoutSettingsResponse
-
public class PayoutSettingsResponse extends Object
PayoutSettingsResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPayoutSettingsResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DATA
-
Constructor Summary
Constructors Constructor Description PayoutSettingsResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PayoutSettingsResponseaddDataItem(PayoutSettings dataItem)PayoutSettingsResponsedata(List<PayoutSettings> data)booleanequals(Object o)static PayoutSettingsResponsefromJson(String jsonString)Create an instance of PayoutSettingsResponse given an JSON stringList<PayoutSettings>getData()The list of payout accounts.inthashCode()voidsetData(List<PayoutSettings> data)StringtoJson()Convert an instance of PayoutSettingsResponse to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
data
public PayoutSettingsResponse data(List<PayoutSettings> data)
-
addDataItem
public PayoutSettingsResponse addDataItem(PayoutSettings dataItem)
-
getData
public List<PayoutSettings> getData()
The list of payout accounts.- Returns:
- data
-
setData
public void setData(List<PayoutSettings> data)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates 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 PayoutSettingsResponse
-
fromJson
public static PayoutSettingsResponse fromJson(String jsonString) throws IOException
Create an instance of PayoutSettingsResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PayoutSettingsResponse
- Throws:
IOException- if the JSON string is invalid with respect to PayoutSettingsResponse
-
toJson
public String toJson()
Convert an instance of PayoutSettingsResponse to an JSON string- Returns:
- JSON string
-
-