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

      • ESP

        public ESP()
    • Method Detail

      • getTypes

        @Valid
        public @Valid List<ESPTradeTypes> getTypes()
        Returns a list of allowed Trade Types for the ESP Trading Protocol.
        Returns:
        types
      • defaultTradeType

        public ESP defaultTradeType​(ESPTradeTypes defaultTradeType)
      • getDefaultTradeType

        @Valid
        public @Valid ESPTradeTypes getDefaultTradeType()
        Get defaultTradeType
        Returns:
        defaultTradeType
      • setDefaultTradeType

        public void setDefaultTradeType​(ESPTradeTypes defaultTradeType)
      • twoWayEnabled

        public ESP twoWayEnabled​(Boolean twoWayEnabled)
      • getTwoWayEnabled

        public Boolean getTwoWayEnabled()
        Configuration used to enabled or disable two-way pricing.
        Returns:
        twoWayEnabled
      • setTwoWayEnabled

        public void setTwoWayEnabled​(Boolean twoWayEnabled)
      • 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)
      • submitActionSwitchEnabled

        public ESP submitActionSwitchEnabled​(Boolean submitActionSwitchEnabled)
      • getSubmitActionSwitchEnabled

        public Boolean getSubmitActionSwitchEnabled()
        Whether the user can switch between modes.
        Returns:
        submitActionSwitchEnabled
      • setSubmitActionSwitchEnabled

        public void setSubmitActionSwitchEnabled​(Boolean submitActionSwitchEnabled)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object