Skip to content

Commit 6193120

Browse files
committed
remove useless getter/setter
1 parent 2cca317 commit 6193120

File tree

6 files changed

+0
-38
lines changed

6 files changed

+0
-38
lines changed

src/main/java/com/alipay/global/api/model/ams/PaymentFactor.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.alipay.global.api.model.ams;
22

3-
import com.alibaba.fastjson.annotation.JSONField;
43
import lombok.AllArgsConstructor;
54
import lombok.Builder;
65
import lombok.Data;
@@ -18,11 +17,6 @@ public class PaymentFactor {
1817

1918
private String captureMode;
2019

21-
@JSONField(name = "isAuthorization")
2220
private Boolean isAuthorization;
2321

24-
public Boolean isAuthorization() {
25-
return isAuthorization;
26-
}
27-
2822
}

src/main/java/com/alipay/global/api/model/ams/PaymentMethodDetail.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,4 @@ public class PaymentMethodDetail {
2020
private String paymentMethodType;
2121
private String extendInfo;
2222

23-
public PaymentMethodDetail setPaymentMethodType(String paymentMethodType) {
24-
this.paymentMethodType = paymentMethodType;
25-
return this;
26-
}
2723
}

src/main/java/com/alipay/global/api/model/ams/PaymentMethodInfo.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,4 @@ public class PaymentMethodInfo {
1717
private boolean preferred;
1818
private String extendInfo;
1919

20-
public boolean isEnabled() {
21-
return enabled;
22-
}
23-
24-
public boolean isPreferred() {
25-
return preferred;
26-
}
27-
2820
}

src/main/java/com/alipay/global/api/model/ams/PaymentOption.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,4 @@ public class PaymentOption {
3030

3131
private Installment installment;
3232

33-
public boolean isEnabled() {
34-
return enabled;
35-
}
36-
37-
public boolean isPreferred() {
38-
return preferred;
39-
}
40-
4133
}

src/main/java/com/alipay/global/api/model/ams/Plan.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,4 @@ public class Plan {
2323

2424
private boolean enabled;
2525

26-
public boolean isEnabled() {
27-
return enabled;
28-
}
29-
3026
}

src/main/java/com/alipay/global/api/model/aps/PaymentOption.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,4 @@ public class PaymentOption {
1919
private Logo logo;
2020
private PaymentOptionDetail paymentOptionDetail;
2121

22-
public boolean isEnabled() {
23-
return enabled;
24-
}
25-
26-
public boolean isPreferred() {
27-
return preferred;
28-
}
29-
3022
}

0 commit comments

Comments
 (0)