Class BulkOrderActionTrade


  • @Deprecated
    public class BulkOrderActionTrade
    extends UserTrade
    Deprecated.

    An instance of this object represents a request from the client to perform an action on a number of orders.

    • Constructor Detail

      • BulkOrderActionTrade

        public BulkOrderActionTrade​(com.caplin.trading.Trade trade,
                                    java.util.concurrent.ScheduledExecutorService executorService,
                                    BulkOrderAction bulkOrderAction,
                                    java.util.Set<java.lang.String> orderIDs)
        Deprecated.

        Constructs the BulkOrderActionTrade with a trade object from the underlying trading com.caplin.motif.datasource that contains the fields and the state model representing the clients request to perform bulk action on a set of orders.

        Note: As a user of the FXIntegrationAPI one is not expected to create this object, but to be passed these in listeners. See BulkOrderActionTradeListener

        Parameters:
        trade - The underlying trade from the trading com.caplin.motif.datasource library.
        orderIDs - A set of order ids on which the bulk order action BulkOrderAction will be performed.
        bulkOrderAction - The bulk action to perform on these orders.
    • Method Detail

      • getBulkActionSentResponder

        public BulkOrderActionSentResponder getBulkActionSentResponder()
        Deprecated.
        Returns the responder that can trigger events from the BulkActionSent state.
        Returns:
        the responder that can trigger events from the BulkActionSent state.
      • getProcessingResponder

        public BulkOrderActionProcessingResponder getProcessingResponder()
        Deprecated.
        Returns the responder that can trigger events from the Processing state.
        Returns:
        the responder that can trigger events from the Processing state.
      • getOrderIDs

        public java.util.Set<java.lang.String> getOrderIDs()
        Deprecated.
        The ids of the orders on which this action should be performed on.
        Returns:
        the id of the orders that this action will be performed on.
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Deprecated.
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class UserTrade