Interface PostAllocateLegServerFieldSet
public interface PostAllocateLegServerFieldSet
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a field to this eventdefault void
setAccount
(Object value) The settlement account to usedefault void
setAllocationAmount
(Object value) The amount to allocate to this leg, 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.
-
Method Details
-
addField
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 aString
usingBigDecimal.toPlainString()
-
setAccount
The settlement account to use- Parameters:
value
- The value to be set passed by i18n
-
setAllocationAmount
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
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
-