Class BulkOrderActionTrade
java.lang.Object
com.caplin.motif.UserTrade
com.caplin.motif.fx.trading.orders.bulkaction.BulkOrderActionTrade
Deprecated.
An instance of this object represents a request from the client to perform an action on a number of orders.
-
Constructor Summary
ConstructorDescriptionBulkOrderActionTrade
(com.caplin.trading.Trade trade, ScheduledExecutorService executorService, BulkOrderAction bulkOrderAction, Set<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. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Deprecated.Returns the responder that can trigger events from the BulkActionSent state.Deprecated.Deprecated.The ids of the orders on which this action should be performed on.Deprecated.Returns the responder that can trigger events from the Processing state.int
hashCode()
Deprecated.toString()
Deprecated.Methods inherited from class com.caplin.motif.UserTrade
getBackingTrade, getExecutorService, getRequestID, getUsername
-
Constructor Details
-
BulkOrderActionTrade
public BulkOrderActionTrade(com.caplin.trading.Trade trade, ScheduledExecutorService executorService, BulkOrderAction bulkOrderAction, Set<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 actionBulkOrderAction
will be performed.bulkOrderAction
- The bulk action to perform on these orders.
-
-
Method Details
-
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
Deprecated.Returns the responder that can trigger events from the Processing state.- Returns:
- the responder that can trigger events from the Processing state.
-
getBulkOrderAction
Deprecated.- Returns:
- the
BulkOrderAction
for this trade
-
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. -
equals
Deprecated. -
toString
Deprecated.
-