Class OrderDetailsPartsDef.SalesLegFields.Builder
java.lang.Object
com.caplin.generated.motif.fx.orders.OrderDetailsPartsDef.SalesLegFields.Builder
- Enclosing class:
- OrderDetailsPartsDef.SalesLegFields
-
Method Summary
Modifier and TypeMethodDescription@NotNull OrderDetailsPartsDef.SalesLegFields
build()
setDiscretion
(@NotNull String discretion) setDiscretion
(@NotNull String discretion, boolean isEditable) setDiscretion
(@NotNull BigDecimal discretion) setDiscretion
(@NotNull BigDecimal discretion, boolean isEditable) setExternalRemarks
(@NotNull String externalRemarks) setMargin
(@NotNull BigDecimal margin) setMargin
(@NotNull BigDecimal margin, boolean isEditable) setTraderRemarks
(@NotNull String traderRemarks) setTraderRemarks
(@NotNull String traderRemarks, boolean isEditable) @NotNull String
toString()
-
Method Details
-
addField
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
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
-
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
-
setTraderRemarks
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder setTraderRemarks(@NotNull @NotNull String traderRemarks, boolean isEditable) - Returns:
- The sale's comments on an order leg - visible to only the Trader and sales, set/edited only by the sales
-
setTraderRemarks
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder setTraderRemarks(@NotNull @NotNull String traderRemarks) - Returns:
- The sale's comments on an order leg - visible to only the Trader and sales, set/edited only by the sales
-
setTraderRemarksEditable
-
setExternalRemarks
@NotNull public @NotNull OrderDetailsPartsDef.SalesLegFields.Builder setExternalRemarks(@NotNull @NotNull String externalRemarks) - Returns:
- The trader's comments on an order leg - visible to only the sales, set/edited only by the Trader
-