-
Notifications
You must be signed in to change notification settings - Fork 850
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
API Updates #1152
API Updates #1152
Conversation
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.
PTAL @richardm-stripe
*/ | ||
public function previewLines($params = null, $opts = null) | ||
{ | ||
return $this->request('get', '/v1/credit_notes/preview/lines', $params, $opts); | ||
return $this->requestCollection('get', '/v1/credit_notes/preview/lines', $params, $opts); |
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.
Is this expected?
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.
Yes. This will fix a bug in pagination on these list methods.
*/ | ||
public function upcomingLines($params = null, $opts = null) | ||
{ | ||
return $this->request('get', '/v1/invoices/upcoming/lines', $params, $opts); | ||
return $this->requestCollection('get', '/v1/invoices/upcoming/lines', $params, $opts); |
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.
Is this expected?
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.
Yes. This will fix a bug in pagination on these list methods.
b4ed515
to
b5e7aa3
Compare
This LGTM now! |
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.
LGTM!
Codegen for openapi edaeca8.
r? @richardm-stripe
cc @stripe/api-libraries
Changelog
Quote
quote
onInvoice
quote_accept
on enumInvoice.billing_reason