Class PaymentMethodNotificationResponse
- java.lang.Object
-
- com.adyen.model.managementwebhooks.PaymentMethodNotificationResponse
-
public class PaymentMethodNotificationResponse extends Object
PaymentMethodNotificationResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_NOTIFICATION_RESPONSE
-
Constructor Summary
Constructors Constructor Description PaymentMethodNotificationResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this PaymentMethodNotificationResponse object is equal to o.static PaymentMethodNotificationResponsefromJson(String jsonString)Create an instance of PaymentMethodNotificationResponse given an JSON stringStringgetNotificationResponse()Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).inthashCode()PaymentMethodNotificationResponsenotificationResponse(String notificationResponse)voidsetNotificationResponse(String notificationResponse)Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).StringtoJson()Convert an instance of PaymentMethodNotificationResponse 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 PaymentMethodNotificationResponse notificationResponse(String notificationResponse)
-
getNotificationResponse
public String getNotificationResponse()
Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).- Returns:
- notificationResponse
-
setNotificationResponse
public void setNotificationResponse(String notificationResponse)
Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).- Parameters:
notificationResponse-
-
equals
public boolean equals(Object o)
Return true if this PaymentMethodNotificationResponse object is equal to o.
-
fromJson
public static PaymentMethodNotificationResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PaymentMethodNotificationResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentMethodNotificationResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PaymentMethodNotificationResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PaymentMethodNotificationResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-