Skip to content

Fix InvoiceLineItem parent class#1536

Merged
helenye-stripe merged 2 commits intomasterfrom
helenye-invoicelineitem
Feb 21, 2025
Merged

Fix InvoiceLineItem parent class#1536
helenye-stripe merged 2 commits intomasterfrom
helenye-invoicelineitem

Conversation

@helenye-stripe
Copy link
Contributor

@helenye-stripe helenye-stripe commented Feb 21, 2025

Why?

The request_stripe_object is undefined, fix parent class. Issue raised in #1535

What?

Change parent class from StripeObject to APIResource, and add a test for invoice line item update

See Also

Changelog

  • Fix bug where Stripe::InvoiceLineItem had the incorrect parent class, making it error when update was called

@helenye-stripe helenye-stripe requested a review from a team as a code owner February 21, 2025 16:25
@helenye-stripe helenye-stripe requested review from prathmesh-stripe and removed request for a team February 21, 2025 16:25
Copy link

@Classicrichblog Classicrichblog left a comment

Choose a reason for hiding this comment

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

Approve for me

@helenye-stripe helenye-stripe merged commit d7e4457 into master Feb 21, 2025
14 checks passed
@helenye-stripe helenye-stripe deleted the helenye-invoicelineitem branch February 21, 2025 16:47
ramya-stripe pushed a commit that referenced this pull request Mar 14, 2025
ramya-stripe added a commit that referenced this pull request Mar 17, 2025
* Update generated code for v1473

* Update generated code for v1479

* Update generated code for v1481

* Update generated code for v1483

* Update generated code for v1486

* Update generated code for v1487

* add codeowners file (#1533)

* Merge upstream and update generated code for v1488

* Update generated code for v1490

* Update generated code for v1493

* Update generated code for v1494

* Update generated code for v1495

* Update generated code for v1495

* Update generated code for v1496

* Fix InvoiceLineItem parent class (#1536)

* Update generated code for v1502

* Update generated code for v1504

* Update generated code for v1505

* Update generated code for v1505

* Update generated code (#1534)

* Update generated code for v1494

* Update generated code for v1495

* Update generated code for v1501

* Update generated code for v1505

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: prathmesh-stripe <165320323+prathmesh-stripe@users.noreply.github.com>

* Bump version to 13.5.0

* InvoiceLineItem's parent is APIResource

* Locking rbi gem like we did in #1549

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: David Brownman <109395161+xavdid-stripe@users.noreply.github.com>
Co-authored-by: helenye-stripe <111009531+helenye-stripe@users.noreply.github.com>
Co-authored-by: prathmesh-stripe <165320323+prathmesh-stripe@users.noreply.github.com>
Co-authored-by: Prathmesh Ranaut <prathmesh@stripe.com>
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