Class BlockTradeConfirmationEvent
- java.lang.Object
-
- com.caplin.motif.fx.trading.ResponderEvent<BlockTrade>
-
- com.caplin.motif.fx.trading.block.event.BlockTradeConfirmationEvent
-
public class BlockTradeConfirmationEvent extends ResponderEvent<BlockTrade>
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
Fields Modifier and Type Field Description static java.lang.String
TRADE_CONFIRMATION
The name of the transition representing this event-
Fields inherited from class com.caplin.motif.fx.trading.ResponderEvent
fields
-
-
Constructor Summary
Constructors Constructor Description BlockTradeConfirmationEvent(java.lang.String tradeId, java.lang.String tradeDateTime, BlockTradeNetInfo netInfo, java.util.List<BlockTradeLegConfirmation> legConfirmations)
Constructs a BlockTradeConfirmationEvent event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<BlockTradeLegConfirmation>
getLegConfirmations()
Returns the leg confirmationsjava.lang.String
toString()
-
Methods inherited from class com.caplin.motif.fx.trading.ResponderEvent
addField, addFields, equals, getEventName, getField, getFields, hashCode
-
-
-
-
Field Detail
-
TRADE_CONFIRMATION
public static final java.lang.String TRADE_CONFIRMATION
The name of the transition representing this event- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BlockTradeConfirmationEvent
public BlockTradeConfirmationEvent(java.lang.String tradeId, java.lang.String tradeDateTime, BlockTradeNetInfo netInfo, java.util.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 Detail
-
getLegConfirmations
public java.util.List<BlockTradeLegConfirmation> getLegConfirmations()
Returns the leg confirmations- Returns:
- a list of BlockTrade leg confirmation
-
toString
public java.lang.String toString()
- Overrides:
toString
in classResponderEvent<BlockTrade>
-
-