Update generated code for v662 (#1288)

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
This commit is contained in:
stripe-openapi[bot] 2023-11-16 10:43:45 -08:00 committed by GitHub
parent 625a58661e
commit fe52fcd1e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

View File

@ -1 +1 @@
v640
v662

View File

@ -40,9 +40,12 @@ module Stripe
extend Stripe::APIOperations::List
extend Stripe::APIOperations::Search
include Stripe::APIOperations::Save
extend Stripe::APIOperations::NestedResource
OBJECT_NAME = "invoice"
nested_resource_class_methods :line, operations: %i[update]
def finalize_invoice(params = {}, opts = {})
request_stripe_object(
method: :post,

View File

@ -3,6 +3,8 @@
module Stripe
class InvoiceLineItem < StripeObject
include Stripe::APIOperations::Save
OBJECT_NAME = "line_item"
end
end