Interface NotificationActionMapper
- All Known Implementing Classes:
FxMotifNotificationActionMapper
public interface NotificationActionMapper
Maps a given value to a NotificationAction string.
-
Method Summary
Modifier and TypeMethodDescriptiongetActionByLOMSOrderStatus
(com.caplin.ret.trapi.fx.FXOrder order) Maps LOMSOrderState to an NotificationAction value.getActionByNotificationType
(NotificationType notificationType) Maps NotificationType to an NotificationAction value.
-
Method Details
-
getActionByLOMSOrderStatus
Maps LOMSOrderState to an NotificationAction value.- Parameters:
order
- FXOrder containing the LOMSOrderState- Returns:
- String value of the NotificationAction
-
getActionByNotificationType
Maps NotificationType to an NotificationAction value.- Parameters:
notificationType
-- Returns:
- String value of the NotificationAction
-