Interface AmendClientFieldSet
-
- All Superinterfaces:
LeggedMessage
,Message
,RFSSubmissionClientFieldSet
,SubmissionClientFieldSet
- All Known Implementing Classes:
AmendClientFieldSetChild
,RisklessSubmitTradeEvent
public interface AmendClientFieldSet extends RFSSubmissionClientFieldSet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.String
getClientAgreementDateTime()
Optional field that can be used to display the client agreement date time in a trade amend.default AmendLegClientFieldSetChild
getLLegById(int legId)
default AmendLegClientFieldSetChild
getLLegById(java.lang.String legId)
default AmendLegClientFieldSetChild
getLLegByIndex(int index)
java.util.List<AmendLegClientFieldSetChild>
getLLegs()
default int
getNumLLegs()
default java.lang.String
getSpotAskMargin()
This field represents the spot margin that the sales user has selected.default java.lang.String
getSpotBidMargin()
This field represents the spot margin that the sales user has selected.default java.lang.String
getSwapAskMargin()
This field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin.default java.lang.String
getSwapBidMargin()
This field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin.-
Methods inherited from interface com.caplin.motif.datasource.LeggedMessage
getId, getIndex
-
Methods inherited from interface com.caplin.generated.motif.fx.trading.fieldsets.RFSSubmissionClientFieldSet
getBuySell, getDeliverableType, getFixingSource, getOneWayDirection, getSettlementCurrency, getSingleComponentRepriceField, getSingleComponentRepriceValue
-
Methods inherited from interface com.caplin.generated.motif.fx.trading.fieldsets.SubmissionClientFieldSet
getAccount, getAssetClass, getControlAddLeg, getCurrencyPair, getDealtCurrency, getForceReporting, getPurpose, getTOBOUser, getTradingAssetClass, getTradingProtocol, getTradingSubProtocol, getTradingType
-
-
-
-
Method Detail
-
getSpotBidMargin
default java.lang.String getSpotBidMargin()
This field represents the spot margin that the sales user has selected. It should be sent as a raw value, and unformatted.
-
getSpotAskMargin
default java.lang.String getSpotAskMargin()
This field represents the spot margin that the sales user has selected. It should be sent as a raw value, and unformatted.
-
getSwapBidMargin
default java.lang.String getSwapBidMargin()
This field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin.
-
getSwapAskMargin
default java.lang.String getSwapAskMargin()
This field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin.
-
getClientAgreementDateTime
default java.lang.String getClientAgreementDateTime()
Optional field that can be used to display the client agreement date time in a trade amend. This field can also be included in the Amend's EditableFields list to allow the user to edit it. This field can be used to allow the user to specify a client agreement time in scenarios where the execution time might have been different.
-
getLLegById
default AmendLegClientFieldSetChild getLLegById(int legId)
- Specified by:
getLLegById
in interfaceRFSSubmissionClientFieldSet
- Specified by:
getLLegById
in interfaceSubmissionClientFieldSet
- Returns:
- Get the L leg for the given id
-
getLLegById
default AmendLegClientFieldSetChild getLLegById(java.lang.String legId)
- Specified by:
getLLegById
in interfaceRFSSubmissionClientFieldSet
- Specified by:
getLLegById
in interfaceSubmissionClientFieldSet
- Returns:
- Get the L leg for the given id
-
getLLegByIndex
default AmendLegClientFieldSetChild getLLegByIndex(int index)
- Specified by:
getLLegByIndex
in interfaceRFSSubmissionClientFieldSet
- Specified by:
getLLegByIndex
in interfaceSubmissionClientFieldSet
- Returns:
- Get the L leg for the given index
-
getLLegs
java.util.List<AmendLegClientFieldSetChild> getLLegs()
- Specified by:
getLLegs
in interfaceRFSSubmissionClientFieldSet
- Specified by:
getLLegs
in interfaceSubmissionClientFieldSet
- Returns:
- Get all the L legs for this trade
-
getNumLLegs
default int getNumLLegs()
- Specified by:
getNumLLegs
in interfaceRFSSubmissionClientFieldSet
- Specified by:
getNumLLegs
in interfaceSubmissionClientFieldSet
- Returns:
- Get the number of L legs for this trade
-
-