-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathFill.java
More file actions
28 lines (25 loc) · 849 Bytes
/
Copy pathFill.java
File metadata and controls
28 lines (25 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package bittrex;
import java.math.BigDecimal;
import java.util.Date;
import com.google.gson.annotations.SerializedName;
class Fill {
@SerializedName("Id")
protected long id;
@SerializedName("TimeStamp")
protected Date timeStamp;
@SerializedName("Quantity")
protected BigDecimal quantity;
@SerializedName("Price")
protected BigDecimal price;
@SerializedName("Total")
protected BigDecimal total;
@SerializedName("FillType")
protected String fillType;
@SerializedName("OrderType")
protected String orderType; // SELL or BUY
@Override
public String toString() {
return "Fill [id=" + id + ", timeStamp=" + timeStamp + ", quantity=" + quantity + ", price=" + price + ", total="
+ total + ", fillType=" + fillType + ", orderType=" + orderType + "]";
}
}