File tree Expand file tree Collapse file tree 3 files changed +20
-12
lines changed
src/main/java/com/binance/api/client/domain Expand file tree Collapse file tree 3 files changed +20
-12
lines changed Original file line number Diff line number Diff line change 1+ package com .binance .api .client .domain ;
2+
3+ import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
4+ import com .fasterxml .jackson .annotation .JsonValue ;
5+
6+ @ JsonIgnoreProperties (ignoreUnknown = true )
7+ public enum LiquidityOperationRecordStatus {
8+ PENDING ,
9+ SUCCESS ,
10+ FAILED ;
11+
12+ @ JsonValue
13+ public int toValue () {
14+ return ordinal ();
15+ }
16+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11package com .binance .api .client .domain .account ;
22
3- import com .binance .api .client .domain .SwapOperationType ;
3+ import com .binance .api .client .domain .LiquidityOperationRecordStatus ;
44
55public class LiquidityOperationRecord {
66
@@ -10,7 +10,7 @@ public class LiquidityOperationRecord {
1010 private String operation ;
1111 private String shareAmount ;
1212 private String poolName ;
13- private SwapOperationType status ;
13+ private LiquidityOperationRecordStatus status ;
1414
1515 public String getPoolId () {
1616 return poolId ;
@@ -52,11 +52,11 @@ public void setPoolName(String poolName) {
5252 this .poolName = poolName ;
5353 }
5454
55- public SwapOperationType getStatus () {
55+ public LiquidityOperationRecordStatus getStatus () {
5656 return status ;
5757 }
5858
59- public void setStatus (SwapOperationType status ) {
59+ public void setStatus (LiquidityOperationRecordStatus status ) {
6060 this .status = status ;
6161 }
6262
You can’t perform that action at this time.
0 commit comments