Package com.adyen.model.management
Class UpdatePayoutSettingsRequest
- java.lang.Object
-
- com.adyen.model.management.UpdatePayoutSettingsRequest
-
public class UpdatePayoutSettingsRequest extends Object
UpdatePayoutSettingsRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdatePayoutSettingsRequest.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ENABLED
-
Constructor Summary
Constructors Constructor Description UpdatePayoutSettingsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdatePayoutSettingsRequestenabled(Boolean enabled)booleanequals(Object o)static UpdatePayoutSettingsRequestfromJson(String jsonString)Create an instance of UpdatePayoutSettingsRequest given an JSON stringBooleangetEnabled()Indicates if payouts to this bank account are enabled.inthashCode()voidsetEnabled(Boolean enabled)StringtoJson()Convert an instance of UpdatePayoutSettingsRequest to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
enabled
public UpdatePayoutSettingsRequest enabled(Boolean enabled)
-
getEnabled
public Boolean getEnabled()
Indicates if payouts to this bank account are enabled. Default: **true**. To receive payouts into this bank account, both `enabled` and `allowed` must be **true**.- Returns:
- enabled
-
setEnabled
public void setEnabled(Boolean enabled)
-
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 UpdatePayoutSettingsRequest
-
fromJson
public static UpdatePayoutSettingsRequest fromJson(String jsonString) throws IOException
Create an instance of UpdatePayoutSettingsRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdatePayoutSettingsRequest
- Throws:
IOException- if the JSON string is invalid with respect to UpdatePayoutSettingsRequest
-
toJson
public String toJson()
Convert an instance of UpdatePayoutSettingsRequest to an JSON string- Returns:
- JSON string
-
-