Class OrderProperties
java.lang.Object
com.caplin.motif.fx.ret.orders.strategy.builder.OrderProperties
Used to encapsulate additional properties of an Order that can then be stored in the Taker Order
Custom field in RET.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Helper class used to construct anOrderProperties
object. -
Method Summary
Modifier and TypeMethodDescriptionstatic OrderProperties.Builder
builder()
Returns an instance ofOrderProperties.Builder
that can be used to construct an OrderProperties object.Returns the amount.getOrder()
Returns the order.getUnit()
Returns the unit.
-
Method Details
-
builder
Returns an instance ofOrderProperties.Builder
that can be used to construct an OrderProperties object.- Returns:
- The builder.
-
getOrder
Returns the order.- Returns:
- The Order.
-
getUnit
Returns the unit.- Returns:
- The unit.
-
getAmount
Returns the amount.- Returns:
- The amount.
-