Class TradeConfTypesDef.AllocationSpotDetailsUpdate.Builder

java.lang.Object
com.caplin.generated.motif.fx.tradeconfirmation.TradeConfTypesDef.AllocationSpotDetailsUpdate.Builder
Enclosing class:
TradeConfTypesDef.AllocationSpotDetailsUpdate

public static final class TradeConfTypesDef.AllocationSpotDetailsUpdate.Builder extends Object
  • Method Details

    • addField

      @NotNull public @NotNull TradeConfTypesDef.AllocationSpotDetailsUpdate.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value)
    • build

      @NotNull public @NotNull TradeConfTypesDef.AllocationSpotDetailsUpdate build()
    • toString

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

      @NotNull public @NotNull TradeConfTypesDef.AllocationSpotDetailsUpdate.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 TradeConfTypesDef.AllocationSpotDetailsUpdate.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.
    • setCommonSpotTradeConfirmation

      @NotNull public @NotNull TradeConfTypesDef.AllocationSpotDetailsUpdate.Builder setCommonSpotTradeConfirmation(@NotNull @NotNull TradeConfTypesDef.CommonSpotTradeConfirmation commonSpotTradeConfirmation)
      Returns:
      commonSpotTradeConfirmation