-
Notifications
You must be signed in to change notification settings - Fork 353
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
Update various stripe objects with missing fields, remove deprecated fields, and add support for some missing objects #602
Update various stripe objects with missing fields, remove deprecated fields, and add support for some missing objects #602
Conversation
The endpoint /issuing/card_details has been removed from the Stripe API. These details can be found at /issuing/cards/retrieve with the appropriate 'expand' parameters.
Since Issuing Disputes are no longer available in the Stripe API, remove the issuing disputes module and references to issuing disputes in issuing transaction.
^ Looks like Travis CI failed due to an older version of stripe-mock (0.70.0), tests pass locally if running a recent version (0.90.0), I'll add a commit to update. |
Add support for Price core resource
Is there anything I can do to help here? I am in need of this and #604 and don't want to create my own fork with these branches just so that you decide to merge them the day after. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect! Thanks a lot for this PR!!
I did some work to cut down the number of warnings due to missing fields on structs when running
mix test
, related to this issue: #517Some new fields required adding support for some smaller objects, namely
file_link
,mandate
,credit_note_line_item
,customer_balance_transaction
.Also added an explicit struct for
usage_record_summary
, which is the object returned in the response forStripe.Subscriptions.UsageItem.list/3
.The bulk of the changes are updates to existing stripe object structs to bring them back in line with the current API.
Finally, two objects were removed completely: Issuing Disputes, and Issuing Card Details, since they are no longer available in the API. (Let me know if these should be kept for legacy support).