Class TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder

java.lang.Object
com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder
Enclosing class:
TradeConfPartsDef.AllocationLegTradeConfirmationFields

public static final class TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder extends Object
  • Method Details

    • addField

      @NotNull public @NotNull TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value)
    • build

    • toString

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

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