Class BalanceWebhookSettingInfo


  • public class BalanceWebhookSettingInfo
    extends Object
    BalanceWebhookSettingInfo
    • Constructor Detail

      • BalanceWebhookSettingInfo

        public BalanceWebhookSettingInfo()
    • Method Detail

      • conditions

        public BalanceWebhookSettingInfo conditions​(List<Condition> conditions)
        The array of conditions a balance change must meet for Adyen to send the webhook.
        Parameters:
        conditions - The array of conditions a balance change must meet for Adyen to send the webhook.
        Returns:
        the current BalanceWebhookSettingInfo instance, allowing for method chaining
      • getConditions

        public List<Condition> getConditions()
        The array of conditions a balance change must meet for Adyen to send the webhook.
        Returns:
        conditions The array of conditions a balance change must meet for Adyen to send the webhook.
      • setConditions

        public void setConditions​(List<Condition> conditions)
        The array of conditions a balance change must meet for Adyen to send the webhook.
        Parameters:
        conditions - The array of conditions a balance change must meet for Adyen to send the webhook.
      • currency

        public BalanceWebhookSettingInfo 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 BalanceWebhookSettingInfo 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.
      • status

        public BalanceWebhookSettingInfo status​(BalanceWebhookSettingInfo.StatusEnum status)
        The status of the webhook setting. Possible values: * **active**: You receive a balance webhook if any of the conditions in this setting are met. * **inactive**: You do not receive a balance webhook even if the conditions in this settings are met.
        Parameters:
        status - The status of the webhook setting. Possible values: * **active**: You receive a balance webhook if any of the conditions in this setting are met. * **inactive**: You do not receive a balance webhook even if the conditions in this settings are met.
        Returns:
        the current BalanceWebhookSettingInfo instance, allowing for method chaining
      • getStatus

        public BalanceWebhookSettingInfo.StatusEnum getStatus()
        The status of the webhook setting. Possible values: * **active**: You receive a balance webhook if any of the conditions in this setting are met. * **inactive**: You do not receive a balance webhook even if the conditions in this settings are met.
        Returns:
        status The status of the webhook setting. Possible values: * **active**: You receive a balance webhook if any of the conditions in this setting are met. * **inactive**: You do not receive a balance webhook even if the conditions in this settings are met.
      • setStatus

        public void setStatus​(BalanceWebhookSettingInfo.StatusEnum status)
        The status of the webhook setting. Possible values: * **active**: You receive a balance webhook if any of the conditions in this setting are met. * **inactive**: You do not receive a balance webhook even if the conditions in this settings are met.
        Parameters:
        status - The status of the webhook setting. Possible values: * **active**: You receive a balance webhook if any of the conditions in this setting are met. * **inactive**: You do not receive a balance webhook even if the conditions in this settings are met.
      • target

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

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

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

        public BalanceWebhookSettingInfo type​(BalanceWebhookSettingInfo.TypeEnum type)
        The type of the webhook you are configuring. Set to **balance**.
        Parameters:
        type - The type of the webhook you are configuring. Set to **balance**.
        Returns:
        the current BalanceWebhookSettingInfo instance, allowing for method chaining
      • getType

        public BalanceWebhookSettingInfo.TypeEnum getType()
        The type of the webhook you are configuring. Set to **balance**.
        Returns:
        type The type of the webhook you are configuring. Set to **balance**.
      • setType

        public void setType​(BalanceWebhookSettingInfo.TypeEnum type)
        The type of the webhook you are configuring. Set to **balance**.
        Parameters:
        type - The type of the webhook you are configuring. Set to **balance**.
      • includeNullValues

        public BalanceWebhookSettingInfo includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • equals

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

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

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • fromJson

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

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