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 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(String tradeId, String tradeDateTime, BlockTradeNetInfo netInfo, List<BlockTradeLegConfirmation> legConfirmations)
Constructs a BlockTradeConfirmationEvent event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<BlockTradeLegConfirmation>
getLegConfirmations()
Returns the leg confirmationsString
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 String TRADE_CONFIRMATION
The name of the transition representing this event- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 Detail
-
getLegConfirmations
public List<BlockTradeLegConfirmation> getLegConfirmations()
Returns the leg confirmations- Returns:
- a list of BlockTrade leg confirmation
-
toString
public String toString()
- Overrides:
toString
in classResponderEvent<BlockTrade>
-
-