Skip to content

Commit 00b7716

Browse files
Update generated code for v1481
1 parent 6687488 commit 00b7716

File tree

13 files changed

+523
-111
lines changed

13 files changed

+523
-111
lines changed

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1479
1+
v1481

lib/stripe/resources/checkout/session.rb

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,8 @@ class MandateOptions < Stripe::StripeObject
354354
#
355355
# 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).
356356
attr_reader :setup_future_usage
357+
# Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
358+
attr_reader :target_date
357359
# Bank account verification method.
358360
attr_reader :verification_method
359361
end
@@ -411,6 +413,8 @@ class AuBecsDebit < Stripe::StripeObject
411413
#
412414
# 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).
413415
attr_reader :setup_future_usage
416+
# Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
417+
attr_reader :target_date
414418
end
415419

416420
class BacsDebit < Stripe::StripeObject
@@ -428,6 +432,8 @@ class MandateOptions < Stripe::StripeObject
428432
#
429433
# 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).
430434
attr_reader :setup_future_usage
435+
# Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
436+
attr_reader :target_date
431437
end
432438

433439
class Bancontact < Stripe::StripeObject
@@ -801,6 +807,8 @@ class MandateOptions < Stripe::StripeObject
801807
#
802808
# 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).
803809
attr_reader :setup_future_usage
810+
# Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
811+
attr_reader :target_date
804812
end
805813

806814
class Sofort < Stripe::StripeObject
@@ -853,6 +861,8 @@ class ManualEntry < Stripe::StripeObject
853861
#
854862
# 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).
855863
attr_reader :setup_future_usage
864+
# Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
865+
attr_reader :target_date
856866
# Bank account verification method.
857867
attr_reader :verification_method
858868
end
@@ -1818,18 +1828,22 @@ def initialize(
18181828
#
18191829
# 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).
18201830
attr_accessor :setup_future_usage
1831+
# Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
1832+
attr_accessor :target_date
18211833
# Verification method for the intent
18221834
attr_accessor :verification_method
18231835

18241836
def initialize(
18251837
currency: nil,
18261838
mandate_options: nil,
18271839
setup_future_usage: nil,
1840+
target_date: nil,
18281841
verification_method: nil
18291842
)
18301843
@currency = currency
18311844
@mandate_options = mandate_options
18321845
@setup_future_usage = setup_future_usage
1846+
@target_date = target_date
18331847
@verification_method = verification_method
18341848
end
18351849
end
@@ -1903,9 +1917,12 @@ class AuBecsDebit < Stripe::RequestParams
19031917
#
19041918
# 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).
19051919
attr_accessor :setup_future_usage
1920+
# Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
1921+
attr_accessor :target_date
19061922

1907-
def initialize(setup_future_usage: nil)
1923+
def initialize(setup_future_usage: nil, target_date: nil)
19081924
@setup_future_usage = setup_future_usage
1925+
@target_date = target_date
19091926
end
19101927
end
19111928

@@ -1928,10 +1945,13 @@ def initialize(reference_prefix: nil)
19281945
#
19291946
# 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).
19301947
attr_accessor :setup_future_usage
1948+
# Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
1949+
attr_accessor :target_date
19311950

1932-
def initialize(mandate_options: nil, setup_future_usage: nil)
1951+
def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil)
19331952
@mandate_options = mandate_options
19341953
@setup_future_usage = setup_future_usage
1954+
@target_date = target_date
19351955
end
19361956
end
19371957

@@ -2520,10 +2540,13 @@ def initialize(reference_prefix: nil)
25202540
#
25212541
# 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).
25222542
attr_accessor :setup_future_usage
2543+
# Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
2544+
attr_accessor :target_date
25232545

2524-
def initialize(mandate_options: nil, setup_future_usage: nil)
2546+
def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil)
25252547
@mandate_options = mandate_options
25262548
@setup_future_usage = setup_future_usage
2549+
@target_date = target_date
25272550
end
25282551
end
25292552

@@ -2573,16 +2596,20 @@ def initialize(permissions: nil, prefetch: nil)
25732596
#
25742597
# 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).
25752598
attr_accessor :setup_future_usage
2599+
# Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
2600+
attr_accessor :target_date
25762601
# Verification method for the intent
25772602
attr_accessor :verification_method
25782603

25792604
def initialize(
25802605
financial_connections: nil,
25812606
setup_future_usage: nil,
2607+
target_date: nil,
25822608
verification_method: nil
25832609
)
25842610
@financial_connections = financial_connections
25852611
@setup_future_usage = setup_future_usage
2612+
@target_date = target_date
25862613
@verification_method = verification_method
25872614
end
25882615
end

lib/stripe/resources/order.rb

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ class MandateOptions < Stripe::StripeObject
9393
#
9494
# 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).
9595
attr_reader :setup_future_usage
96+
# Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
97+
attr_reader :target_date
9698
# Bank account verification method.
9799
attr_reader :verification_method
98100
end
@@ -305,6 +307,8 @@ class MandateOptions < Stripe::StripeObject
305307
#
306308
# 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).
307309
attr_reader :setup_future_usage
310+
# Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
311+
attr_reader :target_date
308312
end
309313

310314
class Sofort < Stripe::StripeObject
@@ -804,16 +808,20 @@ def initialize(
804808
#
805809
# 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`.
806810
attr_accessor :setup_future_usage
811+
# Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
812+
attr_accessor :target_date
807813
# Bank account verification method.
808814
attr_accessor :verification_method
809815

810816
def initialize(
811817
mandate_options: nil,
812818
setup_future_usage: nil,
819+
target_date: nil,
813820
verification_method: nil
814821
)
815822
@mandate_options = mandate_options
816823
@setup_future_usage = setup_future_usage
824+
@target_date = target_date
817825
@verification_method = verification_method
818826
end
819827
end
@@ -1173,10 +1181,13 @@ def initialize(reference_prefix: nil)
11731181
#
11741182
# 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`.
11751183
attr_accessor :setup_future_usage
1184+
# Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
1185+
attr_accessor :target_date
11761186

1177-
def initialize(mandate_options: nil, setup_future_usage: nil)
1187+
def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil)
11781188
@mandate_options = mandate_options
11791189
@setup_future_usage = setup_future_usage
1190+
@target_date = target_date
11801191
end
11811192
end
11821193

@@ -1870,16 +1881,20 @@ def initialize(
18701881
#
18711882
# 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`.
18721883
attr_accessor :setup_future_usage
1884+
# Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
1885+
attr_accessor :target_date
18731886
# Bank account verification method.
18741887
attr_accessor :verification_method
18751888

18761889
def initialize(
18771890
mandate_options: nil,
18781891
setup_future_usage: nil,
1892+
target_date: nil,
18791893
verification_method: nil
18801894
)
18811895
@mandate_options = mandate_options
18821896
@setup_future_usage = setup_future_usage
1897+
@target_date = target_date
18831898
@verification_method = verification_method
18841899
end
18851900
end
@@ -2239,10 +2254,13 @@ def initialize(reference_prefix: nil)
22392254
#
22402255
# 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`.
22412256
attr_accessor :setup_future_usage
2257+
# Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
2258+
attr_accessor :target_date
22422259

2243-
def initialize(mandate_options: nil, setup_future_usage: nil)
2260+
def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil)
22442261
@mandate_options = mandate_options
22452262
@setup_future_usage = setup_future_usage
2263+
@target_date = target_date
22462264
end
22472265
end
22482266

0 commit comments

Comments
 (0)