Class TradingProtocol
- java.lang.Object
-
- com.caplin.motif.fx.config.definitions.TradingProtocol
-
@Generated(value="org.openapitools.codegen.languages.SpringCodegen", date="2021-04-30T10:41:45.372479+01:00[Europe/London]") public class TradingProtocol extends java.lang.Object
Defines the configuration for allowed actions on ESP or RFS Trading procotols.
-
-
Constructor Summary
Constructors Constructor Description TradingProtocol()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TradingProtocol
addTypesItem(TradeTypes typesItem)
boolean
equals(java.lang.Object o)
java.lang.Boolean
getTwoWayEnabled()
Configuration only used by FX Professional to enabled or disable two-way pricing.@Valid java.util.List<TradeTypes>
getTypes()
Returns a list of allowed Trade Types for the Trading Protocol.int
hashCode()
void
setTwoWayEnabled(java.lang.Boolean twoWayEnabled)
void
setTypes(java.util.List<TradeTypes> types)
java.lang.String
toString()
TradingProtocol
twoWayEnabled(java.lang.Boolean twoWayEnabled)
TradingProtocol
types(java.util.List<TradeTypes> types)
-
-
-
Method Detail
-
types
public TradingProtocol types(java.util.List<TradeTypes> types)
-
addTypesItem
public TradingProtocol addTypesItem(TradeTypes typesItem)
-
getTypes
@Valid public @Valid java.util.List<TradeTypes> getTypes()
Returns a list of allowed Trade Types for the Trading Protocol.- Returns:
- types
-
setTypes
public void setTypes(java.util.List<TradeTypes> types)
-
twoWayEnabled
public TradingProtocol twoWayEnabled(java.lang.Boolean twoWayEnabled)
-
getTwoWayEnabled
public java.lang.Boolean getTwoWayEnabled()
Configuration only used by FX Professional to enabled or disable two-way pricing.- Returns:
- twoWayEnabled
-
setTwoWayEnabled
public void setTwoWayEnabled(java.lang.Boolean twoWayEnabled)
-
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
-
-