Interface AllocateLegServerFieldSet


  • public interface AllocateLegServerFieldSet
    • 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 for this leg
      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)
      The buy/sell direction of this leg.
      default void setEntityId​(java.lang.Object value)
      The entity to allocate this leg to.
      default void setSettlementDate​(java.lang.Object value)
      The settlement date for the trade of this leg in ISO format (only support standard settlement dates).
    • 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()
      • 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
      • setEntityId

        default void setEntityId​(java.lang.Object value)
        The entity to allocate this leg to.
        Parameters:
        value - The value to be set passed by i18n
      • setAccount

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

        default void setBuySell​(java.lang.Object value)
        The buy/sell direction of this leg.
        Parameters:
        value - The value to be set passed by i18n
      • setSettlementDate

        default void setSettlementDate​(java.lang.Object value)
        The settlement date for the trade of this leg in ISO format (only support standard settlement dates). Example value: 20160515
        Parameters:
        value - The value to be set passed by i18n