Class BlotterPartsDef.CommonBlotterFields.Builder
java.lang.Object
com.caplin.generated.motif.mm.blotter.BlotterPartsDef.CommonBlotterFields.Builder
- Enclosing class:
- BlotterPartsDef.CommonBlotterFields
-
Method Summary
Modifier and TypeMethodDescription@NotNull BlotterPartsDef.CommonBlotterFieldsbuild()setAmountDPS(int amountDPS) setAmountDPS(@NotNull String amountDPS) setCanLaunchTradeConfirmation(boolean canLaunchTradeConfirmation) setCanLaunchTradeConfirmation(@NotNull String canLaunchTradeConfirmation) setSettlementStatus(@NotNull String settlementStatus) @NotNull StringtoString()
-
Method Details
-
addField
@NotNull public @NotNull BlotterPartsDef.CommonBlotterFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setStatus
@NotNull public @NotNull BlotterPartsDef.CommonBlotterFields.Builder setStatus(@NotNull @NotNull String status) - Returns:
- Indicates the actual status of the trade from the trade model.
-
setSettlementStatus
@NotNull public @NotNull BlotterPartsDef.CommonBlotterFields.Builder setSettlementStatus(@NotNull @NotNull String settlementStatus) - Returns:
- Caplin supported statuses are [PENDING, AFFIRMED, CONFIRMED, DISPUTED, CANCELLED, REPLACED, AUTO_CONFIRMED, OVERDUE, REJECTED]
-
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
-
setAmountDPS
- Parameters:
amountDPS- e.g. 2- Returns:
- The precision for a specified currency
-
setAmountDPS
@NotNull public @NotNull BlotterPartsDef.CommonBlotterFields.Builder setAmountDPS(@NotNull @NotNull String amountDPS) - Parameters:
amountDPS- e.g. 2- Returns:
- The precision for a specified currency
-