Class OrderBuilder
java.lang.Object
com.caplin.motif.fx.trading.orders.details.OrderBuilder
Deprecated.
This class provides a builder which is used to instantiate and populate the fields of an
order. You should not instantiate this class directly. Instead, you should create instances
by calling
StrategyBuilder.addOrderBuilder(int)
.-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Deprecated.Returns the fields relating to the order that can be edited by the user.Deprecated.Returns the fields relating to the order that can be edited by the user.Deprecated.Returns the fields relating to the order that cannot be edited by the userDeprecated.Returns the fields relating to the order that cannot be edited by the user These fields are only visible on the Sales Order Details subject.int
hashCode()
Deprecated.setOrderId
(String orderId) Deprecated.Sets the order ID of the order to build.toString()
Deprecated.
-
Method Details
-
setOrderId
Deprecated.Sets the order ID of the order to build.- Parameters:
orderId
- the order ID of the order to build- Returns:
- A reference to the builder itself to allow chaining calls.
-
getFixedFields
Deprecated.Returns the fields relating to the order that cannot be edited by the user- Returns:
- The fixed fields.
-
getEditableFields
Deprecated.Returns the fields relating to the order that can be edited by the user.- Returns:
- The editable fields.
-
getFixedSalesFields
Deprecated.Returns the fields relating to the order that cannot be edited by the user These fields are only visible on the Sales Order Details subject.- Returns:
- The fixed sales fields.
-
getEditableSalesFields
Deprecated.Returns the fields relating to the order that can be edited by the user. These fields are only visible on the Sales Order Details subject.- Returns:
- The editable sales fields.
-
toString
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-