Class SweepConfigurationNotificationData
- java.lang.Object
-
- com.adyen.model.configurationwebhooks.SweepConfigurationNotificationData
-
public class SweepConfigurationNotificationData extends Object
SweepConfigurationNotificationData
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_IDstatic StringJSON_PROPERTY_BALANCE_PLATFORMstatic StringJSON_PROPERTY_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)The unique identifier of the balance account for which the sweep was configured.SweepConfigurationNotificationDatabalancePlatform(String balancePlatform)The unique identifier of the balance platform.booleanequals(Object o)Return true if this SweepConfigurationNotificationData object is equal to 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()sweepinthashCode()voidsetAccountId(String accountId)The unique identifier of the balance account for which the sweep was configured.voidsetBalancePlatform(String balancePlatform)The unique identifier of the balance platform.voidsetSweep(SweepConfigurationV2 sweep)sweepSweepConfigurationNotificationDatasweep(SweepConfigurationV2 sweep)sweepStringtoJson()Convert an instance of SweepConfigurationNotificationData to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_ID
public static final String JSON_PROPERTY_ACCOUNT_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BALANCE_PLATFORM
public static final String JSON_PROPERTY_BALANCE_PLATFORM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SWEEP
public static final String JSON_PROPERTY_SWEEP
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountId
public SweepConfigurationNotificationData accountId(String accountId)
The unique identifier of the balance account for which the sweep was configured.- Parameters:
accountId-- Returns:
- the current
SweepConfigurationNotificationDatainstance, allowing for method chaining
-
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)
The unique identifier of the balance account for which the sweep was configured.- Parameters:
accountId-
-
balancePlatform
public SweepConfigurationNotificationData balancePlatform(String balancePlatform)
The unique identifier of the balance platform.- Parameters:
balancePlatform-- Returns:
- the current
SweepConfigurationNotificationDatainstance, allowing for method chaining
-
getBalancePlatform
public String getBalancePlatform()
The unique identifier of the balance platform.- Returns:
- balancePlatform
-
setBalancePlatform
public void setBalancePlatform(String balancePlatform)
The unique identifier of the balance platform.- Parameters:
balancePlatform-
-
sweep
public SweepConfigurationNotificationData sweep(SweepConfigurationV2 sweep)
sweep- Parameters:
sweep-- Returns:
- the current
SweepConfigurationNotificationDatainstance, allowing for method chaining
-
getSweep
public SweepConfigurationV2 getSweep()
sweep- Returns:
- sweep
-
setSweep
public void setSweep(SweepConfigurationV2 sweep)
sweep- Parameters:
sweep-
-
equals
public boolean equals(Object o)
Return true if this SweepConfigurationNotificationData object is equal to o.
-
fromJson
public static SweepConfigurationNotificationData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of SweepConfigurationNotificationData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SweepConfigurationNotificationData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to SweepConfigurationNotificationData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of SweepConfigurationNotificationData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-