Class RFSFieldValuesFactory
java.lang.Object
com.caplin.motif.fx.ret.fxtrading.extension.customfield.RFSFieldValuesFactory
- All Implemented Interfaces:
CustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.rfs.RFSTrade,
RFSTradeProperties>
public class RFSFieldValuesFactory
extends Object
implements CustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.rfs.RFSTrade,RFSTradeProperties>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.caplin.motif.fx.ret.common.customfield.CustomFieldValuesFactory
CustomFieldValuesFactory.Context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateCustomFieldValues
(com.caplin.generated.motif.fx.trading.rfs.RFSTrade trade, RFSTradeProperties tradeProperties) CreatesCustomFieldValues
for spot and swap trades.void
-
Constructor Details
-
RFSFieldValuesFactory
-
-
Method Details
-
initialise
- Specified by:
initialise
in interfaceCustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.rfs.RFSTrade,
RFSTradeProperties>
-
createCustomFieldValues
public CustomFieldValues createCustomFieldValues(com.caplin.generated.motif.fx.trading.rfs.RFSTrade trade, RFSTradeProperties tradeProperties) CreatesCustomFieldValues
for spot and swap trades. For swap trades, the L2_AMOUNT (ie. the far amount) field is set in addition to the L1_AMOUNT (ie. the near amount).- Specified by:
createCustomFieldValues
in interfaceCustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.rfs.RFSTrade,
RFSTradeProperties>
-