mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-12-06 00:00:29 -05:00
Update generated code for v1807 and 2025-06-30.preview
This commit is contained in:
parent
f04ecf2569
commit
59a08b6994
@ -1 +1 @@
|
||||
v1806
|
||||
v1807
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user