Class BlotterPartsDef.CommonBlotterFields

java.lang.Object
com.caplin.generated.motif.fx.blotter.BlotterPartsDef.CommonBlotterFields
All Implemented Interfaces:
BuilderMessage, Message
Enclosing class:
BlotterPartsDef

public static final class BlotterPartsDef.CommonBlotterFields extends Object implements BuilderMessage
  • Method Details

    • getBaseCurrency

      @Nullable public @Nullable String getBaseCurrency()
      Returns:
      baseCurrency e.g. USD
    • getTradingType

      @Nullable public @Nullable String getTradingType()
      Returns:
      Caplin supported values are [SPOT, FWD, NDF, NDF_FIXING, NDS, TIME_OPTION, DRAWDOWN, SWAP, BLOCK, PAR_FORWARD]. See the constants defined within com.caplin.motif.fx.trading.FXTradingType for further details.
    • getIsReversible

      @Nullable public @Nullable Boolean getIsReversible()
      Returns:
      Whether a trade can be reversed.
    • getIsAmendable

      @Nullable public @Nullable Boolean getIsAmendable()
      Returns:
      Whether a trade can be amended.
    • getIsCancellable

      @Nullable public @Nullable Boolean getIsCancellable()
      Returns:
      Whether a trade can be cancelled.
    • getExecutionStyle

      @Nullable public @Nullable String getExecutionStyle()
      Returns:
      The execution style. Caplin supported types are [ORDER, RFS, ESP]
    • getFields

      @NotNull public @NotNull Map<String,String> getFields()
      Specified by:
      getFields in interface Message
    • getFieldFlags

      @NotNull public @NotNull Map<String,Collection<String>> getFieldFlags()
      Specified by:
      getFieldFlags in interface BuilderMessage
      Returns:
      Get the flags for all fields.
    • getFlagFields

      @NotNull public @NotNull Map<String,Collection<String>> getFlagFields()
      Specified by:
      getFlagFields in interface BuilderMessage
      Returns:
      Get the fields for all flags.
    • toString

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

      @NotNull public static @NotNull BlotterPartsDef.CommonBlotterFields from(@NotNull @NotNull Map<String,String> fields)
    • from

      @NotNull public static @NotNull BlotterPartsDef.CommonBlotterFields from(@NotNull @NotNull Map<String,String> fields, @NotNull @NotNull String fieldPrefix)
    • newBuilder

      @NotNull public static @NotNull BlotterPartsDef.CommonBlotterFields.Builder newBuilder()