Class BlotterPartsDef.CommonBlotterFields.Builder
java.lang.Object
com.caplin.generated.motif.fx.blotter.BlotterPartsDef.CommonBlotterFields.Builder
- Enclosing class:
- BlotterPartsDef.CommonBlotterFields
-
Method Summary
Modifier and TypeMethodDescription@NotNull BlotterPartsDef.CommonBlotterFields
build()
setBaseCurrency
(@NotNull String baseCurrency) setExecutionStyle
(@NotNull String executionStyle) setIsAmendable
(boolean isAmendable) setIsAmendable
(@NotNull String isAmendable) setIsCancellable
(boolean isCancellable) setIsCancellable
(@NotNull String isCancellable) setIsReversible
(boolean isReversible) setIsReversible
(@NotNull String isReversible) setTradingType
(@NotNull String tradingType) @NotNull String
toString()
-
Method Details
-
addField
@NotNull public @NotNull BlotterPartsDef.CommonBlotterFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setBaseCurrency
@NotNull public @NotNull BlotterPartsDef.CommonBlotterFields.Builder setBaseCurrency(@NotNull @NotNull String baseCurrency) - Parameters:
baseCurrency
- e.g. USD- Returns:
- baseCurrency
-
setTradingType
@NotNull public @NotNull BlotterPartsDef.CommonBlotterFields.Builder setTradingType(@NotNull @NotNull String tradingType) - Returns:
- Caplin supported values are [SPOT, FWD, NDF, NDF_FIXING, NDS, TIME_OPTION, DRAWDOWN, SWAP, BLOCK, PAR_FORWARD]. See the constants defined within com.caplin.motif.fx.trading.FXTradingType for further details.
-
setIsReversible
@NotNull public @NotNull BlotterPartsDef.CommonBlotterFields.Builder setIsReversible(boolean isReversible) - Returns:
- Whether a trade can be reversed.
-
setIsReversible
@NotNull public @NotNull BlotterPartsDef.CommonBlotterFields.Builder setIsReversible(@NotNull @NotNull String isReversible) - Returns:
- Whether a trade can be reversed.
-
setIsAmendable
@NotNull public @NotNull BlotterPartsDef.CommonBlotterFields.Builder setIsAmendable(boolean isAmendable) - Returns:
- Whether a trade can be amended.
-
setIsAmendable
@NotNull public @NotNull BlotterPartsDef.CommonBlotterFields.Builder setIsAmendable(@NotNull @NotNull String isAmendable) - Returns:
- Whether a trade can be amended.
-
setIsCancellable
@NotNull public @NotNull BlotterPartsDef.CommonBlotterFields.Builder setIsCancellable(boolean isCancellable) - Returns:
- Whether a trade can be cancelled.
-
setIsCancellable
@NotNull public @NotNull BlotterPartsDef.CommonBlotterFields.Builder setIsCancellable(@NotNull @NotNull String isCancellable) - Returns:
- Whether a trade can be cancelled.
-
setExecutionStyle
@NotNull public @NotNull BlotterPartsDef.CommonBlotterFields.Builder setExecutionStyle(@NotNull @NotNull String executionStyle) - Returns:
- The execution style. Caplin supported types are [ORDER, RFS, ESP]
-
setUSI
@NotNull public @NotNull BlotterPartsDef.CommonBlotterFields.Builder setUSI(@NotNull @NotNull String uSI) - Returns:
- Unique swap identifier, global unique transaction identifier.
-