stripe 19.2.0.pre.alpha.5 → 19.2.0.pre.alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/object_types.rb +1 -0
  3. data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +2 -2
  4. data/lib/stripe/params/issuing/dispute_close_params.rb +18 -0
  5. data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_dispute_response_params.rb +26 -0
  6. data/lib/stripe/params/payment_attempt_record_report_canceled_params.rb +4 -1
  7. data/lib/stripe/params/payment_attempt_record_report_failed_params.rb +4 -0
  8. data/lib/stripe/params/payment_intent_confirm_params.rb +4 -1
  9. data/lib/stripe/params/payment_intent_create_params.rb +4 -1
  10. data/lib/stripe/params/payment_intent_update_params.rb +4 -1
  11. data/lib/stripe/params/payment_location_capability_list_params.rb +16 -0
  12. data/lib/stripe/params/payment_location_capability_retrieve_params.rb +16 -0
  13. data/lib/stripe/params/payment_location_capability_update_params.rb +19 -0
  14. data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +4 -1
  15. data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +4 -0
  16. data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +9 -1
  17. data/lib/stripe/params/payment_record_report_payment_params.rb +9 -1
  18. data/lib/stripe/params/setup_intent_confirm_params.rb +4 -1
  19. data/lib/stripe/params/setup_intent_create_params.rb +4 -1
  20. data/lib/stripe/params/setup_intent_update_params.rb +4 -1
  21. data/lib/stripe/params/subscription_pause_params.rb +1 -1
  22. data/lib/stripe/params/subscription_resume_params.rb +0 -4
  23. data/lib/stripe/params/test_helpers/issuing/dispute_close_params.rb +20 -0
  24. data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_dispute_response_params.rb +28 -0
  25. data/lib/stripe/params.rb +16 -0
  26. data/lib/stripe/resources/invoice_item.rb +1 -34
  27. data/lib/stripe/resources/issuing/authorization.rb +20 -0
  28. data/lib/stripe/resources/issuing/dispute.rb +40 -0
  29. data/lib/stripe/resources/payment_intent.rb +102 -0
  30. data/lib/stripe/resources/payment_location_capability.rb +94 -0
  31. data/lib/stripe/resources/subscription.rb +0 -44
  32. data/lib/stripe/resources.rb +2 -0
  33. data/lib/stripe/services/payment_location_capability_service.rb +39 -0
  34. data/lib/stripe/services/test_helpers/issuing/dispute_service.rb +22 -0
  35. data/lib/stripe/services/v1_services.rb +2 -1
  36. data/lib/stripe/services.rb +2 -0
  37. data/lib/stripe/version.rb +1 -1
  38. data/rbi/stripe.rbi +519 -115
  39. metadata +11 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 95ee283f0316c26f364ee47f286678a0dd69a6da575f0dce8e1157bf59a9853e
4
- data.tar.gz: fa0ed253c22f78014d04b71abcafb439f27f19bdf210a4121395afc64a29134f
3
+ metadata.gz: 7cc235d5a2b5fc67ed6d0728bf33e00efbd6c86df22c584b720e11098bf5ec3d
4
+ data.tar.gz: 37d65bad4cff2c9a7875ecaed536cbdbca590e2748dc959cf422c8688bd730b9
5
5
  SHA512:
6
- metadata.gz: 978e0dbbc72d2792690433c5aef88de7b7b258f2b49987892c766d25d7648bdf36d36c465a64d3df21ac3e5bce96fc9366ad154d9b1377d786543c2530605ce6
7
- data.tar.gz: c523a6a7f7e489113deecc809129e11e5490bcdefa13355a0535d8fe5ec36eea39e90623d14a2085a41734de114b15b06187ed5021b033bca9b03c02db3bcf38
6
+ metadata.gz: 8f17d29aff4d5d81b6db98815cda0dc35a96bbab85fda09a104d315cf1b70f3fb0a9aa3edbbb255422b07a65c66e6a4d7febbd9dee5d215a263124bca106edbb
7
+ data.tar.gz: 4ff61d0a8404bf74bc718b4d62f82a768ee2deba37777f46a9eda0a6110b16ebdcc4c6d307b53547be7e4fd690990e9f58693990df462e44ed80ac07dadfa6d2
@@ -118,6 +118,7 @@ module Stripe
118
118
  PaymentIntentAmountDetailsLineItem.object_name => PaymentIntentAmountDetailsLineItem,
119
119
  PaymentLink.object_name => PaymentLink,
120
120
  PaymentLocation.object_name => PaymentLocation,
121
+ PaymentLocationCapability.object_name => PaymentLocationCapability,
121
122
  PaymentMethod.object_name => PaymentMethod,
122
123
  PaymentMethodBalance.object_name => PaymentMethodBalance,
123
124
  PaymentMethodConfiguration.object_name => PaymentMethodConfiguration,
@@ -5,7 +5,7 @@ module Stripe
5
5
  module DelegatedCheckout
6
6
  class RequestedSessionUpdateParams < ::Stripe::RequestParams
7
7
  class Discounts < ::Stripe::RequestParams
8
- # Array of discount codes to apply.
8
+ # Array of discount codes to apply. Pass an empty value to remove all applied discounts.
9
9
  attr_accessor :codes
10
10
  # Whether to enforce strict eligibility for discount codes. Defaults to true. When false, invalid codes are returned in the discounts.invalid array instead of raising an error.
11
11
  attr_accessor :enforce_strict_eligibility
@@ -175,7 +175,7 @@ module Stripe
175
175
  @excluded_payment_method_types = excluded_payment_method_types
176
176
  end
177
177
  end
178
- # The discount codes to apply to this requested session.
178
+ # The discount codes to apply to this requested session. Pass an empty value to remove all applied discounts.
179
179
  attr_accessor :discounts
180
180
  # Specifies which fields in the response should be expanded.
181
181
  attr_accessor :expand
@@ -0,0 +1,18 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Issuing
6
+ class DisputeCloseParams < ::Stripe::RequestParams
7
+ # Specifies which fields in the response should be expanded.
8
+ attr_accessor :expand
9
+ # Whether to close the dispute as `won` or `lost`.
10
+ attr_accessor :status
11
+
12
+ def initialize(expand: nil, status: nil)
13
+ @expand = expand
14
+ @status = status
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,26 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Issuing
6
+ class DisputeSimulateNetworkLifecycleDisputeResponseParams < ::Stripe::RequestParams
7
+ class MerchantEvidenceFiles < ::Stripe::RequestParams
8
+ # How many simulated merchant evidence file tokens to attach (between 1 and 12).
9
+ attr_accessor :number_to_generate
10
+
11
+ def initialize(number_to_generate: nil)
12
+ @number_to_generate = number_to_generate
13
+ end
14
+ end
15
+ # Specifies which fields in the response should be expanded.
16
+ attr_accessor :expand
17
+ # Controls the acquiring merchant's simulated submitted evidence files for the dispute response stage.
18
+ attr_accessor :merchant_evidence_files
19
+
20
+ def initialize(expand: nil, merchant_evidence_files: nil)
21
+ @expand = expand
22
+ @merchant_evidence_files = merchant_evidence_files
23
+ end
24
+ end
25
+ end
26
+ end
@@ -9,11 +9,14 @@ module Stripe
9
9
  attr_accessor :expand
10
10
  # Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
11
11
  attr_accessor :metadata
12
+ # Payment evaluations associated with this reported payment.
13
+ attr_accessor :payment_evaluations
12
14
 
13
- def initialize(canceled_at: nil, expand: nil, metadata: nil)
15
+ def initialize(canceled_at: nil, expand: nil, metadata: nil, payment_evaluations: nil)
14
16
  @canceled_at = canceled_at
15
17
  @expand = expand
16
18
  @metadata = metadata
19
+ @payment_evaluations = payment_evaluations
17
20
  end
18
21
  end
19
22
  end
@@ -30,6 +30,8 @@ module Stripe
30
30
  attr_accessor :failure_code
31
31
  # Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
32
32
  attr_accessor :metadata
33
+ # Payment evaluations associated with this reported payment.
34
+ attr_accessor :payment_evaluations
33
35
  # Processor information for this payment.
34
36
  attr_accessor :processor_details
35
37
 
@@ -38,12 +40,14 @@ module Stripe
38
40
  failed_at: nil,
39
41
  failure_code: nil,
40
42
  metadata: nil,
43
+ payment_evaluations: nil,
41
44
  processor_details: nil
42
45
  )
43
46
  @expand = expand
44
47
  @failed_at = failed_at
45
48
  @failure_code = failure_code
46
49
  @metadata = metadata
50
+ @payment_evaluations = payment_evaluations
47
51
  @processor_details = processor_details
48
52
  end
49
53
  end
@@ -297,10 +297,13 @@ module Stripe
297
297
  class PaymentDetails < ::Stripe::RequestParams
298
298
  class Benefit < ::Stripe::RequestParams
299
299
  class FrMealVoucher < ::Stripe::RequestParams
300
+ # Whether to enable meal voucher benefit for this payment.
301
+ attr_accessor :enabled
300
302
  # The 14-digit SIRET of the meal voucher acceptor.
301
303
  attr_accessor :siret
302
304
 
303
- def initialize(siret: nil)
305
+ def initialize(enabled: nil, siret: nil)
306
+ @enabled = enabled
304
307
  @siret = siret
305
308
  end
306
309
  end
@@ -311,10 +311,13 @@ module Stripe
311
311
  class PaymentDetails < ::Stripe::RequestParams
312
312
  class Benefit < ::Stripe::RequestParams
313
313
  class FrMealVoucher < ::Stripe::RequestParams
314
+ # Whether to enable meal voucher benefit for this payment.
315
+ attr_accessor :enabled
314
316
  # The 14-digit SIRET of the meal voucher acceptor.
315
317
  attr_accessor :siret
316
318
 
317
- def initialize(siret: nil)
319
+ def initialize(enabled: nil, siret: nil)
320
+ @enabled = enabled
318
321
  @siret = siret
319
322
  end
320
323
  end
@@ -289,10 +289,13 @@ module Stripe
289
289
  class PaymentDetails < ::Stripe::RequestParams
290
290
  class Benefit < ::Stripe::RequestParams
291
291
  class FrMealVoucher < ::Stripe::RequestParams
292
+ # Whether to enable meal voucher benefit for this payment.
293
+ attr_accessor :enabled
292
294
  # The 14-digit SIRET of the meal voucher acceptor.
293
295
  attr_accessor :siret
294
296
 
295
- def initialize(siret: nil)
297
+ def initialize(enabled: nil, siret: nil)
298
+ @enabled = enabled
296
299
  @siret = siret
297
300
  end
298
301
  end
@@ -0,0 +1,16 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ class PaymentLocationCapabilityListParams < ::Stripe::RequestParams
6
+ # Specifies which fields in the response should be expanded.
7
+ attr_accessor :expand
8
+ # The location for which the capabilities enable functionality.
9
+ attr_accessor :location
10
+
11
+ def initialize(expand: nil, location: nil)
12
+ @expand = expand
13
+ @location = location
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,16 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ class PaymentLocationCapabilityRetrieveParams < ::Stripe::RequestParams
6
+ # Specifies which fields in the response should be expanded.
7
+ attr_accessor :expand
8
+ # The payment location for which the capability enables functionality.
9
+ attr_accessor :location
10
+
11
+ def initialize(expand: nil, location: nil)
12
+ @expand = expand
13
+ @location = location
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,19 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ class PaymentLocationCapabilityUpdateParams < ::Stripe::RequestParams
6
+ # Specifies which fields in the response should be expanded.
7
+ attr_accessor :expand
8
+ # The location for which the capability enables functionality.
9
+ attr_accessor :location
10
+ # To request a new capability for the location, set this to `true`. You can remove it from the location by passing `false`.
11
+ attr_accessor :requested
12
+
13
+ def initialize(expand: nil, location: nil, requested: nil)
14
+ @expand = expand
15
+ @location = location
16
+ @requested = requested
17
+ end
18
+ end
19
+ end
@@ -9,11 +9,14 @@ module Stripe
9
9
  attr_accessor :expand
10
10
  # Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
11
11
  attr_accessor :metadata
12
+ # Payment evaluations associated with this reported payment.
13
+ attr_accessor :payment_evaluations
12
14
 
13
- def initialize(canceled_at: nil, expand: nil, metadata: nil)
15
+ def initialize(canceled_at: nil, expand: nil, metadata: nil, payment_evaluations: nil)
14
16
  @canceled_at = canceled_at
15
17
  @expand = expand
16
18
  @metadata = metadata
19
+ @payment_evaluations = payment_evaluations
17
20
  end
18
21
  end
19
22
  end
@@ -30,6 +30,8 @@ module Stripe
30
30
  attr_accessor :failure_code
31
31
  # Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
32
32
  attr_accessor :metadata
33
+ # Payment evaluations associated with this reported payment.
34
+ attr_accessor :payment_evaluations
33
35
  # Processor information for this payment.
34
36
  attr_accessor :processor_details
35
37
 
@@ -38,12 +40,14 @@ module Stripe
38
40
  failed_at: nil,
39
41
  failure_code: nil,
40
42
  metadata: nil,
43
+ payment_evaluations: nil,
41
44
  processor_details: nil
42
45
  )
43
46
  @expand = expand
44
47
  @failed_at = failed_at
45
48
  @failure_code = failure_code
46
49
  @metadata = metadata
50
+ @payment_evaluations = payment_evaluations
47
51
  @processor_details = processor_details
48
52
  end
49
53
  end
@@ -27,12 +27,20 @@ module Stripe
27
27
  attr_accessor :failed_at
28
28
  # The failure code for this payment attempt. Must be one of `payment_method_customer_decline` or `payment_method_provider_unknown_outcome`.
29
29
  attr_accessor :failure_code
30
+ # Payment evaluations associated with this reported payment.
31
+ attr_accessor :payment_evaluations
30
32
  # Processor information for this payment.
31
33
  attr_accessor :processor_details
32
34
 
33
- def initialize(failed_at: nil, failure_code: nil, processor_details: nil)
35
+ def initialize(
36
+ failed_at: nil,
37
+ failure_code: nil,
38
+ payment_evaluations: nil,
39
+ processor_details: nil
40
+ )
34
41
  @failed_at = failed_at
35
42
  @failure_code = failure_code
43
+ @payment_evaluations = payment_evaluations
36
44
  @processor_details = processor_details
37
45
  end
38
46
  end
@@ -57,12 +57,20 @@ module Stripe
57
57
  attr_accessor :failed_at
58
58
  # The failure code for this payment attempt. Must be one of `payment_method_customer_decline` or `payment_method_provider_unknown_outcome`.
59
59
  attr_accessor :failure_code
60
+ # Payment evaluations associated with this reported payment.
61
+ attr_accessor :payment_evaluations
60
62
  # Processor information for this payment.
61
63
  attr_accessor :processor_details
62
64
 
63
- def initialize(failed_at: nil, failure_code: nil, processor_details: nil)
65
+ def initialize(
66
+ failed_at: nil,
67
+ failure_code: nil,
68
+ payment_evaluations: nil,
69
+ processor_details: nil
70
+ )
64
71
  @failed_at = failed_at
65
72
  @failure_code = failure_code
73
+ @payment_evaluations = payment_evaluations
66
74
  @processor_details = processor_details
67
75
  end
68
76
  end
@@ -1334,10 +1334,13 @@ module Stripe
1334
1334
  class SetupDetails < ::Stripe::RequestParams
1335
1335
  class Benefit < ::Stripe::RequestParams
1336
1336
  class FrMealVoucher < ::Stripe::RequestParams
1337
+ # Whether to enable meal voucher benefit for this setup intent.
1338
+ attr_accessor :enabled
1337
1339
  # The 14-digit SIRET of the meal voucher acceptor.
1338
1340
  attr_accessor :siret
1339
1341
 
1340
- def initialize(siret: nil)
1342
+ def initialize(enabled: nil, siret: nil)
1343
+ @enabled = enabled
1341
1344
  @siret = siret
1342
1345
  end
1343
1346
  end
@@ -1348,10 +1348,13 @@ module Stripe
1348
1348
  class SetupDetails < ::Stripe::RequestParams
1349
1349
  class Benefit < ::Stripe::RequestParams
1350
1350
  class FrMealVoucher < ::Stripe::RequestParams
1351
+ # Whether to enable meal voucher benefit for this setup intent.
1352
+ attr_accessor :enabled
1351
1353
  # The 14-digit SIRET of the meal voucher acceptor.
1352
1354
  attr_accessor :siret
1353
1355
 
1354
- def initialize(siret: nil)
1356
+ def initialize(enabled: nil, siret: nil)
1357
+ @enabled = enabled
1355
1358
  @siret = siret
1356
1359
  end
1357
1360
  end
@@ -1295,10 +1295,13 @@ module Stripe
1295
1295
  class SetupDetails < ::Stripe::RequestParams
1296
1296
  class Benefit < ::Stripe::RequestParams
1297
1297
  class FrMealVoucher < ::Stripe::RequestParams
1298
+ # Whether to enable meal voucher benefit for this setup intent.
1299
+ attr_accessor :enabled
1298
1300
  # The 14-digit SIRET of the meal voucher acceptor.
1299
1301
  attr_accessor :siret
1300
1302
 
1301
- def initialize(siret: nil)
1303
+ def initialize(enabled: nil, siret: nil)
1304
+ @enabled = enabled
1302
1305
  @siret = siret
1303
1306
  end
1304
1307
  end
@@ -37,7 +37,7 @@ module Stripe
37
37
  attr_accessor :expand
38
38
  # Determines how to handle debits and credits when pausing. The default is `pending_invoice_item`.
39
39
  attr_accessor :invoicing_behavior
40
- # The type of pause to apply.
40
+ # The type of pause to apply. Defaults to `subscription`.
41
41
  attr_accessor :type
42
42
 
43
43
  def initialize(bill_for: nil, expand: nil, invoicing_behavior: nil, type: nil)
@@ -7,8 +7,6 @@ module Stripe
7
7
  attr_accessor :billing_cycle_anchor
8
8
  # Specifies which fields in the response should be expanded.
9
9
  attr_accessor :expand
10
- # Controls whether Stripe attempts payment on the resumption invoice in the resume request, and how payment on that invoice affects the subscription's status. The default is `resume_on_payment_attempt`.
11
- attr_accessor :payment_behavior
12
10
  # Determines how to handle [prorations](https://docs.stripe.com/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`.
13
11
  attr_accessor :proration_behavior
14
12
  # 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.
@@ -17,13 +15,11 @@ module Stripe
17
15
  def initialize(
18
16
  billing_cycle_anchor: nil,
19
17
  expand: nil,
20
- payment_behavior: nil,
21
18
  proration_behavior: nil,
22
19
  proration_date: nil
23
20
  )
24
21
  @billing_cycle_anchor = billing_cycle_anchor
25
22
  @expand = expand
26
- @payment_behavior = payment_behavior
27
23
  @proration_behavior = proration_behavior
28
24
  @proration_date = proration_date
29
25
  end
@@ -0,0 +1,20 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module TestHelpers
6
+ module Issuing
7
+ class DisputeCloseParams < ::Stripe::RequestParams
8
+ # Specifies which fields in the response should be expanded.
9
+ attr_accessor :expand
10
+ # Whether to close the dispute as `won` or `lost`.
11
+ attr_accessor :status
12
+
13
+ def initialize(expand: nil, status: nil)
14
+ @expand = expand
15
+ @status = status
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,28 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module TestHelpers
6
+ module Issuing
7
+ class DisputeSimulateNetworkLifecycleDisputeResponseParams < ::Stripe::RequestParams
8
+ class MerchantEvidenceFiles < ::Stripe::RequestParams
9
+ # How many simulated merchant evidence file tokens to attach (between 1 and 12).
10
+ attr_accessor :number_to_generate
11
+
12
+ def initialize(number_to_generate: nil)
13
+ @number_to_generate = number_to_generate
14
+ end
15
+ end
16
+ # Specifies which fields in the response should be expanded.
17
+ attr_accessor :expand
18
+ # Controls the acquiring merchant's simulated submitted evidence files for the dispute response stage.
19
+ attr_accessor :merchant_evidence_files
20
+
21
+ def initialize(expand: nil, merchant_evidence_files: nil)
22
+ @expand = expand
23
+ @merchant_evidence_files = merchant_evidence_files
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
data/lib/stripe/params.rb CHANGED
@@ -208,6 +208,9 @@ module Stripe
208
208
  autoload :PaymentLinkListParams, "stripe/params/payment_link_list_params"
209
209
  autoload :PaymentLinkRetrieveParams, "stripe/params/payment_link_retrieve_params"
210
210
  autoload :PaymentLinkUpdateParams, "stripe/params/payment_link_update_params"
211
+ autoload :PaymentLocationCapabilityListParams, "stripe/params/payment_location_capability_list_params"
212
+ autoload :PaymentLocationCapabilityRetrieveParams, "stripe/params/payment_location_capability_retrieve_params"
213
+ autoload :PaymentLocationCapabilityUpdateParams, "stripe/params/payment_location_capability_update_params"
211
214
  autoload :PaymentLocationCreateParams, "stripe/params/payment_location_create_params"
212
215
  autoload :PaymentLocationDeleteParams, "stripe/params/payment_location_delete_params"
213
216
  autoload :PaymentLocationListParams, "stripe/params/payment_location_list_params"
@@ -546,11 +549,14 @@ module Stripe
546
549
  autoload :CreditUnderwritingRecordReportDecisionParams,
547
550
  "stripe/params/issuing/credit_underwriting_record_report_decision_params"
548
551
  autoload :CreditUnderwritingRecordRetrieveParams, "stripe/params/issuing/credit_underwriting_record_retrieve_params"
552
+ autoload :DisputeCloseParams, "stripe/params/issuing/dispute_close_params"
549
553
  autoload :DisputeCreateParams, "stripe/params/issuing/dispute_create_params"
550
554
  autoload :DisputeListParams, "stripe/params/issuing/dispute_list_params"
551
555
  autoload :DisputeRetrieveParams, "stripe/params/issuing/dispute_retrieve_params"
552
556
  autoload :DisputeSettlementDetailListParams, "stripe/params/issuing/dispute_settlement_detail_list_params"
553
557
  autoload :DisputeSettlementDetailRetrieveParams, "stripe/params/issuing/dispute_settlement_detail_retrieve_params"
558
+ autoload :DisputeSimulateNetworkLifecycleDisputeResponseParams,
559
+ "stripe/params/issuing/dispute_simulate_network_lifecycle_dispute_response_params"
554
560
  autoload :DisputeSimulateNetworkLifecyclePreArbitrationResponseParams,
555
561
  "stripe/params/issuing/dispute_simulate_network_lifecycle_pre_arbitration_response_params"
556
562
  autoload :DisputeSimulateNetworkLifecyclePreArbitrationSubmissionParams,
@@ -742,6 +748,9 @@ module Stripe
742
748
  autoload :CardReturnCardParams, "stripe/params/test_helpers/issuing/card_return_card_params"
743
749
  autoload :CardShipCardParams, "stripe/params/test_helpers/issuing/card_ship_card_params"
744
750
  autoload :CardSubmitCardParams, "stripe/params/test_helpers/issuing/card_submit_card_params"
751
+ autoload :DisputeCloseParams, "stripe/params/test_helpers/issuing/dispute_close_params"
752
+ autoload :DisputeSimulateNetworkLifecycleDisputeResponseParams,
753
+ "stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_dispute_response_params"
745
754
  autoload :DisputeSimulateNetworkLifecyclePreArbitrationResponseParams,
746
755
  "stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_pre_arbitration_response_params"
747
756
  autoload :DisputeSimulateNetworkLifecyclePreArbitrationSubmissionParams,
@@ -1513,11 +1522,13 @@ module Stripe
1513
1522
  stripe/params/issuing/credit_underwriting_record_list_params
1514
1523
  stripe/params/issuing/credit_underwriting_record_report_decision_params
1515
1524
  stripe/params/issuing/credit_underwriting_record_retrieve_params
1525
+ stripe/params/issuing/dispute_close_params
1516
1526
  stripe/params/issuing/dispute_create_params
1517
1527
  stripe/params/issuing/dispute_list_params
1518
1528
  stripe/params/issuing/dispute_retrieve_params
1519
1529
  stripe/params/issuing/dispute_settlement_detail_list_params
1520
1530
  stripe/params/issuing/dispute_settlement_detail_retrieve_params
1531
+ stripe/params/issuing/dispute_simulate_network_lifecycle_dispute_response_params
1521
1532
  stripe/params/issuing/dispute_simulate_network_lifecycle_pre_arbitration_response_params
1522
1533
  stripe/params/issuing/dispute_simulate_network_lifecycle_pre_arbitration_submission_params
1523
1534
  stripe/params/issuing/dispute_submit_params
@@ -1589,6 +1600,9 @@ module Stripe
1589
1600
  stripe/params/payment_link_list_params
1590
1601
  stripe/params/payment_link_retrieve_params
1591
1602
  stripe/params/payment_link_update_params
1603
+ stripe/params/payment_location_capability_list_params
1604
+ stripe/params/payment_location_capability_retrieve_params
1605
+ stripe/params/payment_location_capability_update_params
1592
1606
  stripe/params/payment_location_create_params
1593
1607
  stripe/params/payment_location_delete_params
1594
1608
  stripe/params/payment_location_list_params
@@ -1840,6 +1854,8 @@ module Stripe
1840
1854
  stripe/params/test_helpers/issuing/card_return_card_params
1841
1855
  stripe/params/test_helpers/issuing/card_ship_card_params
1842
1856
  stripe/params/test_helpers/issuing/card_submit_card_params
1857
+ stripe/params/test_helpers/issuing/dispute_close_params
1858
+ stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_dispute_response_params
1843
1859
  stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_pre_arbitration_response_params
1844
1860
  stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_pre_arbitration_submission_params
1845
1861
  stripe/params/test_helpers/issuing/personalization_design_activate_params
@@ -221,37 +221,6 @@ module Stripe
221
221
  end
222
222
 
223
223
  class ProrationDetails < ::Stripe::StripeObject
224
- class CreditedItems < ::Stripe::StripeObject
225
- class InvoiceLineItems < ::Stripe::StripeObject
226
- # The invoice id for the debited line item(s).
227
- attr_reader :invoice
228
- # IDs of the debited invoice line item(s) on the invoice that correspond to the credit proration.
229
- attr_reader :invoice_line_items
230
-
231
- def self.inner_class_types
232
- @inner_class_types = {}
233
- end
234
-
235
- def self.field_remappings
236
- @field_remappings = {}
237
- end
238
- end
239
- # When `type` is `invoice_item`, the invoice item id for the debited invoice item corresponding to this credit proration.
240
- attr_reader :invoice_item
241
- # Attribute for field invoice_line_items
242
- attr_reader :invoice_line_items
243
- # Whether the credit references a pending invoice item or one or more invoice line items on an invoice.
244
- attr_reader :type
245
-
246
- def self.inner_class_types
247
- @inner_class_types = { invoice_line_items: InvoiceLineItems }
248
- end
249
-
250
- def self.field_remappings
251
- @field_remappings = {}
252
- end
253
- end
254
-
255
224
  class DiscountAmount < ::Stripe::StripeObject
256
225
  # The amount, in cents (or local equivalent), of the discount.
257
226
  attr_reader :amount
@@ -266,13 +235,11 @@ module Stripe
266
235
  @field_remappings = {}
267
236
  end
268
237
  end
269
- # Attribute for field credited_items
270
- attr_reader :credited_items
271
238
  # Discount amounts applied when the proration was created.
272
239
  attr_reader :discount_amounts
273
240
 
274
241
  def self.inner_class_types
275
- @inner_class_types = { credited_items: CreditedItems, discount_amounts: DiscountAmount }
242
+ @inner_class_types = { discount_amounts: DiscountAmount }
276
243
  end
277
244
 
278
245
  def self.field_remappings
@@ -33,6 +33,23 @@ module Stripe
33
33
  end
34
34
  end
35
35
 
36
+ class BalanceResponse < ::Stripe::StripeObject
37
+ # The cardholder account type affected by this authorization.
38
+ attr_reader :account_type
39
+ # The remaining balance in the cardholder's account after the authorization, in the smallest currency unit.
40
+ attr_reader :amount
41
+ # The currency of the remaining balance in the cardholder's account after the authorization.
42
+ attr_reader :currency
43
+
44
+ def self.inner_class_types
45
+ @inner_class_types = {}
46
+ end
47
+
48
+ def self.field_remappings
49
+ @field_remappings = {}
50
+ end
51
+ end
52
+
36
53
  class CryptoTransaction < ::Stripe::StripeObject
37
54
  class CryptoTransactionConfirmed < ::Stripe::StripeObject
38
55
  class Fee < ::Stripe::StripeObject
@@ -677,6 +694,8 @@ module Stripe
677
694
  attr_reader :approved
678
695
  # How the card details were provided.
679
696
  attr_reader :authorization_method
697
+ # Attribute for field balance_response
698
+ attr_reader :balance_response
680
699
  # List of balance transactions associated with this authorization.
681
700
  attr_reader :balance_transactions
682
701
  # You can [create physical or virtual cards](https://docs.stripe.com/issuing) that are issued to cardholders.
@@ -954,6 +973,7 @@ module Stripe
954
973
  def self.inner_class_types
955
974
  @inner_class_types = {
956
975
  amount_details: AmountDetails,
976
+ balance_response: BalanceResponse,
957
977
  crypto_transactions: CryptoTransaction,
958
978
  fleet: Fleet,
959
979
  fraud_challenges: FraudChallenge,