Class OrderStrategy

java.lang.Object
com.caplin.motif.fx.config.definitions.client.OrderStrategy

@Generated("org.openapitools.codegen.languages.SpringCodegen") public class OrderStrategy extends Object
OrderStrategy
  • Constructor Details

    • OrderStrategy

      public OrderStrategy()
  • Method Details

    • enabled

      public OrderStrategy enabled(Boolean enabled)
    • getEnabled

      public Boolean getEnabled()
      Whether the user can trade this strategy
      Returns:
      enabled
    • setEnabled

      public void setEnabled(Boolean enabled)
    • orderTypes

      public OrderStrategy orderTypes(List<OrderType> orderTypes)
    • addOrderTypesItem

      public OrderStrategy addOrderTypesItem(OrderType orderTypesItem)
    • getOrderTypes

      public 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(List<OrderType> orderTypes)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object