stripe 13.4.0.pre.beta.4 → 13.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (744) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +653 -1422
  3. data/CONTRIBUTING.md +25 -0
  4. data/OPENAPI_VERSION +1 -1
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_operations/request.rb +0 -1
  7. data/lib/stripe/api_requestor.rb +0 -1
  8. data/lib/stripe/object_types.rb +0 -32
  9. data/lib/stripe/resources/account.rb +0 -5163
  10. data/lib/stripe/resources/account_link.rb +0 -54
  11. data/lib/stripe/resources/account_session.rb +0 -967
  12. data/lib/stripe/resources/apple_pay_domain.rb +0 -63
  13. data/lib/stripe/resources/application_fee.rb +0 -96
  14. data/lib/stripe/resources/application_fee_refund.rb +0 -17
  15. data/lib/stripe/resources/apps/secret.rb +0 -141
  16. data/lib/stripe/resources/balance.rb +0 -131
  17. data/lib/stripe/resources/balance_transaction.rb +0 -112
  18. data/lib/stripe/resources/bank_account.rb +2 -84
  19. data/lib/stripe/resources/billing/alert.rb +0 -144
  20. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -77
  21. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -116
  22. data/lib/stripe/resources/billing/credit_grant.rb +0 -203
  23. data/lib/stripe/resources/billing/meter.rb +0 -178
  24. data/lib/stripe/resources/billing/meter_event.rb +0 -35
  25. data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -43
  26. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -15
  27. data/lib/stripe/resources/billing_portal/configuration.rb +0 -562
  28. data/lib/stripe/resources/billing_portal/session.rb +0 -271
  29. data/lib/stripe/resources/capability.rb +0 -84
  30. data/lib/stripe/resources/card.rb +0 -79
  31. data/lib/stripe/resources/cash_balance.rb +0 -17
  32. data/lib/stripe/resources/charge.rb +0 -3030
  33. data/lib/stripe/resources/checkout/session.rb +0 -3670
  34. data/lib/stripe/resources/climate/order.rb +0 -176
  35. data/lib/stripe/resources/climate/product.rb +0 -56
  36. data/lib/stripe/resources/climate/supplier.rb +0 -54
  37. data/lib/stripe/resources/confirmation_token.rb +0 -1530
  38. data/lib/stripe/resources/country_spec.rb +0 -63
  39. data/lib/stripe/resources/coupon.rb +0 -198
  40. data/lib/stripe/resources/credit_note.rb +0 -660
  41. data/lib/stripe/resources/credit_note_line_item.rb +0 -65
  42. data/lib/stripe/resources/customer.rb +0 -840
  43. data/lib/stripe/resources/customer_balance_transaction.rb +0 -27
  44. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -109
  45. data/lib/stripe/resources/customer_session.rb +0 -159
  46. data/lib/stripe/resources/discount.rb +0 -29
  47. data/lib/stripe/resources/dispute.rb +0 -619
  48. data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -46
  49. data/lib/stripe/resources/entitlements/feature.rb +0 -90
  50. data/lib/stripe/resources/ephemeral_key.rb +0 -21
  51. data/lib/stripe/resources/event.rb +0 -130
  52. data/lib/stripe/resources/exchange_rate.rb +0 -33
  53. data/lib/stripe/resources/file.rb +0 -111
  54. data/lib/stripe/resources/file_link.rb +0 -112
  55. data/lib/stripe/resources/financial_connections/account.rb +0 -260
  56. data/lib/stripe/resources/financial_connections/account_owner.rb +0 -17
  57. data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -9
  58. data/lib/stripe/resources/financial_connections/session.rb +0 -159
  59. data/lib/stripe/resources/financial_connections/transaction.rb +0 -101
  60. data/lib/stripe/resources/forwarding/request.rb +0 -165
  61. data/lib/stripe/resources/funding_instructions.rb +0 -308
  62. data/lib/stripe/resources/identity/verification_report.rb +0 -266
  63. data/lib/stripe/resources/identity/verification_session.rb +0 -361
  64. data/lib/stripe/resources/invoice.rb +0 -8078
  65. data/lib/stripe/resources/invoice_item.rb +0 -445
  66. data/lib/stripe/resources/invoice_line_item.rb +0 -333
  67. data/lib/stripe/resources/invoice_rendering_template.rb +0 -67
  68. data/lib/stripe/resources/issuing/authorization.rb +0 -1113
  69. data/lib/stripe/resources/issuing/card.rb +0 -666
  70. data/lib/stripe/resources/issuing/cardholder.rb +0 -658
  71. data/lib/stripe/resources/issuing/dispute.rb +0 -790
  72. data/lib/stripe/resources/issuing/personalization_design.rb +0 -285
  73. data/lib/stripe/resources/issuing/physical_bundle.rb +0 -63
  74. data/lib/stripe/resources/issuing/token.rb +0 -175
  75. data/lib/stripe/resources/issuing/transaction.rb +0 -927
  76. data/lib/stripe/resources/line_item.rb +0 -75
  77. data/lib/stripe/resources/login_link.rb +0 -7
  78. data/lib/stripe/resources/mandate.rb +0 -169
  79. data/lib/stripe/resources/payment_intent.rb +0 -12910
  80. data/lib/stripe/resources/payment_link.rb +0 -1563
  81. data/lib/stripe/resources/payment_method.rb +0 -1655
  82. data/lib/stripe/resources/payment_method_configuration.rb +0 -2903
  83. data/lib/stripe/resources/payment_method_domain.rb +0 -153
  84. data/lib/stripe/resources/payout.rb +0 -218
  85. data/lib/stripe/resources/person.rb +0 -263
  86. data/lib/stripe/resources/plan.rb +0 -317
  87. data/lib/stripe/resources/price.rb +0 -649
  88. data/lib/stripe/resources/product.rb +0 -536
  89. data/lib/stripe/resources/product_feature.rb +0 -12
  90. data/lib/stripe/resources/promotion_code.rb +0 -221
  91. data/lib/stripe/resources/quote.rb +0 -2946
  92. data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -77
  93. data/lib/stripe/resources/radar/value_list.rb +0 -125
  94. data/lib/stripe/resources/radar/value_list_item.rb +0 -95
  95. data/lib/stripe/resources/refund.rb +0 -397
  96. data/lib/stripe/resources/reporting/report_run.rb +0 -150
  97. data/lib/stripe/resources/reporting/report_type.rb +0 -36
  98. data/lib/stripe/resources/reversal.rb +0 -21
  99. data/lib/stripe/resources/review.rb +0 -108
  100. data/lib/stripe/resources/setup_attempt.rb +0 -373
  101. data/lib/stripe/resources/setup_intent.rb +0 -3855
  102. data/lib/stripe/resources/shipping_rate.rb +0 -259
  103. data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -54
  104. data/lib/stripe/resources/source.rb +0 -1239
  105. data/lib/stripe/resources/source_transaction.rb +0 -85
  106. data/lib/stripe/resources/subscription.rb +0 -2057
  107. data/lib/stripe/resources/subscription_item.rb +0 -433
  108. data/lib/stripe/resources/subscription_schedule.rb +0 -2402
  109. data/lib/stripe/resources/tax/calculation.rb +0 -387
  110. data/lib/stripe/resources/tax/calculation_line_item.rb +0 -56
  111. data/lib/stripe/resources/tax/registration.rb +0 -2382
  112. data/lib/stripe/resources/tax/settings.rb +0 -126
  113. data/lib/stripe/resources/tax/transaction.rb +0 -267
  114. data/lib/stripe/resources/tax/transaction_line_item.rb +0 -31
  115. data/lib/stripe/resources/tax_code.rb +0 -35
  116. data/lib/stripe/resources/tax_id.rb +0 -121
  117. data/lib/stripe/resources/tax_rate.rb +0 -200
  118. data/lib/stripe/resources/terminal/configuration.rb +0 -1060
  119. data/lib/stripe/resources/terminal/connection_token.rb +0 -18
  120. data/lib/stripe/resources/terminal/location.rb +0 -175
  121. data/lib/stripe/resources/terminal/reader.rb +0 -774
  122. data/lib/stripe/resources/test_helpers/test_clock.rb +0 -86
  123. data/lib/stripe/resources/token.rb +0 -1168
  124. data/lib/stripe/resources/topup.rb +0 -174
  125. data/lib/stripe/resources/transfer.rb +0 -153
  126. data/lib/stripe/resources/treasury/credit_reversal.rb +0 -92
  127. data/lib/stripe/resources/treasury/debit_reversal.rb +0 -103
  128. data/lib/stripe/resources/treasury/financial_account.rb +0 -752
  129. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -191
  130. data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -235
  131. data/lib/stripe/resources/treasury/outbound_payment.rb +0 -495
  132. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -387
  133. data/lib/stripe/resources/treasury/received_credit.rb +0 -283
  134. data/lib/stripe/resources/treasury/received_debit.rb +0 -244
  135. data/lib/stripe/resources/treasury/transaction.rb +0 -176
  136. data/lib/stripe/resources/treasury/transaction_entry.rb +0 -157
  137. data/lib/stripe/resources/usage_record.rb +0 -13
  138. data/lib/stripe/resources/usage_record_summary.rb +0 -21
  139. data/lib/stripe/resources/v2/billing/meter_event.rb +0 -18
  140. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -21
  141. data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -14
  142. data/lib/stripe/resources/v2/event.rb +0 -27
  143. data/lib/stripe/resources/v2/event_destination.rb +0 -59
  144. data/lib/stripe/resources/webhook_endpoint.rb +0 -122
  145. data/lib/stripe/resources.rb +0 -31
  146. data/lib/stripe/services/account_capability_service.rb +0 -32
  147. data/lib/stripe/services/account_external_account_service.rb +0 -250
  148. data/lib/stripe/services/account_link_service.rb +0 -46
  149. data/lib/stripe/services/account_login_link_service.rb +0 -9
  150. data/lib/stripe/services/account_person_service.rb +0 -875
  151. data/lib/stripe/services/account_service.rb +0 -4441
  152. data/lib/stripe/services/account_session_service.rb +0 -682
  153. data/lib/stripe/services/apple_pay_domain_service.rb +0 -51
  154. data/lib/stripe/services/application_fee_refund_service.rb +0 -54
  155. data/lib/stripe/services/application_fee_service.rb +0 -57
  156. data/lib/stripe/services/apps/secret_service.rb +0 -116
  157. data/lib/stripe/services/balance_service.rb +0 -9
  158. data/lib/stripe/services/balance_transaction_service.rb +0 -69
  159. data/lib/stripe/services/billing/alert_service.rb +0 -113
  160. data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -37
  161. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -40
  162. data/lib/stripe/services/billing/credit_grant_service.rb +0 -151
  163. data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -26
  164. data/lib/stripe/services/billing/meter_event_service.rb +0 -21
  165. data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -39
  166. data/lib/stripe/services/billing/meter_service.rb +0 -130
  167. data/lib/stripe/services/billing_portal/configuration_service.rb +0 -444
  168. data/lib/stripe/services/billing_portal/session_service.rb +0 -173
  169. data/lib/stripe/services/charge_service.rb +0 -1736
  170. data/lib/stripe/services/checkout/session_line_item_service.rb +0 -18
  171. data/lib/stripe/services/checkout/session_service.rb +0 -2472
  172. data/lib/stripe/services/climate/order_service.rb +0 -102
  173. data/lib/stripe/services/climate/product_service.rb +0 -27
  174. data/lib/stripe/services/climate/supplier_service.rb +0 -27
  175. data/lib/stripe/services/confirmation_token_service.rb +0 -9
  176. data/lib/stripe/services/country_spec_service.rb +0 -27
  177. data/lib/stripe/services/coupon_service.rb +0 -152
  178. data/lib/stripe/services/credit_note_line_item_service.rb +0 -18
  179. data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -156
  180. data/lib/stripe/services/credit_note_service.rb +0 -373
  181. data/lib/stripe/services/customer_balance_transaction_service.rb +0 -63
  182. data/lib/stripe/services/customer_cash_balance_service.rb +0 -29
  183. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -27
  184. data/lib/stripe/services/customer_funding_instructions_service.rb +0 -42
  185. data/lib/stripe/services/customer_payment_method_service.rb +0 -40
  186. data/lib/stripe/services/customer_payment_source_service.rb +0 -179
  187. data/lib/stripe/services/customer_service.rb +0 -593
  188. data/lib/stripe/services/customer_session_service.rb +0 -96
  189. data/lib/stripe/services/customer_tax_id_service.rb +0 -45
  190. data/lib/stripe/services/dispute_service.rb +0 -374
  191. data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -36
  192. data/lib/stripe/services/entitlements/feature_service.rb +0 -76
  193. data/lib/stripe/services/ephemeral_key_service.rb +0 -36
  194. data/lib/stripe/services/event_service.rb +0 -65
  195. data/lib/stripe/services/exchange_rate_service.rb +0 -27
  196. data/lib/stripe/services/file_link_service.rb +0 -94
  197. data/lib/stripe/services/file_service.rb +0 -89
  198. data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -27
  199. data/lib/stripe/services/financial_connections/account_service.rb +1 -99
  200. data/lib/stripe/services/financial_connections/session_service.rb +0 -97
  201. data/lib/stripe/services/financial_connections/transaction_service.rb +0 -70
  202. data/lib/stripe/services/financial_connections_service.rb +1 -2
  203. data/lib/stripe/services/forwarding/request_service.rb +0 -106
  204. data/lib/stripe/services/identity/verification_report_service.rb +0 -65
  205. data/lib/stripe/services/identity/verification_session_service.rb +0 -231
  206. data/lib/stripe/services/invoice_item_service.rb +0 -388
  207. data/lib/stripe/services/invoice_line_item_service.rb +0 -237
  208. data/lib/stripe/services/invoice_rendering_template_service.rb +0 -51
  209. data/lib/stripe/services/invoice_service.rb +1 -5567
  210. data/lib/stripe/services/invoice_upcoming_lines_service.rb +0 -1864
  211. data/lib/stripe/services/issuing/authorization_service.rb +0 -104
  212. data/lib/stripe/services/issuing/card_service.rb +0 -455
  213. data/lib/stripe/services/issuing/cardholder_service.rb +0 -526
  214. data/lib/stripe/services/issuing/dispute_service.rb +0 -633
  215. data/lib/stripe/services/issuing/personalization_design_service.rb +0 -193
  216. data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -40
  217. data/lib/stripe/services/issuing/token_service.rb +0 -73
  218. data/lib/stripe/services/issuing/transaction_service.rb +0 -81
  219. data/lib/stripe/services/issuing_service.rb +1 -5
  220. data/lib/stripe/services/mandate_service.rb +0 -9
  221. data/lib/stripe/services/payment_intent_service.rb +0 -10936
  222. data/lib/stripe/services/payment_link_line_item_service.rb +0 -18
  223. data/lib/stripe/services/payment_link_service.rb +0 -1223
  224. data/lib/stripe/services/payment_method_configuration_service.rb +0 -2088
  225. data/lib/stripe/services/payment_method_domain_service.rb +0 -76
  226. data/lib/stripe/services/payment_method_service.rb +0 -878
  227. data/lib/stripe/services/payout_service.rb +0 -159
  228. data/lib/stripe/services/plan_service.rb +0 -253
  229. data/lib/stripe/services/price_service.rb +0 -516
  230. data/lib/stripe/services/product_feature_service.rb +0 -42
  231. data/lib/stripe/services/product_service.rb +0 -459
  232. data/lib/stripe/services/promotion_code_service.rb +0 -178
  233. data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -18
  234. data/lib/stripe/services/quote_line_item_service.rb +0 -18
  235. data/lib/stripe/services/quote_service.rb +1 -2319
  236. data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -61
  237. data/lib/stripe/services/radar/value_list_item_service.rb +0 -79
  238. data/lib/stripe/services/radar/value_list_service.rb +0 -103
  239. data/lib/stripe/services/refund_service.rb +0 -137
  240. data/lib/stripe/services/reporting/report_run_service.rb +0 -106
  241. data/lib/stripe/services/reporting/report_type_service.rb +0 -18
  242. data/lib/stripe/services/review_service.rb +0 -56
  243. data/lib/stripe/services/setup_attempt_service.rb +0 -51
  244. data/lib/stripe/services/setup_intent_service.rb +0 -3497
  245. data/lib/stripe/services/shipping_rate_service.rb +0 -200
  246. data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -27
  247. data/lib/stripe/services/source_service.rb +0 -601
  248. data/lib/stripe/services/source_transaction_service.rb +0 -18
  249. data/lib/stripe/services/subscription_item_service.rb +0 -383
  250. data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -18
  251. data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -18
  252. data/lib/stripe/services/subscription_schedule_service.rb +0 -2053
  253. data/lib/stripe/services/subscription_service.rb +0 -1722
  254. data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -18
  255. data/lib/stripe/services/tax/calculation_service.rb +0 -205
  256. data/lib/stripe/services/tax/registration_service.rb +0 -1564
  257. data/lib/stripe/services/tax/settings_service.rb +0 -74
  258. data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -18
  259. data/lib/stripe/services/tax/transaction_service.rb +0 -111
  260. data/lib/stripe/services/tax_code_service.rb +0 -27
  261. data/lib/stripe/services/tax_id_service.rb +0 -79
  262. data/lib/stripe/services/tax_rate_service.rb +0 -155
  263. data/lib/stripe/services/tax_service.rb +1 -3
  264. data/lib/stripe/services/terminal/configuration_service.rb +0 -831
  265. data/lib/stripe/services/terminal/connection_token_service.rb +0 -12
  266. data/lib/stripe/services/terminal/location_service.rb +0 -144
  267. data/lib/stripe/services/terminal/reader_service.rb +0 -443
  268. data/lib/stripe/services/terminal_service.rb +1 -2
  269. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -680
  270. data/lib/stripe/services/test_helpers/customer_service.rb +0 -18
  271. data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -745
  272. data/lib/stripe/services/test_helpers/issuing/card_service.rb +0 -45
  273. data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -41
  274. data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -632
  275. data/lib/stripe/services/test_helpers/refund_service.rb +0 -9
  276. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -44
  277. data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -57
  278. data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -38
  279. data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -87
  280. data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -87
  281. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -84
  282. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -84
  283. data/lib/stripe/services/token_service.rb +0 -1140
  284. data/lib/stripe/services/topup_service.rb +0 -142
  285. data/lib/stripe/services/transfer_reversal_service.rb +0 -66
  286. data/lib/stripe/services/transfer_service.rb +0 -119
  287. data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -59
  288. data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -63
  289. data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -169
  290. data/lib/stripe/services/treasury/financial_account_service.rb +0 -498
  291. data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -88
  292. data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -258
  293. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -148
  294. data/lib/stripe/services/treasury/received_credit_service.rb +0 -52
  295. data/lib/stripe/services/treasury/received_debit_service.rb +0 -40
  296. data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -87
  297. data/lib/stripe/services/treasury/transaction_service.rb +0 -95
  298. data/lib/stripe/services/v1_services.rb +1 -8
  299. data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -23
  300. data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -25
  301. data/lib/stripe/services/v2/billing/meter_event_session_service.rb +0 -3
  302. data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -33
  303. data/lib/stripe/services/v2/core/event_destination_service.rb +0 -146
  304. data/lib/stripe/services/v2/core/event_service.rb +0 -18
  305. data/lib/stripe/services/webhook_endpoint_service.rb +0 -96
  306. data/lib/stripe/services.rb +0 -25
  307. data/lib/stripe/stripe_client.rb +1 -1
  308. data/lib/stripe/stripe_configuration.rb +1 -3
  309. data/lib/stripe/stripe_object.rb +0 -5
  310. data/lib/stripe/util.rb +1 -7
  311. data/lib/stripe/version.rb +1 -1
  312. data/lib/stripe.rb +0 -46
  313. metadata +5 -435
  314. data/lib/stripe/request_params.rb +0 -24
  315. data/lib/stripe/request_signing_authenticator.rb +0 -79
  316. data/lib/stripe/resources/account_notice.rb +0 -132
  317. data/lib/stripe/resources/application.rb +0 -20
  318. data/lib/stripe/resources/billing/alert_triggered.rb +0 -26
  319. data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
  320. data/lib/stripe/resources/capital/financing_offer.rb +0 -188
  321. data/lib/stripe/resources/capital/financing_summary.rb +0 -64
  322. data/lib/stripe/resources/capital/financing_transaction.rb +0 -123
  323. data/lib/stripe/resources/connect_collection_transfer.rb +0 -24
  324. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -23
  325. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  326. data/lib/stripe/resources/financial_connections/institution.rb +0 -99
  327. data/lib/stripe/resources/gift_cards/card.rb +0 -217
  328. data/lib/stripe/resources/gift_cards/transaction.rb +0 -281
  329. data/lib/stripe/resources/invoice_payment.rb +0 -56
  330. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -611
  331. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -84
  332. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -95
  333. data/lib/stripe/resources/issuing/settlement.rb +0 -49
  334. data/lib/stripe/resources/margin.rb +0 -124
  335. data/lib/stripe/resources/order.rb +0 -2850
  336. data/lib/stripe/resources/payment_attempt_record.rb +0 -184
  337. data/lib/stripe/resources/payment_record.rb +0 -715
  338. data/lib/stripe/resources/quote_line.rb +0 -274
  339. data/lib/stripe/resources/quote_preview_invoice.rb +0 -652
  340. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -362
  341. data/lib/stripe/resources/reserve_transaction.rb +0 -22
  342. data/lib/stripe/resources/source_mandate_notification.rb +0 -66
  343. data/lib/stripe/resources/tax/association.rb +0 -89
  344. data/lib/stripe/resources/tax/form.rb +0 -220
  345. data/lib/stripe/resources/tax_deducted_at_source.rb +0 -22
  346. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -40
  347. data/lib/stripe/resources/v2/amount.rb +0 -9
  348. data/lib/stripe/services/account_notice_service.rb +0 -101
  349. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  350. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  351. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  352. data/lib/stripe/services/capital_service.rb +0 -15
  353. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -37
  354. data/lib/stripe/services/financial_connections/institution_service.rb +0 -57
  355. data/lib/stripe/services/gift_cards/card_service.rb +0 -170
  356. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
  357. data/lib/stripe/services/gift_cards_service.rb +0 -14
  358. data/lib/stripe/services/invoice_payment_service.rb +0 -55
  359. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  360. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  361. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  362. data/lib/stripe/services/margin_service.rb +0 -119
  363. data/lib/stripe/services/order_line_item_service.rb +0 -35
  364. data/lib/stripe/services/order_service.rb +0 -2254
  365. data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
  366. data/lib/stripe/services/payment_record_service.rb +0 -542
  367. data/lib/stripe/services/quote_line_service.rb +0 -35
  368. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -35
  369. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
  370. data/lib/stripe/services/tax/association_service.rb +0 -31
  371. data/lib/stripe/services/tax/form_service.rb +0 -100
  372. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  373. data/rbi/stripe/resources/account.rbi +0 -5185
  374. data/rbi/stripe/resources/account_link.rbi +0 -74
  375. data/rbi/stripe/resources/account_notice.rbi +0 -139
  376. data/rbi/stripe/resources/account_session.rbi +0 -1122
  377. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -97
  378. data/rbi/stripe/resources/application.rbi +0 -20
  379. data/rbi/stripe/resources/application_fee.rbi +0 -123
  380. data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
  381. data/rbi/stripe/resources/apps/secret.rbi +0 -195
  382. data/rbi/stripe/resources/balance.rbi +0 -187
  383. data/rbi/stripe/resources/balance_transaction.rbi +0 -149
  384. data/rbi/stripe/resources/bank_account.rbi +0 -127
  385. data/rbi/stripe/resources/billing/alert.rbi +0 -206
  386. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
  387. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -102
  388. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -154
  389. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -269
  390. data/rbi/stripe/resources/billing/meter.rbi +0 -233
  391. data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -71
  392. data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
  393. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
  394. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -33
  395. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -640
  396. data/rbi/stripe/resources/billing_portal/session.rbi +0 -341
  397. data/rbi/stripe/resources/capability.rbi +0 -125
  398. data/rbi/stripe/resources/capital/financing_offer.rbi +0 -190
  399. data/rbi/stripe/resources/capital/financing_summary.rbi +0 -74
  400. data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -130
  401. data/rbi/stripe/resources/card.rbi +0 -128
  402. data/rbi/stripe/resources/cash_balance.rbi +0 -32
  403. data/rbi/stripe/resources/charge.rbi +0 -3488
  404. data/rbi/stripe/resources/checkout/session.rbi +0 -4015
  405. data/rbi/stripe/resources/climate/order.rbi +0 -250
  406. data/rbi/stripe/resources/climate/product.rbi +0 -82
  407. data/rbi/stripe/resources/climate/supplier.rbi +0 -79
  408. data/rbi/stripe/resources/confirmation_token.rbi +0 -1787
  409. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
  410. data/rbi/stripe/resources/country_spec.rbi +0 -92
  411. data/rbi/stripe/resources/coupon.rbi +0 -257
  412. data/rbi/stripe/resources/credit_note.rbi +0 -759
  413. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -99
  414. data/rbi/stripe/resources/customer.rbi +0 -1001
  415. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -53
  416. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
  417. data/rbi/stripe/resources/customer_session.rbi +0 -196
  418. data/rbi/stripe/resources/discount.rbi +0 -53
  419. data/rbi/stripe/resources/dispute.rbi +0 -764
  420. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -65
  421. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
  422. data/rbi/stripe/resources/entitlements/feature.rbi +0 -124
  423. data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
  424. data/rbi/stripe/resources/event.rbi +0 -190
  425. data/rbi/stripe/resources/exchange_rate.rbi +0 -73
  426. data/rbi/stripe/resources/file.rbi +0 -148
  427. data/rbi/stripe/resources/file_link.rbi +0 -146
  428. data/rbi/stripe/resources/financial_connections/account.rbi +0 -358
  429. data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -27
  430. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
  431. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
  432. data/rbi/stripe/resources/financial_connections/institution.rbi +0 -99
  433. data/rbi/stripe/resources/financial_connections/session.rbi +0 -186
  434. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -127
  435. data/rbi/stripe/resources/forwarding/request.rbi +0 -219
  436. data/rbi/stripe/resources/funding_instructions.rbi +0 -437
  437. data/rbi/stripe/resources/gift_cards/card.rbi +0 -206
  438. data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -257
  439. data/rbi/stripe/resources/identity/verification_report.rbi +0 -354
  440. data/rbi/stripe/resources/identity/verification_session.rbi +0 -518
  441. data/rbi/stripe/resources/invoice.rbi +0 -8928
  442. data/rbi/stripe/resources/invoice_item.rbi +0 -514
  443. data/rbi/stripe/resources/invoice_line_item.rbi +0 -400
  444. data/rbi/stripe/resources/invoice_payment.rbi +0 -70
  445. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -114
  446. data/rbi/stripe/resources/issuing/authorization.rbi +0 -1266
  447. data/rbi/stripe/resources/issuing/card.rbi +0 -738
  448. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -732
  449. data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -622
  450. data/rbi/stripe/resources/issuing/dispute.rbi +0 -900
  451. data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -83
  452. data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -90
  453. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -333
  454. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -86
  455. data/rbi/stripe/resources/issuing/settlement.rbi +0 -62
  456. data/rbi/stripe/resources/issuing/token.rbi +0 -231
  457. data/rbi/stripe/resources/issuing/transaction.rbi +0 -1057
  458. data/rbi/stripe/resources/line_item.rbi +0 -108
  459. data/rbi/stripe/resources/login_link.rbi +0 -18
  460. data/rbi/stripe/resources/mandate.rbi +0 -219
  461. data/rbi/stripe/resources/margin.rbi +0 -127
  462. data/rbi/stripe/resources/order.rbi +0 -3016
  463. data/rbi/stripe/resources/payment_attempt_record.rbi +0 -215
  464. data/rbi/stripe/resources/payment_intent.rbi +0 -13895
  465. data/rbi/stripe/resources/payment_link.rbi +0 -1666
  466. data/rbi/stripe/resources/payment_method.rbi +0 -1926
  467. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3237
  468. data/rbi/stripe/resources/payment_method_domain.rbi +0 -217
  469. data/rbi/stripe/resources/payment_record.rbi +0 -722
  470. data/rbi/stripe/resources/payout.rbi +0 -299
  471. data/rbi/stripe/resources/person.rbi +0 -371
  472. data/rbi/stripe/resources/plan.rbi +0 -385
  473. data/rbi/stripe/resources/price.rbi +0 -731
  474. data/rbi/stripe/resources/product.rbi +0 -615
  475. data/rbi/stripe/resources/product_feature.rbi +0 -26
  476. data/rbi/stripe/resources/promotion_code.rbi +0 -266
  477. data/rbi/stripe/resources/quote.rbi +0 -3186
  478. data/rbi/stripe/resources/quote_line.rbi +0 -350
  479. data/rbi/stripe/resources/quote_preview_invoice.rbi +0 -850
  480. data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -474
  481. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -101
  482. data/rbi/stripe/resources/radar/value_list.rbi +0 -175
  483. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -134
  484. data/rbi/stripe/resources/refund.rbi +0 -515
  485. data/rbi/stripe/resources/reporting/report_run.rbi +0 -194
  486. data/rbi/stripe/resources/reporting/report_type.rbi +0 -64
  487. data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
  488. data/rbi/stripe/resources/reversal.rbi +0 -51
  489. data/rbi/stripe/resources/review.rbi +0 -159
  490. data/rbi/stripe/resources/setup_attempt.rbi +0 -484
  491. data/rbi/stripe/resources/setup_intent.rbi +0 -4062
  492. data/rbi/stripe/resources/shipping_rate.rbi +0 -310
  493. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -82
  494. data/rbi/stripe/resources/source.rbi +0 -1543
  495. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
  496. data/rbi/stripe/resources/source_transaction.rbi +0 -127
  497. data/rbi/stripe/resources/subscription.rbi +0 -2308
  498. data/rbi/stripe/resources/subscription_item.rbi +0 -478
  499. data/rbi/stripe/resources/subscription_schedule.rbi +0 -2653
  500. data/rbi/stripe/resources/tax/association.rbi +0 -94
  501. data/rbi/stripe/resources/tax/calculation.rbi +0 -479
  502. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -88
  503. data/rbi/stripe/resources/tax/form.rbi +0 -224
  504. data/rbi/stripe/resources/tax/registration.rbi +0 -2438
  505. data/rbi/stripe/resources/tax/settings.rbi +0 -148
  506. data/rbi/stripe/resources/tax/transaction.rbi +0 -356
  507. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
  508. data/rbi/stripe/resources/tax_code.rbi +0 -51
  509. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
  510. data/rbi/stripe/resources/tax_id.rbi +0 -174
  511. data/rbi/stripe/resources/tax_rate.rbi +0 -244
  512. data/rbi/stripe/resources/terminal/configuration.rbi +0 -1143
  513. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
  514. data/rbi/stripe/resources/terminal/location.rbi +0 -231
  515. data/rbi/stripe/resources/terminal/reader.rbi +0 -940
  516. data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -41
  517. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -139
  518. data/rbi/stripe/resources/token.rbi +0 -1192
  519. data/rbi/stripe/resources/topup.rbi +0 -225
  520. data/rbi/stripe/resources/transfer.rbi +0 -204
  521. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -126
  522. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -138
  523. data/rbi/stripe/resources/treasury/financial_account.rbi +0 -870
  524. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -263
  525. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -302
  526. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -589
  527. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -473
  528. data/rbi/stripe/resources/treasury/received_credit.rbi +0 -348
  529. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -305
  530. data/rbi/stripe/resources/treasury/transaction.rbi +0 -216
  531. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -193
  532. data/rbi/stripe/resources/usage_record.rbi +0 -32
  533. data/rbi/stripe/resources/usage_record_summary.rbi +0 -38
  534. data/rbi/stripe/resources/v2/amount.rbi +0 -14
  535. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
  536. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
  537. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
  538. data/rbi/stripe/resources/v2/event.rbi +0 -47
  539. data/rbi/stripe/resources/v2/event_destination.rbi +0 -90
  540. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -177
  541. data/rbi/stripe/services/account_capability_service.rbi +0 -51
  542. data/rbi/stripe/services/account_external_account_service.rbi +0 -306
  543. data/rbi/stripe/services/account_link_service.rbi +0 -58
  544. data/rbi/stripe/services/account_login_link_service.rbi +0 -22
  545. data/rbi/stripe/services/account_notice_service.rbi +0 -90
  546. data/rbi/stripe/services/account_person_service.rbi +0 -903
  547. data/rbi/stripe/services/account_service.rbi +0 -4267
  548. data/rbi/stripe/services/account_session_service.rbi +0 -780
  549. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -78
  550. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -91
  551. data/rbi/stripe/services/application_fee_service.rbi +0 -74
  552. data/rbi/stripe/services/apps/secret_service.rbi +0 -151
  553. data/rbi/stripe/services/apps_service.rbi +0 -9
  554. data/rbi/stripe/services/balance_service.rbi +0 -21
  555. data/rbi/stripe/services/balance_transaction_service.rbi +0 -89
  556. data/rbi/stripe/services/billing/alert_service.rbi +0 -152
  557. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -54
  558. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
  559. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -191
  560. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -40
  561. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
  562. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
  563. data/rbi/stripe/services/billing/meter_service.rbi +0 -163
  564. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -497
  565. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -202
  566. data/rbi/stripe/services/billing_portal_service.rbi +0 -10
  567. data/rbi/stripe/services/billing_service.rbi +0 -15
  568. data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -95
  569. data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -22
  570. data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -68
  571. data/rbi/stripe/services/capital_service.rbi +0 -11
  572. data/rbi/stripe/services/charge_service.rbi +0 -1816
  573. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
  574. data/rbi/stripe/services/checkout/session_service.rbi +0 -2591
  575. data/rbi/stripe/services/checkout_service.rbi +0 -9
  576. data/rbi/stripe/services/climate/order_service.rbi +0 -140
  577. data/rbi/stripe/services/climate/product_service.rbi +0 -46
  578. data/rbi/stripe/services/climate/supplier_service.rbi +0 -46
  579. data/rbi/stripe/services/climate_service.rbi +0 -11
  580. data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
  581. data/rbi/stripe/services/country_spec_service.rbi +0 -44
  582. data/rbi/stripe/services/coupon_service.rbi +0 -190
  583. data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -31
  584. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
  585. data/rbi/stripe/services/credit_note_service.rbi +0 -420
  586. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
  587. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
  588. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
  589. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
  590. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
  591. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -228
  592. data/rbi/stripe/services/customer_service.rbi +0 -647
  593. data/rbi/stripe/services/customer_session_service.rbi +0 -110
  594. data/rbi/stripe/services/customer_tax_id_service.rbi +0 -72
  595. data/rbi/stripe/services/dispute_service.rbi +0 -422
  596. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
  597. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
  598. data/rbi/stripe/services/entitlements_service.rbi +0 -10
  599. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
  600. data/rbi/stripe/services/event_service.rbi +0 -81
  601. data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
  602. data/rbi/stripe/services/file_link_service.rbi +0 -122
  603. data/rbi/stripe/services/file_service.rbi +0 -114
  604. data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -33
  605. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
  606. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -132
  607. data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -46
  608. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -111
  609. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -90
  610. data/rbi/stripe/services/financial_connections_service.rbi +0 -12
  611. data/rbi/stripe/services/forwarding/request_service.rbi +0 -132
  612. data/rbi/stripe/services/forwarding_service.rbi +0 -9
  613. data/rbi/stripe/services/gift_cards/card_service.rbi +0 -142
  614. data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -174
  615. data/rbi/stripe/services/gift_cards_service.rbi +0 -10
  616. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -85
  617. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -317
  618. data/rbi/stripe/services/identity_service.rbi +0 -10
  619. data/rbi/stripe/services/invoice_item_service.rbi +0 -424
  620. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -270
  621. data/rbi/stripe/services/invoice_payment_service.rbi +0 -44
  622. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
  623. data/rbi/stripe/services/invoice_service.rbi +0 -6040
  624. data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +0 -2023
  625. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -140
  626. data/rbi/stripe/services/issuing/card_service.rbi +0 -479
  627. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -568
  628. data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -498
  629. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -701
  630. data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -55
  631. data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -73
  632. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -233
  633. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
  634. data/rbi/stripe/services/issuing/token_service.rbi +0 -95
  635. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -103
  636. data/rbi/stripe/services/issuing_service.rbi +0 -19
  637. data/rbi/stripe/services/mandate_service.rbi +0 -20
  638. data/rbi/stripe/services/margin_service.rbi +0 -104
  639. data/rbi/stripe/services/order_line_item_service.rbi +0 -31
  640. data/rbi/stripe/services/order_service.rbi +0 -2306
  641. data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -36
  642. data/rbi/stripe/services/payment_intent_service.rbi +0 -11477
  643. data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -31
  644. data/rbi/stripe/services/payment_link_service.rbi +0 -1250
  645. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2215
  646. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -110
  647. data/rbi/stripe/services/payment_method_service.rbi +0 -897
  648. data/rbi/stripe/services/payment_record_service.rbi +0 -521
  649. data/rbi/stripe/services/payout_service.rbi +0 -197
  650. data/rbi/stripe/services/plan_service.rbi +0 -286
  651. data/rbi/stripe/services/price_service.rbi +0 -551
  652. data/rbi/stripe/services/product_feature_service.rbi +0 -69
  653. data/rbi/stripe/services/product_service.rbi +0 -503
  654. data/rbi/stripe/services/promotion_code_service.rbi +0 -210
  655. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
  656. data/rbi/stripe/services/quote_line_item_service.rbi +0 -31
  657. data/rbi/stripe/services/quote_line_service.rbi +0 -31
  658. data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -31
  659. data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -31
  660. data/rbi/stripe/services/quote_service.rbi +0 -2390
  661. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -83
  662. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -107
  663. data/rbi/stripe/services/radar/value_list_service.rbi +0 -139
  664. data/rbi/stripe/services/radar_service.rbi +0 -11
  665. data/rbi/stripe/services/refund_service.rbi +0 -181
  666. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -131
  667. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
  668. data/rbi/stripe/services/reporting_service.rbi +0 -10
  669. data/rbi/stripe/services/review_service.rbi +0 -82
  670. data/rbi/stripe/services/setup_attempt_service.rbi +0 -63
  671. data/rbi/stripe/services/setup_intent_service.rbi +0 -3630
  672. data/rbi/stripe/services/shipping_rate_service.rbi +0 -235
  673. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
  674. data/rbi/stripe/services/sigma_service.rbi +0 -9
  675. data/rbi/stripe/services/source_service.rbi +0 -647
  676. data/rbi/stripe/services/source_transaction_service.rbi +0 -31
  677. data/rbi/stripe/services/subscription_item_service.rbi +0 -422
  678. data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -37
  679. data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -33
  680. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -2208
  681. data/rbi/stripe/services/subscription_service.rbi +0 -1870
  682. data/rbi/stripe/services/tax/association_service.rbi +0 -25
  683. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -33
  684. data/rbi/stripe/services/tax/calculation_service.rbi +0 -228
  685. data/rbi/stripe/services/tax/form_service.rbi +0 -85
  686. data/rbi/stripe/services/tax/registration_service.rbi +0 -1517
  687. data/rbi/stripe/services/tax/settings_service.rbi +0 -93
  688. data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -33
  689. data/rbi/stripe/services/tax/transaction_service.rbi +0 -142
  690. data/rbi/stripe/services/tax_code_service.rbi +0 -44
  691. data/rbi/stripe/services/tax_id_service.rbi +0 -112
  692. data/rbi/stripe/services/tax_rate_service.rbi +0 -183
  693. data/rbi/stripe/services/tax_service.rbi +0 -14
  694. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -860
  695. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
  696. data/rbi/stripe/services/terminal/location_service.rbi +0 -184
  697. data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -22
  698. data/rbi/stripe/services/terminal/reader_service.rbi +0 -513
  699. data/rbi/stripe/services/terminal_service.rbi +0 -13
  700. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -787
  701. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
  702. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -836
  703. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
  704. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -67
  705. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -705
  706. data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
  707. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
  708. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -62
  709. data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
  710. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -90
  711. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
  712. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -123
  713. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -123
  714. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -114
  715. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -114
  716. data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
  717. data/rbi/stripe/services/test_helpers_service.rbi +0 -15
  718. data/rbi/stripe/services/token_service.rbi +0 -1155
  719. data/rbi/stripe/services/topup_service.rbi +0 -172
  720. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -99
  721. data/rbi/stripe/services/transfer_service.rbi +0 -150
  722. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
  723. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
  724. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -201
  725. data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -566
  726. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
  727. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -300
  728. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -182
  729. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -70
  730. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
  731. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -107
  732. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -114
  733. data/rbi/stripe/services/treasury_service.rbi +0 -18
  734. data/rbi/stripe/services/v1_services.rbi +0 -83
  735. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
  736. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
  737. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -20
  738. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
  739. data/rbi/stripe/services/v2/billing_service.rbi +0 -14
  740. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -203
  741. data/rbi/stripe/services/v2/core/event_service.rbi +0 -39
  742. data/rbi/stripe/services/v2/core_service.rbi +0 -12
  743. data/rbi/stripe/services/v2_services.rbi +0 -10
  744. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -131
@@ -1,1787 +0,0 @@
1
- # File generated from our OpenAPI spec
2
- # frozen_string_literal: true
3
-
4
- # typed: true
5
- module Stripe
6
- # ConfirmationTokens help transport client side data collected by Stripe JS over
7
- # to your server for confirming a PaymentIntent or SetupIntent. If the confirmation
8
- # is successful, values present on the ConfirmationToken are written onto the Intent.
9
- #
10
- # To learn more about how to use ConfirmationToken, visit the related guides:
11
- # - [Finalize payments on the server](https://stripe.com/docs/payments/finalize-payments-on-the-server)
12
- # - [Build two-step confirmation](https://stripe.com/docs/payments/build-a-two-step-confirmation).
13
- class ConfirmationToken < APIResource
14
- class MandateData < Stripe::StripeObject
15
- class CustomerAcceptance < Stripe::StripeObject
16
- class Online < Stripe::StripeObject
17
- # The IP address from which the Mandate was accepted by the customer.
18
- sig { returns(T.nilable(String)) }
19
- attr_reader :ip_address
20
- # The user agent of the browser from which the Mandate was accepted by the customer.
21
- sig { returns(T.nilable(String)) }
22
- attr_reader :user_agent
23
- end
24
- # If this is a Mandate accepted online, this hash contains details about the online acceptance.
25
- sig { returns(T.nilable(Online)) }
26
- attr_reader :online
27
- # The type of customer acceptance information included with the Mandate.
28
- sig { returns(String) }
29
- attr_reader :type
30
- end
31
- # This hash contains details about the customer acceptance of the Mandate.
32
- sig { returns(CustomerAcceptance) }
33
- attr_reader :customer_acceptance
34
- end
35
- class PaymentMethodOptions < Stripe::StripeObject
36
- class Card < Stripe::StripeObject
37
- # The `cvc_update` Token collected from the Payment Element.
38
- sig { returns(T.nilable(String)) }
39
- attr_reader :cvc_token
40
- end
41
- # This hash contains the card payment method options.
42
- sig { returns(T.nilable(Card)) }
43
- attr_reader :card
44
- end
45
- class PaymentMethodPreview < Stripe::StripeObject
46
- class AcssDebit < Stripe::StripeObject
47
- # Name of the bank associated with the bank account.
48
- sig { returns(T.nilable(String)) }
49
- attr_reader :bank_name
50
- # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
51
- sig { returns(T.nilable(String)) }
52
- attr_reader :fingerprint
53
- # Institution number of the bank account.
54
- sig { returns(T.nilable(String)) }
55
- attr_reader :institution_number
56
- # Last four digits of the bank account number.
57
- sig { returns(T.nilable(String)) }
58
- attr_reader :last4
59
- # Transit number of the bank account.
60
- sig { returns(T.nilable(String)) }
61
- attr_reader :transit_number
62
- end
63
- class Affirm < Stripe::StripeObject; end
64
- class AfterpayClearpay < Stripe::StripeObject; end
65
- class Alipay < Stripe::StripeObject; end
66
- class Alma < Stripe::StripeObject; end
67
- class AmazonPay < Stripe::StripeObject; end
68
- class AuBecsDebit < Stripe::StripeObject
69
- # Six-digit number identifying bank and branch associated with this bank account.
70
- sig { returns(T.nilable(String)) }
71
- attr_reader :bsb_number
72
- # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
73
- sig { returns(T.nilable(String)) }
74
- attr_reader :fingerprint
75
- # Last four digits of the bank account number.
76
- sig { returns(T.nilable(String)) }
77
- attr_reader :last4
78
- end
79
- class BacsDebit < Stripe::StripeObject
80
- # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
81
- sig { returns(T.nilable(String)) }
82
- attr_reader :fingerprint
83
- # Last four digits of the bank account number.
84
- sig { returns(T.nilable(String)) }
85
- attr_reader :last4
86
- # Sort code of the bank account. (e.g., `10-20-30`)
87
- sig { returns(T.nilable(String)) }
88
- attr_reader :sort_code
89
- end
90
- class Bancontact < Stripe::StripeObject; end
91
- class BillingDetails < Stripe::StripeObject
92
- class Address < Stripe::StripeObject
93
- # City, district, suburb, town, or village.
94
- sig { returns(T.nilable(String)) }
95
- attr_reader :city
96
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
97
- sig { returns(T.nilable(String)) }
98
- attr_reader :country
99
- # Address line 1 (e.g., street, PO Box, or company name).
100
- sig { returns(T.nilable(String)) }
101
- attr_reader :line1
102
- # Address line 2 (e.g., apartment, suite, unit, or building).
103
- sig { returns(T.nilable(String)) }
104
- attr_reader :line2
105
- # ZIP or postal code.
106
- sig { returns(T.nilable(String)) }
107
- attr_reader :postal_code
108
- # State, county, province, or region.
109
- sig { returns(T.nilable(String)) }
110
- attr_reader :state
111
- end
112
- # Billing address.
113
- sig { returns(T.nilable(Address)) }
114
- attr_reader :address
115
- # Email address.
116
- sig { returns(T.nilable(String)) }
117
- attr_reader :email
118
- # Full name.
119
- sig { returns(T.nilable(String)) }
120
- attr_reader :name
121
- # Billing phone number (including extension).
122
- sig { returns(T.nilable(String)) }
123
- attr_reader :phone
124
- end
125
- class Blik < Stripe::StripeObject; end
126
- class Boleto < Stripe::StripeObject
127
- # Uniquely identifies the customer tax id (CNPJ or CPF)
128
- sig { returns(String) }
129
- attr_reader :tax_id
130
- end
131
- class Card < Stripe::StripeObject
132
- class Checks < Stripe::StripeObject
133
- # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
134
- sig { returns(T.nilable(String)) }
135
- attr_reader :address_line1_check
136
- # If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
137
- sig { returns(T.nilable(String)) }
138
- attr_reader :address_postal_code_check
139
- # If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
140
- sig { returns(T.nilable(String)) }
141
- attr_reader :cvc_check
142
- end
143
- class GeneratedFrom < Stripe::StripeObject
144
- class PaymentMethodDetails < Stripe::StripeObject
145
- class CardPresent < Stripe::StripeObject
146
- class Offline < Stripe::StripeObject
147
- # Time at which the payment was collected while offline
148
- sig { returns(T.nilable(Integer)) }
149
- attr_reader :stored_at
150
- # The method used to process this payment method offline. Only deferred is allowed.
151
- sig { returns(T.nilable(String)) }
152
- attr_reader :type
153
- end
154
- class Receipt < Stripe::StripeObject
155
- # The type of account being debited or credited
156
- sig { returns(String) }
157
- attr_reader :account_type
158
- # EMV tag 9F26, cryptogram generated by the integrated circuit chip.
159
- sig { returns(T.nilable(String)) }
160
- attr_reader :application_cryptogram
161
- # Mnenomic of the Application Identifier.
162
- sig { returns(T.nilable(String)) }
163
- attr_reader :application_preferred_name
164
- # Identifier for this transaction.
165
- sig { returns(T.nilable(String)) }
166
- attr_reader :authorization_code
167
- # EMV tag 8A. A code returned by the card issuer.
168
- sig { returns(T.nilable(String)) }
169
- attr_reader :authorization_response_code
170
- # Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
171
- sig { returns(T.nilable(String)) }
172
- attr_reader :cardholder_verification_method
173
- # EMV tag 84. Similar to the application identifier stored on the integrated circuit chip.
174
- sig { returns(T.nilable(String)) }
175
- attr_reader :dedicated_file_name
176
- # The outcome of a series of EMV functions performed by the card reader.
177
- sig { returns(T.nilable(String)) }
178
- attr_reader :terminal_verification_results
179
- # An indication of various EMV functions performed during the transaction.
180
- sig { returns(T.nilable(String)) }
181
- attr_reader :transaction_status_information
182
- end
183
- class Wallet < Stripe::StripeObject
184
- # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
185
- sig { returns(String) }
186
- attr_reader :type
187
- end
188
- # The authorized amount
189
- sig { returns(T.nilable(Integer)) }
190
- attr_reader :amount_authorized
191
- # Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
192
- sig { returns(T.nilable(String)) }
193
- attr_reader :brand
194
- # The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.
195
- sig { returns(T.nilable(String)) }
196
- attr_reader :brand_product
197
- # When using manual capture, a future timestamp after which the charge will be automatically refunded if uncaptured.
198
- sig { returns(Integer) }
199
- attr_reader :capture_before
200
- # The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
201
- sig { returns(T.nilable(String)) }
202
- attr_reader :cardholder_name
203
- # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
204
- sig { returns(T.nilable(String)) }
205
- attr_reader :country
206
- # A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
207
- sig { returns(T.nilable(String)) }
208
- attr_reader :description
209
- # Authorization response cryptogram.
210
- sig { returns(T.nilable(String)) }
211
- attr_reader :emv_auth_data
212
- # Two-digit number representing the card's expiration month.
213
- sig { returns(Integer) }
214
- attr_reader :exp_month
215
- # Four-digit number representing the card's expiration year.
216
- sig { returns(Integer) }
217
- attr_reader :exp_year
218
- # Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
219
- #
220
- # *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
221
- sig { returns(T.nilable(String)) }
222
- attr_reader :fingerprint
223
- # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
224
- sig { returns(T.nilable(String)) }
225
- attr_reader :funding
226
- # ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.
227
- sig { returns(T.nilable(String)) }
228
- attr_reader :generated_card
229
- # Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
230
- sig { returns(T.nilable(String)) }
231
- attr_reader :iin
232
- # Whether this [PaymentIntent](https://stripe.com/docs/api/payment_intents) is eligible for incremental authorizations. Request support using [request_incremental_authorization_support](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support).
233
- sig { returns(T::Boolean) }
234
- attr_reader :incremental_authorization_supported
235
- # The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
236
- sig { returns(T.nilable(String)) }
237
- attr_reader :issuer
238
- # The last four digits of the card.
239
- sig { returns(T.nilable(String)) }
240
- attr_reader :last4
241
- # Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
242
- sig { returns(T.nilable(String)) }
243
- attr_reader :network
244
- # This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
245
- sig { returns(T.nilable(String)) }
246
- attr_reader :network_transaction_id
247
- # Details about payments collected offline.
248
- sig { returns(T.nilable(Offline)) }
249
- attr_reader :offline
250
- # Defines whether the authorized amount can be over-captured or not
251
- sig { returns(T::Boolean) }
252
- attr_reader :overcapture_supported
253
- # EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
254
- sig { returns(T.nilable(T::Array[String])) }
255
- attr_reader :preferred_locales
256
- # How card details were read in this transaction.
257
- sig { returns(T.nilable(String)) }
258
- attr_reader :read_method
259
- # A collection of fields required to be displayed on receipts. Only required for EMV transactions.
260
- sig { returns(T.nilable(Receipt)) }
261
- attr_reader :receipt
262
- # Attribute for field wallet
263
- sig { returns(Wallet) }
264
- attr_reader :wallet
265
- end
266
- # Attribute for field card_present
267
- sig { returns(CardPresent) }
268
- attr_reader :card_present
269
- # The type of payment method transaction-specific details from the transaction that generated this `card` payment method. Always `card_present`.
270
- sig { returns(String) }
271
- attr_reader :type
272
- end
273
- # The charge that created this object.
274
- sig { returns(T.nilable(String)) }
275
- attr_reader :charge
276
- # Transaction-specific details of the payment method used in the payment.
277
- sig { returns(T.nilable(PaymentMethodDetails)) }
278
- attr_reader :payment_method_details
279
- # The ID of the SetupAttempt that generated this PaymentMethod, if any.
280
- sig { returns(T.nilable(T.any(String, Stripe::SetupAttempt))) }
281
- attr_reader :setup_attempt
282
- end
283
- class Networks < Stripe::StripeObject
284
- # All available networks for the card.
285
- sig { returns(T::Array[String]) }
286
- attr_reader :available
287
- # The preferred network for co-branded cards. Can be `cartes_bancaires`, `mastercard`, `visa` or `invalid_preference` if requested network is not valid for the card.
288
- sig { returns(T.nilable(String)) }
289
- attr_reader :preferred
290
- end
291
- class ThreeDSecureUsage < Stripe::StripeObject
292
- # Whether 3D Secure is supported on this card.
293
- sig { returns(T::Boolean) }
294
- attr_reader :supported
295
- end
296
- class Wallet < Stripe::StripeObject
297
- class AmexExpressCheckout < Stripe::StripeObject; end
298
- class ApplePay < Stripe::StripeObject; end
299
- class GooglePay < Stripe::StripeObject; end
300
- class Link < Stripe::StripeObject; end
301
- class Masterpass < Stripe::StripeObject
302
- class BillingAddress < Stripe::StripeObject
303
- # City, district, suburb, town, or village.
304
- sig { returns(T.nilable(String)) }
305
- attr_reader :city
306
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
307
- sig { returns(T.nilable(String)) }
308
- attr_reader :country
309
- # Address line 1 (e.g., street, PO Box, or company name).
310
- sig { returns(T.nilable(String)) }
311
- attr_reader :line1
312
- # Address line 2 (e.g., apartment, suite, unit, or building).
313
- sig { returns(T.nilable(String)) }
314
- attr_reader :line2
315
- # ZIP or postal code.
316
- sig { returns(T.nilable(String)) }
317
- attr_reader :postal_code
318
- # State, county, province, or region.
319
- sig { returns(T.nilable(String)) }
320
- attr_reader :state
321
- end
322
- class ShippingAddress < Stripe::StripeObject
323
- # City, district, suburb, town, or village.
324
- sig { returns(T.nilable(String)) }
325
- attr_reader :city
326
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
327
- sig { returns(T.nilable(String)) }
328
- attr_reader :country
329
- # Address line 1 (e.g., street, PO Box, or company name).
330
- sig { returns(T.nilable(String)) }
331
- attr_reader :line1
332
- # Address line 2 (e.g., apartment, suite, unit, or building).
333
- sig { returns(T.nilable(String)) }
334
- attr_reader :line2
335
- # ZIP or postal code.
336
- sig { returns(T.nilable(String)) }
337
- attr_reader :postal_code
338
- # State, county, province, or region.
339
- sig { returns(T.nilable(String)) }
340
- attr_reader :state
341
- end
342
- # Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
343
- sig { returns(T.nilable(BillingAddress)) }
344
- attr_reader :billing_address
345
- # Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
346
- sig { returns(T.nilable(String)) }
347
- attr_reader :email
348
- # Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
349
- sig { returns(T.nilable(String)) }
350
- attr_reader :name
351
- # Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
352
- sig { returns(T.nilable(ShippingAddress)) }
353
- attr_reader :shipping_address
354
- end
355
- class SamsungPay < Stripe::StripeObject; end
356
- class VisaCheckout < Stripe::StripeObject
357
- class BillingAddress < Stripe::StripeObject
358
- # City, district, suburb, town, or village.
359
- sig { returns(T.nilable(String)) }
360
- attr_reader :city
361
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
362
- sig { returns(T.nilable(String)) }
363
- attr_reader :country
364
- # Address line 1 (e.g., street, PO Box, or company name).
365
- sig { returns(T.nilable(String)) }
366
- attr_reader :line1
367
- # Address line 2 (e.g., apartment, suite, unit, or building).
368
- sig { returns(T.nilable(String)) }
369
- attr_reader :line2
370
- # ZIP or postal code.
371
- sig { returns(T.nilable(String)) }
372
- attr_reader :postal_code
373
- # State, county, province, or region.
374
- sig { returns(T.nilable(String)) }
375
- attr_reader :state
376
- end
377
- class ShippingAddress < Stripe::StripeObject
378
- # City, district, suburb, town, or village.
379
- sig { returns(T.nilable(String)) }
380
- attr_reader :city
381
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
382
- sig { returns(T.nilable(String)) }
383
- attr_reader :country
384
- # Address line 1 (e.g., street, PO Box, or company name).
385
- sig { returns(T.nilable(String)) }
386
- attr_reader :line1
387
- # Address line 2 (e.g., apartment, suite, unit, or building).
388
- sig { returns(T.nilable(String)) }
389
- attr_reader :line2
390
- # ZIP or postal code.
391
- sig { returns(T.nilable(String)) }
392
- attr_reader :postal_code
393
- # State, county, province, or region.
394
- sig { returns(T.nilable(String)) }
395
- attr_reader :state
396
- end
397
- # Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
398
- sig { returns(T.nilable(BillingAddress)) }
399
- attr_reader :billing_address
400
- # Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
401
- sig { returns(T.nilable(String)) }
402
- attr_reader :email
403
- # Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
404
- sig { returns(T.nilable(String)) }
405
- attr_reader :name
406
- # Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
407
- sig { returns(T.nilable(ShippingAddress)) }
408
- attr_reader :shipping_address
409
- end
410
- # Attribute for field amex_express_checkout
411
- sig { returns(AmexExpressCheckout) }
412
- attr_reader :amex_express_checkout
413
- # Attribute for field apple_pay
414
- sig { returns(ApplePay) }
415
- attr_reader :apple_pay
416
- # (For tokenized numbers only.) The last four digits of the device account number.
417
- sig { returns(T.nilable(String)) }
418
- attr_reader :dynamic_last4
419
- # Attribute for field google_pay
420
- sig { returns(GooglePay) }
421
- attr_reader :google_pay
422
- # Attribute for field link
423
- sig { returns(Link) }
424
- attr_reader :link
425
- # Attribute for field masterpass
426
- sig { returns(Masterpass) }
427
- attr_reader :masterpass
428
- # Attribute for field samsung_pay
429
- sig { returns(SamsungPay) }
430
- attr_reader :samsung_pay
431
- # The type of the card wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, `visa_checkout`, or `link`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type.
432
- sig { returns(String) }
433
- attr_reader :type
434
- # Attribute for field visa_checkout
435
- sig { returns(VisaCheckout) }
436
- attr_reader :visa_checkout
437
- end
438
- # Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
439
- sig { returns(String) }
440
- attr_reader :brand
441
- # Checks on Card address and CVC if provided.
442
- sig { returns(T.nilable(Checks)) }
443
- attr_reader :checks
444
- # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
445
- sig { returns(T.nilable(String)) }
446
- attr_reader :country
447
- # A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
448
- sig { returns(T.nilable(String)) }
449
- attr_reader :description
450
- # The brand to use when displaying the card, this accounts for customer's brand choice on dual-branded cards. Can be `american_express`, `cartes_bancaires`, `diners_club`, `discover`, `eftpos_australia`, `interac`, `jcb`, `mastercard`, `union_pay`, `visa`, or `other` and may contain more values in the future.
451
- sig { returns(T.nilable(String)) }
452
- attr_reader :display_brand
453
- # Two-digit number representing the card's expiration month.
454
- sig { returns(Integer) }
455
- attr_reader :exp_month
456
- # Four-digit number representing the card's expiration year.
457
- sig { returns(Integer) }
458
- attr_reader :exp_year
459
- # Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
460
- #
461
- # *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
462
- sig { returns(T.nilable(String)) }
463
- attr_reader :fingerprint
464
- # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
465
- sig { returns(String) }
466
- attr_reader :funding
467
- # Details of the original PaymentMethod that created this object.
468
- sig { returns(T.nilable(GeneratedFrom)) }
469
- attr_reader :generated_from
470
- # Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
471
- sig { returns(T.nilable(String)) }
472
- attr_reader :iin
473
- # The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
474
- sig { returns(T.nilable(String)) }
475
- attr_reader :issuer
476
- # The last four digits of the card.
477
- sig { returns(String) }
478
- attr_reader :last4
479
- # Contains information about card networks that can be used to process the payment.
480
- sig { returns(T.nilable(Networks)) }
481
- attr_reader :networks
482
- # Status of a card based on the card issuer.
483
- sig { returns(T.nilable(String)) }
484
- attr_reader :regulated_status
485
- # Contains details on how this Card may be used for 3D Secure authentication.
486
- sig { returns(T.nilable(ThreeDSecureUsage)) }
487
- attr_reader :three_d_secure_usage
488
- # If this Card is part of a card wallet, this contains the details of the card wallet.
489
- sig { returns(T.nilable(Wallet)) }
490
- attr_reader :wallet
491
- end
492
- class CardPresent < Stripe::StripeObject
493
- class Networks < Stripe::StripeObject
494
- # All available networks for the card.
495
- sig { returns(T::Array[String]) }
496
- attr_reader :available
497
- # The preferred network for the card.
498
- sig { returns(T.nilable(String)) }
499
- attr_reader :preferred
500
- end
501
- class Offline < Stripe::StripeObject
502
- # Time at which the payment was collected while offline
503
- sig { returns(T.nilable(Integer)) }
504
- attr_reader :stored_at
505
- # The method used to process this payment method offline. Only deferred is allowed.
506
- sig { returns(T.nilable(String)) }
507
- attr_reader :type
508
- end
509
- class Wallet < Stripe::StripeObject
510
- # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
511
- sig { returns(String) }
512
- attr_reader :type
513
- end
514
- # Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
515
- sig { returns(T.nilable(String)) }
516
- attr_reader :brand
517
- # The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.
518
- sig { returns(T.nilable(String)) }
519
- attr_reader :brand_product
520
- # The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
521
- sig { returns(T.nilable(String)) }
522
- attr_reader :cardholder_name
523
- # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
524
- sig { returns(T.nilable(String)) }
525
- attr_reader :country
526
- # A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
527
- sig { returns(T.nilable(String)) }
528
- attr_reader :description
529
- # Two-digit number representing the card's expiration month.
530
- sig { returns(Integer) }
531
- attr_reader :exp_month
532
- # Four-digit number representing the card's expiration year.
533
- sig { returns(Integer) }
534
- attr_reader :exp_year
535
- # Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
536
- #
537
- # *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
538
- sig { returns(T.nilable(String)) }
539
- attr_reader :fingerprint
540
- # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
541
- sig { returns(T.nilable(String)) }
542
- attr_reader :funding
543
- # Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
544
- sig { returns(T.nilable(String)) }
545
- attr_reader :iin
546
- # The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
547
- sig { returns(T.nilable(String)) }
548
- attr_reader :issuer
549
- # The last four digits of the card.
550
- sig { returns(T.nilable(String)) }
551
- attr_reader :last4
552
- # Contains information about card networks that can be used to process the payment.
553
- sig { returns(T.nilable(Networks)) }
554
- attr_reader :networks
555
- # Details about payment methods collected offline.
556
- sig { returns(T.nilable(Offline)) }
557
- attr_reader :offline
558
- # EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
559
- sig { returns(T.nilable(T::Array[String])) }
560
- attr_reader :preferred_locales
561
- # How card details were read in this transaction.
562
- sig { returns(T.nilable(String)) }
563
- attr_reader :read_method
564
- # Attribute for field wallet
565
- sig { returns(Wallet) }
566
- attr_reader :wallet
567
- end
568
- class Cashapp < Stripe::StripeObject
569
- # A unique and immutable identifier assigned by Cash App to every buyer.
570
- sig { returns(T.nilable(String)) }
571
- attr_reader :buyer_id
572
- # A public identifier for buyers using Cash App.
573
- sig { returns(T.nilable(String)) }
574
- attr_reader :cashtag
575
- end
576
- class CustomerBalance < Stripe::StripeObject; end
577
- class Eps < Stripe::StripeObject
578
- # The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
579
- sig { returns(T.nilable(String)) }
580
- attr_reader :bank
581
- end
582
- class Fpx < Stripe::StripeObject
583
- # Account holder type, if provided. Can be one of `individual` or `company`.
584
- sig { returns(T.nilable(String)) }
585
- attr_reader :account_holder_type
586
- # The customer's bank, if provided. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`.
587
- sig { returns(String) }
588
- attr_reader :bank
589
- end
590
- class Giropay < Stripe::StripeObject; end
591
- class Gopay < Stripe::StripeObject; end
592
- class Grabpay < Stripe::StripeObject; end
593
- class IdBankTransfer < Stripe::StripeObject
594
- # Attribute for field bank
595
- sig { returns(T.nilable(String)) }
596
- attr_reader :bank
597
- # Attribute for field bank_code
598
- sig { returns(T.nilable(String)) }
599
- attr_reader :bank_code
600
- # Attribute for field bank_name
601
- sig { returns(T.nilable(String)) }
602
- attr_reader :bank_name
603
- # Attribute for field display_name
604
- sig { returns(T.nilable(String)) }
605
- attr_reader :display_name
606
- end
607
- class Ideal < Stripe::StripeObject
608
- # The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
609
- sig { returns(T.nilable(String)) }
610
- attr_reader :bank
611
- # The Bank Identifier Code of the customer's bank, if the bank was provided.
612
- sig { returns(T.nilable(String)) }
613
- attr_reader :bic
614
- end
615
- class InteracPresent < Stripe::StripeObject
616
- class Networks < Stripe::StripeObject
617
- # All available networks for the card.
618
- sig { returns(T::Array[String]) }
619
- attr_reader :available
620
- # The preferred network for the card.
621
- sig { returns(T.nilable(String)) }
622
- attr_reader :preferred
623
- end
624
- # Card brand. Can be `interac`, `mastercard` or `visa`.
625
- sig { returns(T.nilable(String)) }
626
- attr_reader :brand
627
- # The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
628
- sig { returns(T.nilable(String)) }
629
- attr_reader :cardholder_name
630
- # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
631
- sig { returns(T.nilable(String)) }
632
- attr_reader :country
633
- # A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
634
- sig { returns(T.nilable(String)) }
635
- attr_reader :description
636
- # Two-digit number representing the card's expiration month.
637
- sig { returns(Integer) }
638
- attr_reader :exp_month
639
- # Four-digit number representing the card's expiration year.
640
- sig { returns(Integer) }
641
- attr_reader :exp_year
642
- # Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
643
- #
644
- # *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
645
- sig { returns(T.nilable(String)) }
646
- attr_reader :fingerprint
647
- # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
648
- sig { returns(T.nilable(String)) }
649
- attr_reader :funding
650
- # Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
651
- sig { returns(T.nilable(String)) }
652
- attr_reader :iin
653
- # The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
654
- sig { returns(T.nilable(String)) }
655
- attr_reader :issuer
656
- # The last four digits of the card.
657
- sig { returns(T.nilable(String)) }
658
- attr_reader :last4
659
- # Contains information about card networks that can be used to process the payment.
660
- sig { returns(T.nilable(Networks)) }
661
- attr_reader :networks
662
- # EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
663
- sig { returns(T.nilable(T::Array[String])) }
664
- attr_reader :preferred_locales
665
- # How card details were read in this transaction.
666
- sig { returns(T.nilable(String)) }
667
- attr_reader :read_method
668
- end
669
- class KakaoPay < Stripe::StripeObject; end
670
- class Klarna < Stripe::StripeObject
671
- class Dob < Stripe::StripeObject
672
- # The day of birth, between 1 and 31.
673
- sig { returns(T.nilable(Integer)) }
674
- attr_reader :day
675
- # The month of birth, between 1 and 12.
676
- sig { returns(T.nilable(Integer)) }
677
- attr_reader :month
678
- # The four-digit year of birth.
679
- sig { returns(T.nilable(Integer)) }
680
- attr_reader :year
681
- end
682
- # The customer's date of birth, if provided.
683
- sig { returns(T.nilable(Dob)) }
684
- attr_reader :dob
685
- end
686
- class Konbini < Stripe::StripeObject; end
687
- class KrCard < Stripe::StripeObject
688
- # The local credit or debit card brand.
689
- sig { returns(T.nilable(String)) }
690
- attr_reader :brand
691
- # The last four digits of the card. This may not be present for American Express cards.
692
- sig { returns(T.nilable(String)) }
693
- attr_reader :last4
694
- end
695
- class Link < Stripe::StripeObject
696
- # Account owner's email address.
697
- sig { returns(T.nilable(String)) }
698
- attr_reader :email
699
- # [Deprecated] This is a legacy parameter that no longer has any function.
700
- sig { returns(String) }
701
- attr_reader :persistent_token
702
- end
703
- class MbWay < Stripe::StripeObject; end
704
- class Mobilepay < Stripe::StripeObject; end
705
- class Multibanco < Stripe::StripeObject; end
706
- class NaverPay < Stripe::StripeObject
707
- # Whether to fund this transaction with Naver Pay points or a card.
708
- sig { returns(String) }
709
- attr_reader :funding
710
- end
711
- class Oxxo < Stripe::StripeObject; end
712
- class P24 < Stripe::StripeObject
713
- # The customer's bank, if provided.
714
- sig { returns(T.nilable(String)) }
715
- attr_reader :bank
716
- end
717
- class PayByBank < Stripe::StripeObject; end
718
- class Payco < Stripe::StripeObject; end
719
- class Paynow < Stripe::StripeObject; end
720
- class Paypal < Stripe::StripeObject
721
- # Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
722
- sig { returns(T.nilable(String)) }
723
- attr_reader :country
724
- # Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
725
- sig { returns(T.nilable(String)) }
726
- attr_reader :fingerprint
727
- # Owner's email. Values are provided by PayPal directly
728
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
729
- sig { returns(T.nilable(String)) }
730
- attr_reader :payer_email
731
- # PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
732
- sig { returns(T.nilable(String)) }
733
- attr_reader :payer_id
734
- # Owner's verified email. Values are verified or provided by PayPal directly
735
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
736
- sig { returns(T.nilable(String)) }
737
- attr_reader :verified_email
738
- end
739
- class Payto < Stripe::StripeObject
740
- # Bank-State-Branch number of the bank account.
741
- sig { returns(T.nilable(String)) }
742
- attr_reader :bsb_number
743
- # Last four digits of the bank account number.
744
- sig { returns(T.nilable(String)) }
745
- attr_reader :last4
746
- # The PayID alias for the bank account.
747
- sig { returns(T.nilable(String)) }
748
- attr_reader :pay_id
749
- end
750
- class Pix < Stripe::StripeObject; end
751
- class Promptpay < Stripe::StripeObject; end
752
- class Qris < Stripe::StripeObject; end
753
- class Rechnung < Stripe::StripeObject
754
- class Dob < Stripe::StripeObject
755
- # The day of birth, between 1 and 31.
756
- sig { returns(Integer) }
757
- attr_reader :day
758
- # The month of birth, between 1 and 12.
759
- sig { returns(Integer) }
760
- attr_reader :month
761
- # The four-digit year of birth.
762
- sig { returns(Integer) }
763
- attr_reader :year
764
- end
765
- # Attribute for field dob
766
- sig { returns(Dob) }
767
- attr_reader :dob
768
- end
769
- class RevolutPay < Stripe::StripeObject; end
770
- class SamsungPay < Stripe::StripeObject; end
771
- class SepaDebit < Stripe::StripeObject
772
- class GeneratedFrom < Stripe::StripeObject
773
- # The ID of the Charge that generated this PaymentMethod, if any.
774
- sig { returns(T.nilable(T.any(String, Stripe::Charge))) }
775
- attr_reader :charge
776
- # The ID of the SetupAttempt that generated this PaymentMethod, if any.
777
- sig { returns(T.nilable(T.any(String, Stripe::SetupAttempt))) }
778
- attr_reader :setup_attempt
779
- end
780
- # Bank code of bank associated with the bank account.
781
- sig { returns(T.nilable(String)) }
782
- attr_reader :bank_code
783
- # Branch code of bank associated with the bank account.
784
- sig { returns(T.nilable(String)) }
785
- attr_reader :branch_code
786
- # Two-letter ISO code representing the country the bank account is located in.
787
- sig { returns(T.nilable(String)) }
788
- attr_reader :country
789
- # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
790
- sig { returns(T.nilable(String)) }
791
- attr_reader :fingerprint
792
- # Information about the object that generated this PaymentMethod.
793
- sig { returns(T.nilable(GeneratedFrom)) }
794
- attr_reader :generated_from
795
- # Last four characters of the IBAN.
796
- sig { returns(T.nilable(String)) }
797
- attr_reader :last4
798
- end
799
- class Shopeepay < Stripe::StripeObject; end
800
- class Sofort < Stripe::StripeObject
801
- # Two-letter ISO code representing the country the bank account is located in.
802
- sig { returns(T.nilable(String)) }
803
- attr_reader :country
804
- end
805
- class Swish < Stripe::StripeObject; end
806
- class Twint < Stripe::StripeObject; end
807
- class UsBankAccount < Stripe::StripeObject
808
- class Networks < Stripe::StripeObject
809
- # The preferred network.
810
- sig { returns(T.nilable(String)) }
811
- attr_reader :preferred
812
- # All supported networks.
813
- sig { returns(T::Array[String]) }
814
- attr_reader :supported
815
- end
816
- class StatusDetails < Stripe::StripeObject
817
- class Blocked < Stripe::StripeObject
818
- # The ACH network code that resulted in this block.
819
- sig { returns(T.nilable(String)) }
820
- attr_reader :network_code
821
- # The reason why this PaymentMethod's fingerprint has been blocked
822
- sig { returns(T.nilable(String)) }
823
- attr_reader :reason
824
- end
825
- # Attribute for field blocked
826
- sig { returns(Blocked) }
827
- attr_reader :blocked
828
- end
829
- # Account holder type: individual or company.
830
- sig { returns(T.nilable(String)) }
831
- attr_reader :account_holder_type
832
- # Account number of the bank account.
833
- sig { returns(T.nilable(String)) }
834
- attr_reader :account_number
835
- # Account type: checkings or savings. Defaults to checking if omitted.
836
- sig { returns(T.nilable(String)) }
837
- attr_reader :account_type
838
- # The name of the bank.
839
- sig { returns(T.nilable(String)) }
840
- attr_reader :bank_name
841
- # The ID of the Financial Connections Account used to create the payment method.
842
- sig { returns(T.nilable(String)) }
843
- attr_reader :financial_connections_account
844
- # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
845
- sig { returns(T.nilable(String)) }
846
- attr_reader :fingerprint
847
- # Last four digits of the bank account number.
848
- sig { returns(T.nilable(String)) }
849
- attr_reader :last4
850
- # Contains information about US bank account networks that can be used.
851
- sig { returns(T.nilable(Networks)) }
852
- attr_reader :networks
853
- # Routing number of the bank account.
854
- sig { returns(T.nilable(String)) }
855
- attr_reader :routing_number
856
- # Contains information about the future reusability of this PaymentMethod.
857
- sig { returns(T.nilable(StatusDetails)) }
858
- attr_reader :status_details
859
- end
860
- class WechatPay < Stripe::StripeObject; end
861
- class Zip < Stripe::StripeObject; end
862
- # Attribute for field acss_debit
863
- sig { returns(AcssDebit) }
864
- attr_reader :acss_debit
865
- # Attribute for field affirm
866
- sig { returns(Affirm) }
867
- attr_reader :affirm
868
- # Attribute for field afterpay_clearpay
869
- sig { returns(AfterpayClearpay) }
870
- attr_reader :afterpay_clearpay
871
- # Attribute for field alipay
872
- sig { returns(Alipay) }
873
- attr_reader :alipay
874
- # 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”.
875
- sig { returns(String) }
876
- attr_reader :allow_redisplay
877
- # Attribute for field alma
878
- sig { returns(Alma) }
879
- attr_reader :alma
880
- # Attribute for field amazon_pay
881
- sig { returns(AmazonPay) }
882
- attr_reader :amazon_pay
883
- # Attribute for field au_becs_debit
884
- sig { returns(AuBecsDebit) }
885
- attr_reader :au_becs_debit
886
- # Attribute for field bacs_debit
887
- sig { returns(BacsDebit) }
888
- attr_reader :bacs_debit
889
- # Attribute for field bancontact
890
- sig { returns(Bancontact) }
891
- attr_reader :bancontact
892
- # Attribute for field billing_details
893
- sig { returns(BillingDetails) }
894
- attr_reader :billing_details
895
- # Attribute for field blik
896
- sig { returns(Blik) }
897
- attr_reader :blik
898
- # Attribute for field boleto
899
- sig { returns(Boleto) }
900
- attr_reader :boleto
901
- # Attribute for field card
902
- sig { returns(Card) }
903
- attr_reader :card
904
- # Attribute for field card_present
905
- sig { returns(CardPresent) }
906
- attr_reader :card_present
907
- # Attribute for field cashapp
908
- sig { returns(Cashapp) }
909
- attr_reader :cashapp
910
- # The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.
911
- sig { returns(T.nilable(T.any(String, Stripe::Customer))) }
912
- attr_reader :customer
913
- # Attribute for field customer_balance
914
- sig { returns(CustomerBalance) }
915
- attr_reader :customer_balance
916
- # Attribute for field eps
917
- sig { returns(Eps) }
918
- attr_reader :eps
919
- # Attribute for field fpx
920
- sig { returns(Fpx) }
921
- attr_reader :fpx
922
- # Attribute for field giropay
923
- sig { returns(Giropay) }
924
- attr_reader :giropay
925
- # Attribute for field gopay
926
- sig { returns(Gopay) }
927
- attr_reader :gopay
928
- # Attribute for field grabpay
929
- sig { returns(Grabpay) }
930
- attr_reader :grabpay
931
- # Attribute for field id_bank_transfer
932
- sig { returns(IdBankTransfer) }
933
- attr_reader :id_bank_transfer
934
- # Attribute for field ideal
935
- sig { returns(Ideal) }
936
- attr_reader :ideal
937
- # Attribute for field interac_present
938
- sig { returns(InteracPresent) }
939
- attr_reader :interac_present
940
- # Attribute for field kakao_pay
941
- sig { returns(KakaoPay) }
942
- attr_reader :kakao_pay
943
- # Attribute for field klarna
944
- sig { returns(Klarna) }
945
- attr_reader :klarna
946
- # Attribute for field konbini
947
- sig { returns(Konbini) }
948
- attr_reader :konbini
949
- # Attribute for field kr_card
950
- sig { returns(KrCard) }
951
- attr_reader :kr_card
952
- # Attribute for field link
953
- sig { returns(Link) }
954
- attr_reader :link
955
- # Attribute for field mb_way
956
- sig { returns(MbWay) }
957
- attr_reader :mb_way
958
- # Attribute for field mobilepay
959
- sig { returns(Mobilepay) }
960
- attr_reader :mobilepay
961
- # Attribute for field multibanco
962
- sig { returns(Multibanco) }
963
- attr_reader :multibanco
964
- # Attribute for field naver_pay
965
- sig { returns(NaverPay) }
966
- attr_reader :naver_pay
967
- # Attribute for field oxxo
968
- sig { returns(Oxxo) }
969
- attr_reader :oxxo
970
- # Attribute for field p24
971
- sig { returns(P24) }
972
- attr_reader :p24
973
- # Attribute for field pay_by_bank
974
- sig { returns(PayByBank) }
975
- attr_reader :pay_by_bank
976
- # Attribute for field payco
977
- sig { returns(Payco) }
978
- attr_reader :payco
979
- # Attribute for field paynow
980
- sig { returns(Paynow) }
981
- attr_reader :paynow
982
- # Attribute for field paypal
983
- sig { returns(Paypal) }
984
- attr_reader :paypal
985
- # Attribute for field payto
986
- sig { returns(Payto) }
987
- attr_reader :payto
988
- # Attribute for field pix
989
- sig { returns(Pix) }
990
- attr_reader :pix
991
- # Attribute for field promptpay
992
- sig { returns(Promptpay) }
993
- attr_reader :promptpay
994
- # Attribute for field qris
995
- sig { returns(Qris) }
996
- attr_reader :qris
997
- # Attribute for field rechnung
998
- sig { returns(Rechnung) }
999
- attr_reader :rechnung
1000
- # Attribute for field revolut_pay
1001
- sig { returns(RevolutPay) }
1002
- attr_reader :revolut_pay
1003
- # Attribute for field samsung_pay
1004
- sig { returns(SamsungPay) }
1005
- attr_reader :samsung_pay
1006
- # Attribute for field sepa_debit
1007
- sig { returns(SepaDebit) }
1008
- attr_reader :sepa_debit
1009
- # Attribute for field shopeepay
1010
- sig { returns(Shopeepay) }
1011
- attr_reader :shopeepay
1012
- # Attribute for field sofort
1013
- sig { returns(Sofort) }
1014
- attr_reader :sofort
1015
- # Attribute for field swish
1016
- sig { returns(Swish) }
1017
- attr_reader :swish
1018
- # Attribute for field twint
1019
- sig { returns(Twint) }
1020
- attr_reader :twint
1021
- # The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
1022
- sig { returns(String) }
1023
- attr_reader :type
1024
- # Attribute for field us_bank_account
1025
- sig { returns(UsBankAccount) }
1026
- attr_reader :us_bank_account
1027
- # Attribute for field wechat_pay
1028
- sig { returns(WechatPay) }
1029
- attr_reader :wechat_pay
1030
- # Attribute for field zip
1031
- sig { returns(Zip) }
1032
- attr_reader :zip
1033
- end
1034
- class Shipping < Stripe::StripeObject
1035
- class Address < Stripe::StripeObject
1036
- # City, district, suburb, town, or village.
1037
- sig { returns(T.nilable(String)) }
1038
- attr_reader :city
1039
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1040
- sig { returns(T.nilable(String)) }
1041
- attr_reader :country
1042
- # Address line 1 (e.g., street, PO Box, or company name).
1043
- sig { returns(T.nilable(String)) }
1044
- attr_reader :line1
1045
- # Address line 2 (e.g., apartment, suite, unit, or building).
1046
- sig { returns(T.nilable(String)) }
1047
- attr_reader :line2
1048
- # ZIP or postal code.
1049
- sig { returns(T.nilable(String)) }
1050
- attr_reader :postal_code
1051
- # State, county, province, or region.
1052
- sig { returns(T.nilable(String)) }
1053
- attr_reader :state
1054
- end
1055
- # Attribute for field address
1056
- sig { returns(Address) }
1057
- attr_reader :address
1058
- # Recipient name.
1059
- sig { returns(String) }
1060
- attr_reader :name
1061
- # Recipient phone (including extension).
1062
- sig { returns(T.nilable(String)) }
1063
- attr_reader :phone
1064
- end
1065
- # Time at which the object was created. Measured in seconds since the Unix epoch.
1066
- sig { returns(Integer) }
1067
- attr_reader :created
1068
- # Time at which this ConfirmationToken expires and can no longer be used to confirm a PaymentIntent or SetupIntent.
1069
- sig { returns(T.nilable(Integer)) }
1070
- attr_reader :expires_at
1071
- # Unique identifier for the object.
1072
- sig { returns(String) }
1073
- attr_reader :id
1074
- # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
1075
- sig { returns(T::Boolean) }
1076
- attr_reader :livemode
1077
- # Data used for generating a Mandate.
1078
- sig { returns(T.nilable(MandateData)) }
1079
- attr_reader :mandate_data
1080
- # String representing the object's type. Objects of the same type share the same value.
1081
- sig { returns(String) }
1082
- attr_reader :object
1083
- # ID of the PaymentIntent that this ConfirmationToken was used to confirm, or null if this ConfirmationToken has not yet been used.
1084
- sig { returns(T.nilable(String)) }
1085
- attr_reader :payment_intent
1086
- # Payment-method-specific configuration for this ConfirmationToken.
1087
- sig { returns(T.nilable(PaymentMethodOptions)) }
1088
- attr_reader :payment_method_options
1089
- # Payment details collected by the Payment Element, used to create a PaymentMethod when a PaymentIntent or SetupIntent is confirmed with this ConfirmationToken.
1090
- sig { returns(T.nilable(PaymentMethodPreview)) }
1091
- attr_reader :payment_method_preview
1092
- # Return URL used to confirm the Intent.
1093
- sig { returns(T.nilable(String)) }
1094
- attr_reader :return_url
1095
- # Indicates that you intend to make future payments with this ConfirmationToken's payment method.
1096
- #
1097
- # The presence of this property will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete.
1098
- sig { returns(T.nilable(String)) }
1099
- attr_reader :setup_future_usage
1100
- # ID of the SetupIntent that this ConfirmationToken was used to confirm, or null if this ConfirmationToken has not yet been used.
1101
- sig { returns(T.nilable(String)) }
1102
- attr_reader :setup_intent
1103
- # Shipping information collected on this ConfirmationToken.
1104
- sig { returns(T.nilable(Shipping)) }
1105
- attr_reader :shipping
1106
- # Indicates whether the Stripe SDK is used to handle confirmation flow. Defaults to `true` on ConfirmationToken.
1107
- sig { returns(T::Boolean) }
1108
- attr_reader :use_stripe_sdk
1109
- class RetrieveParams < Stripe::RequestParams
1110
- # Specifies which fields in the response should be expanded.
1111
- sig { returns(T::Array[String]) }
1112
- attr_accessor :expand
1113
- sig { params(expand: T::Array[String]).void }
1114
- def initialize(expand: nil); end
1115
- end
1116
- class CreateParams < Stripe::RequestParams
1117
- class PaymentMethodData < Stripe::RequestParams
1118
- class AcssDebit < Stripe::RequestParams
1119
- # Customer's bank account number.
1120
- sig { returns(String) }
1121
- attr_accessor :account_number
1122
- # Institution number of the customer's bank.
1123
- sig { returns(String) }
1124
- attr_accessor :institution_number
1125
- # Transit number of the customer's bank.
1126
- sig { returns(String) }
1127
- attr_accessor :transit_number
1128
- sig {
1129
- params(account_number: String, institution_number: String, transit_number: String).void
1130
- }
1131
- def initialize(account_number: nil, institution_number: nil, transit_number: nil); end
1132
- end
1133
- class Affirm < Stripe::RequestParams
1134
-
1135
- end
1136
- class AfterpayClearpay < Stripe::RequestParams
1137
-
1138
- end
1139
- class Alipay < Stripe::RequestParams
1140
-
1141
- end
1142
- class Alma < Stripe::RequestParams
1143
-
1144
- end
1145
- class AmazonPay < Stripe::RequestParams
1146
-
1147
- end
1148
- class AuBecsDebit < Stripe::RequestParams
1149
- # The account number for the bank account.
1150
- sig { returns(String) }
1151
- attr_accessor :account_number
1152
- # Bank-State-Branch number of the bank account.
1153
- sig { returns(String) }
1154
- attr_accessor :bsb_number
1155
- sig { params(account_number: String, bsb_number: String).void }
1156
- def initialize(account_number: nil, bsb_number: nil); end
1157
- end
1158
- class BacsDebit < Stripe::RequestParams
1159
- # Account number of the bank account that the funds will be debited from.
1160
- sig { returns(String) }
1161
- attr_accessor :account_number
1162
- # Sort code of the bank account. (e.g., `10-20-30`)
1163
- sig { returns(String) }
1164
- attr_accessor :sort_code
1165
- sig { params(account_number: String, sort_code: String).void }
1166
- def initialize(account_number: nil, sort_code: nil); end
1167
- end
1168
- class Bancontact < Stripe::RequestParams
1169
-
1170
- end
1171
- class BillingDetails < Stripe::RequestParams
1172
- class Address < Stripe::RequestParams
1173
- # City, district, suburb, town, or village.
1174
- sig { returns(String) }
1175
- attr_accessor :city
1176
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1177
- sig { returns(String) }
1178
- attr_accessor :country
1179
- # Address line 1 (e.g., street, PO Box, or company name).
1180
- sig { returns(String) }
1181
- attr_accessor :line1
1182
- # Address line 2 (e.g., apartment, suite, unit, or building).
1183
- sig { returns(String) }
1184
- attr_accessor :line2
1185
- # ZIP or postal code.
1186
- sig { returns(String) }
1187
- attr_accessor :postal_code
1188
- # State, county, province, or region.
1189
- sig { returns(String) }
1190
- attr_accessor :state
1191
- sig {
1192
- params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
1193
- }
1194
- def initialize(
1195
- city: nil,
1196
- country: nil,
1197
- line1: nil,
1198
- line2: nil,
1199
- postal_code: nil,
1200
- state: nil
1201
- ); end
1202
- end
1203
- # Billing address.
1204
- sig {
1205
- returns(T.nilable(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::BillingDetails::Address))
1206
- }
1207
- attr_accessor :address
1208
- # Email address.
1209
- sig { returns(T.nilable(String)) }
1210
- attr_accessor :email
1211
- # Full name.
1212
- sig { returns(T.nilable(String)) }
1213
- attr_accessor :name
1214
- # Billing phone number (including extension).
1215
- sig { returns(T.nilable(String)) }
1216
- attr_accessor :phone
1217
- sig {
1218
- params(address: T.nilable(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::BillingDetails::Address), email: T.nilable(String), name: T.nilable(String), phone: T.nilable(String)).void
1219
- }
1220
- def initialize(address: nil, email: nil, name: nil, phone: nil); end
1221
- end
1222
- class Blik < Stripe::RequestParams
1223
-
1224
- end
1225
- class Boleto < Stripe::RequestParams
1226
- # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
1227
- sig { returns(String) }
1228
- attr_accessor :tax_id
1229
- sig { params(tax_id: String).void }
1230
- def initialize(tax_id: nil); end
1231
- end
1232
- class Cashapp < Stripe::RequestParams
1233
-
1234
- end
1235
- class CustomerBalance < Stripe::RequestParams
1236
-
1237
- end
1238
- class Eps < Stripe::RequestParams
1239
- # The customer's bank.
1240
- sig { returns(String) }
1241
- attr_accessor :bank
1242
- sig { params(bank: String).void }
1243
- def initialize(bank: nil); end
1244
- end
1245
- class Fpx < Stripe::RequestParams
1246
- # Account holder type for FPX transaction
1247
- sig { returns(String) }
1248
- attr_accessor :account_holder_type
1249
- # The customer's bank.
1250
- sig { returns(String) }
1251
- attr_accessor :bank
1252
- sig { params(account_holder_type: String, bank: String).void }
1253
- def initialize(account_holder_type: nil, bank: nil); end
1254
- end
1255
- class Giropay < Stripe::RequestParams
1256
-
1257
- end
1258
- class Gopay < Stripe::RequestParams
1259
-
1260
- end
1261
- class Grabpay < Stripe::RequestParams
1262
-
1263
- end
1264
- class IdBankTransfer < Stripe::RequestParams
1265
- # Bank where the account is held.
1266
- sig { returns(String) }
1267
- attr_accessor :bank
1268
- sig { params(bank: String).void }
1269
- def initialize(bank: nil); end
1270
- end
1271
- class Ideal < Stripe::RequestParams
1272
- # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
1273
- sig { returns(String) }
1274
- attr_accessor :bank
1275
- sig { params(bank: String).void }
1276
- def initialize(bank: nil); end
1277
- end
1278
- class InteracPresent < Stripe::RequestParams
1279
-
1280
- end
1281
- class KakaoPay < Stripe::RequestParams
1282
-
1283
- end
1284
- class Klarna < Stripe::RequestParams
1285
- class Dob < Stripe::RequestParams
1286
- # The day of birth, between 1 and 31.
1287
- sig { returns(Integer) }
1288
- attr_accessor :day
1289
- # The month of birth, between 1 and 12.
1290
- sig { returns(Integer) }
1291
- attr_accessor :month
1292
- # The four-digit year of birth.
1293
- sig { returns(Integer) }
1294
- attr_accessor :year
1295
- sig { params(day: Integer, month: Integer, year: Integer).void }
1296
- def initialize(day: nil, month: nil, year: nil); end
1297
- end
1298
- # Customer's date of birth
1299
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Klarna::Dob) }
1300
- attr_accessor :dob
1301
- sig {
1302
- params(dob: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Klarna::Dob).void
1303
- }
1304
- def initialize(dob: nil); end
1305
- end
1306
- class Konbini < Stripe::RequestParams
1307
-
1308
- end
1309
- class KrCard < Stripe::RequestParams
1310
-
1311
- end
1312
- class Link < Stripe::RequestParams
1313
-
1314
- end
1315
- class MbWay < Stripe::RequestParams
1316
-
1317
- end
1318
- class Mobilepay < Stripe::RequestParams
1319
-
1320
- end
1321
- class Multibanco < Stripe::RequestParams
1322
-
1323
- end
1324
- class NaverPay < Stripe::RequestParams
1325
- # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
1326
- sig { returns(String) }
1327
- attr_accessor :funding
1328
- sig { params(funding: String).void }
1329
- def initialize(funding: nil); end
1330
- end
1331
- class Oxxo < Stripe::RequestParams
1332
-
1333
- end
1334
- class P24 < Stripe::RequestParams
1335
- # The customer's bank.
1336
- sig { returns(String) }
1337
- attr_accessor :bank
1338
- sig { params(bank: String).void }
1339
- def initialize(bank: nil); end
1340
- end
1341
- class PayByBank < Stripe::RequestParams
1342
-
1343
- end
1344
- class Payco < Stripe::RequestParams
1345
-
1346
- end
1347
- class Paynow < Stripe::RequestParams
1348
-
1349
- end
1350
- class Paypal < Stripe::RequestParams
1351
-
1352
- end
1353
- class Payto < Stripe::RequestParams
1354
- # The account number for the bank account.
1355
- sig { returns(String) }
1356
- attr_accessor :account_number
1357
- # Bank-State-Branch number of the bank account.
1358
- sig { returns(String) }
1359
- attr_accessor :bsb_number
1360
- # The PayID alias for the bank account.
1361
- sig { returns(String) }
1362
- attr_accessor :pay_id
1363
- sig { params(account_number: String, bsb_number: String, pay_id: String).void }
1364
- def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end
1365
- end
1366
- class Pix < Stripe::RequestParams
1367
-
1368
- end
1369
- class Promptpay < Stripe::RequestParams
1370
-
1371
- end
1372
- class Qris < Stripe::RequestParams
1373
-
1374
- end
1375
- class RadarOptions < Stripe::RequestParams
1376
- # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
1377
- sig { returns(String) }
1378
- attr_accessor :session
1379
- sig { params(session: String).void }
1380
- def initialize(session: nil); end
1381
- end
1382
- class Rechnung < Stripe::RequestParams
1383
- class Dob < Stripe::RequestParams
1384
- # The day of birth, between 1 and 31.
1385
- sig { returns(Integer) }
1386
- attr_accessor :day
1387
- # The month of birth, between 1 and 12.
1388
- sig { returns(Integer) }
1389
- attr_accessor :month
1390
- # The four-digit year of birth.
1391
- sig { returns(Integer) }
1392
- attr_accessor :year
1393
- sig { params(day: Integer, month: Integer, year: Integer).void }
1394
- def initialize(day: nil, month: nil, year: nil); end
1395
- end
1396
- # Customer's date of birth
1397
- sig {
1398
- returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Rechnung::Dob)
1399
- }
1400
- attr_accessor :dob
1401
- sig {
1402
- params(dob: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Rechnung::Dob).void
1403
- }
1404
- def initialize(dob: nil); end
1405
- end
1406
- class RevolutPay < Stripe::RequestParams
1407
-
1408
- end
1409
- class SamsungPay < Stripe::RequestParams
1410
-
1411
- end
1412
- class SepaDebit < Stripe::RequestParams
1413
- # IBAN of the bank account.
1414
- sig { returns(String) }
1415
- attr_accessor :iban
1416
- sig { params(iban: String).void }
1417
- def initialize(iban: nil); end
1418
- end
1419
- class Shopeepay < Stripe::RequestParams
1420
-
1421
- end
1422
- class Sofort < Stripe::RequestParams
1423
- # Two-letter ISO code representing the country the bank account is located in.
1424
- sig { returns(String) }
1425
- attr_accessor :country
1426
- sig { params(country: String).void }
1427
- def initialize(country: nil); end
1428
- end
1429
- class Swish < Stripe::RequestParams
1430
-
1431
- end
1432
- class Twint < Stripe::RequestParams
1433
-
1434
- end
1435
- class UsBankAccount < Stripe::RequestParams
1436
- # Account holder type: individual or company.
1437
- sig { returns(String) }
1438
- attr_accessor :account_holder_type
1439
- # Account number of the bank account.
1440
- sig { returns(String) }
1441
- attr_accessor :account_number
1442
- # Account type: checkings or savings. Defaults to checking if omitted.
1443
- sig { returns(String) }
1444
- attr_accessor :account_type
1445
- # The ID of a Financial Connections Account to use as a payment method.
1446
- sig { returns(String) }
1447
- attr_accessor :financial_connections_account
1448
- # Routing number of the bank account.
1449
- sig { returns(String) }
1450
- attr_accessor :routing_number
1451
- sig {
1452
- params(account_holder_type: String, account_number: String, account_type: String, financial_connections_account: String, routing_number: String).void
1453
- }
1454
- def initialize(
1455
- account_holder_type: nil,
1456
- account_number: nil,
1457
- account_type: nil,
1458
- financial_connections_account: nil,
1459
- routing_number: nil
1460
- ); end
1461
- end
1462
- class WechatPay < Stripe::RequestParams
1463
-
1464
- end
1465
- class Zip < Stripe::RequestParams
1466
-
1467
- end
1468
- # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
1469
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::AcssDebit) }
1470
- attr_accessor :acss_debit
1471
- # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
1472
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Affirm) }
1473
- attr_accessor :affirm
1474
- # If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
1475
- sig {
1476
- returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::AfterpayClearpay)
1477
- }
1478
- attr_accessor :afterpay_clearpay
1479
- # If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
1480
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Alipay) }
1481
- attr_accessor :alipay
1482
- # 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`.
1483
- sig { returns(String) }
1484
- attr_accessor :allow_redisplay
1485
- # If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
1486
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Alma) }
1487
- attr_accessor :alma
1488
- # If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
1489
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::AmazonPay) }
1490
- attr_accessor :amazon_pay
1491
- # If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
1492
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::AuBecsDebit) }
1493
- attr_accessor :au_becs_debit
1494
- # If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
1495
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::BacsDebit) }
1496
- attr_accessor :bacs_debit
1497
- # If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
1498
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Bancontact) }
1499
- attr_accessor :bancontact
1500
- # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
1501
- sig {
1502
- returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::BillingDetails)
1503
- }
1504
- attr_accessor :billing_details
1505
- # If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
1506
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Blik) }
1507
- attr_accessor :blik
1508
- # If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
1509
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Boleto) }
1510
- attr_accessor :boleto
1511
- # If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
1512
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Cashapp) }
1513
- attr_accessor :cashapp
1514
- # If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
1515
- sig {
1516
- returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::CustomerBalance)
1517
- }
1518
- attr_accessor :customer_balance
1519
- # If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
1520
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Eps) }
1521
- attr_accessor :eps
1522
- # If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
1523
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Fpx) }
1524
- attr_accessor :fpx
1525
- # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
1526
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Giropay) }
1527
- attr_accessor :giropay
1528
- # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
1529
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Gopay) }
1530
- attr_accessor :gopay
1531
- # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
1532
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Grabpay) }
1533
- attr_accessor :grabpay
1534
- # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
1535
- sig {
1536
- returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::IdBankTransfer)
1537
- }
1538
- attr_accessor :id_bank_transfer
1539
- # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
1540
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Ideal) }
1541
- attr_accessor :ideal
1542
- # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
1543
- sig {
1544
- returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::InteracPresent)
1545
- }
1546
- attr_accessor :interac_present
1547
- # If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
1548
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::KakaoPay) }
1549
- attr_accessor :kakao_pay
1550
- # If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
1551
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Klarna) }
1552
- attr_accessor :klarna
1553
- # If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
1554
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Konbini) }
1555
- attr_accessor :konbini
1556
- # If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
1557
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::KrCard) }
1558
- attr_accessor :kr_card
1559
- # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
1560
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Link) }
1561
- attr_accessor :link
1562
- # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
1563
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::MbWay) }
1564
- attr_accessor :mb_way
1565
- # Set of [key-value pairs](https://stripe.com/docs/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`.
1566
- sig { returns(T::Hash[String, String]) }
1567
- attr_accessor :metadata
1568
- # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
1569
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Mobilepay) }
1570
- attr_accessor :mobilepay
1571
- # If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
1572
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Multibanco) }
1573
- attr_accessor :multibanco
1574
- # If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
1575
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::NaverPay) }
1576
- attr_accessor :naver_pay
1577
- # If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
1578
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Oxxo) }
1579
- attr_accessor :oxxo
1580
- # If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
1581
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::P24) }
1582
- attr_accessor :p24
1583
- # If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
1584
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::PayByBank) }
1585
- attr_accessor :pay_by_bank
1586
- # If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
1587
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Payco) }
1588
- attr_accessor :payco
1589
- # If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
1590
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Paynow) }
1591
- attr_accessor :paynow
1592
- # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
1593
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Paypal) }
1594
- attr_accessor :paypal
1595
- # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
1596
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Payto) }
1597
- attr_accessor :payto
1598
- # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
1599
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Pix) }
1600
- attr_accessor :pix
1601
- # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
1602
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Promptpay) }
1603
- attr_accessor :promptpay
1604
- # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
1605
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Qris) }
1606
- attr_accessor :qris
1607
- # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
1608
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::RadarOptions) }
1609
- attr_accessor :radar_options
1610
- # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
1611
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Rechnung) }
1612
- attr_accessor :rechnung
1613
- # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
1614
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::RevolutPay) }
1615
- attr_accessor :revolut_pay
1616
- # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
1617
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::SamsungPay) }
1618
- attr_accessor :samsung_pay
1619
- # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
1620
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::SepaDebit) }
1621
- attr_accessor :sepa_debit
1622
- # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
1623
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Shopeepay) }
1624
- attr_accessor :shopeepay
1625
- # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
1626
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Sofort) }
1627
- attr_accessor :sofort
1628
- # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
1629
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Swish) }
1630
- attr_accessor :swish
1631
- # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
1632
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Twint) }
1633
- attr_accessor :twint
1634
- # The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
1635
- sig { returns(String) }
1636
- attr_accessor :type
1637
- # If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
1638
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::UsBankAccount) }
1639
- attr_accessor :us_bank_account
1640
- # If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
1641
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::WechatPay) }
1642
- attr_accessor :wechat_pay
1643
- # If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
1644
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Zip) }
1645
- attr_accessor :zip
1646
- sig {
1647
- params(acss_debit: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::AcssDebit, affirm: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Affirm, afterpay_clearpay: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::AfterpayClearpay, alipay: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Alipay, allow_redisplay: String, alma: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Alma, amazon_pay: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::AmazonPay, au_becs_debit: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::AuBecsDebit, bacs_debit: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::BacsDebit, bancontact: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Bancontact, billing_details: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::BillingDetails, blik: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Blik, boleto: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Boleto, cashapp: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Cashapp, customer_balance: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::CustomerBalance, eps: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Eps, fpx: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Fpx, giropay: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Giropay, gopay: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Gopay, grabpay: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Grabpay, id_bank_transfer: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::IdBankTransfer, ideal: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Ideal, interac_present: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::InteracPresent, kakao_pay: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::KakaoPay, klarna: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Klarna, konbini: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Konbini, kr_card: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::KrCard, link: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Link, mb_way: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::MbWay, metadata: T::Hash[String, String], mobilepay: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Mobilepay, multibanco: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Multibanco, naver_pay: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::NaverPay, oxxo: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Oxxo, p24: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::P24, pay_by_bank: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::PayByBank, payco: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Payco, paynow: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Paynow, paypal: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Paypal, payto: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Payto, pix: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Pix, promptpay: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Promptpay, qris: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Qris, radar_options: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::RadarOptions, rechnung: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Rechnung, revolut_pay: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::RevolutPay, samsung_pay: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::SamsungPay, sepa_debit: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::SepaDebit, shopeepay: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Shopeepay, sofort: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Sofort, swish: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Swish, twint: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Twint, type: String, us_bank_account: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::UsBankAccount, wechat_pay: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::WechatPay, zip: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Zip).void
1648
- }
1649
- def initialize(
1650
- acss_debit: nil,
1651
- affirm: nil,
1652
- afterpay_clearpay: nil,
1653
- alipay: nil,
1654
- allow_redisplay: nil,
1655
- alma: nil,
1656
- amazon_pay: nil,
1657
- au_becs_debit: nil,
1658
- bacs_debit: nil,
1659
- bancontact: nil,
1660
- billing_details: nil,
1661
- blik: nil,
1662
- boleto: nil,
1663
- cashapp: nil,
1664
- customer_balance: nil,
1665
- eps: nil,
1666
- fpx: nil,
1667
- giropay: nil,
1668
- gopay: nil,
1669
- grabpay: nil,
1670
- id_bank_transfer: nil,
1671
- ideal: nil,
1672
- interac_present: nil,
1673
- kakao_pay: nil,
1674
- klarna: nil,
1675
- konbini: nil,
1676
- kr_card: nil,
1677
- link: nil,
1678
- mb_way: nil,
1679
- metadata: nil,
1680
- mobilepay: nil,
1681
- multibanco: nil,
1682
- naver_pay: nil,
1683
- oxxo: nil,
1684
- p24: nil,
1685
- pay_by_bank: nil,
1686
- payco: nil,
1687
- paynow: nil,
1688
- paypal: nil,
1689
- payto: nil,
1690
- pix: nil,
1691
- promptpay: nil,
1692
- qris: nil,
1693
- radar_options: nil,
1694
- rechnung: nil,
1695
- revolut_pay: nil,
1696
- samsung_pay: nil,
1697
- sepa_debit: nil,
1698
- shopeepay: nil,
1699
- sofort: nil,
1700
- swish: nil,
1701
- twint: nil,
1702
- type: nil,
1703
- us_bank_account: nil,
1704
- wechat_pay: nil,
1705
- zip: nil
1706
- ); end
1707
- end
1708
- class Shipping < Stripe::RequestParams
1709
- class Address < Stripe::RequestParams
1710
- # City, district, suburb, town, or village.
1711
- sig { returns(String) }
1712
- attr_accessor :city
1713
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1714
- sig { returns(String) }
1715
- attr_accessor :country
1716
- # Address line 1 (e.g., street, PO Box, or company name).
1717
- sig { returns(String) }
1718
- attr_accessor :line1
1719
- # Address line 2 (e.g., apartment, suite, unit, or building).
1720
- sig { returns(String) }
1721
- attr_accessor :line2
1722
- # ZIP or postal code.
1723
- sig { returns(String) }
1724
- attr_accessor :postal_code
1725
- # State, county, province, or region.
1726
- sig { returns(String) }
1727
- attr_accessor :state
1728
- sig {
1729
- params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
1730
- }
1731
- def initialize(
1732
- city: nil,
1733
- country: nil,
1734
- line1: nil,
1735
- line2: nil,
1736
- postal_code: nil,
1737
- state: nil
1738
- ); end
1739
- end
1740
- # Shipping address
1741
- sig { returns(::Stripe::ConfirmationToken::CreateParams::Shipping::Address) }
1742
- attr_accessor :address
1743
- # Recipient name.
1744
- sig { returns(String) }
1745
- attr_accessor :name
1746
- # Recipient phone (including extension)
1747
- sig { returns(T.nilable(String)) }
1748
- attr_accessor :phone
1749
- sig {
1750
- params(address: ::Stripe::ConfirmationToken::CreateParams::Shipping::Address, name: String, phone: T.nilable(String)).void
1751
- }
1752
- def initialize(address: nil, name: nil, phone: nil); end
1753
- end
1754
- # Specifies which fields in the response should be expanded.
1755
- sig { returns(T::Array[String]) }
1756
- attr_accessor :expand
1757
- # ID of an existing PaymentMethod.
1758
- sig { returns(String) }
1759
- attr_accessor :payment_method
1760
- # If provided, this hash will be used to create a PaymentMethod.
1761
- sig { returns(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData) }
1762
- attr_accessor :payment_method_data
1763
- # Return URL used to confirm the Intent.
1764
- sig { returns(String) }
1765
- attr_accessor :return_url
1766
- # Indicates that you intend to make future payments with this ConfirmationToken's payment method.
1767
- #
1768
- # The presence of this property will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete.
1769
- sig { returns(String) }
1770
- attr_accessor :setup_future_usage
1771
- # Shipping information for this ConfirmationToken.
1772
- sig { returns(::Stripe::ConfirmationToken::CreateParams::Shipping) }
1773
- attr_accessor :shipping
1774
- sig {
1775
- params(expand: T::Array[String], payment_method: String, payment_method_data: ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData, return_url: String, setup_future_usage: String, shipping: ::Stripe::ConfirmationToken::CreateParams::Shipping).void
1776
- }
1777
- def initialize(
1778
- expand: nil,
1779
- payment_method: nil,
1780
- payment_method_data: nil,
1781
- return_url: nil,
1782
- setup_future_usage: nil,
1783
- shipping: nil
1784
- ); end
1785
- end
1786
- end
1787
- end