Enum CoinmateOrderFlags

    • Enum Constant Detail

      • HIDDEN

        public static final CoinmateOrderFlags HIDDEN
        Flag indicating that order should be created as hidden.
      • IMMEDIATE_OR_CANCEL

        public static final CoinmateOrderFlags IMMEDIATE_OR_CANCEL
        In case the flag is set: if limit order is not fully settled immediately the remaining part of the order is cancelled at the end of request.
      • TRAILING

        public static final CoinmateOrderFlags TRAILING
        Flag indicating that stop loss order should be created as trailing. Valid flag value is 0 or 1. Default value is 0
      • CLIENT_ORDER_ID

        public static final CoinmateOrderFlags CLIENT_ORDER_ID
        Id of order used to access order in case of not receiving order id
    • Method Detail

      • values

        public static CoinmateOrderFlags[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CoinmateOrderFlags c : CoinmateOrderFlags.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CoinmateOrderFlags valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null