Class AdditionalSettings


  • public class AdditionalSettings
    extends Object
    AdditionalSettings
    • Constructor Detail

      • AdditionalSettings

        public AdditionalSettings()
    • Method Detail

      • includeEventCodes

        public AdditionalSettings includeEventCodes​(List<String> includeEventCodes)
        Object containing list of event codes for which the notification will be sent.
        Parameters:
        includeEventCodes -
        Returns:
        the current AdditionalSettings instance, allowing for method chaining
      • getIncludeEventCodes

        public List<String> getIncludeEventCodes()
        Object containing list of event codes for which the notification will be sent.
        Returns:
        includeEventCodes
      • setIncludeEventCodes

        public void setIncludeEventCodes​(List<String> includeEventCodes)
        Object containing list of event codes for which the notification will be sent.
        Parameters:
        includeEventCodes -
      • properties

        public AdditionalSettings properties​(Map<String,​Boolean> properties)
        Object containing boolean key-value pairs. The key can be any [standard webhook additional setting](https://docs.adyen.com/development-resources/webhooks/additional-settings), and the value indicates if the setting is enabled. For example, `captureDelayHours`: **true** means the standard notifications you get will contain the number of hours remaining until the payment will be captured.
        Parameters:
        properties -
        Returns:
        the current AdditionalSettings instance, allowing for method chaining
      • getProperties

        public Map<String,​Boolean> getProperties()
        Object containing boolean key-value pairs. The key can be any [standard webhook additional setting](https://docs.adyen.com/development-resources/webhooks/additional-settings), and the value indicates if the setting is enabled. For example, `captureDelayHours`: **true** means the standard notifications you get will contain the number of hours remaining until the payment will be captured.
        Returns:
        properties
      • setProperties

        public void setProperties​(Map<String,​Boolean> properties)
        Object containing boolean key-value pairs. The key can be any [standard webhook additional setting](https://docs.adyen.com/development-resources/webhooks/additional-settings), and the value indicates if the setting is enabled. For example, `captureDelayHours`: **true** means the standard notifications you get will contain the number of hours remaining until the payment will be captured.
        Parameters:
        properties -
      • equals

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

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

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

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