Class BlotterPartsDef.CommonBlotterFields

    • Method Detail

      • getBaseCurrency

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

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

        @Nullable
        public @Nullable java.lang.String getStatus()
        Returns:
        Use OrderStatus instead.
      • getIsReversible

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

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

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

        @NotNull
        public @NotNull java.util.Map<java.lang.String,​java.lang.String> getFields()
        Specified by:
        getFields in interface Message
      • getFieldFlags

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

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

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

        @NotNull
        public static @NotNull BlotterPartsDef.CommonBlotterFields from​(@NotNull
                                                                        @NotNull java.util.Map<java.lang.String,​java.lang.String> fields,
                                                                        @NotNull
                                                                        @NotNull java.lang.String fieldPrefix)