All Downloads are FREE. Search and download functionalities are using the official Maven repository.

exchange.apexpro.connector.model.enums.OrderStatus Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
package exchange.apexpro.connector.model.enums;

import exchange.apexpro.connector.impl.utils.EnumLookup;

public enum OrderStatus {

  PENDING("PENDING"),
  OPEN("OPEN"),
  FILLED("FILLED"),
  CANCELING("CANCELING"),
  CANCELED("CANCELED"),
  UNTRIGGERED("UNTRIGGERED");


  private final String code;

  OrderStatus(String code) {
    this.code = code;
  }

  @Override
  public String toString() {
    return code;
  }

  private static final EnumLookup lookup = new EnumLookup<>(OrderStatus.class);

  public static OrderStatus lookup(String name) {
    return lookup.lookup(name);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy