Interface SubmissionLegServerFieldSet


public interface SubmissionLegServerFieldSet
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addField(String fieldName, Object value)
    Adds a field to this event
    default void
    The amount to trade, specified in the dealt currency.
    default void
    Whether the client wants to buy or sell the base currency, NOT the dealt currency.
    default void
    The fixing date for NDF trades only, in ISO format (only support standard settlement dates) Example value: 20160513
    default void
    The clients or trader's comments on a trade
    default void
    The preferred currency to be used in calculating sales profit details.
    default void
    The settlement date for the trade, in ISO format (only support standard settlement dates) Example value: 20160515
    default void
    The tenor at which to settle (only support standard settlement dates, so cannot be broken) Example value: SPOT
    default void
    The user the trade is on behalf of.
    default void
    The trader's comments on a trade
  • Method Details

    • addField

      void addField(String fieldName, Object value)
      Adds a field to this event
      Parameters:
      fieldName - The name of the field to add.
      value - The value of the field to add. If the value is a BigDecimal then it will be converted to a String using BigDecimal.toPlainString()
    • setAmount

      default void setAmount(Object value)
      The amount to trade, specified in the dealt currency. Example value: 50000
      Parameters:
      value - The value to be set passed by i18n
    • setBuySell

      default void setBuySell(Object value)
      Whether the client wants to buy or sell the base currency, NOT the dealt currency. For example if the currency pair is EURGBP and this value is EUR then this field always tells you if the client wants to buy or sell EUR, even if the dealt currency is GBP. The dealt currency simply tells you which currency the client has specified the amount in. Example value: SELL
      Parameters:
      value - The value to be set passed by i18n
    • setSettlementDate

      default void setSettlementDate(Object value)
      The settlement date for the trade, in ISO format (only support standard settlement dates) Example value: 20160515
      Parameters:
      value - The value to be set passed by i18n
    • setRequestedProfitCurrency

      default void setRequestedProfitCurrency(Object value)
      The preferred currency to be used in calculating sales profit details. Example value: GBP
      Parameters:
      value - The value to be set passed by i18n
    • setTenor

      default void setTenor(Object value)
      The tenor at which to settle (only support standard settlement dates, so cannot be broken) Example value: SPOT
      Parameters:
      value - The value to be set passed by i18n
    • setFixingDate

      default void setFixingDate(Object value)
      The fixing date for NDF trades only, in ISO format (only support standard settlement dates) Example value: 20160513
      Parameters:
      value - The value to be set passed by i18n
    • setTOBOUser

      default void setTOBOUser(Object value)
      The user the trade is on behalf of.
      Parameters:
      value - The value to be set passed by i18n
    • setRemarks

      default void setRemarks(Object value)
      The clients or trader's comments on a trade
      Parameters:
      value - The value to be set passed by i18n
    • setTraderRemarks

      default void setTraderRemarks(Object value)
      The trader's comments on a trade
      Parameters:
      value - The value to be set passed by i18n