Skip to content

Commit

Permalink
Update generated code for v662
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Nov 15, 2023
1 parent 5ece384 commit 3924211
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v645
v662
1 change: 1 addition & 0 deletions lib/stripe/resources/invoice.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class Invoice < APIResource
OBJECT_NAME = "invoice"

nested_resource_class_methods :payment, operations: %i[retrieve list]
nested_resource_class_methods :line, operations: %i[update]

def attach_payment_intent(params = {}, opts = {})
request_stripe_object(
Expand Down
2 changes: 2 additions & 0 deletions lib/stripe/resources/invoice_line_item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

module Stripe
class InvoiceLineItem < StripeObject
include Stripe::APIOperations::Save

OBJECT_NAME = "line_item"
end
end

0 comments on commit 3924211

Please sign in to comment.