Class TradeConfPartsDef.SalesLegTradeConfirmationFields

java.lang.Object
com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.SalesLegTradeConfirmationFields
All Implemented Interfaces:
BuilderMessage, Message
Enclosing class:
TradeConfPartsDef

public static final class TradeConfPartsDef.SalesLegTradeConfirmationFields extends Object implements BuilderMessage
  • Method Details

    • getTraderAllInRate

      @Nullable public @Nullable BigDecimal getTraderAllInRate()
      Returns:
      The all-in rate, with no client margin applied to it
    • getTraderFwdPoints

      @Nullable public @Nullable BigDecimal getTraderFwdPoints()
      Returns:
      The forward points with no client margin applied to them.
    • getFwdMargin

      @Nullable public @Nullable BigDecimal getFwdMargin()
      Returns:
      The Forward margin that the user has selected. This field should be sent raw and unformatted.
    • getAllInMargin

      @Nullable public @Nullable BigDecimal getAllInMargin()
      Returns:
      The sales user's selected SpotMargin added to the sales user's selected L1_FwdMargin.
    • 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.
    • getTraderOriginalRate

      @Nullable public @Nullable BigDecimal getTraderOriginalRate()
      Returns:
      The TraderRate of the trade that this trade was created from.
    • getOriginalMargin

      @Nullable public @Nullable BigDecimal getOriginalMargin()
      Returns:
      The Margin of the trade that this trade was created from.
    • getAdjustedTraderSwapPoints

      @Nullable public @Nullable BigDecimal getAdjustedTraderSwapPoints()
      Returns:
      The trader swap points adjusted for this repriced trade
    • getAdjustedSwapMargin

      @Nullable public @Nullable BigDecimal getAdjustedSwapMargin()
      Returns:
      The swap margin adjusted for this repriced trade
    • getTraderRemarks

      @Nullable public @Nullable TradeConfPartsDef.RemarksEntry getTraderRemarks(int id)
      Returns:
      traderRemarks
    • getNumTraderRemarks

      @Nullable public @org.jetbrains.annotations.Nullable int getNumTraderRemarks()
    • 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 TradeConfPartsDef.SalesLegTradeConfirmationFields from(@NotNull @NotNull Map<String,String> fields)
    • from

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

      @NotNull public static @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields.Builder newBuilder()