Class NotificationConfigurationDetails


  • public class NotificationConfigurationDetails
    extends Object
    NotificationConfigurationDetails
    • Constructor Detail

      • NotificationConfigurationDetails

        public NotificationConfigurationDetails()
    • Method Detail

      • getActive

        public Boolean getActive()
        Indicates whether the notification subscription is active.
        Returns:
        active
      • setActive

        public void setActive​(Boolean active)
      • getApiVersion

        public Integer getApiVersion()
        The version of the notification to which you are subscribing. To make sure that your integration can properly process the notification, subscribe to the same version as the API that you're using.
        Returns:
        apiVersion
      • setApiVersion

        public void setApiVersion​(Integer apiVersion)
      • getDescription

        public String getDescription()
        A description of the notification subscription configuration.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
      • getEventConfigs

        public List<NotificationEventConfiguration> getEventConfigs()
        Contains objects that define event types and their subscription settings.
        Returns:
        eventConfigs
      • getHmacSignatureKey

        public String getHmacSignatureKey()
        A string with which to salt the notification(s) before hashing. If this field is provided, a hash value will be included under the notification header `HmacSignature` and the hash protocol will be included under the notification header `Protocol`. A notification body along with its `hmacSignatureKey` and `Protocol` can be used to calculate a hash value; matching this hash value with the `HmacSignature` will ensure that the notification body has not been tampered with or corrupted. >Must be a 32-byte hex-encoded string (i.e. a string containing 64 hexadecimal characters; e.g. \"b0ea55c2fe60d4d1d605e9c385e0e7f7e6cafbb939ce07010f31a327a0871f27\"). The omission of this field will preclude the provision of the `HmacSignature` and `Protocol` headers in notification(s).
        Returns:
        hmacSignatureKey
      • setHmacSignatureKey

        public void setHmacSignatureKey​(String hmacSignatureKey)
      • getNotificationId

        public Long getNotificationId()
        Adyen-generated ID for the entry, returned in the response when you create a notification configuration. Required when updating an existing configuration using [`/updateNotificationConfiguration`](https://docs.adyen.com/api-explorer/#/NotificationConfigurationService/latest/post/updateNotificationConfiguration).
        Returns:
        notificationId
      • setNotificationId

        public void setNotificationId​(Long notificationId)
      • getNotifyPassword

        public String getNotifyPassword()
        The password to use when accessing the notifyURL with the specified username.
        Returns:
        notifyPassword
      • setNotifyPassword

        public void setNotifyPassword​(String notifyPassword)
      • getNotifyURL

        public String getNotifyURL()
        The URL to which the notifications are to be sent.
        Returns:
        notifyURL
      • setNotifyURL

        public void setNotifyURL​(String notifyURL)
      • getNotifyUsername

        public String getNotifyUsername()
        The username to use when accessing the notifyURL.
        Returns:
        notifyUsername
      • setNotifyUsername

        public void setNotifyUsername​(String notifyUsername)
      • equals

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

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

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

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