Class TokenizationNotificationResponse


  • public class TokenizationNotificationResponse
    extends Object
    TokenizationNotificationResponse
    • Field Detail

    • Constructor Detail

      • TokenizationNotificationResponse

        public TokenizationNotificationResponse()
    • Method Detail

      • notificationResponse

        public TokenizationNotificationResponse notificationResponse​(String notificationResponse)
        Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks).
        Parameters:
        notificationResponse - Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks).
        Returns:
        the current TokenizationNotificationResponse 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-webhooks).
        Returns:
        notificationResponse Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks).
      • 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-webhooks).
        Parameters:
        notificationResponse - Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks).
      • equals

        public boolean equals​(Object o)
        Return true if this TokenizationNotificationResponse object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static TokenizationNotificationResponse fromJson​(String jsonString)
                                                         throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of TokenizationNotificationResponse given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of TokenizationNotificationResponse
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to TokenizationNotificationResponse
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of TokenizationNotificationResponse to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException