Skip to content

Commit

Permalink
Update generated code for v1397
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Dec 9, 2024
1 parent ee1b40e commit d8d9367
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1395
v1397
8 changes: 4 additions & 4 deletions lib/stripe/resources/terminal/reader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ class Tipping < Stripe::StripeObject
end
attr_reader :enable_customer_cancellation, :skip_tipping, :tipping
end
attr_reader :collect_config, :payment_intent, :payment_method, :stripe_account
attr_reader :account, :collect_config, :payment_intent, :payment_method, :stripe_account
end

class ConfirmPaymentIntent < Stripe::StripeObject
attr_reader :payment_intent, :stripe_account
attr_reader :account, :payment_intent, :stripe_account
end

class ProcessPaymentIntent < Stripe::StripeObject
Expand All @@ -80,7 +80,7 @@ class Tipping < Stripe::StripeObject
end
attr_reader :enable_customer_cancellation, :skip_tipping, :tipping
end
attr_reader :payment_intent, :process_config, :stripe_account
attr_reader :account, :payment_intent, :process_config, :stripe_account
end

class ProcessSetupIntent < Stripe::StripeObject
Expand All @@ -94,7 +94,7 @@ class RefundPayment < Stripe::StripeObject
class RefundPaymentConfig < Stripe::StripeObject
attr_reader :enable_customer_cancellation
end
attr_reader :amount, :charge, :metadata, :payment_intent, :reason, :refund, :refund_application_fee, :refund_payment_config, :reverse_transfer, :stripe_account
attr_reader :account, :amount, :charge, :metadata, :payment_intent, :reason, :refund, :refund_application_fee, :refund_payment_config, :reverse_transfer, :stripe_account
end

class SetReaderDisplay < Stripe::StripeObject
Expand Down
8 changes: 8 additions & 0 deletions rbi/stripe/resources/terminal/reader.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ module Stripe
sig { returns(Tipping) }
attr_reader :tipping
end
sig { returns(String) }
attr_reader :account
sig { returns(CollectConfig) }
attr_reader :collect_config
sig { returns(T.any(String, Stripe::PaymentIntent)) }
Expand All @@ -114,6 +116,8 @@ module Stripe
attr_reader :stripe_account
end
class ConfirmPaymentIntent < Stripe::StripeObject
sig { returns(String) }
attr_reader :account
sig { returns(T.any(String, Stripe::PaymentIntent)) }
attr_reader :payment_intent
sig { returns(String) }
Expand All @@ -132,6 +136,8 @@ module Stripe
sig { returns(Tipping) }
attr_reader :tipping
end
sig { returns(String) }
attr_reader :account
sig { returns(T.any(String, Stripe::PaymentIntent)) }
attr_reader :payment_intent
sig { returns(ProcessConfig) }
Expand All @@ -156,6 +162,8 @@ module Stripe
sig { returns(T::Boolean) }
attr_reader :enable_customer_cancellation
end
sig { returns(String) }
attr_reader :account
sig { returns(Integer) }
attr_reader :amount
sig { returns(T.any(String, Stripe::Charge)) }
Expand Down

0 comments on commit d8d9367

Please sign in to comment.