Class WebhookSetting

    • Constructor Detail

      • WebhookSetting

        public WebhookSetting()
    • Method Detail

      • currency

        public WebhookSetting currency​(String currency)
        The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance.
        Parameters:
        currency - The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance.
        Returns:
        the current WebhookSetting instance, allowing for method chaining
      • getCurrency

        public String getCurrency()
        The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance.
        Returns:
        currency The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance.
      • setCurrency

        public void setCurrency​(String currency)
        The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance.
        Parameters:
        currency - The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance.
      • id

        public WebhookSetting id​(String id)
        The unique identifier of the webhook setting.
        Parameters:
        id - The unique identifier of the webhook setting.
        Returns:
        the current WebhookSetting instance, allowing for method chaining
      • getId

        public String getId()
        The unique identifier of the webhook setting.
        Returns:
        id The unique identifier of the webhook setting.
      • setId

        public void setId​(String id)
        The unique identifier of the webhook setting.
        Parameters:
        id - The unique identifier of the webhook setting.
      • status

        public WebhookSetting status​(String status)
        status
        Parameters:
        status -
        Returns:
        the current WebhookSetting instance, allowing for method chaining
      • getStatus

        public String getStatus()
        Get status
        Returns:
        status
      • setStatus

        public void setStatus​(String status)
        status
        Parameters:
        status -
      • target

        public WebhookSetting target​(Target target)
        target
        Parameters:
        target -
        Returns:
        the current WebhookSetting instance, allowing for method chaining
      • getTarget

        public Target getTarget()
        Get target
        Returns:
        target
      • setTarget

        public void setTarget​(Target target)
        target
        Parameters:
        target -
      • type

        public WebhookSetting type​(SettingType type)
        type
        Parameters:
        type -
        Returns:
        the current WebhookSetting instance, allowing for method chaining
      • getType

        public SettingType getType()
        Get type
        Returns:
        type
      • setType

        public void setType​(SettingType type)
        type
        Parameters:
        type -
      • equals

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

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

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

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