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

Fix all Get methods to support Params and remove deprecated ones #589

Merged
merged 6 commits into from
Jun 15, 2018

Conversation

remi-stripe
Copy link
Contributor

  • IssuerFraudRecordListParams now uses *string for Charge
  • event.Get() now takes EventParams instead of Params to be consistent
  • The Get method for countryspec, exchangerate, issuerfraudrecord now take an extra parameter to be consistent and allow setting the connected account.
  • charge. MarkFraudulent() and charge. MarkSafe() have been removed. You should use charge.Update() instead
  • charge.CloseDispute() and charge.UpdateDispute() have been removed. You should use dispute.Update() or dispute.Close() instead.
  • loginlink now properly passes the params

This fixes #588

r? @brandur-stripe
cc @stripe/api-libraries

@brandur-stripe
Copy link
Contributor

Haha, screaming fast time from issue to PR as usual! Thanks.

LGTM.

@brandur-stripe brandur-stripe merged commit 6ef8240 into master Jun 15, 2018
@brandur-stripe brandur-stripe deleted the remi-fix-all-methods-params branch June 15, 2018 15:05
@brandur-stripe
Copy link
Contributor

Released as 35.0.0.

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

Successfully merging this pull request may close these issues.

All API calls should take a parameters struct
2 participants