Class RFSConfirmationFactory


  • public class RFSConfirmationFactory
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.caplin.generated.motif.fx.trading.rfs.events.server.TradeConfirmationTradeEvent createTradeConfirmation​(java.lang.String tradeId, com.caplin.ret.trapi.fx.execution.QuoteEvent quote, com.caplin.generated.motif.fx.trading.rfs.RFSTrade trade, ConfirmationQuoteExtractor quoteExtractor, boolean isSales)  
      static com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.SalesCommonTradeConfirmationFields getSalesCommonFields​(java.lang.String tradeId, com.caplin.ret.trapi.fx.execution.QuoteEvent quote, boolean isSwap, boolean isBlock, ConfirmationQuoteExtractor quoteExtractor, com.caplin.motif.fx.trading.BuySell netBuySell, com.caplin.ret.trapi.common.InjectableProfit injectableProfit)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RFSConfirmationFactory

        public RFSConfirmationFactory​(UnitConverter unitConverter,
                                      Tobo tobo,
                                      com.caplin.ret.trapi.common.InjectableProfit injectableProfit)
    • Method Detail

      • createTradeConfirmation

        public com.caplin.generated.motif.fx.trading.rfs.events.server.TradeConfirmationTradeEvent createTradeConfirmation​(java.lang.String tradeId,
                                                                                                                           com.caplin.ret.trapi.fx.execution.QuoteEvent quote,
                                                                                                                           com.caplin.generated.motif.fx.trading.rfs.RFSTrade trade,
                                                                                                                           ConfirmationQuoteExtractor quoteExtractor,
                                                                                                                           boolean isSales)
                                                                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getSalesCommonFields

        public static com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.SalesCommonTradeConfirmationFields getSalesCommonFields​(java.lang.String tradeId,
                                                                                                                                                com.caplin.ret.trapi.fx.execution.QuoteEvent quote,
                                                                                                                                                boolean isSwap,
                                                                                                                                                boolean isBlock,
                                                                                                                                                ConfirmationQuoteExtractor quoteExtractor,
                                                                                                                                                com.caplin.motif.fx.trading.BuySell netBuySell,
                                                                                                                                                com.caplin.ret.trapi.common.InjectableProfit injectableProfit)