Class OrderProperties
- java.lang.Object
-
- com.caplin.motif.fx.ret.orders.strategy.builder.OrderProperties
-
public class OrderProperties extends java.lang.Object
Used to encapsulate additional properties of an Order that can then be stored in the Taker Order Custom field in RET.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OrderProperties.Builder
Helper class used to construct anOrderProperties
object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OrderProperties.Builder
builder()
Returns an instance ofOrderProperties.Builder
that can be used to construct an OrderProperties object.java.lang.String
getAmount()
Returns the amount.com.caplin.motif.fx.trading.orders.submission.Order
getOrder()
Returns the order.java.lang.String
getUnit()
Returns the unit.
-
-
-
Method Detail
-
builder
public static OrderProperties.Builder builder()
Returns an instance ofOrderProperties.Builder
that can be used to construct an OrderProperties object.- Returns:
- The builder.
-
getOrder
public com.caplin.motif.fx.trading.orders.submission.Order getOrder()
Returns the order.- Returns:
- The Order.
-
getUnit
public java.lang.String getUnit()
Returns the unit.- Returns:
- The unit.
-
getAmount
public java.lang.String getAmount()
Returns the amount.- Returns:
- The amount.
-
-