Class 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 Detail

      • TradingProtocol

        public TradingProtocol()
    • Method Detail

      • 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 class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object