Update generated code for v1901 and 2025-07-30.preview

This commit is contained in:
Stripe OpenAPI 2025-08-12 16:21:28 +00:00
parent 3ede61b944
commit c77e33db18
10 changed files with 243 additions and 41 deletions

View File

@ -1 +1 @@
v1897
v1901

View File

@ -795,6 +795,8 @@ module Stripe
end
class Pix < Stripe::StripeObject
# Determines if the amount includes the IOF tax.
attr_reader :amount_includes_iof
# The number of seconds after which Pix payment will expire.
attr_reader :expires_after_seconds
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
@ -2629,6 +2631,8 @@ module Stripe
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
attr_accessor :expires_after_seconds
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
@ -2640,7 +2644,12 @@ module Stripe
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
attr_accessor :setup_future_usage
def initialize(expires_after_seconds: nil, setup_future_usage: nil)
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
setup_future_usage: nil
)
@amount_includes_iof = amount_includes_iof
@expires_after_seconds = expires_after_seconds
@setup_future_usage = setup_future_usage
end

View File

@ -1600,6 +1600,8 @@ module Stripe
end
class Pix < Stripe::StripeObject
# Determines if the amount includes the IOF tax.
attr_reader :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire.
attr_reader :expires_after_seconds
# The timestamp at which the Pix expires.
@ -4942,6 +4944,8 @@ module Stripe
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
attr_accessor :expires_after_seconds
# The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
@ -4957,7 +4961,13 @@ module Stripe
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
attr_accessor :setup_future_usage
def initialize(expires_after_seconds: nil, expires_at: nil, setup_future_usage: nil)
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
expires_at: nil,
setup_future_usage: nil
)
@amount_includes_iof = amount_includes_iof
@expires_after_seconds = expires_after_seconds
@expires_at = expires_at
@setup_future_usage = setup_future_usage
@ -8694,6 +8704,8 @@ module Stripe
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
attr_accessor :expires_after_seconds
# The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
@ -8709,7 +8721,13 @@ module Stripe
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
attr_accessor :setup_future_usage
def initialize(expires_after_seconds: nil, expires_at: nil, setup_future_usage: nil)
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
expires_at: nil,
setup_future_usage: nil
)
@amount_includes_iof = amount_includes_iof
@expires_after_seconds = expires_after_seconds
@expires_at = expires_at
@setup_future_usage = setup_future_usage
@ -13374,6 +13392,8 @@ module Stripe
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
attr_accessor :expires_after_seconds
# The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
@ -13389,7 +13409,13 @@ module Stripe
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
attr_accessor :setup_future_usage
def initialize(expires_after_seconds: nil, expires_at: nil, setup_future_usage: nil)
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
expires_at: nil,
setup_future_usage: nil
)
@amount_includes_iof = amount_includes_iof
@expires_after_seconds = expires_after_seconds
@expires_at = expires_at
@setup_future_usage = setup_future_usage

View File

@ -1520,6 +1520,8 @@ module Stripe
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
attr_accessor :expires_after_seconds
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
@ -1531,7 +1533,12 @@ module Stripe
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
attr_accessor :setup_future_usage
def initialize(expires_after_seconds: nil, setup_future_usage: nil)
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
setup_future_usage: nil
)
@amount_includes_iof = amount_includes_iof
@expires_after_seconds = expires_after_seconds
@setup_future_usage = setup_future_usage
end

View File

@ -2961,6 +2961,8 @@ module Stripe
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
attr_accessor :expires_after_seconds
# The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
@ -2976,7 +2978,13 @@ module Stripe
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
attr_accessor :setup_future_usage
def initialize(expires_after_seconds: nil, expires_at: nil, setup_future_usage: nil)
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
expires_at: nil,
setup_future_usage: nil
)
@amount_includes_iof = amount_includes_iof
@expires_after_seconds = expires_after_seconds
@expires_at = expires_at
@setup_future_usage = setup_future_usage
@ -6725,6 +6733,8 @@ module Stripe
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
attr_accessor :expires_after_seconds
# The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
@ -6740,7 +6750,13 @@ module Stripe
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
attr_accessor :setup_future_usage
def initialize(expires_after_seconds: nil, expires_at: nil, setup_future_usage: nil)
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
expires_at: nil,
setup_future_usage: nil
)
@amount_includes_iof = amount_includes_iof
@expires_after_seconds = expires_after_seconds
@expires_at = expires_at
@setup_future_usage = setup_future_usage
@ -11405,6 +11421,8 @@ module Stripe
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
attr_accessor :expires_after_seconds
# The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
@ -11420,7 +11438,13 @@ module Stripe
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
attr_accessor :setup_future_usage
def initialize(expires_after_seconds: nil, expires_at: nil, setup_future_usage: nil)
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
expires_at: nil,
setup_future_usage: nil
)
@amount_includes_iof = amount_includes_iof
@expires_after_seconds = expires_after_seconds
@expires_at = expires_at
@setup_future_usage = setup_future_usage

View File

@ -15756,6 +15756,9 @@ module Stripe
attr_reader :setup_future_usage
end
class Pix < Stripe::StripeObject
# Determines if the amount includes the IOF tax.
sig { returns(String) }
attr_reader :amount_includes_iof
# The number of seconds after which Pix payment will expire.
sig { returns(T.nilable(Integer)) }
attr_reader :expires_after_seconds
@ -17900,6 +17903,9 @@ module Stripe
def initialize(mandate_options: nil, setup_future_usage: nil); end
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
sig { returns(T.nilable(String)) }
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
sig { returns(T.nilable(Integer)) }
attr_accessor :expires_after_seconds
@ -17913,9 +17919,13 @@ module Stripe
sig { returns(T.nilable(String)) }
attr_accessor :setup_future_usage
sig {
params(expires_after_seconds: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
params(amount_includes_iof: T.nilable(String), expires_after_seconds: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
}
def initialize(expires_after_seconds: nil, setup_future_usage: nil); end
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
setup_future_usage: nil
); end
end
class RevolutPay < Stripe::RequestParams
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
@ -48527,6 +48537,9 @@ module Stripe
attr_reader :setup_future_usage
end
class Pix < Stripe::StripeObject
# Determines if the amount includes the IOF tax.
sig { returns(String) }
attr_reader :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire.
sig { returns(T.nilable(Integer)) }
attr_reader :expires_after_seconds
@ -52217,6 +52230,9 @@ module Stripe
def initialize(mandate_options: nil, setup_future_usage: nil); end
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
sig { returns(T.nilable(String)) }
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
sig { returns(T.nilable(Integer)) }
attr_accessor :expires_after_seconds
@ -52235,9 +52251,14 @@ module Stripe
sig { returns(T.nilable(String)) }
attr_accessor :setup_future_usage
sig {
params(expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
params(amount_includes_iof: T.nilable(String), expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
}
def initialize(expires_after_seconds: nil, expires_at: nil, setup_future_usage: nil); end
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
expires_at: nil,
setup_future_usage: nil
); end
end
class Promptpay < Stripe::RequestParams
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
@ -56168,6 +56189,9 @@ module Stripe
def initialize(mandate_options: nil, setup_future_usage: nil); end
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
sig { returns(T.nilable(String)) }
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
sig { returns(T.nilable(Integer)) }
attr_accessor :expires_after_seconds
@ -56186,9 +56210,14 @@ module Stripe
sig { returns(T.nilable(String)) }
attr_accessor :setup_future_usage
sig {
params(expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
params(amount_includes_iof: T.nilable(String), expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
}
def initialize(expires_after_seconds: nil, expires_at: nil, setup_future_usage: nil); end
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
expires_at: nil,
setup_future_usage: nil
); end
end
class Promptpay < Stripe::RequestParams
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
@ -61142,6 +61171,9 @@ module Stripe
def initialize(mandate_options: nil, setup_future_usage: nil); end
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
sig { returns(T.nilable(String)) }
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
sig { returns(T.nilable(Integer)) }
attr_accessor :expires_after_seconds
@ -61160,9 +61192,14 @@ module Stripe
sig { returns(T.nilable(String)) }
attr_accessor :setup_future_usage
sig {
params(expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
params(amount_includes_iof: T.nilable(String), expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
}
def initialize(expires_after_seconds: nil, expires_at: nil, setup_future_usage: nil); end
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
expires_at: nil,
setup_future_usage: nil
); end
end
class Promptpay < Stripe::RequestParams
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
@ -126858,6 +126895,9 @@ module Stripe
def initialize(mandate_options: nil, setup_future_usage: nil); end
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
sig { returns(T.nilable(String)) }
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
sig { returns(T.nilable(Integer)) }
attr_accessor :expires_after_seconds
@ -126871,9 +126911,13 @@ module Stripe
sig { returns(T.nilable(String)) }
attr_accessor :setup_future_usage
sig {
params(expires_after_seconds: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
params(amount_includes_iof: T.nilable(String), expires_after_seconds: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
}
def initialize(expires_after_seconds: nil, setup_future_usage: nil); end
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
setup_future_usage: nil
); end
end
class RevolutPay < Stripe::RequestParams
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
@ -150449,6 +150493,9 @@ module Stripe
def initialize(mandate_options: nil, setup_future_usage: nil); end
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
sig { returns(T.nilable(String)) }
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
sig { returns(T.nilable(Integer)) }
attr_accessor :expires_after_seconds
@ -150467,9 +150514,14 @@ module Stripe
sig { returns(T.nilable(String)) }
attr_accessor :setup_future_usage
sig {
params(expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
params(amount_includes_iof: T.nilable(String), expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
}
def initialize(expires_after_seconds: nil, expires_at: nil, setup_future_usage: nil); end
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
expires_at: nil,
setup_future_usage: nil
); end
end
class Promptpay < Stripe::RequestParams
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
@ -154482,6 +154534,9 @@ module Stripe
def initialize(mandate_options: nil, setup_future_usage: nil); end
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
sig { returns(T.nilable(String)) }
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
sig { returns(T.nilable(Integer)) }
attr_accessor :expires_after_seconds
@ -154500,9 +154555,14 @@ module Stripe
sig { returns(T.nilable(String)) }
attr_accessor :setup_future_usage
sig {
params(expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
params(amount_includes_iof: T.nilable(String), expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
}
def initialize(expires_after_seconds: nil, expires_at: nil, setup_future_usage: nil); end
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
expires_at: nil,
setup_future_usage: nil
); end
end
class Promptpay < Stripe::RequestParams
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
@ -159506,6 +159566,9 @@ module Stripe
def initialize(mandate_options: nil, setup_future_usage: nil); end
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
sig { returns(T.nilable(String)) }
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
sig { returns(T.nilable(Integer)) }
attr_accessor :expires_after_seconds
@ -159524,9 +159587,14 @@ module Stripe
sig { returns(T.nilable(String)) }
attr_accessor :setup_future_usage
sig {
params(expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
params(amount_includes_iof: T.nilable(String), expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
}
def initialize(expires_after_seconds: nil, expires_at: nil, setup_future_usage: nil); end
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
expires_at: nil,
setup_future_usage: nil
); end
end
class Promptpay < Stripe::RequestParams
# Indicates that you intend to make future payments with this PaymentIntent's payment method.

View File

@ -917,6 +917,9 @@ module Stripe
attr_reader :setup_future_usage
end
class Pix < Stripe::StripeObject
# Determines if the amount includes the IOF tax.
sig { returns(String) }
attr_reader :amount_includes_iof
# The number of seconds after which Pix payment will expire.
sig { returns(T.nilable(Integer)) }
attr_reader :expires_after_seconds
@ -3061,6 +3064,9 @@ module Stripe
def initialize(mandate_options: nil, setup_future_usage: nil); end
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
sig { returns(T.nilable(String)) }
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
sig { returns(T.nilable(Integer)) }
attr_accessor :expires_after_seconds
@ -3074,9 +3080,13 @@ module Stripe
sig { returns(T.nilable(String)) }
attr_accessor :setup_future_usage
sig {
params(expires_after_seconds: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
params(amount_includes_iof: T.nilable(String), expires_after_seconds: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
}
def initialize(expires_after_seconds: nil, setup_future_usage: nil); end
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
setup_future_usage: nil
); end
end
class RevolutPay < Stripe::RequestParams
# Indicates that you intend to make future payments with this PaymentIntent's payment method.

View File

@ -1977,6 +1977,9 @@ module Stripe
attr_reader :setup_future_usage
end
class Pix < Stripe::StripeObject
# Determines if the amount includes the IOF tax.
sig { returns(String) }
attr_reader :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire.
sig { returns(T.nilable(Integer)) }
attr_reader :expires_after_seconds
@ -5667,6 +5670,9 @@ module Stripe
def initialize(mandate_options: nil, setup_future_usage: nil); end
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
sig { returns(T.nilable(String)) }
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
sig { returns(T.nilable(Integer)) }
attr_accessor :expires_after_seconds
@ -5685,9 +5691,14 @@ module Stripe
sig { returns(T.nilable(String)) }
attr_accessor :setup_future_usage
sig {
params(expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
params(amount_includes_iof: T.nilable(String), expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
}
def initialize(expires_after_seconds: nil, expires_at: nil, setup_future_usage: nil); end
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
expires_at: nil,
setup_future_usage: nil
); end
end
class Promptpay < Stripe::RequestParams
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
@ -9618,6 +9629,9 @@ module Stripe
def initialize(mandate_options: nil, setup_future_usage: nil); end
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
sig { returns(T.nilable(String)) }
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
sig { returns(T.nilable(Integer)) }
attr_accessor :expires_after_seconds
@ -9636,9 +9650,14 @@ module Stripe
sig { returns(T.nilable(String)) }
attr_accessor :setup_future_usage
sig {
params(expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
params(amount_includes_iof: T.nilable(String), expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
}
def initialize(expires_after_seconds: nil, expires_at: nil, setup_future_usage: nil); end
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
expires_at: nil,
setup_future_usage: nil
); end
end
class Promptpay < Stripe::RequestParams
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
@ -14592,6 +14611,9 @@ module Stripe
def initialize(mandate_options: nil, setup_future_usage: nil); end
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
sig { returns(T.nilable(String)) }
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
sig { returns(T.nilable(Integer)) }
attr_accessor :expires_after_seconds
@ -14610,9 +14632,14 @@ module Stripe
sig { returns(T.nilable(String)) }
attr_accessor :setup_future_usage
sig {
params(expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
params(amount_includes_iof: T.nilable(String), expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
}
def initialize(expires_after_seconds: nil, expires_at: nil, setup_future_usage: nil); end
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
expires_at: nil,
setup_future_usage: nil
); end
end
class Promptpay < Stripe::RequestParams
# Indicates that you intend to make future payments with this PaymentIntent's payment method.

View File

@ -1543,6 +1543,9 @@ module Stripe
def initialize(mandate_options: nil, setup_future_usage: nil); end
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
sig { returns(T.nilable(String)) }
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
sig { returns(T.nilable(Integer)) }
attr_accessor :expires_after_seconds
@ -1556,9 +1559,13 @@ module Stripe
sig { returns(T.nilable(String)) }
attr_accessor :setup_future_usage
sig {
params(expires_after_seconds: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
params(amount_includes_iof: T.nilable(String), expires_after_seconds: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
}
def initialize(expires_after_seconds: nil, setup_future_usage: nil); end
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
setup_future_usage: nil
); end
end
class RevolutPay < Stripe::RequestParams
# Indicates that you intend to make future payments with this PaymentIntent's payment method.

View File

@ -3122,6 +3122,9 @@ module Stripe
def initialize(mandate_options: nil, setup_future_usage: nil); end
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
sig { returns(T.nilable(String)) }
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
sig { returns(T.nilable(Integer)) }
attr_accessor :expires_after_seconds
@ -3140,9 +3143,14 @@ module Stripe
sig { returns(T.nilable(String)) }
attr_accessor :setup_future_usage
sig {
params(expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
params(amount_includes_iof: T.nilable(String), expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
}
def initialize(expires_after_seconds: nil, expires_at: nil, setup_future_usage: nil); end
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
expires_at: nil,
setup_future_usage: nil
); end
end
class Promptpay < Stripe::RequestParams
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
@ -7155,6 +7163,9 @@ module Stripe
def initialize(mandate_options: nil, setup_future_usage: nil); end
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
sig { returns(T.nilable(String)) }
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
sig { returns(T.nilable(Integer)) }
attr_accessor :expires_after_seconds
@ -7173,9 +7184,14 @@ module Stripe
sig { returns(T.nilable(String)) }
attr_accessor :setup_future_usage
sig {
params(expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
params(amount_includes_iof: T.nilable(String), expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
}
def initialize(expires_after_seconds: nil, expires_at: nil, setup_future_usage: nil); end
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
expires_at: nil,
setup_future_usage: nil
); end
end
class Promptpay < Stripe::RequestParams
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
@ -12179,6 +12195,9 @@ module Stripe
def initialize(mandate_options: nil, setup_future_usage: nil); end
end
class Pix < Stripe::RequestParams
# Determines if the amount includes the IOF tax. Defaults to `never`.
sig { returns(T.nilable(String)) }
attr_accessor :amount_includes_iof
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
sig { returns(T.nilable(Integer)) }
attr_accessor :expires_after_seconds
@ -12197,9 +12216,14 @@ module Stripe
sig { returns(T.nilable(String)) }
attr_accessor :setup_future_usage
sig {
params(expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
params(amount_includes_iof: T.nilable(String), expires_after_seconds: T.nilable(Integer), expires_at: T.nilable(Integer), setup_future_usage: T.nilable(String)).void
}
def initialize(expires_after_seconds: nil, expires_at: nil, setup_future_usage: nil); end
def initialize(
amount_includes_iof: nil,
expires_after_seconds: nil,
expires_at: nil,
setup_future_usage: nil
); end
end
class Promptpay < Stripe::RequestParams
# Indicates that you intend to make future payments with this PaymentIntent's payment method.