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 java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
addField
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setMargin
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder setMargin(@NotNull @NotNull java.math.BigDecimal margin, boolean isEditable)
- Returns:
- The amount of margin
-
setMargin
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder setMargin(@NotNull @NotNull java.lang.String margin, boolean isEditable)
- Returns:
- The amount of margin
-
setMarginEditable
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder setMarginEditable()
-
setDiscretion
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder setDiscretion(@NotNull @NotNull java.math.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 java.lang.String discretion, boolean isEditable)
- 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 java.lang.String traderRemarks, boolean isEditable)
- Returns:
- The trader's comments on an order leg - visible to only the Trader
-
setTraderRemarksEditable
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder setTraderRemarksEditable()
-
-