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 missing MaidenName, PersonalID, PersonalIDProvided fields to Owner #527

Merged
merged 2 commits into from
Mar 1, 2018

Conversation

sfriedel
Copy link
Contributor

I noticed there are some fields missing on the Owner type that are defined in the API documentation.

  • maiden_name
  • personal_id_number
  • personal_id_number_provided

This PR adds those fields to the Owner type.

@sfriedel sfriedel force-pushed the owner-add-missing-fields branch from b191f2b to fe48405 Compare February 28, 2018 14:52
@sfriedel sfriedel changed the title Add missing Maiden, PersonalID, PersonalIDProvided fields to Owner Add missing MaidenName, PersonalID, PersonalIDProvided fields to Owner Feb 28, 2018
account.go Outdated
Last string `json:"last_name" form:"last_name"`
MaidenName string `json:"maiden_name" form:"maiden_name"`
PersonalID string `json:"-" form:"personal_id_number"`
PersonalIDProvided bool `json:"personal_id_number_provided" form:"-"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind:

(1) Change PersonalID to PersonalIDNumber — we're trying to move away from the arbitrary shorthands in stripe-go.
(2) Likewise change PersonalIDProvided to PersonalIDNumberProvided.

@brandur-stripe
Copy link
Contributor

Left a minor comment, but thanks a lot for taking a crack at this!

@sfriedel
Copy link
Contributor Author

sfriedel commented Mar 1, 2018

@brandur-stripe I renamed the fields. Please have another look

@brandur-stripe
Copy link
Contributor

Thanks!

@brandur-stripe brandur-stripe merged commit 6f25fc7 into stripe:master Mar 1, 2018
@brandur-stripe
Copy link
Contributor

Released as 29.3.0.

nadaismail-stripe pushed a commit that referenced this pull request Oct 18, 2024
* Initial order amendment is working

* Adding contract to sf object ID helper

* Adding sf contract/amendment constants

* Improve get_related debugger call

* Adding wait_util helper for contract-related tests

* Initial order amendment implementation

* Adding Id field to restforce types

* Type fix

* Fix stripe_params access on internal line item structure

* Removing unneeded dirty! call

* Missing subscription schedule fields

* Stop updating connector_settings on existing users

* Handle cancellation and other use cases

* More order amendment tests

* Auto-open stripe dashboard in debugging
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