-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Constants for possible decline_codes #860
Comments
@eaglerainbow At the moment all enums or enum-like properties are represented as Decline codes are not in the library for that reason and you would need to build your own list instead. Tagging as future as this is definitely something we want to tackle at some point though. |
That's okay with me. |
Upvoting since we would have the same request for Reading the javadoc on the property:
It would be easier to just have this gathered under an enum. Not sure why you closed the issue though, if it's not resolved? |
Re-opened to make it easier to track in that case. We are definitely looking at how to support enums in our client libraries properly. This won't happen in the short term but it's on our roadmap! |
Is there a place with constants of all the possible decline_codes, such that a consumer is able to use them without specifying a literal?
stripe-java/src/main/java/com/stripe/model/StripeError.java
Line 29 in f773212
The text was updated successfully, but these errors were encountered: