Skip to content

Commit

Permalink
Update generated code for v1389
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Dec 6, 2024
1 parent 3e2a9a3 commit c1846fa
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1388
v1389
6 changes: 5 additions & 1 deletion lib/stripe/resources/billing/credit_balance_transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ class Monetary < Stripe::StripeObject
end
attr_reader :monetary, :type
end
attr_reader :amount, :type

class CreditsApplicationInvoiceVoided < Stripe::StripeObject
attr_reader :invoice, :invoice_line_item
end
attr_reader :amount, :credits_application_invoice_voided, :type
end

class Debit < Stripe::StripeObject
Expand Down
8 changes: 8 additions & 0 deletions rbi/stripe/resources/billing/credit_balance_transaction.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,16 @@ module Stripe
sig { returns(String) }
attr_reader :type
end
class CreditsApplicationInvoiceVoided < Stripe::StripeObject
sig { returns(T.any(String, Stripe::Invoice)) }
attr_reader :invoice
sig { returns(String) }
attr_reader :invoice_line_item
end
sig { returns(Amount) }
attr_reader :amount
sig { returns(T.nilable(CreditsApplicationInvoiceVoided)) }
attr_reader :credits_application_invoice_voided
sig { returns(String) }
attr_reader :type
end
Expand Down

0 comments on commit c1846fa

Please sign in to comment.