diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 06591a0e..3389cb7a 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1897 \ No newline at end of file +v1901 \ No newline at end of file diff --git a/lib/stripe/resources/checkout/session.rb b/lib/stripe/resources/checkout/session.rb index e8cd2d8c..cf30bef4 100644 --- a/lib/stripe/resources/checkout/session.rb +++ b/lib/stripe/resources/checkout/session.rb @@ -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 diff --git a/lib/stripe/resources/payment_intent.rb b/lib/stripe/resources/payment_intent.rb index 2a4195ac..580964d2 100644 --- a/lib/stripe/resources/payment_intent.rb +++ b/lib/stripe/resources/payment_intent.rb @@ -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 diff --git a/lib/stripe/services/checkout/session_service.rb b/lib/stripe/services/checkout/session_service.rb index 51a31219..6a6c1897 100644 --- a/lib/stripe/services/checkout/session_service.rb +++ b/lib/stripe/services/checkout/session_service.rb @@ -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 diff --git a/lib/stripe/services/payment_intent_service.rb b/lib/stripe/services/payment_intent_service.rb index 8e4f9f82..5445a51d 100644 --- a/lib/stripe/services/payment_intent_service.rb +++ b/lib/stripe/services/payment_intent_service.rb @@ -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 diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index 316e5f04..db0b4167 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -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. diff --git a/rbi/stripe/resources/checkout/session.rbi b/rbi/stripe/resources/checkout/session.rbi index 3d76c96e..56042431 100644 --- a/rbi/stripe/resources/checkout/session.rbi +++ b/rbi/stripe/resources/checkout/session.rbi @@ -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. diff --git a/rbi/stripe/resources/payment_intent.rbi b/rbi/stripe/resources/payment_intent.rbi index 32e0ea4f..c1aa72ca 100644 --- a/rbi/stripe/resources/payment_intent.rbi +++ b/rbi/stripe/resources/payment_intent.rbi @@ -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. diff --git a/rbi/stripe/services/checkout/session_service.rbi b/rbi/stripe/services/checkout/session_service.rbi index 6c33904f..6749eaa0 100644 --- a/rbi/stripe/services/checkout/session_service.rbi +++ b/rbi/stripe/services/checkout/session_service.rbi @@ -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. diff --git a/rbi/stripe/services/payment_intent_service.rbi b/rbi/stripe/services/payment_intent_service.rbi index 1aba8090..2b8c7d3f 100644 --- a/rbi/stripe/services/payment_intent_service.rbi +++ b/rbi/stripe/services/payment_intent_service.rbi @@ -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.