Class TestNotificationConfigurationResponse
- java.lang.Object
-
- com.adyen.model.marketpay.notification.GenericResponse
-
- com.adyen.model.marketpay.notification.TestNotificationConfigurationResponse
-
public class TestNotificationConfigurationResponse extends GenericResponse
TestNotificationConfigurationResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTestNotificationConfigurationResponse.EventTypesEnumGets or Sets eventTypes
-
Constructor Summary
Constructors Constructor Description TestNotificationConfigurationResponse()
-
Method Summary
-
Methods inherited from class com.adyen.model.marketpay.notification.GenericResponse
addInvalidFieldsItem, getInvalidFields, getPspReference, getResultCode, invalidFields, pspReference, resultCode, setInvalidFields, setPspReference, setResultCode
-
-
-
-
Method Detail
-
errorMessages
public TestNotificationConfigurationResponse errorMessages(List<String> errorMessages)
-
addErrorMessagesItem
public TestNotificationConfigurationResponse addErrorMessagesItem(String errorMessagesItem)
-
getErrorMessages
public List<String> getErrorMessages()
Error message. Populated if sending notification resulted into an error- Returns:
- errorMessages
-
okMessages
public TestNotificationConfigurationResponse okMessages(List<String> okMessages)
-
addOkMessagesItem
public TestNotificationConfigurationResponse addOkMessagesItem(String okMessagesItem)
-
getOkMessages
public List<String> getOkMessages()
List of messages, describing the testing steps- Returns:
- okMessages
-
exchangeMessages
public TestNotificationConfigurationResponse exchangeMessages(List<ExchangeMessage> exchangeMessages)
-
getExchangeMessages
public List<ExchangeMessage> getExchangeMessages()
Populate the virtual exchangeMessages to bypass the exchangeMessageContainers list- Returns:
- exchangeMessages
-
setExchangeMessages
public void setExchangeMessages(List<ExchangeMessage> exchangeMessages)
-
notificationId
public TestNotificationConfigurationResponse notificationId(Long notificationId)
-
getNotificationId
public Long getNotificationId()
Id of the notification configuration- Returns:
- notificationId
-
setNotificationId
public void setNotificationId(Long notificationId)
-
eventTypes
public TestNotificationConfigurationResponse eventTypes(List<TestNotificationConfigurationResponse.EventTypesEnum> eventTypes)
-
addEventTypesItem
public TestNotificationConfigurationResponse addEventTypesItem(TestNotificationConfigurationResponse.EventTypesEnum eventTypesItem)
-
getEventTypes
public List<TestNotificationConfigurationResponse.EventTypesEnum> getEventTypes()
Tested event types- Returns:
- eventTypes
-
setEventTypes
public void setEventTypes(List<TestNotificationConfigurationResponse.EventTypesEnum> eventTypes)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classGenericResponse
-
hashCode
public int hashCode()
- Overrides:
hashCodein classGenericResponse
-
toString
public String toString()
- Overrides:
toStringin classGenericResponse
-
-