Class TerminalSettingsNotificationResponse
- java.lang.Object
-
- com.adyen.model.managementwebhooks.TerminalSettingsNotificationResponse
-
public class TerminalSettingsNotificationResponse extends Object
TerminalSettingsNotificationResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_NOTIFICATION_RESPONSE
-
Constructor Summary
Constructors Constructor Description TerminalSettingsNotificationResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this TerminalSettingsNotificationResponse object is equal to o.static TerminalSettingsNotificationResponsefromJson(String jsonString)Create an instance of TerminalSettingsNotificationResponse 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()TerminalSettingsNotificationResponsenotificationResponse(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 TerminalSettingsNotificationResponse 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 TerminalSettingsNotificationResponse 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 TerminalSettingsNotificationResponse object is equal to o.
-
fromJson
public static TerminalSettingsNotificationResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TerminalSettingsNotificationResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TerminalSettingsNotificationResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TerminalSettingsNotificationResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TerminalSettingsNotificationResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-