Interface AllocateLegServerFieldSet


public interface AllocateLegServerFieldSet
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addField(String fieldName, Object value)
    Adds a field to this event
    default void
    The amount to allocate to this leg, specified in 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()
    • 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