Class OrderStrategy
- java.lang.Object
-
- com.caplin.motif.fx.config.definitions.client.OrderStrategy
-
@Generated("org.openapitools.codegen.languages.SpringCodegen") public class OrderStrategy extends java.lang.Object
OrderStrategy
-
-
Constructor Summary
Constructors Constructor Description OrderStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrderStrategy
addOrderTypesItem(OrderType orderTypesItem)
OrderStrategy
enabled(java.lang.Boolean enabled)
boolean
equals(java.lang.Object o)
java.lang.Boolean
getEnabled()
Whether the user can trade this strategyjava.util.List<OrderType>
getOrderTypes()
Which order types this strategy supports.int
hashCode()
OrderStrategy
orderTypes(java.util.List<OrderType> orderTypes)
void
setEnabled(java.lang.Boolean enabled)
void
setOrderTypes(java.util.List<OrderType> orderTypes)
java.lang.String
toString()
-
-
-
Method Detail
-
enabled
public OrderStrategy enabled(java.lang.Boolean enabled)
-
getEnabled
public java.lang.Boolean getEnabled()
Whether the user can trade this strategy- Returns:
- enabled
-
setEnabled
public void setEnabled(java.lang.Boolean enabled)
-
orderTypes
public OrderStrategy orderTypes(java.util.List<OrderType> orderTypes)
-
addOrderTypesItem
public OrderStrategy addOrderTypesItem(OrderType orderTypesItem)
-
getOrderTypes
public java.util.List<OrderType> getOrderTypes()
Which order types this strategy supports. Note that the front end may filter this list further.- Returns:
- orderTypes
-
setOrderTypes
public void setOrderTypes(java.util.List<OrderType> orderTypes)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-