|
2 | 2 |
|
3 | 3 | import java.util.List; |
4 | 4 |
|
| 5 | +import com.binance.api.client.domain.ContingencyType; |
| 6 | +import com.binance.api.client.domain.OCOOrderStatus; |
| 7 | +import com.binance.api.client.domain.OCOStatus; |
5 | 8 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; |
6 | 9 |
|
7 | 10 | @JsonIgnoreProperties(ignoreUnknown = true) |
8 | 11 | public class NewOCOResponse extends OrderList { |
9 | 12 |
|
| 13 | + private Long orderListId; |
| 14 | + private ContingencyType contingencyType; |
| 15 | + private OCOStatus listStatusType; |
| 16 | + private OCOOrderStatus listOrderStatus; |
| 17 | + private String listClientOrderId; |
| 18 | + private Long transactionTime; |
| 19 | + private String symbol; |
10 | 20 | private List<OrderReport> orderReports; |
11 | 21 |
|
| 22 | + // Getters |
| 23 | + public Long getOrderListId() { |
| 24 | + return this.orderListId; |
| 25 | + } |
| 26 | + |
| 27 | + public ContingencyType getContingencyType() { |
| 28 | + return this.contingencyType; |
| 29 | + } |
| 30 | + |
| 31 | + public OCOStatus getListStatusType() { |
| 32 | + return this.listStatusType; |
| 33 | + } |
| 34 | + |
| 35 | + public OCOOrderStatus getListOrderStatus() { |
| 36 | + return this.listOrderStatus; |
| 37 | + } |
| 38 | + |
| 39 | + public String getListClientOrderId() { |
| 40 | + return this.listClientOrderId; |
| 41 | + } |
| 42 | + |
| 43 | + public Long getTransactionTime() { |
| 44 | + return this.transactionTime; |
| 45 | + } |
| 46 | + |
| 47 | + public String getSymbol() { |
| 48 | + return this.symbol; |
| 49 | + } |
| 50 | + |
12 | 51 | public List<OrderReport> getOrderReports() { |
13 | 52 | return orderReports; |
14 | 53 | } |
15 | 54 |
|
| 55 | + // Setter |
| 56 | + public void setOrderListId(Long orderListId) { |
| 57 | + this.orderListId = orderListId; |
| 58 | + } |
| 59 | + |
| 60 | + public void setContingencyType(ContingencyType contingencyType) { |
| 61 | + this.contingencyType = contingencyType; |
| 62 | + } |
| 63 | + |
| 64 | + public void setListStatusType(OCOStatus listStatusType) { |
| 65 | + this.listStatusType = listStatusType; |
| 66 | + } |
| 67 | + |
| 68 | + public void setListOrderStatus(OCOOrderStatus listOrderStatus) { |
| 69 | + this.listOrderStatus = listOrderStatus; |
| 70 | + } |
| 71 | + |
| 72 | + public void setListClientOrderId(String listClientOrderId) { |
| 73 | + this.listClientOrderId = listClientOrderId; |
| 74 | + } |
| 75 | + |
| 76 | + public void setTransactionTime(Long transactionTime) { |
| 77 | + this.transactionTime = transactionTime; |
| 78 | + } |
| 79 | + |
| 80 | + public void setSymbol(String symbol) { |
| 81 | + this.symbol = symbol; |
| 82 | + } |
| 83 | + |
16 | 84 | public void setOrderReports(List<OrderReport> orderReports) { |
17 | 85 | this.orderReports = orderReports; |
18 | 86 | } |
|
0 commit comments