Class TestNotificationConfigurationRequest
- java.lang.Object
-
- com.adyen.model.marketpayconfiguration.TestNotificationConfigurationRequest
-
public class TestNotificationConfigurationRequest extends Object
TestNotificationConfigurationRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTestNotificationConfigurationRequest.EventTypesEnumGets or Sets eventTypes
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_EVENT_TYPESstatic StringJSON_PROPERTY_NOTIFICATION_ID
-
Constructor Summary
Constructors Constructor Description TestNotificationConfigurationRequest()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_EVENT_TYPES
public static final String JSON_PROPERTY_EVENT_TYPES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NOTIFICATION_ID
public static final String JSON_PROPERTY_NOTIFICATION_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
eventTypes
public TestNotificationConfigurationRequest eventTypes(List<TestNotificationConfigurationRequest.EventTypesEnum> eventTypes)
-
addEventTypesItem
public TestNotificationConfigurationRequest addEventTypesItem(TestNotificationConfigurationRequest.EventTypesEnum eventTypesItem)
-
getEventTypes
public List<TestNotificationConfigurationRequest.EventTypesEnum> getEventTypes()
The event types to test. If left blank, then all of the configured event types will be tested. >Permitted values: `ACCOUNT_HOLDER_CREATED`, `ACCOUNT_CREATED`, `ACCOUNT_UPDATED`, `ACCOUNT_HOLDER_UPDATED`, `ACCOUNT_HOLDER_STATUS_CHANGE`, `ACCOUNT_HOLDER_STORE_STATUS_CHANGE` `ACCOUNT_HOLDER_VERIFICATION`, `ACCOUNT_HOLDER_LIMIT_REACHED`, `ACCOUNT_HOLDER_PAYOUT`, `PAYMENT_FAILURE`, `SCHEDULED_REFUNDS`, `REPORT_AVAILABLE`, `TRANSFER_FUNDS`, `BENEFICIARY_SETUP`, `COMPENSATE_NEGATIVE_BALANCE`.- Returns:
- eventTypes
-
setEventTypes
public void setEventTypes(List<TestNotificationConfigurationRequest.EventTypesEnum> eventTypes)
-
notificationId
public TestNotificationConfigurationRequest notificationId(Long notificationId)
-
getNotificationId
public Long getNotificationId()
The ID of the notification subscription configuration to be tested.- Returns:
- notificationId
-
setNotificationId
public void setNotificationId(Long notificationId)
-
equals
public boolean equals(Object o)
Return true if this TestNotificationConfigurationRequest object is equal to o.
-
fromJson
public static TestNotificationConfigurationRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TestNotificationConfigurationRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TestNotificationConfigurationRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TestNotificationConfigurationRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TestNotificationConfigurationRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-