Class TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder

    • Method Detail

      • toString

        @NotNull
        public @NotNull java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setMarkToMarket

        @NotNull
        public @NotNull TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder setMarkToMarket​(@NotNull
                                                                                                       @NotNull java.math.BigDecimal 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
      • setMarkToMarket

        @NotNull
        public @NotNull TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder setMarkToMarket​(@NotNull
                                                                                                       @NotNull java.lang.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 java.lang.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.