package org.knowm.xchange.gemini.v1; public enum GeminiOrderType { MARKET("exchange market"), LIMIT("exchange limit"), STOP("exchange stop"), TRAILING_STOP("exchange trailing-stop"), FILL_OR_KILL( "exchange fill-or-kill"), MARGIN_MARKET( "market"), MARGIN_LIMIT("limit"), MARGIN_STOP("stop"), MARGIN_TRAILING_STOP("trailing-stop"), MARGIN_FILL_OR_KILL("fill-or-kill"); private String value; GeminiOrderType(String value) { this.value = value; } public String getValue() { return value; } @Override public String toString() { return this.getValue(); } }