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.
Modifier and Type | Field and Description |
---|---|
static String |
TRADE_CONFIRMATION
The name of the transition representing this event
|
fields
Constructor and Description |
---|
BlockTradeConfirmationEvent(String tradeId,
String tradeDateTime,
BlockTradeNetInfo netInfo,
List<BlockTradeLegConfirmation> legConfirmations)
Constructs a BlockTradeConfirmationEvent event.
|
Modifier and Type | Method and Description |
---|---|
List<BlockTradeLegConfirmation> |
getLegConfirmations()
Returns the leg confirmations
|
String |
toString() |
addField, addFields, addTransparentFields, equals, getEventName, getField, getFields, hashCode
public static final String TRADE_CONFIRMATION
public BlockTradeConfirmationEvent(String tradeId, String tradeDateTime, BlockTradeNetInfo netInfo, List<BlockTradeLegConfirmation> legConfirmations) throws DateTimeFormatException
tradeId
- the trade idtradeDateTime
- the data time when the trade occurrednetInfo
- the net infolegConfirmations
- the leg confirmationsDateTimeFormatException
- if there was an error parsing the tradeDateTimepublic List<BlockTradeLegConfirmation> getLegConfirmations()
public String toString()
toString
in class ResponderEvent<BlockTrade>
Copyright © 2015 Caplin Systems.