Class NotificationUtils

java.lang.Object
com.caplin.motif.notifications.NotificationUtils

public final class NotificationUtils extends Object
  • Field Details

  • 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

      public static com.caplin.datasource.notification.Notification createOrderStatusNotification(String notificationId, String status, Instant dateTime)
    • createInfoNotification

      public static com.caplin.datasource.notification.Notification createInfoNotification(String notificationId, Instant dateTime, String message)
    • createWarningNotification

      public static com.caplin.datasource.notification.Notification createWarningNotification(String notificationId, Instant dateTime, String message)
    • createMessageToken

      public static NotificationToken createMessageToken(String messageToken, Map<String,DisplayFieldArgument> arguments)