This repository is currently being migrated. It's locked while the migration is in progress.
File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed
main/java/com/hyperwallet/clientsdk/model
test/java/com/hyperwallet/clientsdk/model Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public class HyperwalletPayment extends HyperwalletBaseMonitor {
16
16
17
17
private String token ;
18
18
private String status ;
19
-
19
+ private String reasonCode ;
20
20
private Date createdOn ;
21
21
private Double amount ;
22
22
private String currency ;
@@ -73,6 +73,27 @@ public HyperwalletPayment clearStatus() {
73
73
return this ;
74
74
}
75
75
76
+ public String getReasonCode () {
77
+ return this .reasonCode ;
78
+ }
79
+
80
+ public void setReasonCode (String reasonCode ) {
81
+ addField ("reasonCode" , reasonCode );
82
+ this .reasonCode = reasonCode ;
83
+ }
84
+
85
+ public HyperwalletPayment reasonCode (String reasonCode ) {
86
+ addField ("reasonCode" , reasonCode );
87
+ this .reasonCode = reasonCode ;
88
+ return this ;
89
+ }
90
+
91
+ public HyperwalletPayment clearReasonCode () {
92
+ clearField ("reasonCode" );
93
+ reasonCode = null ;
94
+ return this ;
95
+ }
96
+
76
97
public String getClientPaymentId () {
77
98
return clientPaymentId ;
78
99
}
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ protected HyperwalletPayment createBaseModel() {
17
17
payment
18
18
.status ("COMPLETED" )
19
19
.token ("test-token" )
20
+ .reasonCode ("PAYEE_ACCOUNT_LIMITATION" )
20
21
.createdOn (new Date ())
21
22
.amount (15.99 )
22
23
.currency ("test-currency" )
You can’t perform that action at this time.
0 commit comments