-
Notifications
You must be signed in to change notification settings - Fork 460
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
issuerfraudrecord: add issuerfraudrecord package #552
Conversation
issuerfraudrecord.go
Outdated
MadeWithLostCard FraudType = "made_with_lost_card" | ||
MadeWithStolenCard FraudType = "made_with_stolen_card" | ||
Misc FraudType = "misc" | ||
UnauthorizedUseOfCard FraudType = "unauthorized_use_of_card" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind prefixing all of these with FraudType
? The reason is that this file is in the top-level package and we want to minimize collisions (a constant like Misc
has a decent likelihood of reappearing somewhere else).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we go with IssuerFraudTypeXXX
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, good point. That's even better. Maybe change the type definition FraudType
to IssuerFraudType
as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, definitely, done!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a minor comment, but looking good! Thank you.
Thanks Matt! Can you try upgrading stripe-mock (see instructions at the very bottom of |
@brandur-stripe I think this is ready to go! |
LGTM. |
Released as 30.7.0. |
r? @brandur-stripe
cc @fay-stripe
This is the analogous Go update for stripe/stripe-ruby#645. Note that it's pending an update to
stripe-mock
(depends on OpenAPI spec rev).