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