Skip to content

Commit 22b6395

Browse files
committed
Fix data type of created_at field in Fill
1 parent 2516b01 commit 22b6395

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

  • model/src/main/java/com/coinbase/exchange/model

model/src/main/java/com/coinbase/exchange/model/Fill.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.coinbase.exchange.model;
22

33
import java.math.BigDecimal;
4+
import java.time.Instant;
45

56
/**
67
* Created by irufus on 2/18/15.
@@ -10,7 +11,7 @@ public class Fill {
1011
private String product_id;
1112
private BigDecimal size;
1213
private String order_id;
13-
private String created_at;
14+
private Instant created_at;
1415
private String liquidity;
1516
private BigDecimal fee;
1617
private Boolean settled;
@@ -40,11 +41,11 @@ public void setFee(BigDecimal fee) {
4041
this.fee = fee;
4142
}
4243

43-
public String getCreated_at() {
44+
public Instant getCreated_at() {
4445
return created_at;
4546
}
4647

47-
public void setCreated_at(String created_at) {
48+
public void setCreated_at(Instant created_at) {
4849
this.created_at = created_at;
4950
}
5051

0 commit comments

Comments
 (0)