Skip to content

Commit 0f9faf2

Browse files
Update generated code for v2025 and 2025-09-30.clover (stripe#1667)
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent cf0db6f commit 0f9faf2

28 files changed

Lines changed: 61 additions & 1635 deletions

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2023
1+
v2025

lib/stripe/resources/account.rb

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,6 @@ class Capabilities < Stripe::StripeObject
214214
attr_reader :payco_payments
215215
# The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
216216
attr_reader :paynow_payments
217-
# The status of the Paypay capability of the account, or whether the account can directly process Paypay payments.
218-
attr_reader :paypay_payments
219217
# The status of the pix payments capability of the account, or whether the account can directly process pix charges.
220218
attr_reader :pix_payments
221219
# The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
@@ -1491,15 +1489,6 @@ def initialize(requested: nil)
14911489
end
14921490
end
14931491

1494-
class PaypayPayments < Stripe::RequestParams
1495-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1496-
attr_accessor :requested
1497-
1498-
def initialize(requested: nil)
1499-
@requested = requested
1500-
end
1501-
end
1502-
15031492
class PixPayments < Stripe::RequestParams
15041493
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
15051494
attr_accessor :requested
@@ -1738,8 +1727,6 @@ def initialize(requested: nil)
17381727
attr_accessor :payco_payments
17391728
# The paynow_payments capability.
17401729
attr_accessor :paynow_payments
1741-
# The paypay_payments capability.
1742-
attr_accessor :paypay_payments
17431730
# The pix_payments capability.
17441731
attr_accessor :pix_payments
17451732
# The promptpay_payments capability.
@@ -1819,7 +1806,6 @@ def initialize(
18191806
pay_by_bank_payments: nil,
18201807
payco_payments: nil,
18211808
paynow_payments: nil,
1822-
paypay_payments: nil,
18231809
pix_payments: nil,
18241810
promptpay_payments: nil,
18251811
revolut_pay_payments: nil,
@@ -1881,7 +1867,6 @@ def initialize(
18811867
@pay_by_bank_payments = pay_by_bank_payments
18821868
@payco_payments = payco_payments
18831869
@paynow_payments = paynow_payments
1884-
@paypay_payments = paypay_payments
18851870
@pix_payments = pix_payments
18861871
@promptpay_payments = promptpay_payments
18871872
@revolut_pay_payments = revolut_pay_payments
@@ -3568,15 +3553,6 @@ def initialize(requested: nil)
35683553
end
35693554
end
35703555

3571-
class PaypayPayments < Stripe::RequestParams
3572-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3573-
attr_accessor :requested
3574-
3575-
def initialize(requested: nil)
3576-
@requested = requested
3577-
end
3578-
end
3579-
35803556
class PixPayments < Stripe::RequestParams
35813557
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
35823558
attr_accessor :requested
@@ -3815,8 +3791,6 @@ def initialize(requested: nil)
38153791
attr_accessor :payco_payments
38163792
# The paynow_payments capability.
38173793
attr_accessor :paynow_payments
3818-
# The paypay_payments capability.
3819-
attr_accessor :paypay_payments
38203794
# The pix_payments capability.
38213795
attr_accessor :pix_payments
38223796
# The promptpay_payments capability.
@@ -3896,7 +3870,6 @@ def initialize(
38963870
pay_by_bank_payments: nil,
38973871
payco_payments: nil,
38983872
paynow_payments: nil,
3899-
paypay_payments: nil,
39003873
pix_payments: nil,
39013874
promptpay_payments: nil,
39023875
revolut_pay_payments: nil,
@@ -3958,7 +3931,6 @@ def initialize(
39583931
@pay_by_bank_payments = pay_by_bank_payments
39593932
@payco_payments = payco_payments
39603933
@paynow_payments = paynow_payments
3961-
@paypay_payments = paypay_payments
39623934
@pix_payments = pix_payments
39633935
@promptpay_payments = promptpay_payments
39643936
@revolut_pay_payments = revolut_pay_payments

lib/stripe/resources/charge.rb

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1571,16 +1571,6 @@ def self.field_remappings
15711571
end
15721572
end
15731573

1574-
class Paypay < Stripe::StripeObject
1575-
def self.inner_class_types
1576-
@inner_class_types = {}
1577-
end
1578-
1579-
def self.field_remappings
1580-
@field_remappings = {}
1581-
end
1582-
end
1583-
15841574
class Pix < Stripe::StripeObject
15851575
# Unique transaction id generated by BCB
15861576
attr_reader :bank_transaction_id
@@ -1941,8 +1931,6 @@ def self.field_remappings
19411931
attr_reader :paynow
19421932
# Attribute for field paypal
19431933
attr_reader :paypal
1944-
# Attribute for field paypay
1945-
attr_reader :paypay
19461934
# Attribute for field pix
19471935
attr_reader :pix
19481936
# Attribute for field promptpay
@@ -2021,7 +2009,6 @@ def self.inner_class_types
20212009
payco: Payco,
20222010
paynow: Paynow,
20232011
paypal: Paypal,
2024-
paypay: Paypay,
20252012
pix: Pix,
20262013
promptpay: Promptpay,
20272014
revolut_pay: RevolutPay,

lib/stripe/resources/confirmation_token.rb

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1230,16 +1230,6 @@ def self.field_remappings
12301230
end
12311231
end
12321232

1233-
class Paypay < Stripe::StripeObject
1234-
def self.inner_class_types
1235-
@inner_class_types = {}
1236-
end
1237-
1238-
def self.field_remappings
1239-
@field_remappings = {}
1240-
end
1241-
end
1242-
12431233
class Pix < Stripe::StripeObject
12441234
def self.inner_class_types
12451235
@inner_class_types = {}
@@ -1533,8 +1523,6 @@ def self.field_remappings
15331523
attr_reader :paynow
15341524
# Attribute for field paypal
15351525
attr_reader :paypal
1536-
# Attribute for field paypay
1537-
attr_reader :paypay
15381526
# Attribute for field pix
15391527
attr_reader :pix
15401528
# Attribute for field promptpay
@@ -1604,7 +1592,6 @@ def self.inner_class_types
16041592
payco: Payco,
16051593
paynow: Paynow,
16061594
paypal: Paypal,
1607-
paypay: Paypay,
16081595
pix: Pix,
16091596
promptpay: Promptpay,
16101597
revolut_pay: RevolutPay,
@@ -1901,7 +1888,6 @@ class PayByBank < Stripe::RequestParams; end
19011888
class Payco < Stripe::RequestParams; end
19021889
class Paynow < Stripe::RequestParams; end
19031890
class Paypal < Stripe::RequestParams; end
1904-
class Paypay < Stripe::RequestParams; end
19051891
class Pix < Stripe::RequestParams; end
19061892
class Promptpay < Stripe::RequestParams; end
19071893

@@ -2048,8 +2034,6 @@ class Zip < Stripe::RequestParams; end
20482034
attr_accessor :paynow
20492035
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
20502036
attr_accessor :paypal
2051-
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
2052-
attr_accessor :paypay
20532037
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
20542038
attr_accessor :pix
20552039
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
@@ -2120,7 +2104,6 @@ def initialize(
21202104
payco: nil,
21212105
paynow: nil,
21222106
paypal: nil,
2123-
paypay: nil,
21242107
pix: nil,
21252108
promptpay: nil,
21262109
radar_options: nil,
@@ -2176,7 +2159,6 @@ def initialize(
21762159
@payco = payco
21772160
@paynow = paynow
21782161
@paypal = paypal
2179-
@paypay = paypay
21802162
@pix = pix
21812163
@promptpay = promptpay
21822164
@radar_options = radar_options

0 commit comments

Comments
 (0)