-
Notifications
You must be signed in to change notification settings - Fork 461
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
Multiple API Changes #1241
Multiple API Changes #1241
Conversation
checkout_session.go
Outdated
type CheckoutSessionCustomerDetails struct { | ||
Email string `json:"email"` | ||
TaxExempt CheckoutSessionCustomerDetailsTaxExempt `json:"tax_exempt"` | ||
TaxIDs []CheckoutSessionCustomerDetailsTaxIDs `json:"tax_ids"` |
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.
This should be []*CheckoutSessionCustomerDetailsTaxIDs
right?
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.
Good catch!
issuing_transaction.go
Outdated
Cardholder *string `form:"cardholder"` | ||
Created *int64 `form:"created"` | ||
CreatedRange *RangeQueryParams `form:"created"` | ||
Type *IssuingTransactionListType `form:"type"` |
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.
We don't use enums in params, this should be *string
instead and we don't need the type. Also if we used the type we would use IssuingTransactionType
instead
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.
Woot! Great to know.
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.
Change lgtm
r? @brandur-stripe
Contains changes corresponding to openapi releases v11 and v12.
Changelog
dynamic_tax_rates
onCheckoutSessionParams.line_items
customer_details
onCheckoutSession
type
onIssuingTransactionListParams
country
andstate
onTaxRateParams
andTaxRate