Class TestNotificationConfigurationResponse
- java.lang.Object
-
- com.adyen.model.marketpayconfiguration.TestNotificationConfigurationResponse
-
public class TestNotificationConfigurationResponse extends Object
TestNotificationConfigurationResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTestNotificationConfigurationResponse.EventTypesEnumGets or Sets eventTypes
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ERROR_MESSAGESstatic StringJSON_PROPERTY_EVENT_TYPESstatic StringJSON_PROPERTY_EXCHANGE_MESSAGESstatic StringJSON_PROPERTY_INVALID_FIELDSstatic StringJSON_PROPERTY_NOTIFICATION_IDstatic StringJSON_PROPERTY_OK_MESSAGESstatic StringJSON_PROPERTY_PSP_REFERENCEstatic StringJSON_PROPERTY_RESULT_CODE
-
Constructor Summary
Constructors Constructor Description TestNotificationConfigurationResponse()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ERROR_MESSAGES
public static final String JSON_PROPERTY_ERROR_MESSAGES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EVENT_TYPES
public static final String JSON_PROPERTY_EVENT_TYPES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXCHANGE_MESSAGES
public static final String JSON_PROPERTY_EXCHANGE_MESSAGES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INVALID_FIELDS
public static final String JSON_PROPERTY_INVALID_FIELDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NOTIFICATION_ID
public static final String JSON_PROPERTY_NOTIFICATION_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OK_MESSAGES
public static final String JSON_PROPERTY_OK_MESSAGES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PSP_REFERENCE
public static final String JSON_PROPERTY_PSP_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESULT_CODE
public static final String JSON_PROPERTY_RESULT_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
errorMessages
public TestNotificationConfigurationResponse errorMessages(List<String> errorMessages)
-
addErrorMessagesItem
public TestNotificationConfigurationResponse addErrorMessagesItem(String errorMessagesItem)
-
getErrorMessages
public List<String> getErrorMessages()
Any error messages encountered.- Returns:
- errorMessages
-
eventTypes
public TestNotificationConfigurationResponse eventTypes(List<TestNotificationConfigurationResponse.EventTypesEnum> eventTypes)
-
addEventTypesItem
public TestNotificationConfigurationResponse addEventTypesItem(TestNotificationConfigurationResponse.EventTypesEnum eventTypesItem)
-
getEventTypes
public List<TestNotificationConfigurationResponse.EventTypesEnum> getEventTypes()
The event types that were 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<TestNotificationConfigurationResponse.EventTypesEnum> eventTypes)
-
exchangeMessages
public TestNotificationConfigurationResponse exchangeMessages(List<ExchangeMessage> exchangeMessages)
-
addExchangeMessagesItem
public TestNotificationConfigurationResponse addExchangeMessagesItem(ExchangeMessage exchangeMessagesItem)
-
getExchangeMessages
public List<ExchangeMessage> getExchangeMessages()
The notification message and related response messages.- Returns:
- exchangeMessages
-
setExchangeMessages
public void setExchangeMessages(List<ExchangeMessage> exchangeMessages)
-
invalidFields
public TestNotificationConfigurationResponse invalidFields(List<ErrorFieldType> invalidFields)
-
addInvalidFieldsItem
public TestNotificationConfigurationResponse addInvalidFieldsItem(ErrorFieldType invalidFieldsItem)
-
getInvalidFields
public List<ErrorFieldType> getInvalidFields()
Contains field validation errors that would prevent requests from being processed.- Returns:
- invalidFields
-
setInvalidFields
public void setInvalidFields(List<ErrorFieldType> invalidFields)
-
notificationId
public TestNotificationConfigurationResponse notificationId(Long notificationId)
-
getNotificationId
public Long getNotificationId()
The ID of the notification subscription configuration.- Returns:
- notificationId
-
setNotificationId
public void setNotificationId(Long notificationId)
-
okMessages
public TestNotificationConfigurationResponse okMessages(List<String> okMessages)
-
addOkMessagesItem
public TestNotificationConfigurationResponse addOkMessagesItem(String okMessagesItem)
-
getOkMessages
public List<String> getOkMessages()
A list of messages describing the testing steps.- Returns:
- okMessages
-
pspReference
public TestNotificationConfigurationResponse pspReference(String pspReference)
-
getPspReference
public String getPspReference()
The reference of a request. Can be used to uniquely identify the request.- Returns:
- pspReference
-
setPspReference
public void setPspReference(String pspReference)
-
resultCode
public TestNotificationConfigurationResponse resultCode(String resultCode)
-
getResultCode
public String getResultCode()
The result code.- Returns:
- resultCode
-
setResultCode
public void setResultCode(String resultCode)
-
equals
public boolean equals(Object o)
Return true if this TestNotificationConfigurationResponse object is equal to o.
-
fromJson
public static TestNotificationConfigurationResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TestNotificationConfigurationResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TestNotificationConfigurationResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TestNotificationConfigurationResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TestNotificationConfigurationResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-