public static final class NotificationsTypesDef.OrderPriceTouchedNotification.Builder extends Object
Modifier and Type | Method and Description |
---|---|
@NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder |
addField(@NotNull String key,
@NotNull String value) |
@NotNull NotificationsTypesDef.OrderPriceTouchedNotification |
build() |
@NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder |
setAmount(@NotNull BigDecimal amount)
The amount of a trade or order in the DealtCurrency.
|
@NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder |
setAmount(@NotNull String amount)
The amount of a trade or order in the DealtCurrency.
|
@NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder |
setBuySell(@NotNull String buySell)
The direction of the trade or trade leg.
|
@NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder |
setCurrencyPair(@NotNull String currencyPair)
The currency pair for the trade.
|
@NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder |
setDealtCurrency(@NotNull String dealtCurrency)
The currency of the Amount of a trade or order.
|
@NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder |
setOrderID(@NotNull String orderID)
The id of the order.
|
@NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder |
setSpotRate(@NotNull BigDecimal spotRate) |
@NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder |
setSpotRate(@NotNull String spotRate) |
@NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder |
setSpotRateDPS(int spotRateDPS)
The number of decimal places to display after the decimal point.
|
@NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder |
setSpotRateDPS(@NotNull String spotRateDPS)
The number of decimal places to display after the decimal point.
|
@NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder |
setTenor(@NotNull String tenor)
Supported types are [ON, [TODAY, TOD, TD], TN, [TOM, ND], SPOT, SN, 1D, 1W, 2W, 3W, 4W, 1M, 2M, 4M, 5M, 6M, 7M, 8M, 9M, 10M, 11M, [1Y, 12M], 15M, 18M, 21M, [2Y, 24M], [3Y, 36M], [4Y, 48M], [5Y, 60M], broken].
|
@NotNull String |
toString() |
@NotNull public @NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value)
@NotNull public @NotNull NotificationsTypesDef.OrderPriceTouchedNotification build()
@NotNull public @NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder setOrderID(@NotNull @NotNull String orderID)
@NotNull public @NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder setCurrencyPair(@NotNull @NotNull String currencyPair)
@NotNull public @NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder setBuySell(@NotNull @NotNull String buySell)
@NotNull public @NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder setSpotRate(@NotNull @NotNull BigDecimal spotRate)
spotRate
- e.g. 1.08341@NotNull public @NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder setSpotRate(@NotNull @NotNull String spotRate)
spotRate
- e.g. 1.08341@NotNull public @NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder setSpotRateDPS(int spotRateDPS)
spotRateDPS
- e.g. 5@NotNull public @NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder setSpotRateDPS(@NotNull @NotNull String spotRateDPS)
spotRateDPS
- e.g. 5@NotNull public @NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder setDealtCurrency(@NotNull @NotNull String dealtCurrency)
@NotNull public @NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder setAmount(@NotNull @NotNull BigDecimal amount)
@NotNull public @NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder setAmount(@NotNull @NotNull String amount)
@NotNull public @NotNull NotificationsTypesDef.OrderPriceTouchedNotification.Builder setTenor(@NotNull @NotNull String tenor)
tenor
- e.g. 1MCopyright © 2018 Caplin Systems.