Class DefaultLBNCustomFieldsFactory

java.lang.Object
com.caplin.motif.fx.ret.lbn.extension.blotter.DefaultLBNCustomFieldsFactory
All Implemented Interfaces:
LBNCustomFieldsFactory

public class DefaultLBNCustomFieldsFactory extends Object implements LBNCustomFieldsFactory
A LBNCustomFieldsFactory that creates record fields to be published to the blotter. The fields are additional fields that are not already contained in the standard set of fields send to the blotter.
  • Constructor Details

    • DefaultLBNCustomFieldsFactory

      public DefaultLBNCustomFieldsFactory()
  • Method Details

    • createRecordFields

      @Nonnull public Map<String,String> createRecordFields(@Nonnull com.caplin.ret.trapi.lbn.DealRecord dealRecord, @Nonnull com.caplin.motif.fx.ret.lbn.internal.DealRecordType type, @Nullable com.caplin.ret.trapi.admin.rates.RatePrecision ratePrecision)
      Create fields from CDealRecord record.
      Specified by:
      createRecordFields in interface LBNCustomFieldsFactory
      Parameters:
      dealRecord - - DealRecord - provides method getCDealRecord to get CDealRecord object received from Refinitiv.
      type - - DealRecordType - the type of deal e.g insert, update or withdrawn
      ratePrecision - - RatePrecision - provides precision information. Only available if near deal leg has spot decimal places.
      Returns:
      a map of record fields