Class BlotterPartsDef.InterventionBlotterFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.mm.blotter.BlotterPartsDef.InterventionBlotterFields.Builder
-
- Enclosing class:
- BlotterPartsDef.InterventionBlotterFields
public static final class BlotterPartsDef.InterventionBlotterFields.Builder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
addField
@NotNull public @NotNull BlotterPartsDef.InterventionBlotterFields.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull BlotterPartsDef.InterventionBlotterFields build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setTradeStatus
@NotNull public @NotNull BlotterPartsDef.InterventionBlotterFields.Builder setTradeStatus(@NotNull @NotNull java.lang.String tradeStatus)
- Parameters:
tradeStatus
- e.g. AWAITING-PRICE- Returns:
- The current status of the trade. Supported types are [AWAITING-TRADER, AWAITING-PRICE, PRICED, EXECUTING, CLOSED, REJECTED, ERRORED, COMPLETED]. CLOSED means the client cancelled the trade request, REJECTED indicates it was rejected by the dealer.
-
setIntervenerUsername
@NotNull public @NotNull BlotterPartsDef.InterventionBlotterFields.Builder setIntervenerUsername(@NotNull @NotNull java.lang.String intervenerUsername)
- Parameters:
intervenerUsername
- e.g. head_trader@novobank.co.za- Returns:
- The user who is currently intervening on and potentially pricing a trade.
-
setDealable
@NotNull public @NotNull BlotterPartsDef.InterventionBlotterFields.Builder setDealable(boolean dealable)
- Returns:
- Determines whether the trade is dealable or not.
-
setDealable
@NotNull public @NotNull BlotterPartsDef.InterventionBlotterFields.Builder setDealable(@NotNull @NotNull java.lang.String dealable)
- Returns:
- Determines whether the trade is dealable or not.
-
setSource
@NotNull public @NotNull BlotterPartsDef.InterventionBlotterFields.Builder setSource(@NotNull @NotNull java.lang.String source)
- Returns:
- The source the trade to be intervened originated
-
setCompetition
@NotNull public @NotNull BlotterPartsDef.InterventionBlotterFields.Builder setCompetition(boolean competition)
- Returns:
- Whether there is competition to price the trade to be intervened
-
setCompetition
@NotNull public @NotNull BlotterPartsDef.InterventionBlotterFields.Builder setCompetition(@NotNull @NotNull java.lang.String competition)
- Returns:
- Whether there is competition to price the trade to be intervened
-
-