Class TerminalAssignmentNotificationResponse


  • public class TerminalAssignmentNotificationResponse
    extends Object
    TerminalAssignmentNotificationResponse
    • Field Detail

    • Constructor Detail

      • TerminalAssignmentNotificationResponse

        public TerminalAssignmentNotificationResponse()
    • 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 TerminalAssignmentNotificationResponse instance, 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.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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