Class BlotterPartsDef.CommonMissedBlotterFields

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

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

    • getRequestID

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

      @Nullable public @Nullable String getTOBOUser()
      Returns:
      The user the trade is on behalf of. 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 client@customer.co.za.
    • 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.
    • 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.
    • getMissedReason

      @Nullable public @Nullable String getMissedReason()
      Returns:
      Reason for the missed trade
    • getMissedTime

      @Nullable public @Nullable String getMissedTime()
      Returns:
      The time and date the trade missed. This is in ISO-8601 format.
    • getSpotBidRate

      @Nullable public @Nullable BigDecimal getSpotBidRate()
      Returns:
      For SPOT quotes this value will be identical to the L1_AllInBidRate. For forward quotes this will contain the SPOT rate that the forward all-in rate was derived from. For forward quotes the value in this field should always equal L1_AllInBidRate - L1_FwdBidPoints.
    • getSpotAskRate

      @Nullable public @Nullable BigDecimal getSpotAskRate()
      Returns:
      For SPOT quotes this value will be identical to the L1_AllInAskRate. For forward quotes this will contain the SPOT rate that the forward all-in rate was derived from. For forward quotes the value in this field should always equal L1_AllInAskRate - L1_FwdAskPoints.
    • getSwapAskPoints

      @Nullable public @Nullable BigDecimal getSwapAskPoints()
      Returns:
      The swap ask points that the client wants to trade on
    • getSwapBidPoints

      @Nullable public @Nullable BigDecimal getSwapBidPoints()
      Returns:
      The swap bid points that the client wants to trade on
    • getSpotAskMargin

      @Nullable public @Nullable BigDecimal getSpotAskMargin()
      Returns:
      This field is included on the rate update that the client wants to trade on.
    • getSpotBidMargin

      @Nullable public @Nullable BigDecimal getSpotBidMargin()
      Returns:
      This field is included on the rate update that the client wants to trade on.
    • getSwapAskMargin

      @Nullable public @Nullable BigDecimal getSwapAskMargin()
      Returns:
      The swap margin to be applied to the ask side
    • getSwapBidMargin

      @Nullable public @Nullable BigDecimal getSwapBidMargin()
      Returns:
      The swap margin to be applied to the bid side
    • 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.CommonMissedBlotterFields from(@NotNull @NotNull Map<String,String> fields)
    • from

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

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