Class NotificationResponse
- java.lang.Object
-
- com.adyen.model.marketpaywebhooks.NotificationResponse
-
public class NotificationResponse extends Object
NotificationResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_NOTIFICATION_RESPONSE
-
Constructor Summary
Constructors Constructor Description NotificationResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this NotificationResponse object is equal to o.static NotificationResponsefromJson(String jsonString)Create an instance of NotificationResponse given an JSON stringStringgetNotificationResponse()Set this parameter to **[accepted]** to acknowledge that you received a notification from Adyen.inthashCode()NotificationResponsenotificationResponse(String notificationResponse)voidsetNotificationResponse(String notificationResponse)StringtoJson()Convert an instance of NotificationResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_NOTIFICATION_RESPONSE
public static final String JSON_PROPERTY_NOTIFICATION_RESPONSE
- See Also:
- Constant Field Values
-
-
Method Detail
-
notificationResponse
public NotificationResponse notificationResponse(String notificationResponse)
-
getNotificationResponse
public String getNotificationResponse()
Set this parameter to **[accepted]** to acknowledge that you received a notification from Adyen.- Returns:
- notificationResponse
-
setNotificationResponse
public void setNotificationResponse(String notificationResponse)
-
equals
public boolean equals(Object o)
Return true if this NotificationResponse object is equal to o.
-
fromJson
public static NotificationResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of NotificationResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NotificationResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to NotificationResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of NotificationResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-