public static final class OrderProperties.Builder
extends java.lang.Object
OrderProperties
object.Modifier and Type | Field and Description |
---|---|
com.caplin.motif.fx.trading.orders.submission.Order |
order |
Modifier and Type | Method and Description |
---|---|
OrderProperties |
build()
Returns a configured
OrderProperties object. |
OrderProperties.Builder |
withAmount(java.lang.String amount)
Builds the
OrderProperties with the specified amount. |
OrderProperties.Builder |
withOrder(com.caplin.motif.fx.trading.orders.submission.Order order)
Builds the
OrderProperties with the specified order. |
OrderProperties.Builder |
withUnit(java.lang.String unit)
Builds the
OrderProperties with the specified unit. |
public OrderProperties.Builder withOrder(com.caplin.motif.fx.trading.orders.submission.Order order)
OrderProperties
with the specified order.order
- The order.public OrderProperties.Builder withUnit(java.lang.String unit)
OrderProperties
with the specified unit.unit
- The unit.public OrderProperties.Builder withAmount(java.lang.String amount)
OrderProperties
with the specified amount.amount
- The Amount.public OrderProperties build()
OrderProperties
object.Copyright © 2016 Caplin Systems.