Class ESP
- java.lang.Object
-
- com.caplin.motif.fx.config.definitions.ESP
-
@Generated(value="org.openapitools.codegen.languages.SpringCodegen", date="2022-05-06T11:32:59.770935+01:00[Europe/London]") public class ESP extends Object
Defines configuration for allowed actions on the ESP Trading protocol
-
-
Constructor Summary
Constructors Constructor Description ESP()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ESP
addSubmitActionsItem(SubmitActions submitActionsItem)
ESP
addTypesItem(ESPTradeTypes typesItem)
ESP
defaultTradeType(ESPTradeTypes defaultTradeType)
boolean
equals(Object o)
@Valid ESPTradeTypes
getDefaultTradeType()
Get defaultTradeType@Valid List<SubmitActions>
getSubmitActions()
A list of allowed submit actions for the user.Boolean
getSubmitActionSwitchEnabled()
Whether the user can switch between modes.Boolean
getTwoWayEnabled()
Configuration used to enabled or disable two-way pricing.@Valid List<ESPTradeTypes>
getTypes()
Returns a list of allowed Trade Types for the ESP Trading Protocol.int
hashCode()
void
setDefaultTradeType(ESPTradeTypes defaultTradeType)
void
setSubmitActions(List<SubmitActions> submitActions)
void
setSubmitActionSwitchEnabled(Boolean submitActionSwitchEnabled)
void
setTwoWayEnabled(Boolean twoWayEnabled)
void
setTypes(List<ESPTradeTypes> types)
ESP
submitActions(List<SubmitActions> submitActions)
ESP
submitActionSwitchEnabled(Boolean submitActionSwitchEnabled)
String
toString()
ESP
twoWayEnabled(Boolean twoWayEnabled)
ESP
types(List<ESPTradeTypes> types)
-
-
-
Method Detail
-
types
public ESP types(List<ESPTradeTypes> types)
-
addTypesItem
public ESP addTypesItem(ESPTradeTypes typesItem)
-
getTypes
@Valid public @Valid List<ESPTradeTypes> getTypes()
Returns a list of allowed Trade Types for the ESP Trading Protocol.- Returns:
- types
-
setTypes
public void setTypes(List<ESPTradeTypes> types)
-
defaultTradeType
public ESP defaultTradeType(ESPTradeTypes defaultTradeType)
-
getDefaultTradeType
@Valid public @Valid ESPTradeTypes getDefaultTradeType()
Get defaultTradeType- Returns:
- defaultTradeType
-
setDefaultTradeType
public void setDefaultTradeType(ESPTradeTypes defaultTradeType)
-
getTwoWayEnabled
public Boolean getTwoWayEnabled()
Configuration used to enabled or disable two-way pricing.- Returns:
- twoWayEnabled
-
setTwoWayEnabled
public void setTwoWayEnabled(Boolean twoWayEnabled)
-
submitActions
public ESP submitActions(List<SubmitActions> submitActions)
-
addSubmitActionsItem
public ESP addSubmitActionsItem(SubmitActions submitActionsItem)
-
getSubmitActions
@Valid public @Valid List<SubmitActions> getSubmitActions()
A list of allowed submit actions for the user.- Returns:
- submitActions
-
setSubmitActions
public void setSubmitActions(List<SubmitActions> submitActions)
-
getSubmitActionSwitchEnabled
public Boolean getSubmitActionSwitchEnabled()
Whether the user can switch between modes.- Returns:
- submitActionSwitchEnabled
-
setSubmitActionSwitchEnabled
public void setSubmitActionSwitchEnabled(Boolean submitActionSwitchEnabled)
-
-