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

Removed Id and FileId suffixes to stay as close to the API as possible. #1738

Merged
merged 1 commit into from
Aug 13, 2019

Conversation

remi-stripe
Copy link
Contributor

Many of our parameters in Options classes have named suffixed with Id or FileId such as CustomerId and BackFileId. We're renaming those fields to be closer to the API. This will keep things consistent in the library and easier to autogenerate in the future.

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

@ob-stripe ob-stripe merged commit fcbf051 into integration-v28 Aug 13, 2019
@ob-stripe ob-stripe deleted the remi-remove-id-suffix branch August 13, 2019 01:15
@ob-stripe ob-stripe mentioned this pull request Aug 13, 2019
19 tasks
ob-stripe added a commit that referenced this pull request Oct 9, 2019
* Better string enums (#1675)

* Init options with default parameter values (#1699)

* Remove multiple deprecated features (#1713)

Many features were marked as obsolete and are now being removed:
* AccountBalance on Customer, use Balance instead
* Billing on Subscription/Invoice/SubscriptionSchedule, use CollectionMethod instead
* TaxInfo and TaxInfoVerification on Customer, use TaxId instead
* AllowedSourceTypes on PaymentIntent, use PaymentMethodTypes instead
* Start on Subscription, use StartDate instead
* ApplicationFee on Charge, use ApplicationFeeAmount instead
* Date when listing Invoices, use Created instead
* OperatorAccount on all Terminal APIs

* Remove all Expand* fields (#1715)

* Use properl SetupIntent class

* Removed Id and FileId suffixes to stay as close to the API as possible. (#1738)

* Add a test to ensure that JSON names match property names (#1744)

* A few more renames (#1739)

* Remove dead code for service expansions (#1751)

* Bump Stylecop.Analyzers to latest version (#1752)

* Bump SourceLink and create symbol package (#1755)

* Fix all classes not inheriting from the generic version of StripeEntity

* Add a wholesome test to ensure proper JSON converters are applied (#1761)

* Remove more deprecated stuff (#1802)

* Remove more Id/FileId suffixes (#1803)

* One more rename (#1805)

* Fix ExternalAccountUpdateOptions (#1806)

* Rename AccountOpener to Representative and move to latest API version

* Enable test for JSON<->property name consistency (#1804)
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.

3 participants