diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 78625547..a7ed76c9 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1401 \ No newline at end of file +v1405 \ No newline at end of file diff --git a/lib/stripe/resources/card.rb b/lib/stripe/resources/card.rb index 64dc5f04..12e5ad8b 100644 --- a/lib/stripe/resources/card.rb +++ b/lib/stripe/resources/card.rb @@ -38,6 +38,8 @@ module Stripe attr_reader :address_zip # If `address_zip` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`. attr_reader :address_zip_check + # This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to “unspecified”. + attr_reader :allow_redisplay # A set of available payout methods for this card. Only values from this set should be passed as the `method` when creating a payout. attr_reader :available_payout_methods # Card brand. Can be `American Express`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`. diff --git a/lib/stripe/resources/source.rb b/lib/stripe/resources/source.rb index d6e75232..c52fb9fe 100644 --- a/lib/stripe/resources/source.rb +++ b/lib/stripe/resources/source.rb @@ -148,6 +148,8 @@ module Stripe attr_reader :acss_debit # Attribute for field alipay attr_reader :alipay + # This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to “unspecified”. + attr_reader :allow_redisplay # A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount associated with the source. This is the amount for which the source will be chargeable once ready. Required for `single_use` sources. attr_reader :amount # Attribute for field au_becs_debit diff --git a/rbi/stripe/resources/card.rbi b/rbi/stripe/resources/card.rbi index 6719336a..0650e8fc 100644 --- a/rbi/stripe/resources/card.rbi +++ b/rbi/stripe/resources/card.rbi @@ -40,6 +40,9 @@ module Stripe sig { returns(T.nilable(String)) } # If `address_zip` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`. attr_reader :address_zip_check + sig { returns(T.nilable(String)) } + # This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to “unspecified”. + attr_reader :allow_redisplay sig { returns(T.nilable(T::Array[String])) } # A set of available payout methods for this card. Only values from this set should be passed as the `method` when creating a payout. attr_reader :available_payout_methods diff --git a/rbi/stripe/resources/source.rbi b/rbi/stripe/resources/source.rbi index 9116e344..23d1da17 100644 --- a/rbi/stripe/resources/source.rbi +++ b/rbi/stripe/resources/source.rbi @@ -560,6 +560,9 @@ module Stripe sig { returns(Alipay) } # Attribute for field alipay attr_reader :alipay + sig { returns(T.nilable(String)) } + # This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to “unspecified”. + attr_reader :allow_redisplay sig { returns(T.nilable(Integer)) } # A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount associated with the source. This is the amount for which the source will be chargeable once ready. Required for `single_use` sources. attr_reader :amount