Package com.caplin.motif.notifications
Class NotificationUtils
java.lang.Object
com.caplin.motif.notifications.NotificationUtils
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.caplin.datasource.notification.Notification
createInfoNotification
(String notificationId, Instant dateTime, String message) static NotificationToken
createMessageToken
(String messageToken, Map<String, DisplayFieldArgument> arguments) static com.caplin.datasource.notification.Notification
createOrderFilledNotification
(String notificationId, Instant dateTime, String buySell, FormattedAmount amount, String currencyPair, String dealtCurrency, FormattedRate filledRate, Instant date) static com.caplin.datasource.notification.Notification
createOrderStatusNotification
(String notificationId, String status, Instant dateTime) static com.caplin.datasource.notification.Notification
createWarningNotification
(String notificationId, Instant dateTime, String message)
-
Field Details
-
NOTIFICATION_FIELD_NAME
- See Also:
-
-
Method Details
-
createOrderFilledNotification
public static com.caplin.datasource.notification.Notification createOrderFilledNotification(String notificationId, Instant dateTime, String buySell, FormattedAmount amount, String currencyPair, String dealtCurrency, FormattedRate filledRate, Instant date) -
createOrderStatusNotification
-
createInfoNotification
-
createWarningNotification
-
createMessageToken
public static NotificationToken createMessageToken(String messageToken, Map<String, DisplayFieldArgument> arguments)
-