Interface SubmissionLegServerFieldSet
-
public interface SubmissionLegServerFieldSet
-
-
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 eventdefault void
setAmount(java.lang.Object value)
The amount to trade, 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.default void
setFixingDate(java.lang.Object value)
The fixing date for NDF trades only, in ISO format (only support standard settlement dates) Example value: 20160513default void
setRequestedProfitCurrency(java.lang.Object value)
The preferred currency to be used in calculating sales profit details.default void
setSettlementDate(java.lang.Object value)
The settlement date for the trade, in ISO format (only support standard settlement dates) Example value: 20160515default void
setTenor(java.lang.Object value)
The tenor at which to settle (only support standard settlement dates, so cannot be broken) Example value: SPOT
-
-
-
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 aString
usingBigDecimal.toPlainString()
-
setAmount
default void setAmount(java.lang.Object value)
The amount to trade, 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
-
setSettlementDate
default void setSettlementDate(java.lang.Object value)
The settlement date for the trade, in ISO format (only support standard settlement dates) Example value: 20160515- Parameters:
value
- The value to be set passed by i18n
-
setRequestedProfitCurrency
default void setRequestedProfitCurrency(java.lang.Object value)
The preferred currency to be used in calculating sales profit details. Example value: GBP- Parameters:
value
- The value to be set passed by i18n
-
setTenor
default void setTenor(java.lang.Object value)
The tenor at which to settle (only support standard settlement dates, so cannot be broken) Example value: SPOT- Parameters:
value
- The value to be set passed by i18n
-
setFixingDate
default void setFixingDate(java.lang.Object value)
The fixing date for NDF trades only, in ISO format (only support standard settlement dates) Example value: 20160513- Parameters:
value
- The value to be set passed by i18n
-
-