Interface PostAllocateLegServerFieldSet


public interface PostAllocateLegServerFieldSet
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addField(String fieldName, Object value)
    Adds a field to this event
    default void
    The settlement account to use
    default void
    The amount to allocate to this leg, specified in the dealt currency.
    default void
    Whether the client wants to buy or sell the base currency, NOT the dealt currency.
  • 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()
    • setAccount

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

      default void setAllocationAmount(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(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