Class BlotterPartsDef.OutrightQuoteBlotterFields

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

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

    • getRequestID

      @Nullable public @Nullable String getRequestID()
      Returns:
      The ID of the request.
    • getTradeID

      @Nullable public @Nullable String getTradeID()
      Returns:
      A unique identifier for this trade
    • getAccount

      @Nullable public @Nullable String getAccount()
      Returns:
      The account a trade or order has been submitted against. The format is <description>|<name> or <name>|<name>
    • getEntityDescription

      @Nullable public @Nullable String getEntityDescription()
      Returns:
      The description of a trade on behalf of entity.
    • getTraderUsername

      @Nullable public @Nullable String getTraderUsername()
      Returns:
      The user who entered the trade. This may be on behalf of themselves, or on behalf of someone else. For example, if the logged in user dealer1@novobank.co.za wishes to make a trade on behalf of user client@customer.co.za, then the value of this field will be dealer1@novobank.co.za. If the user client@customer.co.za makes a trade on behalf of themselves it will be client@customer.co.za.
    • getRequestDateTime

      @Nullable public @Nullable Instant getRequestDateTime()
      Returns:
      The time and date of when the request was sent.
    • getStatus

      @Nullable public @Nullable String getStatus()
      Returns:
      Status of the trade. Frontends may use this value for display purpose, but no logic is associated with it. Use Can* flags to drive post-trade logic.
    • 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.
    • getCurrencyPair

      @Nullable public @Nullable String getCurrencyPair()
      Returns:
      The currency pair for the trade. For example, EURUSD
    • getDealtCurrency

      @Nullable public @Nullable String getDealtCurrency()
      Returns:
      The currency of the Amount of a trade or order.
    • getSpotRate

      @Nullable public @Nullable BigDecimal getSpotRate()
      Returns:
      spotRate e.g. 1.08341
    • getRemarks

      @Nullable public @Nullable String getRemarks()
      Returns:
      The text content of a comment left on a leg of a trade or order, visible to Client and sales and possibly the trader, set/edited by Client or sales
    • 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.OutrightQuoteBlotterFields from(@NotNull @NotNull Map<String,String> fields)
    • from

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

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