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 #2415

Merged
merged 4 commits into from
Jan 20, 2022
Merged

API Updates #2415

merged 4 commits into from
Jan 20, 2022

Conversation

richardm-stripe
Copy link
Contributor

Codegen for openapi 4d2f301.
r? @yejia-stripe
cc @stripe/api-libraries

Changelog

  • Add support for new resource PaymentLink
  • Add support for PaymentLink on CheckoutSession

Copy link
Contributor

@remi-stripe remi-stripe left a comment

Choose a reason for hiding this comment

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

nitpick on tests generated but looks great

public void TestPaymentLinkServiceListLineItems()
{
var service = new PaymentLinkService(this.StripeClient);
service.ListLineItems("pl_xyz");
Copy link
Contributor

Choose a reason for hiding this comment

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

Those tests are quite lacking. Old tests checked the return class and its object property and all that no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree. Checking the return class seems a little redundant since that is already enforced by the static type, but I'll look into seeing if we can add object property checks to these.

@richardm-stripe richardm-stripe merged commit 21ce65e into master Jan 20, 2022
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.

3 participants