public class RFSTradeConfirmationEvent extends ResponderEvent<RFSTrade>
Modifier and Type | Class and Description |
---|---|
static class |
RFSTradeConfirmationEvent.Builder |
static class |
RFSTradeConfirmationEvent.LegBuilder |
Modifier and Type | Field and Description |
---|---|
static String |
TRADE_CONFIRMATION
The name of the transition representing this event
|
fields
Constructor and Description |
---|
RFSTradeConfirmationEvent(String tradeId,
String executionDateTime,
String spotRate,
String nearAllInRate,
String nearFwdPips,
String nearContraAmount)
Deprecated.
Please use
RFSTradeConfirmationEvent.Builder instead, via builder() . |
Modifier and Type | Method and Description |
---|---|
static RFSTradeConfirmationEvent.Builder |
builder() |
void |
setAccount(String account)
Deprecated.
Please use
RFSTradeConfirmationEvent.Builder.account(String) instead. |
void |
setDealtCurrency(String dealtCurrency)
Deprecated.
Please use
RFSTradeConfirmationEvent.Builder.currencies(String, String) instead. |
void |
setFarFields(String farAllInRate,
String farFwdPips,
String farContraAmount)
Deprecated.
|
void |
setTimeOptionRiskValues(String riskDate,
String riskTenor)
Deprecated.
Please use
RFSTradeConfirmationEvent.LegBuilder.riskDate(String, String) instead. |
void |
setToboUser(String toboUser)
Deprecated.
Please use
RFSTradeConfirmationEvent.Builder.toboUser(String) instead. |
void |
setTradeDate(String tradeDate)
Deprecated.
Please use
RFSTradeConfirmationEvent.Builder.tradeDate(String) instead. |
addField, addFields, addTransparentFields, equals, getEventName, getField, getFields, hashCode, toString
public static final String TRADE_CONFIRMATION
@Deprecated public RFSTradeConfirmationEvent(String tradeId, String executionDateTime, String spotRate, String nearAllInRate, String nearFwdPips, String nearContraAmount) throws DateTimeFormatException
Constructs a confirmation message with the specified trade values.
Note that if the trade was a SWAP Trade, you should set the far fields for
the confirmation using setFarFields(String, String, String)
tradeId
- The unique trade idexecutionDateTime
- A valid date time in the format yyyyMMddHHmmssspotRate
- the spotRatenearAllInRate
- the all in rate, or all in rate of the near leg if SWAPnearFwdPips
- the forward pipsnearContraAmount
- The near contra amountDateTimeFormatException
- Is Thrown if the tradeDateTime supplied does not match the expected format yyyyMMddHHmmspublic static RFSTradeConfirmationEvent.Builder builder()
public void setTimeOptionRiskValues(String riskDate, String riskTenor) throws DateTimeFormatException
RFSTradeConfirmationEvent.LegBuilder.riskDate(String, String)
instead.riskDate
- - the date where the maximum risk is incurred YYYYMMDDriskTenor
- - The tenor of the risk date. E.g 1M, 2M, 3M, SPOTDateTimeFormatException
@Deprecated public void setFarFields(String farAllInRate, String farFwdPips, String farContraAmount)
RFSTradeConfirmationEvent.LegBuilder.rates(String, String)
and
RFSTradeConfirmationEvent.LegBuilder.amounts(String, String)
instead.farAllInRate
- The all in rate of the far leg.farFwdPips
- The fwd pips of the far leg.farContraAmount
- The far contra amount.@Deprecated public void setTradeDate(String tradeDate)
RFSTradeConfirmationEvent.Builder.tradeDate(String)
instead.tradeDate
- The trade date@Deprecated public void setDealtCurrency(String dealtCurrency)
RFSTradeConfirmationEvent.Builder.currencies(String, String)
instead.dealtCurrency
- The dealt currency@Deprecated public void setToboUser(String toboUser)
RFSTradeConfirmationEvent.Builder.toboUser(String)
instead.toboUser
- The tobo user@Deprecated public void setAccount(String account)
RFSTradeConfirmationEvent.Builder.account(String)
instead.account
- The accountCopyright © 2015 Caplin Systems.