Skip to content

Commit 3c3a2c4

Browse files
Update generated code for v1773
1 parent ad36eea commit 3c3a2c4

12 files changed

+35
-22
lines changed

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1772
1+
v1773

lib/stripe/resources/payment_method_configuration.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1874,7 +1874,7 @@ def initialize(display_preference: nil)
18741874
attr_accessor :alma
18751875
# Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
18761876
attr_accessor :amazon_pay
1877-
# Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
1877+
# Stripe users can accept [Apple Pay](https://stripe.com/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](https://stripe.com/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
18781878
attr_accessor :apple_pay
18791879
# Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.
18801880
attr_accessor :apple_pay_later
@@ -3091,7 +3091,7 @@ def initialize(display_preference: nil)
30913091
attr_accessor :alma
30923092
# Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
30933093
attr_accessor :amazon_pay
3094-
# Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
3094+
# Stripe users can accept [Apple Pay](https://stripe.com/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](https://stripe.com/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
30953095
attr_accessor :apple_pay
30963096
# Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.
30973097
attr_accessor :apple_pay_later

lib/stripe/resources/refund.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,12 @@ class P24 < Stripe::StripeObject
113113
end
114114

115115
class Paynow < Stripe::StripeObject; end
116-
class Paypal < Stripe::StripeObject; end
116+
117+
class Paypal < Stripe::StripeObject
118+
# For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.
119+
attr_reader :network_decline_code
120+
end
121+
117122
class Pix < Stripe::StripeObject; end
118123
class Revolut < Stripe::StripeObject; end
119124
class Sofort < Stripe::StripeObject; end

lib/stripe/resources/subscription.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1942,7 +1942,7 @@ class ResumeParams < Stripe::RequestParams
19421942
attr_accessor :billing_cycle_anchor
19431943
# Specifies which fields in the response should be expanded.
19441944
attr_accessor :expand
1945-
# Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`.
1945+
# Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) resulting from the `billing_cycle_anchor` being `unchanged`. When the `billing_cycle_anchor` is set to `now` (default value), no prorations are generated. If no value is passed, the default is `create_prorations`.
19461946
attr_accessor :proration_behavior
19471947
# If set, prorations will be calculated as though the subscription was resumed at the given time. This can be used to apply exactly the same prorations that were previewed with the [create preview](https://stripe.com/docs/api/invoices/create_preview) endpoint.
19481948
attr_accessor :proration_date

lib/stripe/services/payment_method_configuration_service.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,7 @@ def initialize(display_preference: nil)
10111011
attr_accessor :alma
10121012
# Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
10131013
attr_accessor :amazon_pay
1014-
# Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
1014+
# Stripe users can accept [Apple Pay](https://stripe.com/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](https://stripe.com/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
10151015
attr_accessor :apple_pay
10161016
# Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.
10171017
attr_accessor :apple_pay_later
@@ -2237,7 +2237,7 @@ def initialize(display_preference: nil)
22372237
attr_accessor :alma
22382238
# Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
22392239
attr_accessor :amazon_pay
2240-
# Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
2240+
# Stripe users can accept [Apple Pay](https://stripe.com/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](https://stripe.com/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
22412241
attr_accessor :apple_pay
22422242
# Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.
22432243
attr_accessor :apple_pay_later

lib/stripe/services/subscription_service.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1704,7 +1704,7 @@ class ResumeParams < Stripe::RequestParams
17041704
attr_accessor :billing_cycle_anchor
17051705
# Specifies which fields in the response should be expanded.
17061706
attr_accessor :expand
1707-
# Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`.
1707+
# Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) resulting from the `billing_cycle_anchor` being `unchanged`. When the `billing_cycle_anchor` is set to `now` (default value), no prorations are generated. If no value is passed, the default is `create_prorations`.
17081708
attr_accessor :proration_behavior
17091709
# If set, prorations will be calculated as though the subscription was resumed at the given time. This can be used to apply exactly the same prorations that were previewed with the [create preview](https://stripe.com/docs/api/invoices/create_preview) endpoint.
17101710
attr_accessor :proration_date

rbi/stripe.rbi

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71078,7 +71078,7 @@ module Stripe
7107871078
# Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
7107971079
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay)) }
7108071080
attr_accessor :amazon_pay
71081-
# Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
71081+
# Stripe users can accept [Apple Pay](https://stripe.com/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](https://stripe.com/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
7108271082
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay)) }
7108371083
attr_accessor :apple_pay
7108471084
# Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.
@@ -72360,7 +72360,7 @@ module Stripe
7236072360
# Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
7236172361
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay)) }
7236272362
attr_accessor :amazon_pay
72363-
# Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
72363+
# Stripe users can accept [Apple Pay](https://stripe.com/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](https://stripe.com/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
7236472364
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay)) }
7236572365
attr_accessor :apple_pay
7236672366
# Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.
@@ -83093,7 +83093,11 @@ module Stripe
8309383093
attr_reader :reference_status
8309483094
end
8309583095
class Paynow < Stripe::StripeObject; end
83096-
class Paypal < Stripe::StripeObject; end
83096+
class Paypal < Stripe::StripeObject
83097+
# For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.
83098+
sig { returns(T.nilable(String)) }
83099+
attr_reader :network_decline_code
83100+
end
8309783101
class Pix < Stripe::StripeObject; end
8309883102
class Revolut < Stripe::StripeObject; end
8309983103
class Sofort < Stripe::StripeObject; end
@@ -93033,7 +93037,7 @@ module Stripe
9303393037
# Specifies which fields in the response should be expanded.
9303493038
sig { returns(T.nilable(T::Array[String])) }
9303593039
attr_accessor :expand
93036-
# Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`.
93040+
# Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) resulting from the `billing_cycle_anchor` being `unchanged`. When the `billing_cycle_anchor` is set to `now` (default value), no prorations are generated. If no value is passed, the default is `create_prorations`.
9303793041
sig { returns(T.nilable(String)) }
9303893042
attr_accessor :proration_behavior
9303993043
# If set, prorations will be calculated as though the subscription was resumed at the given time. This can be used to apply exactly the same prorations that were previewed with the [create preview](https://stripe.com/docs/api/invoices/create_preview) endpoint.
@@ -158100,7 +158104,7 @@ module Stripe
158100158104
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay))
158101158105
}
158102158106
attr_accessor :amazon_pay
158103-
# Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
158107+
# Stripe users can accept [Apple Pay](https://stripe.com/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](https://stripe.com/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
158104158108
sig {
158105158109
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay))
158106158110
}
@@ -159435,7 +159439,7 @@ module Stripe
159435159439
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay))
159436159440
}
159437159441
attr_accessor :amazon_pay
159438-
# Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
159442+
# Stripe users can accept [Apple Pay](https://stripe.com/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](https://stripe.com/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
159439159443
sig {
159440159444
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay))
159441159445
}
@@ -172646,7 +172650,7 @@ module Stripe
172646172650
# Specifies which fields in the response should be expanded.
172647172651
sig { returns(T.nilable(T::Array[String])) }
172648172652
attr_accessor :expand
172649-
# Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`.
172653+
# Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) resulting from the `billing_cycle_anchor` being `unchanged`. When the `billing_cycle_anchor` is set to `now` (default value), no prorations are generated. If no value is passed, the default is `create_prorations`.
172650172654
sig { returns(T.nilable(String)) }
172651172655
attr_accessor :proration_behavior
172652172656
# If set, prorations will be calculated as though the subscription was resumed at the given time. This can be used to apply exactly the same prorations that were previewed with the [create preview](https://stripe.com/docs/api/invoices/create_preview) endpoint.

rbi/stripe/resources/payment_method_configuration.rbi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2348,7 +2348,7 @@ module Stripe
23482348
# Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
23492349
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay)) }
23502350
attr_accessor :amazon_pay
2351-
# Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
2351+
# Stripe users can accept [Apple Pay](https://stripe.com/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](https://stripe.com/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
23522352
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay)) }
23532353
attr_accessor :apple_pay
23542354
# Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.
@@ -3630,7 +3630,7 @@ module Stripe
36303630
# Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
36313631
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay)) }
36323632
attr_accessor :amazon_pay
3633-
# Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
3633+
# Stripe users can accept [Apple Pay](https://stripe.com/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](https://stripe.com/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
36343634
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay)) }
36353635
attr_accessor :apple_pay
36363636
# Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.

rbi/stripe/resources/refund.rbi

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,11 @@ module Stripe
113113
attr_reader :reference_status
114114
end
115115
class Paynow < Stripe::StripeObject; end
116-
class Paypal < Stripe::StripeObject; end
116+
class Paypal < Stripe::StripeObject
117+
# For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.
118+
sig { returns(T.nilable(String)) }
119+
attr_reader :network_decline_code
120+
end
117121
class Pix < Stripe::StripeObject; end
118122
class Revolut < Stripe::StripeObject; end
119123
class Sofort < Stripe::StripeObject; end

rbi/stripe/resources/subscription.rbi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2249,7 +2249,7 @@ module Stripe
22492249
# Specifies which fields in the response should be expanded.
22502250
sig { returns(T.nilable(T::Array[String])) }
22512251
attr_accessor :expand
2252-
# Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`.
2252+
# Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) resulting from the `billing_cycle_anchor` being `unchanged`. When the `billing_cycle_anchor` is set to `now` (default value), no prorations are generated. If no value is passed, the default is `create_prorations`.
22532253
sig { returns(T.nilable(String)) }
22542254
attr_accessor :proration_behavior
22552255
# If set, prorations will be calculated as though the subscription was resumed at the given time. This can be used to apply exactly the same prorations that were previewed with the [create preview](https://stripe.com/docs/api/invoices/create_preview) endpoint.

0 commit comments

Comments
 (0)