File tree Expand file tree Collapse file tree
riskified-sdk/src/main/java/com/riskified/models Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ public class Recipient implements IValidated {
1414 private Date createdAt ;
1515 private Date updatedAt ;
1616 private boolean selfRecipient ;
17- private String walletId ;
17+ private Wallet wallet ;
1818
1919 public Recipient () {
2020 }
@@ -81,11 +81,11 @@ public void setSelfRecipient(boolean selfRecipient) {
8181 this .selfRecipient = selfRecipient ;
8282 }
8383
84- public String getWalletId (){
85- return walletId ;
84+ public Wallet getWallet (){
85+ return wallet ;
8686 }
8787
88- public void setWalletId ( String walletId ){
89- this .walletId = walletId ;
88+ public void setWallet ( Wallet wallet ){
89+ this .wallet = wallet ;
9090 }
9191}
Original file line number Diff line number Diff line change 1+ package com .riskified .models ;
2+
3+ import com .riskified .validations .FieldBadFormatException ;
4+ import com .riskified .validations .IValidated ;
5+ import com .riskified .validations .Validation ;
6+
7+ public class Wallet implements IValidated {
8+ String id ;
9+
10+
11+ public Wallet () {
12+ }
13+
14+ public void validate (Validation validationType )
15+ throws FieldBadFormatException {
16+ }
17+
18+ public String getId () {
19+ return this .id ;
20+ }
21+ public void setId (String id ) {
22+ this .id = id ;
23+ }
24+ }
You can’t perform that action at this time.
0 commit comments