Class PostTradeAllocationList
java.lang.Object
com.caplin.motif.UserTrade
com.caplin.motif.fx.trading.allocation.PostTradeAllocationList
Deprecated.
Represents a list of allocations that were received in the allocation request
for the trade represented by
getTradeID()
.-
Constructor Summary
ConstructorsConstructorDescriptionPostTradeAllocationList
(com.caplin.trading.Trade trade, ScheduledExecutorService executorService, String tradeId, BuySell buySell, List<PostTradeAllocation> allocations) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the list ofPostTradeAllocation
s that were recieved with this request.Deprecated.Returns whether or not the original trade was a BUY or SELL.Deprecated.Returns the responder that should be used to respond from within the ClientCloseSent state.Deprecated.Returns the responder that should be used to respond from within the PendingAllocation state.Deprecated.Returns the responder that should be used to respond from within the Queued state.Deprecated.Returns the responder that should be used to respond from within the Submitted state.Deprecated.Returns the trade id of the original trade that should be allocated as per this list.Methods inherited from class com.caplin.motif.UserTrade
getBackingTrade, getExecutorService, getRequestID, getUsername, toString
-
Constructor Details
-
PostTradeAllocationList
public PostTradeAllocationList(com.caplin.trading.Trade trade, ScheduledExecutorService executorService, String tradeId, BuySell buySell, List<PostTradeAllocation> allocations) Deprecated.
-
-
Method Details
-
getTradeID
Deprecated.Returns the trade id of the original trade that should be allocated as per this list.- Returns:
- the trade id.
-
getBuySell
Deprecated.Returns whether or not the original trade was a BUY or SELL.- Returns:
- Either buy or sell.
-
getAllocations
Deprecated.Returns the list ofPostTradeAllocation
s that were recieved with this request.- Returns:
- The list of allocations.
-
getSubmittedResponder
Deprecated.Returns the responder that should be used to respond from within the Submitted state.- Returns:
- The responder for the Submitted state
-
getClientCloseSentResponder
Deprecated.Returns the responder that should be used to respond from within the ClientCloseSent state.- Returns:
- The responder for the ClientCloseSent state
-
getQueuedResponder
Deprecated.Returns the responder that should be used to respond from within the Queued state.- Returns:
- The responder for the Queued state
-
getPendingAllocationResponder
Deprecated.Returns the responder that should be used to respond from within the PendingAllocation state.- Returns:
- The responder for the PendingAllocation state
-