-
Notifications
You must be signed in to change notification settings - Fork 460
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
Move to API version 2018-08-23 #668
Conversation
@@ -80,6 +103,18 @@ type CustomerShippingDetails struct { | |||
Phone string `json:"phone"` | |||
} | |||
|
|||
// CustomerTaxInfo is the structure containing tax information for the customer. | |||
type CustomerTaxInfo struct { |
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.
I think both these structs are missing a field definition in Customer
.
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.
Damn nice catch. I also discovered I was not on the latest master so I fixed that too. Let's see if tests pass
Thanks for the diligence as usual Remi! Left a minor comment, but otherwise LGTM. |
* Remove `at_period_end` on subscription cancelation * Remove `business_vat_id` on Customer * Rename `amount` to `unit_amount` on Plan's Tiers
ff45090
to
eb91bf7
Compare
eb91bf7
to
3cf614b
Compare
@brandur-stripe okay I think I got things right this time. PTAL |
LGTM. |
Released as 43.0.0. |
This PR has multiple major changes due to the move to the latest API version and some new properties/breaking changes.
tax_info
andtax_info_verification
on the customerbusiness_vat_id
on the Customeramount
tounit_amount
on Plan's tiersat_period_end
.r? @brandur-stripe
cc @stripe/api-libraries
(Flagging that we need a new stripe-mock for tests to pass because of the change to
amount
on Tiers)