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

API Updates #1152

Merged
merged 7 commits into from
Jul 9, 2021
Merged

API Updates #1152

merged 7 commits into from
Jul 9, 2021

Conversation

dcr-stripe
Copy link
Contributor

Codegen for openapi edaeca8.
r? @richardm-stripe
cc @stripe/api-libraries

Changelog

  • Add support for new resource Quote
  • Add support for quote on Invoice
  • Add support for new value quote_accept on enum Invoice.billing_reason

Copy link
Contributor Author

@dcr-stripe dcr-stripe left a comment

Choose a reason for hiding this comment

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

*/
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);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this expected?

Copy link
Contributor

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);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this expected?

Copy link
Contributor

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.

@richardm-stripe
Copy link
Contributor

This LGTM now!
r? @dcr-stripe

Copy link
Contributor Author

@dcr-stripe dcr-stripe left a comment

Choose a reason for hiding this comment

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

LGTM!

@richardm-stripe richardm-stripe merged commit d7b927d into master Jul 9, 2021
@richardm-stripe richardm-stripe deleted the latest-codegen branch July 9, 2021 19:40
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