Class TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder

    • Method Detail

      • setMarkToMarket

        @NotNull
        public @NotNull TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder setMarkToMarket​(@NotNull
                                                                                                       @NotNull String markToMarket)
        Parameters:
        markToMarket - e.g. 12.45
        Returns:
        A signed numerical value which represents a positive or negative cashflow when rolling forward or back a new deal from the original deal
      • setDisplayFields

        @NotNull
        public @NotNull TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder setDisplayFields​(@NotNull
                                                                                                        @NotNull String displayFields)
        Parameters:
        displayFields - e.g. method={'import':'static com.caplin.motif.fx.config.DefaultDisplayFields.addDefaultSalesAllocationDetailsUpdateFields','name':'addDefaultSalesAllocationDetailsUpdateFields','comment':'See DefaultDisplayFields javadoc for parameters and available builder methods.'}
        Returns:
        Configuration for a frontend to display label-value pairs. Use DefaultDisplayFields builders to provide Caplin default and/or custom fields.
      • setDisplayFields

        @NotNull
        public @NotNull TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder setDisplayFields​(@NotNull
                                                                                                        @NotNull DisplayFields displayFields)
        Parameters:
        displayFields - e.g. method={'import':'static com.caplin.motif.fx.config.DefaultDisplayFields.addDefaultSalesAllocationDetailsUpdateFields','name':'addDefaultSalesAllocationDetailsUpdateFields','comment':'See DefaultDisplayFields javadoc for parameters and available builder methods.'}
        Returns:
        Configuration for a frontend to display label-value pairs. Use DefaultDisplayFields builders to provide Caplin default and/or custom fields.