From 13507294fb3002a6fe8c31792cf7e7015281dce4 Mon Sep 17 00:00:00 2001 From: Liqun Chen Date: Mon, 5 Apr 2021 09:37:43 -0400 Subject: [PATCH] Use String for id Keep consistent with other types, also avoid the overflow exception. --- .../com/coinbase/exchange/api/accounts/AccountHistory.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/src/main/java/com/coinbase/exchange/api/accounts/AccountHistory.java b/api/src/main/java/com/coinbase/exchange/api/accounts/AccountHistory.java index 186ce6bc..e6f4021a 100644 --- a/api/src/main/java/com/coinbase/exchange/api/accounts/AccountHistory.java +++ b/api/src/main/java/com/coinbase/exchange/api/accounts/AccountHistory.java @@ -8,7 +8,7 @@ * Created by irufus on 2/18/15. */ public class AccountHistory { - private Integer id; + private String id; private String created_at; private BigDecimal amount; private BigDecimal balance; @@ -17,11 +17,11 @@ public class AccountHistory { public AccountHistory() {} - public Integer getId() { + public String getId() { return id; } - public void setId(Integer id) { + public void setId(String id) { this.id = id; }