Interface SubmissionLegServerFieldSet


  • public interface SubmissionLegServerFieldSet
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      void addField​(String fieldName, Object value)
      Adds a field to this event
      default void setAmount​(Object value)
      The amount to trade, specified in the dealt currency.
      default void setBuySell​(Object value)
      Whether the client wants to buy or sell the base currency, NOT the dealt currency.
      default void setFixingDate​(Object value)
      The fixing date for NDF trades only, in ISO format (only support standard settlement dates) Example value: 20160513
      default void setRequestedProfitCurrency​(Object value)
      The preferred currency to be used in calculating sales profit details.
      default void setSettlementDate​(Object value)
      The settlement date for the trade, in ISO format (only support standard settlement dates) Example value: 20160515
      default void setTenor​(Object value)
      The tenor at which to settle (only support standard settlement dates, so cannot be broken) Example value: SPOT
    • Method Detail

      • 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