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.CommonBlotterFieldsbuild()setBaseCurrency(@NotNull String baseCurrency) setCanLaunchTradeConfirmation(boolean canLaunchTradeConfirmation) setCanLaunchTradeConfirmation(@NotNull String canLaunchTradeConfirmation) 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 StringtoString()
-
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:
- The first currency listed in the currency pair.
-
setTradingType
@NotNull public @NotNull BlotterPartsDef.CommonBlotterFields.Builder setTradingType(@NotNull @NotNull String tradingType) - Parameters:
tradingType- e.g. SPOT- 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.
-
setCanLaunchTradeConfirmation
@NotNull public @NotNull BlotterPartsDef.CommonBlotterFields.Builder setCanLaunchTradeConfirmation(boolean canLaunchTradeConfirmation) - Parameters:
canLaunchTradeConfirmation- e.g. true- Returns:
- Indicates whether the user can launch the trade confirmation ticket
-
setCanLaunchTradeConfirmation
@NotNull public @NotNull BlotterPartsDef.CommonBlotterFields.Builder setCanLaunchTradeConfirmation(@NotNull @NotNull String canLaunchTradeConfirmation) - Parameters:
canLaunchTradeConfirmation- e.g. true- Returns:
- Indicates whether the user can launch the trade confirmation ticket
-