Class FxMotifNotificationActionMapper
java.lang.Object
com.caplin.motif.fx.ret.orders.extension.notification.transformer.FxMotifNotificationActionMapper
- All Implemented Interfaces:
NotificationActionMapper
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
FxMotifNotificationActionMapper
public FxMotifNotificationActionMapper()
-
-
Method Details
-
getActionByLOMSOrderStatus
Description copied from interface:NotificationActionMapper
Maps LOMSOrderState to an NotificationAction value.- Specified by:
getActionByLOMSOrderStatus
in interfaceNotificationActionMapper
- Parameters:
order
- FXOrder containing the LOMSOrderState- Returns:
- String value of the NotificationAction
-
getActionByNotificationType
Description copied from interface:NotificationActionMapper
Maps NotificationType to an NotificationAction value.- Specified by:
getActionByNotificationType
in interfaceNotificationActionMapper
- Returns:
- String value of the NotificationAction
-