From d8d9367c9748bde81a34d1fa144c4cac569062c9 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 22:23:40 +0000 Subject: [PATCH] Update generated code for v1397 --- OPENAPI_VERSION | 2 +- lib/stripe/resources/terminal/reader.rb | 8 ++++---- rbi/stripe/resources/terminal/reader.rbi | 8 ++++++++ 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index c9e0a8482..42258ffb3 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1395 \ No newline at end of file +v1397 \ No newline at end of file diff --git a/lib/stripe/resources/terminal/reader.rb b/lib/stripe/resources/terminal/reader.rb index c57b5f984..fc6d5e0e4 100644 --- a/lib/stripe/resources/terminal/reader.rb +++ b/lib/stripe/resources/terminal/reader.rb @@ -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 @@ -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 @@ -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 diff --git a/rbi/stripe/resources/terminal/reader.rbi b/rbi/stripe/resources/terminal/reader.rbi index d6d31698e..a9159a2fc 100644 --- a/rbi/stripe/resources/terminal/reader.rbi +++ b/rbi/stripe/resources/terminal/reader.rbi @@ -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)) } @@ -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) } @@ -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) } @@ -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)) }