1 package org.oxerr.okcoin.rest.dto;
2
3 import com.fasterxml.jackson.annotation.JsonProperty;
4
5 public class Withdrawal extends ErrorResult {
6
7 private static final long serialVersionUID = 2015020701L;
8
9 private final long withdrawId;
10
11 public Withdrawal(
12 @JsonProperty("result") boolean result,
13 @JsonProperty("withdraw_id") long withdrawId) {
14 super(result);
15 this.withdrawId = withdrawId;
16 }
17
18 public long getWithdrawId() {
19 return withdrawId;
20 }
21
22 }