Class NotificationEventConfiguration
- java.lang.Object
-
- com.adyen.model.marketpayconfiguration.NotificationEventConfiguration
-
public class NotificationEventConfiguration extends Object
NotificationEventConfiguration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotificationEventConfiguration.EventTypeEnumThe type of event.static classNotificationEventConfiguration.IncludeModeEnumIndicates whether the specified `eventType` is sent to your webhook endpoint.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_EVENT_TYPEstatic StringJSON_PROPERTY_INCLUDE_MODE
-
Constructor Summary
Constructors Constructor Description NotificationEventConfiguration()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_EVENT_TYPE
public static final String JSON_PROPERTY_EVENT_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INCLUDE_MODE
public static final String JSON_PROPERTY_INCLUDE_MODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
eventType
public NotificationEventConfiguration eventType(NotificationEventConfiguration.EventTypeEnum eventType)
-
getEventType
public NotificationEventConfiguration.EventTypeEnum getEventType()
The type of event. Possible values: **ACCOUNT_CLOSED**, **ACCOUNT_CREATED**, **ACCOUNT_FUNDS_BELOW_THRESHOLD**, **ACCOUNT_HOLDER_CREATED**, **ACCOUNT_HOLDER_LIMIT_REACHED**, **ACCOUNT_HOLDER_PAYOUT**, **ACCOUNT_HOLDER_STATUS_CHANGE**, **ACCOUNT_HOLDER_STORE_STATUS_CHANGE**, **ACCOUNT_HOLDER_UPCOMING_DEADLINE**, **ACCOUNT_HOLDER_UPDATED**, **ACCOUNT_HOLDER_VERIFICATION**, **ACCOUNT_UPDATED**, **BENEFICIARY_SETUP**, **COMPENSATE_NEGATIVE_BALANCE**, **DIRECT_DEBIT_INITIATED**, **PAYMENT_FAILURE**, **REFUND_FUNDS_TRANSFER**, **REPORT_AVAILABLE**, **SCHEDULED_REFUNDS**, **TRANSFER_FUNDS**.- Returns:
- eventType
-
setEventType
public void setEventType(NotificationEventConfiguration.EventTypeEnum eventType)
-
includeMode
public NotificationEventConfiguration includeMode(NotificationEventConfiguration.IncludeModeEnum includeMode)
-
getIncludeMode
public NotificationEventConfiguration.IncludeModeEnum getIncludeMode()
Indicates whether the specified `eventType` is sent to your webhook endpoint. Possible values: * **INCLUDE**: Send the specified `eventType`. * **EXCLUDE**: Send all event types except the specified `eventType` and other event types with the `includeMode` set to **EXCLUDE**.- Returns:
- includeMode
-
setIncludeMode
public void setIncludeMode(NotificationEventConfiguration.IncludeModeEnum includeMode)
-
equals
public boolean equals(Object o)
Return true if this NotificationEventConfiguration object is equal to o.
-
fromJson
public static NotificationEventConfiguration fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of NotificationEventConfiguration given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NotificationEventConfiguration
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to NotificationEventConfiguration
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of NotificationEventConfiguration to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-