Skip to content
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

Add support for expanding outcome.rule on a charge #1221

Merged
merged 1 commit into from
Jul 3, 2018

Conversation

remi-stripe
Copy link
Contributor

r? @ob-stripe
cc @stripe/api-libraries @spastorelli-stripe @gh-stripe

This ensures that a Charge can be deserialized if outcome[rule] is already expanded. Before this we only supported a string for this field preventing older API versions from expanding this field or deserializing a charge.* event on older API versions.

I don't think we can reliably add tests for this one since it's Radar related so I punted.

@ob-stripe ob-stripe merged commit 51cc9fb into master Jul 3, 2018
@ob-stripe ob-stripe deleted the remi-outcome-rule-expandable branch July 3, 2018 16:56
@ob-stripe
Copy link
Contributor

Released in 16.15.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants