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

Remove unneeded parameters on SourceCard #1115

Merged
merged 1 commit into from
Feb 27, 2018
Merged

Remove unneeded parameters on SourceCard #1115

merged 1 commit into from
Feb 27, 2018

Conversation

ob-stripe
Copy link
Contributor

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

SourceCard is the class used to store raw card parameters in charge creation requests, customer creation & update requests, card creation requests, and subscription creation & update requests. (It's unrelated to the sources API.)

This PR:

  • removes the capture, destination and statement_descriptor parameters (none of which are supported by the API in card hashes)
  • reorders the other parameters alphabetically
  • adds documentation for each parameter

Fixes #1112.

@ob-stripe ob-stripe changed the title Remove unneeded parameters Remove unneeded parameters on SourceCard Feb 27, 2018
@brandur-stripe
Copy link
Contributor

Great fix and love the random improvements while we're at it.

LGTM.

@ob-stripe ob-stripe merged commit 8fa7ed4 into master Feb 27, 2018
@ob-stripe ob-stripe deleted the ob-fix-1112 branch February 27, 2018 17:28
@firefly4321
Copy link

Man, you guys really went above and beyond. I was hoping to see more XML documentation on some those request and response object so I don't have to go cross reference with the documentation all the time and Olivier did just that without anyone mentioned anything. Good stuff...

@ob-stripe
Copy link
Contributor Author

We aim to please ;)

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.

3 participants