Class RFS
- java.lang.Object
-
- com.caplin.motif.fx.config.definitions.RFS
-
@Generated(value="org.openapitools.codegen.languages.SpringCodegen", date="2022-05-06T11:32:59.770935+01:00[Europe/London]") public class RFS extends Object
Defines the configuration for allowed actions on RFS Trading procotols.
-
-
Constructor Summary
Constructors Constructor Description RFS()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RFS
addSubmitFieldsItem(Field submitFieldsItem)
RFS
addTypesItem(RFSTradeTypes typesItem)
RFS
blockTrading(BlockTrading blockTrading)
RFS
defaultTradeType(RFSTradeTypes defaultTradeType)
boolean
equals(Object o)
@Valid BlockTrading
getBlockTrading()
Get blockTrading@Valid RFSTradeTypes
getDefaultTradeType()
Get defaultTradeType@Valid List<Field>
getSubmitFields()
Get submitFieldsBoolean
getTwoWayEnabled()
Configuration only used by FX Professional to enabled or disable two-way pricing.@Valid List<RFSTradeTypes>
getTypes()
Returns a list of allowed Trade Types for the RFS Trading Protocol.int
hashCode()
void
setBlockTrading(BlockTrading blockTrading)
void
setDefaultTradeType(RFSTradeTypes defaultTradeType)
void
setSubmitFields(List<Field> submitFields)
void
setTwoWayEnabled(Boolean twoWayEnabled)
void
setTypes(List<RFSTradeTypes> types)
RFS
submitFields(List<Field> submitFields)
String
toString()
RFS
twoWayEnabled(Boolean twoWayEnabled)
RFS
types(List<RFSTradeTypes> types)
-
-
-
Method Detail
-
types
public RFS types(List<RFSTradeTypes> types)
-
addTypesItem
public RFS addTypesItem(RFSTradeTypes typesItem)
-
getTypes
@Valid public @Valid List<RFSTradeTypes> getTypes()
Returns a list of allowed Trade Types for the RFS Trading Protocol.- Returns:
- types
-
setTypes
public void setTypes(List<RFSTradeTypes> types)
-
defaultTradeType
public RFS defaultTradeType(RFSTradeTypes defaultTradeType)
-
getDefaultTradeType
@Valid public @Valid RFSTradeTypes getDefaultTradeType()
Get defaultTradeType- Returns:
- defaultTradeType
-
setDefaultTradeType
public void setDefaultTradeType(RFSTradeTypes defaultTradeType)
-
getTwoWayEnabled
public Boolean getTwoWayEnabled()
Configuration only used by FX Professional to enabled or disable two-way pricing.- Returns:
- twoWayEnabled
-
setTwoWayEnabled
public void setTwoWayEnabled(Boolean twoWayEnabled)
-
blockTrading
public RFS blockTrading(BlockTrading blockTrading)
-
getBlockTrading
@Valid public @Valid BlockTrading getBlockTrading()
Get blockTrading- Returns:
- blockTrading
-
setBlockTrading
public void setBlockTrading(BlockTrading blockTrading)
-
getSubmitFields
@Valid public @Valid List<Field> getSubmitFields()
Get submitFields- Returns:
- submitFields
-
-