package com.xeiam.xchange.cointrader.dto.trade;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.xeiam.xchange.cointrader.dto.CointraderRequest;

public class CointraderCancelOrderRequest extends CointraderRequest {
  @JsonProperty
  @JsonSerialize(using = ToStringSerializer.class)
  private final Long id;

  public CointraderCancelOrderRequest(Long id) {
    this.id = id;
  }
}

@@ -96,16 +96,139 @@
 operty;%0A
+import com.fasterxml.jackson.databind.PropertyNamingStrategy;%0Aimport com.fasterxml.jackson.databind.annotation.JsonNaming;%0A
 import c
@@ -409,16 +409,91 @@
 quest;%0A%0A
+@JsonNaming(PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy.class)%0A
 public c
@@ -642,17 +642,22 @@
 al Long 
-i
+orderI
 d;%0A%0A  pu
@@ -695,17 +695,22 @@
 st(Long 
-i
+orderI
 d) %7B%0A   
@@ -719,14 +719,24 @@
 his.
-id = i
+orderId = orderI
 d;%0A 

Fix a bug in cancel order request.