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