Package com.adyen.model.management
Class AdditionalSettings
- java.lang.Object
-
- com.adyen.model.management.AdditionalSettings
-
public class AdditionalSettings extends Object
AdditionalSettings
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_INCLUDE_EVENT_CODESstatic StringJSON_PROPERTY_PROPERTIES
-
Constructor Summary
Constructors Constructor Description AdditionalSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AdditionalSettingsaddIncludeEventCodesItem(String includeEventCodesItem)booleanequals(Object o)Return true if this AdditionalSettings object is equal to o.static AdditionalSettingsfromJson(String jsonString)Create an instance of AdditionalSettings given an JSON stringList<String>getIncludeEventCodes()Object containing list of event codes for which the notification will be sent.Map<String,Boolean>getProperties()Object containing boolean key-value pairs.inthashCode()AdditionalSettingsincludeEventCodes(List<String> includeEventCodes)Object containing list of event codes for which the notification will be sent.AdditionalSettingsproperties(Map<String,Boolean> properties)Object containing boolean key-value pairs.AdditionalSettingsputPropertiesItem(String key, Boolean propertiesItem)voidsetIncludeEventCodes(List<String> includeEventCodes)Object containing list of event codes for which the notification will be sent.voidsetProperties(Map<String,Boolean> properties)Object containing boolean key-value pairs.StringtoJson()Convert an instance of AdditionalSettings to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_INCLUDE_EVENT_CODES
public static final String JSON_PROPERTY_INCLUDE_EVENT_CODES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PROPERTIES
public static final String JSON_PROPERTY_PROPERTIES
- See Also:
- Constant Field Values
-
-
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
AdditionalSettingsinstance, allowing for method chaining
-
addIncludeEventCodesItem
public AdditionalSettings addIncludeEventCodesItem(String includeEventCodesItem)
-
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
AdditionalSettingsinstance, allowing for method chaining
-
putPropertiesItem
public AdditionalSettings putPropertiesItem(String key, Boolean propertiesItem)
-
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.
-
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
-
-