Class MandateNotificationData
- java.lang.Object
-
- com.adyen.model.configurationwebhooks.MandateNotificationData
-
public class MandateNotificationData extends Object
MandateNotificationData
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BALANCE_PLATFORMstatic StringJSON_PROPERTY_MANDATE
-
Constructor Summary
Constructors Constructor Description MandateNotificationData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MandateNotificationDatabalancePlatform(String balancePlatform)The unique identifier of the balance platform.booleanequals(Object o)Return true if this MandateNotificationData object is equal to o.static MandateNotificationDatafromJson(String jsonString)Create an instance of MandateNotificationData given an JSON stringStringgetBalancePlatform()The unique identifier of the balance platform.MandategetMandate()Get mandateinthashCode()MandateNotificationDatamandate(Mandate mandate)mandatevoidsetBalancePlatform(String balancePlatform)The unique identifier of the balance platform.voidsetMandate(Mandate mandate)mandateStringtoJson()Convert an instance of MandateNotificationData to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_BALANCE_PLATFORM
public static final String JSON_PROPERTY_BALANCE_PLATFORM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MANDATE
public static final String JSON_PROPERTY_MANDATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
balancePlatform
public MandateNotificationData balancePlatform(String balancePlatform)
The unique identifier of the balance platform.- Parameters:
balancePlatform- The unique identifier of the balance platform.- Returns:
- the current
MandateNotificationDatainstance, allowing for method chaining
-
getBalancePlatform
public String getBalancePlatform()
The unique identifier of the balance platform.- Returns:
- balancePlatform The unique identifier of the balance platform.
-
setBalancePlatform
public void setBalancePlatform(String balancePlatform)
The unique identifier of the balance platform.- Parameters:
balancePlatform- The unique identifier of the balance platform.
-
mandate
public MandateNotificationData mandate(Mandate mandate)
mandate- Parameters:
mandate-- Returns:
- the current
MandateNotificationDatainstance, allowing for method chaining
-
getMandate
public Mandate getMandate()
Get mandate- Returns:
- mandate
-
setMandate
public void setMandate(Mandate mandate)
mandate- Parameters:
mandate-
-
equals
public boolean equals(Object o)
Return true if this MandateNotificationData object is equal to o.
-
fromJson
public static MandateNotificationData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of MandateNotificationData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MandateNotificationData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to MandateNotificationData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of MandateNotificationData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-