Interface SalesInterventionQuoteServerFieldSet
public interface SalesInterventionQuoteServerFieldSet
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a field to this eventdefault void
setOverallTimeOut
(Object value) This field is the length of time in seconds that a sales intervention quote is valid for.default void
setPricingType
(Object value) The type of pricing, either QUOTE or STREAM, QUOTE will send a send a singe quote to the client, while STREAM will stream rates to the client using the given margins.default void
setRemainingTimeOutMillis
(Object value) This field is the remaining length of time in milliseconds that a sales intervention quote is valid for.default void
setSpotAskMargin
(Object value) This field represents the spot margin that the sales user has selected.default void
setSpotBidMargin
(Object value) This field represents the spot margin that the sales user has selected.default void
setTraderSpotAskRate
(Object value) This field is included on the rate update that the client wants to trade ondefault void
setTraderSpotBidRate
(Object value) This field is included on the rate update that the client wants to trade on
-
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()
-
setPricingType
The type of pricing, either QUOTE or STREAM, QUOTE will send a send a singe quote to the client, while STREAM will stream rates to the client using the given margins.- Parameters:
value
- The value to be set passed by i18n
-
setSpotBidMargin
This field represents the spot margin that the sales user has selected. It should be sent as a raw value, and unformatted.- Parameters:
value
- The value to be set passed by i18n
-
setSpotAskMargin
This field represents the spot margin that the sales user has selected. It should be sent as a raw value, and unformatted.- Parameters:
value
- The value to be set passed by i18n
-
setTraderSpotBidRate
This field is included on the rate update that the client wants to trade on- Parameters:
value
- The value to be set passed by i18n
-
setTraderSpotAskRate
This field is included on the rate update that the client wants to trade on- Parameters:
value
- The value to be set passed by i18n
-
setOverallTimeOut
This field is the length of time in seconds that a sales intervention quote is valid for.- Parameters:
value
- The value to be set passed by i18n
-
setRemainingTimeOutMillis
This field is the remaining length of time in milliseconds that a sales intervention quote is valid for.- Parameters:
value
- The value to be set passed by i18n
-