Class BlotterPartsDef.CommonBlotterFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.fx.blotter.BlotterPartsDef.CommonBlotterFields.Builder
-
- Enclosing class:
- BlotterPartsDef.CommonBlotterFields
public static final class BlotterPartsDef.CommonBlotterFields.Builder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
addField
@NotNull public @NotNull BlotterPartsDef.CommonBlotterFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value)
-
build
@NotNull public @NotNull BlotterPartsDef.CommonBlotterFields build()
-
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, TIME_OPTION, DRAWDOWN, SWAP, BLOCK, PAR_FORWARD]. See the constants defined within com.caplin.motif.fx.trading.FXTradingType for further details.
-
setStatus
@NotNull public @NotNull BlotterPartsDef.CommonBlotterFields.Builder setStatus(@NotNull @NotNull String status)
- Returns:
- Use OrderStatus instead.
-
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.
-
-