Class BlockTradeConfirmationEvent
java.lang.Object
com.caplin.motif.fx.trading.ResponderEvent<BlockTrade>
com.caplin.motif.fx.trading.block.event.BlockTradeConfirmationEvent
An event to notify the client that the trade has been executed using the values on the the event.
Typically these values are shown to the client in order to verify the details of the trade just executed.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The name of the transition representing this eventFields inherited from class com.caplin.motif.fx.trading.ResponderEvent
fields
-
Constructor Summary
ConstructorDescriptionBlockTradeConfirmationEvent
(String tradeId, String tradeDateTime, BlockTradeNetInfo netInfo, List<BlockTradeLegConfirmation> legConfirmations) Constructs a BlockTradeConfirmationEvent event. -
Method Summary
Methods inherited from class com.caplin.motif.fx.trading.ResponderEvent
addField, addFields, equals, getEventName, getField, getFields, hashCode
-
Field Details
-
TRADE_CONFIRMATION
The name of the transition representing this event- See Also:
-
-
Constructor Details
-
BlockTradeConfirmationEvent
public BlockTradeConfirmationEvent(String tradeId, String tradeDateTime, BlockTradeNetInfo netInfo, List<BlockTradeLegConfirmation> legConfirmations) Constructs a BlockTradeConfirmationEvent event.- Parameters:
tradeId
- the trade idtradeDateTime
- the data time when the trade occurrednetInfo
- the net infolegConfirmations
- the leg confirmations
-
-
Method Details
-
getLegConfirmations
Returns the leg confirmations- Returns:
- a list of BlockTrade leg confirmation
-
toString
- Overrides:
toString
in classResponderEvent<BlockTrade>
-