Class OrderDetailsPartsDef.SalesLegFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.fx.orders.OrderDetailsPartsDef.SalesLegFields.Builder
-
- Enclosing class:
- OrderDetailsPartsDef.SalesLegFields
public static final class OrderDetailsPartsDef.SalesLegFields.Builder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
addField
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value)
-
build
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields build()
-
setMargin
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder setMargin(@NotNull @NotNull BigDecimal margin, boolean isEditable)
- Returns:
- The amount of margin
-
setMargin
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder setMargin(@NotNull @NotNull BigDecimal margin)
- Returns:
- The amount of margin
-
setMargin
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder setMargin(@NotNull @NotNull String margin, boolean isEditable)
- Returns:
- The amount of margin
-
setMargin
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder setMargin(@NotNull @NotNull String margin)
- Returns:
- The amount of margin
-
setMarginEditable
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder setMarginEditable()
-
setDiscretion
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder setDiscretion(@NotNull @NotNull BigDecimal discretion, boolean isEditable)
- Returns:
- Number of points the trader has discretion to fill the order
-
setDiscretion
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder setDiscretion(@NotNull @NotNull BigDecimal discretion)
- Returns:
- Number of points the trader has discretion to fill the order
-
setDiscretion
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder setDiscretion(@NotNull @NotNull String discretion, boolean isEditable)
- Returns:
- Number of points the trader has discretion to fill the order
-
setDiscretion
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder setDiscretion(@NotNull @NotNull String discretion)
- Returns:
- Number of points the trader has discretion to fill the order
-
setDiscretionEditable
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder setDiscretionEditable()
-
setTraderRemarks
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder setTraderRemarks(@NotNull @NotNull String traderRemarks, boolean isEditable)
- Returns:
- The trader's comments on an order leg - visible to only the Trader
-
setTraderRemarks
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder setTraderRemarks(@NotNull @NotNull String traderRemarks)
- Returns:
- The trader's comments on an order leg - visible to only the Trader
-
setTraderRemarksEditable
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder setTraderRemarksEditable()
-
-