Class SweepConfigurationNotificationData
- java.lang.Object
-
- com.adyen.model.configurationwebhooks.SweepConfigurationNotificationData
-
public class SweepConfigurationNotificationData extends Object
SweepConfigurationNotificationData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSweepConfigurationNotificationData.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ACCOUNT_IDstatic StringSERIALIZED_NAME_BALANCE_PLATFORMstatic StringSERIALIZED_NAME_SWEEP
-
Constructor Summary
Constructors Constructor Description SweepConfigurationNotificationData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SweepConfigurationNotificationDataaccountId(String accountId)SweepConfigurationNotificationDatabalancePlatform(String balancePlatform)booleanequals(Object o)static SweepConfigurationNotificationDatafromJson(String jsonString)Create an instance of SweepConfigurationNotificationData given an JSON stringStringgetAccountId()The unique identifier of the balance account for which the sweep was configured.StringgetBalancePlatform()The unique identifier of the balance platform.SweepConfigurationV2getSweep()Get sweepinthashCode()voidsetAccountId(String accountId)voidsetBalancePlatform(String balancePlatform)voidsetSweep(SweepConfigurationV2 sweep)SweepConfigurationNotificationDatasweep(SweepConfigurationV2 sweep)StringtoJson()Convert an instance of SweepConfigurationNotificationData to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ACCOUNT_ID
public static final String SERIALIZED_NAME_ACCOUNT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BALANCE_PLATFORM
public static final String SERIALIZED_NAME_BALANCE_PLATFORM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SWEEP
public static final String SERIALIZED_NAME_SWEEP
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountId
public SweepConfigurationNotificationData accountId(String accountId)
-
getAccountId
public String getAccountId()
The unique identifier of the balance account for which the sweep was configured.- Returns:
- accountId
-
setAccountId
public void setAccountId(String accountId)
-
balancePlatform
public SweepConfigurationNotificationData balancePlatform(String balancePlatform)
-
getBalancePlatform
public String getBalancePlatform()
The unique identifier of the balance platform.- Returns:
- balancePlatform
-
setBalancePlatform
public void setBalancePlatform(String balancePlatform)
-
sweep
public SweepConfigurationNotificationData sweep(SweepConfigurationV2 sweep)
-
getSweep
public SweepConfigurationV2 getSweep()
Get sweep- Returns:
- sweep
-
setSweep
public void setSweep(SweepConfigurationV2 sweep)
-
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 SweepConfigurationNotificationData
-
fromJson
public static SweepConfigurationNotificationData fromJson(String jsonString) throws IOException
Create an instance of SweepConfigurationNotificationData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SweepConfigurationNotificationData
- Throws:
IOException- if the JSON string is invalid with respect to SweepConfigurationNotificationData
-
toJson
public String toJson()
Convert an instance of SweepConfigurationNotificationData to an JSON string- Returns:
- JSON string
-
-