diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 7f696950..91d48abb 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1806 \ No newline at end of file +v1807 \ No newline at end of file diff --git a/lib/stripe/resources/terminal/reader.rb b/lib/stripe/resources/terminal/reader.rb index 4b0f0b42..30b33805 100644 --- a/lib/stripe/resources/terminal/reader.rb +++ b/lib/stripe/resources/terminal/reader.rb @@ -118,7 +118,7 @@ module Stripe # Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency). attr_reader :amount_eligible end - # Enable customer initiated cancellation when processing this payment. + # Enable customer-initiated cancellation when processing this payment. attr_reader :enable_customer_cancellation # Override showing a tipping selection screen on this transaction. attr_reader :skip_tipping @@ -141,7 +141,7 @@ module Stripe class ConfirmPaymentIntent < Stripe::StripeObject class ConfirmConfig < Stripe::StripeObject - # If the customer does not abandon authenticating the payment, they will be redirected to this specified URL after completion. + # If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion. attr_reader :return_url end # Account the payment intent belongs to. @@ -158,9 +158,9 @@ module Stripe # Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency). attr_reader :amount_eligible end - # Enable customer initiated cancellation when processing this payment. + # Enable customer-initiated cancellation when processing this payment. attr_reader :enable_customer_cancellation - # If the customer does not abandon authenticating the payment, they will be redirected to this specified URL after completion. + # If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion. attr_reader :return_url # Override showing a tipping selection screen on this transaction. attr_reader :skip_tipping @@ -177,7 +177,7 @@ module Stripe class ProcessSetupIntent < Stripe::StripeObject class ProcessConfig < Stripe::StripeObject - # Enable customer initiated cancellation when processing this SetupIntent. + # Enable customer-initiated cancellation when processing this SetupIntent. attr_reader :enable_customer_cancellation end # ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod. @@ -190,7 +190,7 @@ module Stripe class RefundPayment < Stripe::StripeObject class RefundPaymentConfig < Stripe::StripeObject - # Enable customer initiated cancellation when refunding this payment. + # Enable customer-initiated cancellation when refunding this payment. attr_reader :enable_customer_cancellation end # Account the payment intent belongs to. @@ -476,11 +476,11 @@ module Stripe @tipping = tipping end end - # Configuration overrides + # Configuration overrides. attr_accessor :collect_config # Specifies which fields in the response should be expanded. attr_accessor :expand - # PaymentIntent ID + # PaymentIntent ID. attr_accessor :payment_intent def initialize(collect_config: nil, expand: nil, payment_intent: nil) @@ -499,11 +499,11 @@ module Stripe @return_url = return_url end end - # Configuration overrides + # Configuration overrides. attr_accessor :confirm_config # Specifies which fields in the response should be expanded. attr_accessor :expand - # PaymentIntent ID + # PaymentIntent ID. attr_accessor :payment_intent def initialize(confirm_config: nil, expand: nil, payment_intent: nil) diff --git a/lib/stripe/services/terminal/reader_service.rb b/lib/stripe/services/terminal/reader_service.rb index eb015b71..0a9cdbe3 100644 --- a/lib/stripe/services/terminal/reader_service.rb +++ b/lib/stripe/services/terminal/reader_service.rb @@ -226,11 +226,11 @@ module Stripe @tipping = tipping end end - # Configuration overrides + # Configuration overrides. attr_accessor :collect_config # Specifies which fields in the response should be expanded. attr_accessor :expand - # PaymentIntent ID + # PaymentIntent ID. attr_accessor :payment_intent def initialize(collect_config: nil, expand: nil, payment_intent: nil) @@ -249,11 +249,11 @@ module Stripe @return_url = return_url end end - # Configuration overrides + # Configuration overrides. attr_accessor :confirm_config # Specifies which fields in the response should be expanded. attr_accessor :expand - # PaymentIntent ID + # PaymentIntent ID. attr_accessor :payment_intent def initialize(confirm_config: nil, expand: nil, payment_intent: nil) diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index d9bb265d..1de46f6d 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -98383,7 +98383,7 @@ module Stripe sig { returns(Integer) } attr_reader :amount_eligible end - # Enable customer initiated cancellation when processing this payment. + # Enable customer-initiated cancellation when processing this payment. sig { returns(T::Boolean) } attr_reader :enable_customer_cancellation # Override showing a tipping selection screen on this transaction. @@ -98412,7 +98412,7 @@ module Stripe end class ConfirmPaymentIntent < Stripe::StripeObject class ConfirmConfig < Stripe::StripeObject - # If the customer does not abandon authenticating the payment, they will be redirected to this specified URL after completion. + # If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion. sig { returns(String) } attr_reader :return_url end @@ -98433,10 +98433,10 @@ module Stripe sig { returns(Integer) } attr_reader :amount_eligible end - # Enable customer initiated cancellation when processing this payment. + # Enable customer-initiated cancellation when processing this payment. sig { returns(T::Boolean) } attr_reader :enable_customer_cancellation - # If the customer does not abandon authenticating the payment, they will be redirected to this specified URL after completion. + # If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion. sig { returns(String) } attr_reader :return_url # Override showing a tipping selection screen on this transaction. @@ -98458,7 +98458,7 @@ module Stripe end class ProcessSetupIntent < Stripe::StripeObject class ProcessConfig < Stripe::StripeObject - # Enable customer initiated cancellation when processing this SetupIntent. + # Enable customer-initiated cancellation when processing this SetupIntent. sig { returns(T::Boolean) } attr_reader :enable_customer_cancellation end @@ -98474,7 +98474,7 @@ module Stripe end class RefundPayment < Stripe::StripeObject class RefundPaymentConfig < Stripe::StripeObject - # Enable customer initiated cancellation when refunding this payment. + # Enable customer-initiated cancellation when refunding this payment. sig { returns(T::Boolean) } attr_reader :enable_customer_cancellation end @@ -98840,7 +98840,7 @@ module Stripe tipping: nil ); end end - # Configuration overrides + # Configuration overrides. sig { returns(T.nilable(::Stripe::Terminal::Reader::CollectPaymentMethodParams::CollectConfig)) } @@ -98848,7 +98848,7 @@ module Stripe # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } attr_accessor :expand - # PaymentIntent ID + # PaymentIntent ID. sig { returns(String) } attr_accessor :payment_intent sig { @@ -98864,7 +98864,7 @@ module Stripe sig { params(return_url: T.nilable(String)).void } def initialize(return_url: nil); end end - # Configuration overrides + # Configuration overrides. sig { returns(T.nilable(::Stripe::Terminal::Reader::ConfirmPaymentIntentParams::ConfirmConfig)) } @@ -98872,7 +98872,7 @@ module Stripe # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } attr_accessor :expand - # PaymentIntent ID + # PaymentIntent ID. sig { returns(String) } attr_accessor :payment_intent sig { @@ -180105,7 +180105,7 @@ module Stripe tipping: nil ); end end - # Configuration overrides + # Configuration overrides. sig { returns(T.nilable(::Stripe::Terminal::ReaderService::CollectPaymentMethodParams::CollectConfig)) } @@ -180113,7 +180113,7 @@ module Stripe # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } attr_accessor :expand - # PaymentIntent ID + # PaymentIntent ID. sig { returns(String) } attr_accessor :payment_intent sig { @@ -180129,7 +180129,7 @@ module Stripe sig { params(return_url: T.nilable(String)).void } def initialize(return_url: nil); end end - # Configuration overrides + # Configuration overrides. sig { returns(T.nilable(::Stripe::Terminal::ReaderService::ConfirmPaymentIntentParams::ConfirmConfig)) } @@ -180137,7 +180137,7 @@ module Stripe # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } attr_accessor :expand - # PaymentIntent ID + # PaymentIntent ID. sig { returns(String) } attr_accessor :payment_intent sig { diff --git a/rbi/stripe/resources/terminal/reader.rbi b/rbi/stripe/resources/terminal/reader.rbi index 55ffce46..271be005 100644 --- a/rbi/stripe/resources/terminal/reader.rbi +++ b/rbi/stripe/resources/terminal/reader.rbi @@ -134,7 +134,7 @@ module Stripe sig { returns(Integer) } attr_reader :amount_eligible end - # Enable customer initiated cancellation when processing this payment. + # Enable customer-initiated cancellation when processing this payment. sig { returns(T::Boolean) } attr_reader :enable_customer_cancellation # Override showing a tipping selection screen on this transaction. @@ -163,7 +163,7 @@ module Stripe end class ConfirmPaymentIntent < Stripe::StripeObject class ConfirmConfig < Stripe::StripeObject - # If the customer does not abandon authenticating the payment, they will be redirected to this specified URL after completion. + # If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion. sig { returns(String) } attr_reader :return_url end @@ -184,10 +184,10 @@ module Stripe sig { returns(Integer) } attr_reader :amount_eligible end - # Enable customer initiated cancellation when processing this payment. + # Enable customer-initiated cancellation when processing this payment. sig { returns(T::Boolean) } attr_reader :enable_customer_cancellation - # If the customer does not abandon authenticating the payment, they will be redirected to this specified URL after completion. + # If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion. sig { returns(String) } attr_reader :return_url # Override showing a tipping selection screen on this transaction. @@ -209,7 +209,7 @@ module Stripe end class ProcessSetupIntent < Stripe::StripeObject class ProcessConfig < Stripe::StripeObject - # Enable customer initiated cancellation when processing this SetupIntent. + # Enable customer-initiated cancellation when processing this SetupIntent. sig { returns(T::Boolean) } attr_reader :enable_customer_cancellation end @@ -225,7 +225,7 @@ module Stripe end class RefundPayment < Stripe::StripeObject class RefundPaymentConfig < Stripe::StripeObject - # Enable customer initiated cancellation when refunding this payment. + # Enable customer-initiated cancellation when refunding this payment. sig { returns(T::Boolean) } attr_reader :enable_customer_cancellation end @@ -591,7 +591,7 @@ module Stripe tipping: nil ); end end - # Configuration overrides + # Configuration overrides. sig { returns(T.nilable(::Stripe::Terminal::Reader::CollectPaymentMethodParams::CollectConfig)) } @@ -599,7 +599,7 @@ module Stripe # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } attr_accessor :expand - # PaymentIntent ID + # PaymentIntent ID. sig { returns(String) } attr_accessor :payment_intent sig { @@ -615,7 +615,7 @@ module Stripe sig { params(return_url: T.nilable(String)).void } def initialize(return_url: nil); end end - # Configuration overrides + # Configuration overrides. sig { returns(T.nilable(::Stripe::Terminal::Reader::ConfirmPaymentIntentParams::ConfirmConfig)) } @@ -623,7 +623,7 @@ module Stripe # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } attr_accessor :expand - # PaymentIntent ID + # PaymentIntent ID. sig { returns(String) } attr_accessor :payment_intent sig { diff --git a/rbi/stripe/services/terminal/reader_service.rbi b/rbi/stripe/services/terminal/reader_service.rbi index fbe302b5..409cd7af 100644 --- a/rbi/stripe/services/terminal/reader_service.rbi +++ b/rbi/stripe/services/terminal/reader_service.rbi @@ -237,7 +237,7 @@ module Stripe tipping: nil ); end end - # Configuration overrides + # Configuration overrides. sig { returns(T.nilable(::Stripe::Terminal::ReaderService::CollectPaymentMethodParams::CollectConfig)) } @@ -245,7 +245,7 @@ module Stripe # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } attr_accessor :expand - # PaymentIntent ID + # PaymentIntent ID. sig { returns(String) } attr_accessor :payment_intent sig { @@ -261,7 +261,7 @@ module Stripe sig { params(return_url: T.nilable(String)).void } def initialize(return_url: nil); end end - # Configuration overrides + # Configuration overrides. sig { returns(T.nilable(::Stripe::Terminal::ReaderService::ConfirmPaymentIntentParams::ConfirmConfig)) } @@ -269,7 +269,7 @@ module Stripe # Specifies which fields in the response should be expanded. sig { returns(T.nilable(T::Array[String])) } attr_accessor :expand - # PaymentIntent ID + # PaymentIntent ID. sig { returns(String) } attr_accessor :payment_intent sig {