Interface PostAllocateLegServerFieldSet


  • public interface PostAllocateLegServerFieldSet
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      void addField​(java.lang.String fieldName, java.lang.Object value)
      Adds a field to this event
      default void setAccount​(java.lang.Object value)
      The settlement account to use
      default void setAllocationAmount​(java.lang.Object value)
      The amount to allocate to this leg, specified in the dealt currency.
      default void setBuySell​(java.lang.Object value)
      Whether the client wants to buy or sell the base currency, NOT the dealt currency.
    • Method Detail

      • addField

        void addField​(java.lang.String fieldName,
                      java.lang.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()
      • setAccount

        default void setAccount​(java.lang.Object value)
        The settlement account to use
        Parameters:
        value - The value to be set passed by i18n
      • setAllocationAmount

        default void setAllocationAmount​(java.lang.Object value)
        The amount to allocate to this leg, specified in the dealt currency. Example value: 50000
        Parameters:
        value - The value to be set passed by i18n
      • setBuySell

        default void setBuySell​(java.lang.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