Skip to content

Commit 4f07dd2

Browse files
committed
修改部分 Integer 为 Long
1 parent 9c25c1a commit 4f07dd2

11 files changed

Lines changed: 43 additions & 39 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# ChangeLog
22

3+
## 2.3.5 (2018-02-27)
4+
#### 修正
5+
- 部分对象字段从 Integer 改成 Long
6+
37
## 2.3.4 (2018-01-10)
48
#### 修改
59
- 移除已废弃接口

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ maven 远程仓库
3333
<dependency>
3434
<groupId>Pingplusplus</groupId>
3535
<artifactId>pingpp-java</artifactId>
36-
<version>2.3.4</version>
36+
<version>2.3.5</version>
3737
<type>jar</type>
3838
</dependency>
3939
```
@@ -52,7 +52,7 @@ repositories {
5252

5353
安装 Ping++ SDK
5454
```
55-
compile 'Pingplusplus:pingpp-java:2.3.4'
55+
compile 'Pingplusplus:pingpp-java:2.3.5'
5656
```
5757

5858
### 初始化

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.4
1+
2.3.5

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>Pingplusplus</groupId>
55
<artifactId>pingpp-java</artifactId>
6-
<version>2.3.4</version>
6+
<version>2.3.5</version>
77
<dependencies>
88
<dependency>
99
<groupId>com.google.code.gson</groupId>

src/main/java/com/pingplusplus/Pingpp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public abstract class Pingpp {
1111
/**
1212
* version
1313
*/
14-
public static final String VERSION = "2.3.4";
14+
public static final String VERSION = "2.3.5";
1515
/**
1616
* api key
1717
*/

src/main/java/com/pingplusplus/model/BatchTransfer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class BatchTransfer extends APIResource {
1111
String id;
1212
String object;
1313
String app;
14-
Integer amount;
14+
Long amount;
1515
String batchNo;
1616
String channel;
1717
String currency;
@@ -51,11 +51,11 @@ public void setApp(String app) {
5151
this.app = app;
5252
}
5353

54-
public Integer getAmount() {
54+
public Long getAmount() {
5555
return amount;
5656
}
5757

58-
public void setAmount(Integer amount) {
58+
public void setAmount(Long amount) {
5959
this.amount = amount;
6060
}
6161

src/main/java/com/pingplusplus/model/BatchWithdrawal.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ public class BatchWithdrawal extends AppBasedResource {
1212
String app;
1313
Long created;
1414
Boolean livemode;
15-
Integer amount;
16-
Integer amountSucceeded;
17-
Integer amountFailed;
18-
Integer amountCanceled;
15+
Long amount;
16+
Long amountSucceeded;
17+
Long amountFailed;
18+
Long amountCanceled;
1919
Integer count;
2020
Integer countSucceeded;
2121
Integer countFailed;
@@ -69,35 +69,35 @@ public void setLivemode(Boolean livemode) {
6969
this.livemode = livemode;
7070
}
7171

72-
public Integer getAmount() {
72+
public Long getAmount() {
7373
return amount;
7474
}
7575

76-
public void setAmount(Integer amount) {
76+
public void setAmount(Long amount) {
7777
this.amount = amount;
7878
}
7979

80-
public Integer getAmountSucceeded() {
80+
public Long getAmountSucceeded() {
8181
return amountSucceeded;
8282
}
8383

84-
public void setAmountSucceeded(Integer amountSucceeded) {
84+
public void setAmountSucceeded(Long amountSucceeded) {
8585
this.amountSucceeded = amountSucceeded;
8686
}
8787

88-
public Integer getAmountFailed() {
88+
public Long getAmountFailed() {
8989
return amountFailed;
9090
}
9191

92-
public void setAmountFailed(Integer amountFailed) {
92+
public void setAmountFailed(Long amountFailed) {
9393
this.amountFailed = amountFailed;
9494
}
9595

96-
public Integer getAmountCanceled() {
96+
public Long getAmountCanceled() {
9797
return amountCanceled;
9898
}
9999

100-
public void setAmountCanceled(Integer amountCanceled) {
100+
public void setAmountCanceled(Long amountCanceled) {
101101
this.amountCanceled = amountCanceled;
102102
}
103103

src/main/java/com/pingplusplus/model/RoyaltySettlement.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ public class RoyaltySettlement extends AccountAPIResource {
1111
String object;
1212
Boolean livemode;
1313
Long created;
14-
Integer amount;
15-
Integer amountSucceeded;
16-
Integer amountFailed;
17-
Integer amountCanceled;
14+
Long amount;
15+
Long amountSucceeded;
16+
Long amountFailed;
17+
Long amountCanceled;
1818
Integer count;
1919
Integer countSucceeded;
2020
Integer countFailed;
@@ -60,35 +60,35 @@ public void setCreated(Long created) {
6060
this.created = created;
6161
}
6262

63-
public Integer getAmount() {
63+
public Long getAmount() {
6464
return amount;
6565
}
6666

67-
public void setAmount(Integer amount) {
67+
public void setAmount(Long amount) {
6868
this.amount = amount;
6969
}
7070

71-
public Integer getAmountSucceeded() {
71+
public Long getAmountSucceeded() {
7272
return amountSucceeded;
7373
}
7474

75-
public void setAmountSucceeded(Integer amountSucceeded) {
75+
public void setAmountSucceeded(Long amountSucceeded) {
7676
this.amountSucceeded = amountSucceeded;
7777
}
7878

79-
public Integer getAmountFailed() {
79+
public Long getAmountFailed() {
8080
return amountFailed;
8181
}
8282

83-
public void setAmountFailed(Integer amountFailed) {
83+
public void setAmountFailed(Long amountFailed) {
8484
this.amountFailed = amountFailed;
8585
}
8686

87-
public Integer getAmountCanceled() {
87+
public Long getAmountCanceled() {
8888
return amountCanceled;
8989
}
9090

91-
public void setAmountCanceled(Integer amountCanceled) {
91+
public void setAmountCanceled(Long amountCanceled) {
9292
this.amountCanceled = amountCanceled;
9393
}
9494

src/main/java/com/pingplusplus/model/User.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class User extends AppBasedResource {
1212
String object;
1313
String app;
1414
String address;
15-
Integer availableBalance;
15+
Long availableBalance;
1616
Integer availableCoupons;
1717
String avatar;
1818
Long created;
@@ -27,7 +27,7 @@ public class User extends AppBasedResource {
2727
String relatedApp;
2828
List<SettleAccount> settleAccounts;
2929
String type;
30-
Integer withdrawableBalance;
30+
Long withdrawableBalance;
3131

3232
public String getId() {
3333
return id;
@@ -77,11 +77,11 @@ public void setAvatar(String avatar) {
7777
this.avatar = avatar;
7878
}
7979

80-
public Integer getAvailableBalance() {
80+
public Long getAvailableBalance() {
8181
return availableBalance;
8282
}
8383

84-
public void setAvailableBalance(Integer availableBalance) {
84+
public void setAvailableBalance(Long availableBalance) {
8585
this.availableBalance = availableBalance;
8686
}
8787

@@ -157,11 +157,11 @@ public void setMetadata(Map<String, Object> metadata) {
157157
this.metadata = metadata;
158158
}
159159

160-
public Integer getWithdrawableBalance() {
160+
public Long getWithdrawableBalance() {
161161
return withdrawableBalance;
162162
}
163163

164-
public void setWithdrawableBalance(Integer withdrawableBalance) {
164+
public void setWithdrawableBalance(Long withdrawableBalance) {
165165
this.withdrawableBalance = withdrawableBalance;
166166
}
167167

0 commit comments

Comments
 (0)