content: package com.github.misterchangray.libs.huobi.request;
  
  public class CreateOrderRequest {
      public static interface OrderType {
          /**
           * 限价买入
           */
          static final String BUY_LIMIT = "buy-limit";
          /**
           * 限价卖出
           */
          static final String SELL_LIMIT = "sell-limit";
          /**
           * 市价买入
           */
          static final String BUY_MARKET = "buy-market";
          /**
           * 市价卖出
           */
          static final String SELL_MARKET = "sell-market";
      }
  
      /**
       * 交易对，必填，例如："ethcny"，
       */
      public String symbol;
  
      /**
       * 账户ID，必填，例如："12345"
       */
      public String accountId;
  
      /**
       * 当订单类型为buy-limit,sell-limit时，表示订单数量， 当订单类型为buy-market时，表示订单总金额， 当订单类型为sell-market时，表示订单总数量
       */
      public String amount;
  
      /**
       * 订单价格，仅针对限价单有效，例如："1234.56"
       */
      public String price = "0.0";
  
      /**
       * 订单类型，取值范围"buy-market,sell-market,buy-limit,sell-limit"
       */
      public String type;
  
      /**
       * 订单来源，例如："api"
       */
  //    public String source = "com/huobi/api";
      public String source = "api";
  
  
      public String getSymbol() {
          return symbol;
      }
  
      public void setSymbol(String symbol) {
          this.symbol = symbol;
      }
  
      public String getAccountId() {
          return accountId;
      }
  
      public void setAccountId(String accountId) {
          this.accountId = accountId;
      }
  
      public String getAmount() {
          return amount;
      }
  
      public void setAmount(String amount) {
          this.amount = amount;
      }
  
      public String getPrice() {
          return price;
      }
  
      public void setPrice(String price) {
          this.price = price;
      }
  
      public String getType() {
          return type;
      }
  
      public void setType(String type) {
          this.type = type;
      }
  
      public String getSource() {
          return source;
      }
  
      public void setSource(String source) {
          this.source = source;
      }
  }
  