Skip to content

Commit 3910d06

Browse files
authored
Merge pull request #126 from Riskified/Strip-update
TIS-419 update stripe class to include auth_error
2 parents 9b65f23 + 8cf12d6 commit 3910d06

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

riskified-sdk/src/main/java/com/riskified/models/StripePaymentDetails.java

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
public class StripePaymentDetails implements IPaymentDetails {
88

99
private String authorizationId ;
10-
10+
private AuthorizationError authorizationError;
11+
1112
public StripePaymentDetails(String authorizationId) {
1213
this.authorizationId = authorizationId;
1314
}
@@ -19,5 +20,13 @@ public void validate(Validation validationType) throws FieldBadFormatException {
1920
}
2021

2122
}
23+
public AuthorizationError getAuthorizationError() {
24+
return authorizationError;
25+
}
26+
27+
public void setAuthorizationError(AuthorizationError authorizationError) {
28+
this.authorizationError = authorizationError;
29+
}
30+
2231

23-
}
32+
}

0 commit comments

Comments
 (0)