stripe 13.6.0.pre.beta.1 → 14.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (556) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +699 -1457
  3. data/OPENAPI_VERSION +1 -1
  4. data/README.md +29 -0
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_requestor.rb +2 -0
  7. data/lib/stripe/api_version.rb +1 -1
  8. data/lib/stripe/errors.rb +0 -7
  9. data/lib/stripe/object_types.rb +0 -26
  10. data/lib/stripe/resources/account.rb +83 -614
  11. data/lib/stripe/resources/account_session.rb +1 -247
  12. data/lib/stripe/resources/apple_pay_domain.rb +0 -9
  13. data/lib/stripe/resources/application_fee.rb +1 -10
  14. data/lib/stripe/resources/balance.rb +0 -9
  15. data/lib/stripe/resources/balance_transaction.rb +2 -11
  16. data/lib/stripe/resources/bank_account.rb +1 -1
  17. data/lib/stripe/resources/billing/alert.rb +0 -9
  18. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -48
  19. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -9
  20. data/lib/stripe/resources/billing/credit_grant.rb +4 -13
  21. data/lib/stripe/resources/billing/meter.rb +1 -10
  22. data/lib/stripe/resources/billing_portal/configuration.rb +0 -9
  23. data/lib/stripe/resources/card.rb +2 -4
  24. data/lib/stripe/resources/charge.rb +35 -1457
  25. data/lib/stripe/resources/checkout/session.rb +100 -293
  26. data/lib/stripe/resources/climate/order.rb +0 -9
  27. data/lib/stripe/resources/climate/product.rb +0 -9
  28. data/lib/stripe/resources/climate/supplier.rb +0 -9
  29. data/lib/stripe/resources/confirmation_token.rb +74 -156
  30. data/lib/stripe/resources/country_spec.rb +0 -9
  31. data/lib/stripe/resources/coupon.rb +0 -9
  32. data/lib/stripe/resources/credit_note.rb +14 -35
  33. data/lib/stripe/resources/credit_note_line_item.rb +14 -12
  34. data/lib/stripe/resources/customer.rb +12 -28
  35. data/lib/stripe/resources/customer_balance_transaction.rb +3 -1
  36. data/lib/stripe/resources/dispute.rb +0 -9
  37. data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -9
  38. data/lib/stripe/resources/entitlements/feature.rb +0 -9
  39. data/lib/stripe/resources/event.rb +0 -40
  40. data/lib/stripe/resources/exchange_rate.rb +0 -9
  41. data/lib/stripe/resources/file.rb +0 -9
  42. data/lib/stripe/resources/file_link.rb +0 -9
  43. data/lib/stripe/resources/financial_connections/account.rb +0 -23
  44. data/lib/stripe/resources/financial_connections/session.rb +1 -65
  45. data/lib/stripe/resources/financial_connections/transaction.rb +0 -9
  46. data/lib/stripe/resources/forwarding/request.rb +0 -9
  47. data/lib/stripe/resources/identity/verification_report.rb +0 -9
  48. data/lib/stripe/resources/identity/verification_session.rb +0 -9
  49. data/lib/stripe/resources/invoice.rb +225 -5120
  50. data/lib/stripe/resources/invoice_item.rb +65 -110
  51. data/lib/stripe/resources/invoice_line_item.rb +106 -89
  52. data/lib/stripe/resources/invoice_payment.rb +53 -4
  53. data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
  54. data/lib/stripe/resources/issuing/authorization.rb +0 -9
  55. data/lib/stripe/resources/issuing/card.rb +0 -9
  56. data/lib/stripe/resources/issuing/cardholder.rb +1 -11
  57. data/lib/stripe/resources/issuing/dispute.rb +0 -9
  58. data/lib/stripe/resources/issuing/personalization_design.rb +0 -9
  59. data/lib/stripe/resources/issuing/physical_bundle.rb +0 -9
  60. data/lib/stripe/resources/issuing/token.rb +0 -9
  61. data/lib/stripe/resources/issuing/transaction.rb +0 -15
  62. data/lib/stripe/resources/line_item.rb +0 -28
  63. data/lib/stripe/resources/mandate.rb +6 -33
  64. data/lib/stripe/resources/payment_intent.rb +642 -4975
  65. data/lib/stripe/resources/payment_link.rb +84 -15
  66. data/lib/stripe/resources/payment_method.rb +74 -187
  67. data/lib/stripe/resources/payment_method_configuration.rb +87 -214
  68. data/lib/stripe/resources/payment_method_domain.rb +9 -18
  69. data/lib/stripe/resources/payout.rb +0 -9
  70. data/lib/stripe/resources/person.rb +9 -9
  71. data/lib/stripe/resources/plan.rb +0 -15
  72. data/lib/stripe/resources/price.rb +2 -47
  73. data/lib/stripe/resources/product.rb +0 -68
  74. data/lib/stripe/resources/promotion_code.rb +0 -9
  75. data/lib/stripe/resources/quote.rb +8 -2037
  76. data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -9
  77. data/lib/stripe/resources/radar/value_list.rb +0 -9
  78. data/lib/stripe/resources/radar/value_list_item.rb +0 -9
  79. data/lib/stripe/resources/refund.rb +13 -18
  80. data/lib/stripe/resources/reporting/report_run.rb +0 -9
  81. data/lib/stripe/resources/reporting/report_type.rb +0 -9
  82. data/lib/stripe/resources/review.rb +2 -11
  83. data/lib/stripe/resources/setup_attempt.rb +11 -16
  84. data/lib/stripe/resources/setup_intent.rb +158 -540
  85. data/lib/stripe/resources/shipping_rate.rb +0 -9
  86. data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -9
  87. data/lib/stripe/resources/source.rb +0 -41
  88. data/lib/stripe/resources/subscription.rb +14 -385
  89. data/lib/stripe/resources/subscription_item.rb +9 -134
  90. data/lib/stripe/resources/subscription_schedule.rb +14 -1135
  91. data/lib/stripe/resources/tax/calculation.rb +0 -9
  92. data/lib/stripe/resources/tax/registration.rb +1 -10
  93. data/lib/stripe/resources/tax/settings.rb +0 -9
  94. data/lib/stripe/resources/tax/transaction.rb +0 -9
  95. data/lib/stripe/resources/tax_code.rb +0 -9
  96. data/lib/stripe/resources/tax_id.rb +0 -9
  97. data/lib/stripe/resources/tax_rate.rb +0 -9
  98. data/lib/stripe/resources/terminal/configuration.rb +214 -14
  99. data/lib/stripe/resources/terminal/location.rb +0 -9
  100. data/lib/stripe/resources/terminal/reader.rb +0 -408
  101. data/lib/stripe/resources/test_helpers/test_clock.rb +0 -9
  102. data/lib/stripe/resources/token.rb +1 -10
  103. data/lib/stripe/resources/topup.rb +0 -9
  104. data/lib/stripe/resources/transfer.rb +0 -9
  105. data/lib/stripe/resources/treasury/credit_reversal.rb +0 -9
  106. data/lib/stripe/resources/treasury/debit_reversal.rb +0 -9
  107. data/lib/stripe/resources/treasury/financial_account.rb +4 -32
  108. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  109. data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -9
  110. data/lib/stripe/resources/treasury/outbound_payment.rb +0 -9
  111. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -46
  112. data/lib/stripe/resources/treasury/received_credit.rb +1 -47
  113. data/lib/stripe/resources/treasury/received_debit.rb +1 -49
  114. data/lib/stripe/resources/treasury/transaction.rb +0 -9
  115. data/lib/stripe/resources/treasury/transaction_entry.rb +0 -9
  116. data/lib/stripe/resources/v2/event.rb +1 -0
  117. data/lib/stripe/resources/v2/event_destination.rb +1 -0
  118. data/lib/stripe/resources/webhook_endpoint.rb +0 -9
  119. data/lib/stripe/resources.rb +0 -25
  120. data/lib/stripe/services/account_external_account_service.rb +1 -1
  121. data/lib/stripe/services/account_service.rb +68 -509
  122. data/lib/stripe/services/account_session_service.rb +1 -217
  123. data/lib/stripe/services/balance_transaction_service.rb +1 -1
  124. data/lib/stripe/services/billing/credit_balance_summary_service.rb +2 -2
  125. data/lib/stripe/services/billing/credit_grant_service.rb +2 -2
  126. data/lib/stripe/services/billing/meter_service.rb +1 -1
  127. data/lib/stripe/services/charge_service.rb +1 -1335
  128. data/lib/stripe/services/checkout/session_service.rb +60 -168
  129. data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -4
  130. data/lib/stripe/services/credit_note_service.rb +0 -8
  131. data/lib/stripe/services/customer_service.rb +0 -16
  132. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  133. data/lib/stripe/services/financial_connections/session_service.rb +1 -30
  134. data/lib/stripe/services/financial_connections_service.rb +1 -2
  135. data/lib/stripe/services/invoice_item_service.rb +34 -88
  136. data/lib/stripe/services/invoice_line_item_service.rb +25 -41
  137. data/lib/stripe/services/invoice_payment_service.rb +33 -5
  138. data/lib/stripe/services/invoice_service.rb +210 -3147
  139. data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
  140. data/lib/stripe/services/issuing/transaction_service.rb +0 -4
  141. data/lib/stripe/services/issuing_service.rb +1 -5
  142. data/lib/stripe/services/payment_intent_service.rb +568 -4513
  143. data/lib/stripe/services/payment_link_service.rb +59 -6
  144. data/lib/stripe/services/payment_method_configuration_service.rb +62 -146
  145. data/lib/stripe/services/payment_method_domain_service.rb +6 -6
  146. data/lib/stripe/services/payment_method_service.rb +49 -119
  147. data/lib/stripe/services/plan_service.rb +0 -4
  148. data/lib/stripe/services/price_service.rb +2 -25
  149. data/lib/stripe/services/product_service.rb +0 -38
  150. data/lib/stripe/services/quote_service.rb +9 -1716
  151. data/lib/stripe/services/setup_intent_service.rb +158 -492
  152. data/lib/stripe/services/subscription_item_service.rb +5 -111
  153. data/lib/stripe/services/subscription_schedule_service.rb +14 -1005
  154. data/lib/stripe/services/subscription_service.rb +13 -323
  155. data/lib/stripe/services/tax/registration_service.rb +1 -1
  156. data/lib/stripe/services/tax_service.rb +1 -3
  157. data/lib/stripe/services/terminal/configuration_service.rb +170 -4
  158. data/lib/stripe/services/terminal/reader_service.rb +0 -177
  159. data/lib/stripe/services/terminal_service.rb +1 -2
  160. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +49 -87
  161. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -43
  162. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
  163. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
  164. data/lib/stripe/services/token_service.rb +1 -1
  165. data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
  166. data/lib/stripe/services/treasury/financial_account_service.rb +3 -17
  167. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
  168. data/lib/stripe/services/v1_services.rb +2 -8
  169. data/lib/stripe/services/v2/core/event_destination_service.rb +1 -4
  170. data/lib/stripe/services/v2/core/event_service.rb +1 -4
  171. data/lib/stripe/services.rb +0 -27
  172. data/lib/stripe/stripe_client.rb +1 -0
  173. data/lib/stripe/stripe_configuration.rb +1 -3
  174. data/lib/stripe/util.rb +1 -7
  175. data/lib/stripe/version.rb +1 -1
  176. data/lib/stripe.rb +0 -45
  177. data/rbi/stripe/resources/account.rbi +1131 -1479
  178. data/rbi/stripe/resources/account_link.rbi +9 -9
  179. data/rbi/stripe/resources/account_session.rbi +118 -367
  180. data/rbi/stripe/resources/apple_pay_domain.rbi +8 -15
  181. data/rbi/stripe/resources/application_fee.rbi +15 -20
  182. data/rbi/stripe/resources/apps/secret.rbi +20 -20
  183. data/rbi/stripe/resources/balance.rbi +0 -7
  184. data/rbi/stripe/resources/balance_transaction.rbi +19 -24
  185. data/rbi/stripe/resources/bank_account.rbi +1 -1
  186. data/rbi/stripe/resources/billing/alert.rbi +23 -28
  187. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -53
  188. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +6 -13
  189. data/rbi/stripe/resources/billing/credit_grant.rbi +30 -37
  190. data/rbi/stripe/resources/billing/meter.rbi +19 -26
  191. data/rbi/stripe/resources/billing/meter_event.rbi +4 -4
  192. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +5 -5
  193. data/rbi/stripe/resources/billing_portal/configuration.rbi +86 -81
  194. data/rbi/stripe/resources/billing_portal/session.rbi +31 -27
  195. data/rbi/stripe/resources/card.rbi +2 -5
  196. data/rbi/stripe/resources/charge.rbi +136 -1576
  197. data/rbi/stripe/resources/checkout/session.rbi +631 -748
  198. data/rbi/stripe/resources/climate/order.rbi +20 -25
  199. data/rbi/stripe/resources/climate/product.rbi +5 -12
  200. data/rbi/stripe/resources/climate/supplier.rbi +5 -12
  201. data/rbi/stripe/resources/confirmation_token.rbi +274 -268
  202. data/rbi/stripe/resources/country_spec.rbi +5 -12
  203. data/rbi/stripe/resources/coupon.rbi +34 -39
  204. data/rbi/stripe/resources/credit_note.rbi +134 -146
  205. data/rbi/stripe/resources/credit_note_line_item.rbi +20 -18
  206. data/rbi/stripe/resources/customer.rbi +172 -164
  207. data/rbi/stripe/resources/customer_balance_transaction.rbi +4 -1
  208. data/rbi/stripe/resources/customer_session.rbi +19 -15
  209. data/rbi/stripe/resources/dispute.rbi +92 -95
  210. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +5 -12
  211. data/rbi/stripe/resources/entitlements/feature.rbi +15 -22
  212. data/rbi/stripe/resources/ephemeral_key.rbi +2 -2
  213. data/rbi/stripe/resources/event.rbi +16 -60
  214. data/rbi/stripe/resources/exchange_rate.rbi +5 -12
  215. data/rbi/stripe/resources/file.rbi +20 -25
  216. data/rbi/stripe/resources/file_link.rbi +23 -28
  217. data/rbi/stripe/resources/financial_connections/account.rbi +25 -44
  218. data/rbi/stripe/resources/financial_connections/session.rbi +12 -75
  219. data/rbi/stripe/resources/financial_connections/transaction.rbi +16 -19
  220. data/rbi/stripe/resources/forwarding/request.rbi +21 -24
  221. data/rbi/stripe/resources/identity/verification_report.rbi +18 -21
  222. data/rbi/stripe/resources/identity/verification_session.rbi +60 -61
  223. data/rbi/stripe/resources/invoice.rbi +723 -5918
  224. data/rbi/stripe/resources/invoice_item.rbi +138 -177
  225. data/rbi/stripe/resources/invoice_line_item.rbi +199 -264
  226. data/rbi/stripe/resources/invoice_payment.rbi +51 -7
  227. data/rbi/stripe/resources/invoice_rendering_template.rbi +10 -20
  228. data/rbi/stripe/resources/issuing/authorization.rbi +216 -199
  229. data/rbi/stripe/resources/issuing/card.rbi +104 -101
  230. data/rbi/stripe/resources/issuing/cardholder.rbi +120 -108
  231. data/rbi/stripe/resources/issuing/dispute.rbi +164 -151
  232. data/rbi/stripe/resources/issuing/personalization_design.rbi +61 -56
  233. data/rbi/stripe/resources/issuing/physical_bundle.rbi +7 -14
  234. data/rbi/stripe/resources/issuing/token.rbi +16 -21
  235. data/rbi/stripe/resources/issuing/transaction.rbi +180 -176
  236. data/rbi/stripe/resources/line_item.rbi +0 -36
  237. data/rbi/stripe/resources/mandate.rbi +8 -40
  238. data/rbi/stripe/resources/payment_intent.rbi +2252 -6482
  239. data/rbi/stripe/resources/payment_link.rbi +346 -211
  240. data/rbi/stripe/resources/payment_method.rbi +226 -330
  241. data/rbi/stripe/resources/payment_method_configuration.rbi +602 -685
  242. data/rbi/stripe/resources/payment_method_domain.rbi +26 -31
  243. data/rbi/stripe/resources/payout.rbi +43 -42
  244. data/rbi/stripe/resources/person.rbi +9 -9
  245. data/rbi/stripe/resources/plan.rbi +51 -63
  246. data/rbi/stripe/resources/price.rbi +114 -151
  247. data/rbi/stripe/resources/product.rbi +90 -152
  248. data/rbi/stripe/resources/promotion_code.rbi +42 -47
  249. data/rbi/stripe/resources/quote.rbi +168 -2231
  250. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +17 -20
  251. data/rbi/stripe/resources/radar/value_list.rbi +24 -29
  252. data/rbi/stripe/resources/radar/value_list_item.rbi +18 -21
  253. data/rbi/stripe/resources/refund.rbi +52 -51
  254. data/rbi/stripe/resources/reporting/report_run.rbi +27 -30
  255. data/rbi/stripe/resources/reporting/report_type.rbi +2 -9
  256. data/rbi/stripe/resources/review.rbi +17 -22
  257. data/rbi/stripe/resources/setup_attempt.rbi +25 -32
  258. data/rbi/stripe/resources/setup_intent.rbi +900 -1102
  259. data/rbi/stripe/resources/shipping_rate.rbi +41 -46
  260. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +5 -12
  261. data/rbi/stripe/resources/source.rbi +132 -179
  262. data/rbi/stripe/resources/subscription.rbi +363 -707
  263. data/rbi/stripe/resources/subscription_item.rbi +69 -177
  264. data/rbi/stripe/resources/subscription_schedule.rbi +289 -1447
  265. data/rbi/stripe/resources/tax/calculation.rbi +43 -48
  266. data/rbi/stripe/resources/tax/registration.rbi +217 -170
  267. data/rbi/stripe/resources/tax/settings.rbi +14 -21
  268. data/rbi/stripe/resources/tax/transaction.rbi +20 -25
  269. data/rbi/stripe/resources/tax_code.rbi +5 -12
  270. data/rbi/stripe/resources/tax_id.rbi +15 -22
  271. data/rbi/stripe/resources/tax_rate.rbi +34 -39
  272. data/rbi/stripe/resources/terminal/configuration.rbi +457 -212
  273. data/rbi/stripe/resources/terminal/connection_token.rbi +3 -3
  274. data/rbi/stripe/resources/terminal/location.rbi +28 -35
  275. data/rbi/stripe/resources/terminal/reader.rbi +71 -441
  276. data/rbi/stripe/resources/test_helpers/test_clock.rbi +12 -17
  277. data/rbi/stripe/resources/token.rbi +288 -263
  278. data/rbi/stripe/resources/topup.rbi +35 -38
  279. data/rbi/stripe/resources/transfer.rbi +27 -32
  280. data/rbi/stripe/resources/treasury/credit_reversal.rbi +10 -17
  281. data/rbi/stripe/resources/treasury/debit_reversal.rbi +11 -18
  282. data/rbi/stripe/resources/treasury/financial_account.rbi +125 -130
  283. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -3
  284. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +22 -29
  285. data/rbi/stripe/resources/treasury/outbound_payment.rbi +82 -79
  286. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +44 -86
  287. data/rbi/stripe/resources/treasury/received_credit.rbi +18 -64
  288. data/rbi/stripe/resources/treasury/received_debit.rbi +17 -66
  289. data/rbi/stripe/resources/treasury/transaction.rbi +27 -28
  290. data/rbi/stripe/resources/treasury/transaction_entry.rbi +25 -26
  291. data/rbi/stripe/resources/v2/amount.rbi +1 -1
  292. data/rbi/stripe/resources/v2/event.rbi +1 -0
  293. data/rbi/stripe/resources/v2/event_destination.rbi +1 -0
  294. data/rbi/stripe/resources/webhook_endpoint.rbi +18 -25
  295. data/rbi/stripe/services/account_capability_service.rbi +7 -7
  296. data/rbi/stripe/services/account_external_account_service.rbi +52 -52
  297. data/rbi/stripe/services/account_link_service.rbi +9 -9
  298. data/rbi/stripe/services/account_login_link_service.rbi +2 -2
  299. data/rbi/stripe/services/account_person_service.rbi +221 -201
  300. data/rbi/stripe/services/account_service.rbi +1221 -1345
  301. data/rbi/stripe/services/account_session_service.rbi +115 -346
  302. data/rbi/stripe/services/apple_pay_domain_service.rbi +10 -10
  303. data/rbi/stripe/services/application_fee_refund_service.rbi +16 -14
  304. data/rbi/stripe/services/application_fee_service.rbi +18 -14
  305. data/rbi/stripe/services/apps/secret_service.rbi +20 -20
  306. data/rbi/stripe/services/balance_service.rbi +2 -2
  307. data/rbi/stripe/services/balance_transaction_service.rbi +22 -18
  308. data/rbi/stripe/services/billing/alert_service.rbi +23 -23
  309. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +10 -10
  310. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +8 -8
  311. data/rbi/stripe/services/billing/credit_grant_service.rbi +32 -30
  312. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +7 -5
  313. data/rbi/stripe/services/billing/meter_event_service.rbi +4 -4
  314. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +6 -6
  315. data/rbi/stripe/services/billing/meter_service.rbi +21 -21
  316. data/rbi/stripe/services/billing_portal/configuration_service.rbi +90 -76
  317. data/rbi/stripe/services/billing_portal/session_service.rbi +29 -27
  318. data/rbi/stripe/services/charge_service.rbi +96 -1464
  319. data/rbi/stripe/services/checkout/session_line_item_service.rbi +5 -5
  320. data/rbi/stripe/services/checkout/session_service.rbi +555 -591
  321. data/rbi/stripe/services/climate/order_service.rbi +22 -20
  322. data/rbi/stripe/services/climate/product_service.rbi +7 -7
  323. data/rbi/stripe/services/climate/supplier_service.rbi +7 -7
  324. data/rbi/stripe/services/confirmation_token_service.rbi +2 -2
  325. data/rbi/stripe/services/country_spec_service.rbi +7 -7
  326. data/rbi/stripe/services/coupon_service.rbi +40 -34
  327. data/rbi/stripe/services/credit_note_line_item_service.rbi +5 -5
  328. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +35 -35
  329. data/rbi/stripe/services/credit_note_service.rbi +81 -85
  330. data/rbi/stripe/services/customer_balance_transaction_service.rbi +15 -15
  331. data/rbi/stripe/services/customer_cash_balance_service.rbi +7 -7
  332. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +7 -7
  333. data/rbi/stripe/services/customer_funding_instructions_service.rbi +5 -5
  334. data/rbi/stripe/services/customer_payment_method_service.rbi +9 -9
  335. data/rbi/stripe/services/customer_payment_source_service.rbi +48 -44
  336. data/rbi/stripe/services/customer_service.rbi +143 -139
  337. data/rbi/stripe/services/customer_session_service.rbi +21 -15
  338. data/rbi/stripe/services/customer_tax_id_service.rbi +9 -9
  339. data/rbi/stripe/services/dispute_service.rbi +92 -90
  340. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +7 -7
  341. data/rbi/stripe/services/entitlements/feature_service.rbi +17 -17
  342. data/rbi/stripe/services/ephemeral_key_service.rbi +8 -8
  343. data/rbi/stripe/services/event_service.rbi +18 -16
  344. data/rbi/stripe/services/exchange_rate_service.rbi +7 -7
  345. data/rbi/stripe/services/file_link_service.rbi +25 -23
  346. data/rbi/stripe/services/file_service.rbi +22 -20
  347. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +5 -5
  348. data/rbi/stripe/services/financial_connections/account_service.rbi +22 -21
  349. data/rbi/stripe/services/financial_connections/session_service.rbi +16 -39
  350. data/rbi/stripe/services/financial_connections/transaction_service.rbi +16 -14
  351. data/rbi/stripe/services/financial_connections_service.rbi +0 -1
  352. data/rbi/stripe/services/forwarding/request_service.rbi +21 -19
  353. data/rbi/stripe/services/identity/verification_report_service.rbi +18 -16
  354. data/rbi/stripe/services/identity/verification_session_service.rbi +62 -56
  355. data/rbi/stripe/services/invoice_item_service.rbi +99 -155
  356. data/rbi/stripe/services/invoice_line_item_service.rbi +71 -82
  357. data/rbi/stripe/services/invoice_payment_service.rbi +39 -12
  358. data/rbi/stripe/services/invoice_rendering_template_service.rbi +13 -13
  359. data/rbi/stripe/services/invoice_service.rbi +679 -3799
  360. data/rbi/stripe/services/issuing/authorization_service.rbi +32 -26
  361. data/rbi/stripe/services/issuing/card_service.rbi +102 -86
  362. data/rbi/stripe/services/issuing/cardholder_service.rbi +122 -103
  363. data/rbi/stripe/services/issuing/dispute_service.rbi +152 -146
  364. data/rbi/stripe/services/issuing/personalization_design_service.rbi +52 -42
  365. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +9 -9
  366. data/rbi/stripe/services/issuing/token_service.rbi +20 -16
  367. data/rbi/stripe/services/issuing/transaction_service.rbi +25 -23
  368. data/rbi/stripe/services/issuing_service.rbi +0 -3
  369. data/rbi/stripe/services/mandate_service.rbi +2 -2
  370. data/rbi/stripe/services/payment_intent_service.rbi +2312 -6081
  371. data/rbi/stripe/services/payment_link_line_item_service.rbi +5 -5
  372. data/rbi/stripe/services/payment_link_service.rbi +303 -201
  373. data/rbi/stripe/services/payment_method_configuration_service.rbi +616 -620
  374. data/rbi/stripe/services/payment_method_domain_service.rbi +25 -23
  375. data/rbi/stripe/services/payment_method_service.rbi +192 -249
  376. data/rbi/stripe/services/payout_service.rbi +45 -37
  377. data/rbi/stripe/services/plan_service.rbi +53 -55
  378. data/rbi/stripe/services/price_service.rbi +124 -129
  379. data/rbi/stripe/services/product_feature_service.rbi +9 -9
  380. data/rbi/stripe/services/product_service.rbi +94 -122
  381. data/rbi/stripe/services/promotion_code_service.rbi +46 -42
  382. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +5 -5
  383. data/rbi/stripe/services/quote_line_item_service.rbi +5 -5
  384. data/rbi/stripe/services/quote_service.rbi +159 -1863
  385. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +17 -15
  386. data/rbi/stripe/services/radar/value_list_item_service.rbi +20 -16
  387. data/rbi/stripe/services/radar/value_list_service.rbi +28 -24
  388. data/rbi/stripe/services/refund_service.rbi +37 -33
  389. data/rbi/stripe/services/reporting/report_run_service.rbi +29 -25
  390. data/rbi/stripe/services/reporting/report_type_service.rbi +4 -4
  391. data/rbi/stripe/services/review_service.rbi +17 -15
  392. data/rbi/stripe/services/setup_attempt_service.rbi +13 -11
  393. data/rbi/stripe/services/setup_intent_service.rbi +1028 -1062
  394. data/rbi/stripe/services/shipping_rate_service.rbi +47 -41
  395. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +7 -7
  396. data/rbi/stripe/services/source_service.rbi +149 -133
  397. data/rbi/stripe/services/source_transaction_service.rbi +5 -5
  398. data/rbi/stripe/services/subscription_item_service.rbi +61 -159
  399. data/rbi/stripe/services/subscription_schedule_service.rbi +289 -1305
  400. data/rbi/stripe/services/subscription_service.rbi +366 -640
  401. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +5 -5
  402. data/rbi/stripe/services/tax/calculation_service.rbi +40 -38
  403. data/rbi/stripe/services/tax/registration_service.rbi +337 -165
  404. data/rbi/stripe/services/tax/settings_service.rbi +16 -16
  405. data/rbi/stripe/services/tax/transaction_line_item_service.rbi +5 -5
  406. data/rbi/stripe/services/tax/transaction_service.rbi +19 -15
  407. data/rbi/stripe/services/tax_code_service.rbi +7 -7
  408. data/rbi/stripe/services/tax_id_service.rbi +17 -17
  409. data/rbi/stripe/services/tax_rate_service.rbi +36 -34
  410. data/rbi/stripe/services/tax_service.rbi +0 -2
  411. data/rbi/stripe/services/terminal/configuration_service.rbi +464 -204
  412. data/rbi/stripe/services/terminal/connection_token_service.rbi +3 -3
  413. data/rbi/stripe/services/terminal/location_service.rbi +30 -30
  414. data/rbi/stripe/services/terminal/reader_service.rbi +57 -226
  415. data/rbi/stripe/services/terminal_service.rbi +0 -1
  416. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +157 -198
  417. data/rbi/stripe/services/test_helpers/customer_service.rbi +3 -3
  418. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +180 -168
  419. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +10 -10
  420. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +11 -9
  421. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +151 -145
  422. data/rbi/stripe/services/test_helpers/refund_service.rbi +2 -2
  423. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +10 -39
  424. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +14 -12
  425. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +9 -9
  426. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +20 -18
  427. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +20 -18
  428. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +11 -38
  429. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +11 -38
  430. data/rbi/stripe/services/token_service.rbi +292 -258
  431. data/rbi/stripe/services/topup_service.rbi +37 -33
  432. data/rbi/stripe/services/transfer_reversal_service.rbi +18 -16
  433. data/rbi/stripe/services/transfer_service.rbi +29 -27
  434. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +12 -12
  435. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +13 -13
  436. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +23 -26
  437. data/rbi/stripe/services/treasury/financial_account_service.rbi +92 -96
  438. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +15 -15
  439. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +60 -56
  440. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +24 -49
  441. data/rbi/stripe/services/treasury/received_credit_service.rbi +11 -9
  442. data/rbi/stripe/services/treasury/received_debit_service.rbi +8 -8
  443. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +25 -21
  444. data/rbi/stripe/services/treasury/transaction_service.rbi +31 -23
  445. data/rbi/stripe/services/v1_services.rbi +1 -7
  446. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +3 -3
  447. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +3 -3
  448. data/rbi/stripe/services/v2/core/event_destination_service.rbi +21 -24
  449. data/rbi/stripe/services/v2/core/event_service.rbi +3 -6
  450. data/rbi/stripe/services/webhook_endpoint_service.rbi +20 -20
  451. metadata +4 -109
  452. data/lib/stripe/request_signing_authenticator.rb +0 -79
  453. data/lib/stripe/resources/account_notice.rb +0 -132
  454. data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
  455. data/lib/stripe/resources/capital/financing_offer.rb +0 -188
  456. data/lib/stripe/resources/capital/financing_summary.rb +0 -64
  457. data/lib/stripe/resources/capital/financing_transaction.rb +0 -123
  458. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  459. data/lib/stripe/resources/financial_connections/institution.rb +0 -99
  460. data/lib/stripe/resources/gift_cards/card.rb +0 -217
  461. data/lib/stripe/resources/gift_cards/transaction.rb +0 -281
  462. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -611
  463. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -84
  464. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -95
  465. data/lib/stripe/resources/issuing/settlement.rb +0 -49
  466. data/lib/stripe/resources/margin.rb +0 -124
  467. data/lib/stripe/resources/order.rb +0 -2868
  468. data/lib/stripe/resources/payment_attempt_record.rb +0 -184
  469. data/lib/stripe/resources/payment_record.rb +0 -715
  470. data/lib/stripe/resources/quote_line.rb +0 -274
  471. data/lib/stripe/resources/quote_preview_invoice.rb +0 -652
  472. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -362
  473. data/lib/stripe/resources/tax/association.rb +0 -89
  474. data/lib/stripe/resources/tax/form.rb +0 -220
  475. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -40
  476. data/lib/stripe/resources/usage_record.rb +0 -30
  477. data/lib/stripe/resources/usage_record_summary.rb +0 -33
  478. data/lib/stripe/services/account_notice_service.rb +0 -101
  479. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  480. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  481. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  482. data/lib/stripe/services/capital_service.rb +0 -15
  483. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -37
  484. data/lib/stripe/services/financial_connections/institution_service.rb +0 -57
  485. data/lib/stripe/services/gift_cards/card_service.rb +0 -170
  486. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
  487. data/lib/stripe/services/gift_cards_service.rb +0 -14
  488. data/lib/stripe/services/invoice_upcoming_lines_service.rb +0 -1881
  489. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  490. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  491. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  492. data/lib/stripe/services/margin_service.rb +0 -119
  493. data/lib/stripe/services/order_line_item_service.rb +0 -35
  494. data/lib/stripe/services/order_service.rb +0 -2268
  495. data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
  496. data/lib/stripe/services/payment_record_service.rb +0 -542
  497. data/lib/stripe/services/quote_line_service.rb +0 -35
  498. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -35
  499. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
  500. data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -41
  501. data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -37
  502. data/lib/stripe/services/tax/association_service.rb +0 -31
  503. data/lib/stripe/services/tax/form_service.rb +0 -100
  504. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  505. data/rbi/stripe/resources/account_notice.rbi +0 -139
  506. data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -71
  507. data/rbi/stripe/resources/capital/financing_offer.rbi +0 -190
  508. data/rbi/stripe/resources/capital/financing_summary.rbi +0 -74
  509. data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -130
  510. data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -27
  511. data/rbi/stripe/resources/financial_connections/institution.rbi +0 -99
  512. data/rbi/stripe/resources/gift_cards/card.rbi +0 -206
  513. data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -257
  514. data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -622
  515. data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -83
  516. data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -90
  517. data/rbi/stripe/resources/issuing/settlement.rbi +0 -62
  518. data/rbi/stripe/resources/margin.rbi +0 -127
  519. data/rbi/stripe/resources/order.rbi +0 -3036
  520. data/rbi/stripe/resources/payment_attempt_record.rbi +0 -215
  521. data/rbi/stripe/resources/payment_record.rbi +0 -722
  522. data/rbi/stripe/resources/quote_line.rbi +0 -350
  523. data/rbi/stripe/resources/quote_preview_invoice.rbi +0 -850
  524. data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -474
  525. data/rbi/stripe/resources/tax/association.rbi +0 -94
  526. data/rbi/stripe/resources/tax/form.rbi +0 -224
  527. data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -41
  528. data/rbi/stripe/resources/usage_record.rbi +0 -32
  529. data/rbi/stripe/resources/usage_record_summary.rbi +0 -38
  530. data/rbi/stripe/services/account_notice_service.rbi +0 -90
  531. data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -95
  532. data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -22
  533. data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -68
  534. data/rbi/stripe/services/capital_service.rbi +0 -11
  535. data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -33
  536. data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -46
  537. data/rbi/stripe/services/gift_cards/card_service.rbi +0 -142
  538. data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -174
  539. data/rbi/stripe/services/gift_cards_service.rbi +0 -10
  540. data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +0 -2023
  541. data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -498
  542. data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -55
  543. data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -73
  544. data/rbi/stripe/services/margin_service.rbi +0 -104
  545. data/rbi/stripe/services/order_line_item_service.rbi +0 -31
  546. data/rbi/stripe/services/order_service.rbi +0 -2320
  547. data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -36
  548. data/rbi/stripe/services/payment_record_service.rbi +0 -521
  549. data/rbi/stripe/services/quote_line_service.rbi +0 -31
  550. data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -31
  551. data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -31
  552. data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -37
  553. data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -33
  554. data/rbi/stripe/services/tax/association_service.rbi +0 -25
  555. data/rbi/stripe/services/tax/form_service.rbi +0 -85
  556. data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -22
@@ -6,22 +6,22 @@ module Stripe
6
6
  class PaymentMethodConfigurationService < StripeService
7
7
  class ListParams < Stripe::RequestParams
8
8
  # The Connect application to filter by.
9
- sig { returns(T.nilable(String)) }
9
+ sig { returns(T.nilable(T.nilable(String))) }
10
10
  attr_accessor :application
11
11
  # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
12
- sig { returns(String) }
12
+ sig { returns(T.nilable(String)) }
13
13
  attr_accessor :ending_before
14
14
  # Specifies which fields in the response should be expanded.
15
- sig { returns(T::Array[String]) }
15
+ sig { returns(T.nilable(T::Array[String])) }
16
16
  attr_accessor :expand
17
17
  # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
18
- sig { returns(Integer) }
18
+ sig { returns(T.nilable(Integer)) }
19
19
  attr_accessor :limit
20
20
  # A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
21
- sig { returns(String) }
21
+ sig { returns(T.nilable(String)) }
22
22
  attr_accessor :starting_after
23
23
  sig {
24
- params(application: T.nilable(String), ending_before: String, expand: T::Array[String], limit: Integer, starting_after: String).void
24
+ params(application: T.nilable(T.nilable(String)), ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String)).void
25
25
  }
26
26
  def initialize(
27
27
  application: nil,
@@ -35,1022 +35,1022 @@ module Stripe
35
35
  class AcssDebit < Stripe::RequestParams
36
36
  class DisplayPreference < Stripe::RequestParams
37
37
  # The account's preference for whether or not to display this payment method.
38
- sig { returns(String) }
38
+ sig { returns(T.nilable(String)) }
39
39
  attr_accessor :preference
40
- sig { params(preference: String).void }
40
+ sig { params(preference: T.nilable(String)).void }
41
41
  def initialize(preference: nil); end
42
42
  end
43
43
  # Whether or not the payment method should be displayed.
44
44
  sig {
45
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit::DisplayPreference)
45
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit::DisplayPreference))
46
46
  }
47
47
  attr_accessor :display_preference
48
48
  sig {
49
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit::DisplayPreference).void
49
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit::DisplayPreference)).void
50
50
  }
51
51
  def initialize(display_preference: nil); end
52
52
  end
53
53
  class Affirm < Stripe::RequestParams
54
54
  class DisplayPreference < Stripe::RequestParams
55
55
  # The account's preference for whether or not to display this payment method.
56
- sig { returns(String) }
56
+ sig { returns(T.nilable(String)) }
57
57
  attr_accessor :preference
58
- sig { params(preference: String).void }
58
+ sig { params(preference: T.nilable(String)).void }
59
59
  def initialize(preference: nil); end
60
60
  end
61
61
  # Whether or not the payment method should be displayed.
62
62
  sig {
63
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm::DisplayPreference)
63
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm::DisplayPreference))
64
64
  }
65
65
  attr_accessor :display_preference
66
66
  sig {
67
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm::DisplayPreference).void
67
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm::DisplayPreference)).void
68
68
  }
69
69
  def initialize(display_preference: nil); end
70
70
  end
71
71
  class AfterpayClearpay < Stripe::RequestParams
72
72
  class DisplayPreference < Stripe::RequestParams
73
73
  # The account's preference for whether or not to display this payment method.
74
- sig { returns(String) }
74
+ sig { returns(T.nilable(String)) }
75
75
  attr_accessor :preference
76
- sig { params(preference: String).void }
76
+ sig { params(preference: T.nilable(String)).void }
77
77
  def initialize(preference: nil); end
78
78
  end
79
79
  # Whether or not the payment method should be displayed.
80
80
  sig {
81
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay::DisplayPreference)
81
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay::DisplayPreference))
82
82
  }
83
83
  attr_accessor :display_preference
84
84
  sig {
85
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay::DisplayPreference).void
85
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay::DisplayPreference)).void
86
86
  }
87
87
  def initialize(display_preference: nil); end
88
88
  end
89
89
  class Alipay < Stripe::RequestParams
90
90
  class DisplayPreference < Stripe::RequestParams
91
91
  # The account's preference for whether or not to display this payment method.
92
- sig { returns(String) }
92
+ sig { returns(T.nilable(String)) }
93
93
  attr_accessor :preference
94
- sig { params(preference: String).void }
94
+ sig { params(preference: T.nilable(String)).void }
95
95
  def initialize(preference: nil); end
96
96
  end
97
97
  # Whether or not the payment method should be displayed.
98
98
  sig {
99
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay::DisplayPreference)
99
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay::DisplayPreference))
100
100
  }
101
101
  attr_accessor :display_preference
102
102
  sig {
103
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay::DisplayPreference).void
103
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay::DisplayPreference)).void
104
104
  }
105
105
  def initialize(display_preference: nil); end
106
106
  end
107
107
  class Alma < Stripe::RequestParams
108
108
  class DisplayPreference < Stripe::RequestParams
109
109
  # The account's preference for whether or not to display this payment method.
110
- sig { returns(String) }
110
+ sig { returns(T.nilable(String)) }
111
111
  attr_accessor :preference
112
- sig { params(preference: String).void }
112
+ sig { params(preference: T.nilable(String)).void }
113
113
  def initialize(preference: nil); end
114
114
  end
115
115
  # Whether or not the payment method should be displayed.
116
116
  sig {
117
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Alma::DisplayPreference)
117
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Alma::DisplayPreference))
118
118
  }
119
119
  attr_accessor :display_preference
120
120
  sig {
121
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Alma::DisplayPreference).void
121
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Alma::DisplayPreference)).void
122
122
  }
123
123
  def initialize(display_preference: nil); end
124
124
  end
125
125
  class AmazonPay < Stripe::RequestParams
126
126
  class DisplayPreference < Stripe::RequestParams
127
127
  # The account's preference for whether or not to display this payment method.
128
- sig { returns(String) }
128
+ sig { returns(T.nilable(String)) }
129
129
  attr_accessor :preference
130
- sig { params(preference: String).void }
130
+ sig { params(preference: T.nilable(String)).void }
131
131
  def initialize(preference: nil); end
132
132
  end
133
133
  # Whether or not the payment method should be displayed.
134
134
  sig {
135
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay::DisplayPreference)
135
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay::DisplayPreference))
136
136
  }
137
137
  attr_accessor :display_preference
138
138
  sig {
139
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay::DisplayPreference).void
139
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay::DisplayPreference)).void
140
140
  }
141
141
  def initialize(display_preference: nil); end
142
142
  end
143
143
  class ApplePay < Stripe::RequestParams
144
144
  class DisplayPreference < Stripe::RequestParams
145
145
  # The account's preference for whether or not to display this payment method.
146
- sig { returns(String) }
146
+ sig { returns(T.nilable(String)) }
147
147
  attr_accessor :preference
148
- sig { params(preference: String).void }
148
+ sig { params(preference: T.nilable(String)).void }
149
149
  def initialize(preference: nil); end
150
150
  end
151
151
  # Whether or not the payment method should be displayed.
152
152
  sig {
153
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay::DisplayPreference)
153
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay::DisplayPreference))
154
154
  }
155
155
  attr_accessor :display_preference
156
156
  sig {
157
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay::DisplayPreference).void
157
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay::DisplayPreference)).void
158
158
  }
159
159
  def initialize(display_preference: nil); end
160
160
  end
161
161
  class ApplePayLater < Stripe::RequestParams
162
162
  class DisplayPreference < Stripe::RequestParams
163
163
  # The account's preference for whether or not to display this payment method.
164
- sig { returns(String) }
164
+ sig { returns(T.nilable(String)) }
165
165
  attr_accessor :preference
166
- sig { params(preference: String).void }
166
+ sig { params(preference: T.nilable(String)).void }
167
167
  def initialize(preference: nil); end
168
168
  end
169
169
  # Whether or not the payment method should be displayed.
170
170
  sig {
171
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater::DisplayPreference)
171
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater::DisplayPreference))
172
172
  }
173
173
  attr_accessor :display_preference
174
174
  sig {
175
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater::DisplayPreference).void
175
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater::DisplayPreference)).void
176
176
  }
177
177
  def initialize(display_preference: nil); end
178
178
  end
179
179
  class AuBecsDebit < Stripe::RequestParams
180
180
  class DisplayPreference < Stripe::RequestParams
181
181
  # The account's preference for whether or not to display this payment method.
182
- sig { returns(String) }
182
+ sig { returns(T.nilable(String)) }
183
183
  attr_accessor :preference
184
- sig { params(preference: String).void }
184
+ sig { params(preference: T.nilable(String)).void }
185
185
  def initialize(preference: nil); end
186
186
  end
187
187
  # Whether or not the payment method should be displayed.
188
188
  sig {
189
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit::DisplayPreference)
189
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit::DisplayPreference))
190
190
  }
191
191
  attr_accessor :display_preference
192
192
  sig {
193
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit::DisplayPreference).void
193
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit::DisplayPreference)).void
194
194
  }
195
195
  def initialize(display_preference: nil); end
196
196
  end
197
197
  class BacsDebit < Stripe::RequestParams
198
198
  class DisplayPreference < Stripe::RequestParams
199
199
  # The account's preference for whether or not to display this payment method.
200
- sig { returns(String) }
200
+ sig { returns(T.nilable(String)) }
201
201
  attr_accessor :preference
202
- sig { params(preference: String).void }
202
+ sig { params(preference: T.nilable(String)).void }
203
203
  def initialize(preference: nil); end
204
204
  end
205
205
  # Whether or not the payment method should be displayed.
206
206
  sig {
207
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit::DisplayPreference)
207
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit::DisplayPreference))
208
208
  }
209
209
  attr_accessor :display_preference
210
210
  sig {
211
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit::DisplayPreference).void
211
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit::DisplayPreference)).void
212
212
  }
213
213
  def initialize(display_preference: nil); end
214
214
  end
215
215
  class Bancontact < Stripe::RequestParams
216
216
  class DisplayPreference < Stripe::RequestParams
217
217
  # The account's preference for whether or not to display this payment method.
218
- sig { returns(String) }
218
+ sig { returns(T.nilable(String)) }
219
219
  attr_accessor :preference
220
- sig { params(preference: String).void }
220
+ sig { params(preference: T.nilable(String)).void }
221
221
  def initialize(preference: nil); end
222
222
  end
223
223
  # Whether or not the payment method should be displayed.
224
224
  sig {
225
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact::DisplayPreference)
225
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact::DisplayPreference))
226
226
  }
227
227
  attr_accessor :display_preference
228
228
  sig {
229
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact::DisplayPreference).void
229
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact::DisplayPreference)).void
230
230
  }
231
231
  def initialize(display_preference: nil); end
232
232
  end
233
- class Blik < Stripe::RequestParams
233
+ class Billie < Stripe::RequestParams
234
234
  class DisplayPreference < Stripe::RequestParams
235
235
  # The account's preference for whether or not to display this payment method.
236
- sig { returns(String) }
236
+ sig { returns(T.nilable(String)) }
237
237
  attr_accessor :preference
238
- sig { params(preference: String).void }
238
+ sig { params(preference: T.nilable(String)).void }
239
239
  def initialize(preference: nil); end
240
240
  end
241
241
  # Whether or not the payment method should be displayed.
242
242
  sig {
243
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Blik::DisplayPreference)
243
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Billie::DisplayPreference))
244
244
  }
245
245
  attr_accessor :display_preference
246
246
  sig {
247
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Blik::DisplayPreference).void
247
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Billie::DisplayPreference)).void
248
248
  }
249
249
  def initialize(display_preference: nil); end
250
250
  end
251
- class Boleto < Stripe::RequestParams
251
+ class Blik < Stripe::RequestParams
252
252
  class DisplayPreference < Stripe::RequestParams
253
253
  # The account's preference for whether or not to display this payment method.
254
- sig { returns(String) }
254
+ sig { returns(T.nilable(String)) }
255
255
  attr_accessor :preference
256
- sig { params(preference: String).void }
256
+ sig { params(preference: T.nilable(String)).void }
257
257
  def initialize(preference: nil); end
258
258
  end
259
259
  # Whether or not the payment method should be displayed.
260
260
  sig {
261
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto::DisplayPreference)
261
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Blik::DisplayPreference))
262
262
  }
263
263
  attr_accessor :display_preference
264
264
  sig {
265
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto::DisplayPreference).void
265
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Blik::DisplayPreference)).void
266
266
  }
267
267
  def initialize(display_preference: nil); end
268
268
  end
269
- class Card < Stripe::RequestParams
269
+ class Boleto < Stripe::RequestParams
270
270
  class DisplayPreference < Stripe::RequestParams
271
271
  # The account's preference for whether or not to display this payment method.
272
- sig { returns(String) }
272
+ sig { returns(T.nilable(String)) }
273
273
  attr_accessor :preference
274
- sig { params(preference: String).void }
274
+ sig { params(preference: T.nilable(String)).void }
275
275
  def initialize(preference: nil); end
276
276
  end
277
277
  # Whether or not the payment method should be displayed.
278
278
  sig {
279
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Card::DisplayPreference)
279
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto::DisplayPreference))
280
280
  }
281
281
  attr_accessor :display_preference
282
282
  sig {
283
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Card::DisplayPreference).void
283
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto::DisplayPreference)).void
284
284
  }
285
285
  def initialize(display_preference: nil); end
286
286
  end
287
- class CartesBancaires < Stripe::RequestParams
287
+ class Card < Stripe::RequestParams
288
288
  class DisplayPreference < Stripe::RequestParams
289
289
  # The account's preference for whether or not to display this payment method.
290
- sig { returns(String) }
290
+ sig { returns(T.nilable(String)) }
291
291
  attr_accessor :preference
292
- sig { params(preference: String).void }
292
+ sig { params(preference: T.nilable(String)).void }
293
293
  def initialize(preference: nil); end
294
294
  end
295
295
  # Whether or not the payment method should be displayed.
296
296
  sig {
297
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires::DisplayPreference)
297
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Card::DisplayPreference))
298
298
  }
299
299
  attr_accessor :display_preference
300
300
  sig {
301
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires::DisplayPreference).void
301
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Card::DisplayPreference)).void
302
302
  }
303
303
  def initialize(display_preference: nil); end
304
304
  end
305
- class Cashapp < Stripe::RequestParams
305
+ class CartesBancaires < Stripe::RequestParams
306
306
  class DisplayPreference < Stripe::RequestParams
307
307
  # The account's preference for whether or not to display this payment method.
308
- sig { returns(String) }
308
+ sig { returns(T.nilable(String)) }
309
309
  attr_accessor :preference
310
- sig { params(preference: String).void }
310
+ sig { params(preference: T.nilable(String)).void }
311
311
  def initialize(preference: nil); end
312
312
  end
313
313
  # Whether or not the payment method should be displayed.
314
314
  sig {
315
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp::DisplayPreference)
315
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires::DisplayPreference))
316
316
  }
317
317
  attr_accessor :display_preference
318
318
  sig {
319
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp::DisplayPreference).void
319
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires::DisplayPreference)).void
320
320
  }
321
321
  def initialize(display_preference: nil); end
322
322
  end
323
- class CustomerBalance < Stripe::RequestParams
323
+ class Cashapp < Stripe::RequestParams
324
324
  class DisplayPreference < Stripe::RequestParams
325
325
  # The account's preference for whether or not to display this payment method.
326
- sig { returns(String) }
326
+ sig { returns(T.nilable(String)) }
327
327
  attr_accessor :preference
328
- sig { params(preference: String).void }
328
+ sig { params(preference: T.nilable(String)).void }
329
329
  def initialize(preference: nil); end
330
330
  end
331
331
  # Whether or not the payment method should be displayed.
332
332
  sig {
333
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance::DisplayPreference)
333
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp::DisplayPreference))
334
334
  }
335
335
  attr_accessor :display_preference
336
336
  sig {
337
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance::DisplayPreference).void
337
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp::DisplayPreference)).void
338
338
  }
339
339
  def initialize(display_preference: nil); end
340
340
  end
341
- class Eps < Stripe::RequestParams
341
+ class CustomerBalance < Stripe::RequestParams
342
342
  class DisplayPreference < Stripe::RequestParams
343
343
  # The account's preference for whether or not to display this payment method.
344
- sig { returns(String) }
344
+ sig { returns(T.nilable(String)) }
345
345
  attr_accessor :preference
346
- sig { params(preference: String).void }
346
+ sig { params(preference: T.nilable(String)).void }
347
347
  def initialize(preference: nil); end
348
348
  end
349
349
  # Whether or not the payment method should be displayed.
350
350
  sig {
351
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Eps::DisplayPreference)
351
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance::DisplayPreference))
352
352
  }
353
353
  attr_accessor :display_preference
354
354
  sig {
355
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Eps::DisplayPreference).void
355
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance::DisplayPreference)).void
356
356
  }
357
357
  def initialize(display_preference: nil); end
358
358
  end
359
- class Fpx < Stripe::RequestParams
359
+ class Eps < Stripe::RequestParams
360
360
  class DisplayPreference < Stripe::RequestParams
361
361
  # The account's preference for whether or not to display this payment method.
362
- sig { returns(String) }
362
+ sig { returns(T.nilable(String)) }
363
363
  attr_accessor :preference
364
- sig { params(preference: String).void }
364
+ sig { params(preference: T.nilable(String)).void }
365
365
  def initialize(preference: nil); end
366
366
  end
367
367
  # Whether or not the payment method should be displayed.
368
368
  sig {
369
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx::DisplayPreference)
369
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Eps::DisplayPreference))
370
370
  }
371
371
  attr_accessor :display_preference
372
372
  sig {
373
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx::DisplayPreference).void
373
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Eps::DisplayPreference)).void
374
374
  }
375
375
  def initialize(display_preference: nil); end
376
376
  end
377
- class Giropay < Stripe::RequestParams
377
+ class Fpx < Stripe::RequestParams
378
378
  class DisplayPreference < Stripe::RequestParams
379
379
  # The account's preference for whether or not to display this payment method.
380
- sig { returns(String) }
380
+ sig { returns(T.nilable(String)) }
381
381
  attr_accessor :preference
382
- sig { params(preference: String).void }
382
+ sig { params(preference: T.nilable(String)).void }
383
383
  def initialize(preference: nil); end
384
384
  end
385
385
  # Whether or not the payment method should be displayed.
386
386
  sig {
387
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay::DisplayPreference)
387
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx::DisplayPreference))
388
388
  }
389
389
  attr_accessor :display_preference
390
390
  sig {
391
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay::DisplayPreference).void
391
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx::DisplayPreference)).void
392
392
  }
393
393
  def initialize(display_preference: nil); end
394
394
  end
395
- class GooglePay < Stripe::RequestParams
395
+ class Giropay < Stripe::RequestParams
396
396
  class DisplayPreference < Stripe::RequestParams
397
397
  # The account's preference for whether or not to display this payment method.
398
- sig { returns(String) }
398
+ sig { returns(T.nilable(String)) }
399
399
  attr_accessor :preference
400
- sig { params(preference: String).void }
400
+ sig { params(preference: T.nilable(String)).void }
401
401
  def initialize(preference: nil); end
402
402
  end
403
403
  # Whether or not the payment method should be displayed.
404
404
  sig {
405
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay::DisplayPreference)
405
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay::DisplayPreference))
406
406
  }
407
407
  attr_accessor :display_preference
408
408
  sig {
409
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay::DisplayPreference).void
409
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay::DisplayPreference)).void
410
410
  }
411
411
  def initialize(display_preference: nil); end
412
412
  end
413
- class Gopay < Stripe::RequestParams
413
+ class GooglePay < Stripe::RequestParams
414
414
  class DisplayPreference < Stripe::RequestParams
415
415
  # The account's preference for whether or not to display this payment method.
416
- sig { returns(String) }
416
+ sig { returns(T.nilable(String)) }
417
417
  attr_accessor :preference
418
- sig { params(preference: String).void }
418
+ sig { params(preference: T.nilable(String)).void }
419
419
  def initialize(preference: nil); end
420
420
  end
421
421
  # Whether or not the payment method should be displayed.
422
422
  sig {
423
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Gopay::DisplayPreference)
423
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay::DisplayPreference))
424
424
  }
425
425
  attr_accessor :display_preference
426
426
  sig {
427
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Gopay::DisplayPreference).void
427
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay::DisplayPreference)).void
428
428
  }
429
429
  def initialize(display_preference: nil); end
430
430
  end
431
431
  class Grabpay < Stripe::RequestParams
432
432
  class DisplayPreference < Stripe::RequestParams
433
433
  # The account's preference for whether or not to display this payment method.
434
- sig { returns(String) }
435
- attr_accessor :preference
436
- sig { params(preference: String).void }
437
- def initialize(preference: nil); end
438
- end
439
- # Whether or not the payment method should be displayed.
440
- sig {
441
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay::DisplayPreference)
442
- }
443
- attr_accessor :display_preference
444
- sig {
445
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay::DisplayPreference).void
446
- }
447
- def initialize(display_preference: nil); end
448
- end
449
- class IdBankTransfer < Stripe::RequestParams
450
- class DisplayPreference < Stripe::RequestParams
451
- # The account's preference for whether or not to display this payment method.
452
- sig { returns(String) }
434
+ sig { returns(T.nilable(String)) }
453
435
  attr_accessor :preference
454
- sig { params(preference: String).void }
436
+ sig { params(preference: T.nilable(String)).void }
455
437
  def initialize(preference: nil); end
456
438
  end
457
439
  # Whether or not the payment method should be displayed.
458
440
  sig {
459
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::IdBankTransfer::DisplayPreference)
441
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay::DisplayPreference))
460
442
  }
461
443
  attr_accessor :display_preference
462
444
  sig {
463
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::IdBankTransfer::DisplayPreference).void
445
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay::DisplayPreference)).void
464
446
  }
465
447
  def initialize(display_preference: nil); end
466
448
  end
467
449
  class Ideal < Stripe::RequestParams
468
450
  class DisplayPreference < Stripe::RequestParams
469
451
  # The account's preference for whether or not to display this payment method.
470
- sig { returns(String) }
452
+ sig { returns(T.nilable(String)) }
471
453
  attr_accessor :preference
472
- sig { params(preference: String).void }
454
+ sig { params(preference: T.nilable(String)).void }
473
455
  def initialize(preference: nil); end
474
456
  end
475
457
  # Whether or not the payment method should be displayed.
476
458
  sig {
477
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal::DisplayPreference)
459
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal::DisplayPreference))
478
460
  }
479
461
  attr_accessor :display_preference
480
462
  sig {
481
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal::DisplayPreference).void
463
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal::DisplayPreference)).void
482
464
  }
483
465
  def initialize(display_preference: nil); end
484
466
  end
485
467
  class Jcb < Stripe::RequestParams
486
468
  class DisplayPreference < Stripe::RequestParams
487
469
  # The account's preference for whether or not to display this payment method.
488
- sig { returns(String) }
470
+ sig { returns(T.nilable(String)) }
489
471
  attr_accessor :preference
490
- sig { params(preference: String).void }
472
+ sig { params(preference: T.nilable(String)).void }
491
473
  def initialize(preference: nil); end
492
474
  end
493
475
  # Whether or not the payment method should be displayed.
494
476
  sig {
495
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb::DisplayPreference)
477
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb::DisplayPreference))
496
478
  }
497
479
  attr_accessor :display_preference
498
480
  sig {
499
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb::DisplayPreference).void
481
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb::DisplayPreference)).void
500
482
  }
501
483
  def initialize(display_preference: nil); end
502
484
  end
503
485
  class Klarna < Stripe::RequestParams
504
486
  class DisplayPreference < Stripe::RequestParams
505
487
  # The account's preference for whether or not to display this payment method.
506
- sig { returns(String) }
488
+ sig { returns(T.nilable(String)) }
507
489
  attr_accessor :preference
508
- sig { params(preference: String).void }
490
+ sig { params(preference: T.nilable(String)).void }
509
491
  def initialize(preference: nil); end
510
492
  end
511
493
  # Whether or not the payment method should be displayed.
512
494
  sig {
513
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna::DisplayPreference)
495
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna::DisplayPreference))
514
496
  }
515
497
  attr_accessor :display_preference
516
498
  sig {
517
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna::DisplayPreference).void
499
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna::DisplayPreference)).void
518
500
  }
519
501
  def initialize(display_preference: nil); end
520
502
  end
521
503
  class Konbini < Stripe::RequestParams
522
504
  class DisplayPreference < Stripe::RequestParams
523
505
  # The account's preference for whether or not to display this payment method.
524
- sig { returns(String) }
506
+ sig { returns(T.nilable(String)) }
525
507
  attr_accessor :preference
526
- sig { params(preference: String).void }
508
+ sig { params(preference: T.nilable(String)).void }
527
509
  def initialize(preference: nil); end
528
510
  end
529
511
  # Whether or not the payment method should be displayed.
530
512
  sig {
531
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini::DisplayPreference)
513
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini::DisplayPreference))
532
514
  }
533
515
  attr_accessor :display_preference
534
516
  sig {
535
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini::DisplayPreference).void
517
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini::DisplayPreference)).void
536
518
  }
537
519
  def initialize(display_preference: nil); end
538
520
  end
539
521
  class Link < Stripe::RequestParams
540
522
  class DisplayPreference < Stripe::RequestParams
541
523
  # The account's preference for whether or not to display this payment method.
542
- sig { returns(String) }
524
+ sig { returns(T.nilable(String)) }
543
525
  attr_accessor :preference
544
- sig { params(preference: String).void }
526
+ sig { params(preference: T.nilable(String)).void }
545
527
  def initialize(preference: nil); end
546
528
  end
547
529
  # Whether or not the payment method should be displayed.
548
530
  sig {
549
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Link::DisplayPreference)
531
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Link::DisplayPreference))
550
532
  }
551
533
  attr_accessor :display_preference
552
534
  sig {
553
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Link::DisplayPreference).void
535
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Link::DisplayPreference)).void
554
536
  }
555
537
  def initialize(display_preference: nil); end
556
538
  end
557
539
  class Mobilepay < Stripe::RequestParams
558
540
  class DisplayPreference < Stripe::RequestParams
559
541
  # The account's preference for whether or not to display this payment method.
560
- sig { returns(String) }
542
+ sig { returns(T.nilable(String)) }
561
543
  attr_accessor :preference
562
- sig { params(preference: String).void }
544
+ sig { params(preference: T.nilable(String)).void }
563
545
  def initialize(preference: nil); end
564
546
  end
565
547
  # Whether or not the payment method should be displayed.
566
548
  sig {
567
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay::DisplayPreference)
549
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay::DisplayPreference))
568
550
  }
569
551
  attr_accessor :display_preference
570
552
  sig {
571
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay::DisplayPreference).void
553
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay::DisplayPreference)).void
572
554
  }
573
555
  def initialize(display_preference: nil); end
574
556
  end
575
557
  class Multibanco < Stripe::RequestParams
576
558
  class DisplayPreference < Stripe::RequestParams
577
559
  # The account's preference for whether or not to display this payment method.
578
- sig { returns(String) }
560
+ sig { returns(T.nilable(String)) }
579
561
  attr_accessor :preference
580
- sig { params(preference: String).void }
562
+ sig { params(preference: T.nilable(String)).void }
581
563
  def initialize(preference: nil); end
582
564
  end
583
565
  # Whether or not the payment method should be displayed.
584
566
  sig {
585
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco::DisplayPreference)
567
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco::DisplayPreference))
586
568
  }
587
569
  attr_accessor :display_preference
588
570
  sig {
589
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco::DisplayPreference).void
571
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco::DisplayPreference)).void
590
572
  }
591
573
  def initialize(display_preference: nil); end
592
574
  end
593
- class Oxxo < Stripe::RequestParams
575
+ class NzBankAccount < Stripe::RequestParams
594
576
  class DisplayPreference < Stripe::RequestParams
595
577
  # The account's preference for whether or not to display this payment method.
596
- sig { returns(String) }
578
+ sig { returns(T.nilable(String)) }
597
579
  attr_accessor :preference
598
- sig { params(preference: String).void }
580
+ sig { params(preference: T.nilable(String)).void }
599
581
  def initialize(preference: nil); end
600
582
  end
601
583
  # Whether or not the payment method should be displayed.
602
584
  sig {
603
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo::DisplayPreference)
585
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::NzBankAccount::DisplayPreference))
604
586
  }
605
587
  attr_accessor :display_preference
606
588
  sig {
607
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo::DisplayPreference).void
589
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::NzBankAccount::DisplayPreference)).void
608
590
  }
609
591
  def initialize(display_preference: nil); end
610
592
  end
611
- class P24 < Stripe::RequestParams
593
+ class Oxxo < Stripe::RequestParams
612
594
  class DisplayPreference < Stripe::RequestParams
613
595
  # The account's preference for whether or not to display this payment method.
614
- sig { returns(String) }
596
+ sig { returns(T.nilable(String)) }
615
597
  attr_accessor :preference
616
- sig { params(preference: String).void }
598
+ sig { params(preference: T.nilable(String)).void }
617
599
  def initialize(preference: nil); end
618
600
  end
619
601
  # Whether or not the payment method should be displayed.
620
602
  sig {
621
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::P24::DisplayPreference)
603
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo::DisplayPreference))
622
604
  }
623
605
  attr_accessor :display_preference
624
606
  sig {
625
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::P24::DisplayPreference).void
607
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo::DisplayPreference)).void
626
608
  }
627
609
  def initialize(display_preference: nil); end
628
610
  end
629
- class PayByBank < Stripe::RequestParams
611
+ class P24 < Stripe::RequestParams
630
612
  class DisplayPreference < Stripe::RequestParams
631
613
  # The account's preference for whether or not to display this payment method.
632
- sig { returns(String) }
614
+ sig { returns(T.nilable(String)) }
633
615
  attr_accessor :preference
634
- sig { params(preference: String).void }
616
+ sig { params(preference: T.nilable(String)).void }
635
617
  def initialize(preference: nil); end
636
618
  end
637
619
  # Whether or not the payment method should be displayed.
638
620
  sig {
639
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank::DisplayPreference)
621
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::P24::DisplayPreference))
640
622
  }
641
623
  attr_accessor :display_preference
642
624
  sig {
643
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank::DisplayPreference).void
625
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::P24::DisplayPreference)).void
644
626
  }
645
627
  def initialize(display_preference: nil); end
646
628
  end
647
- class Paynow < Stripe::RequestParams
629
+ class PayByBank < Stripe::RequestParams
648
630
  class DisplayPreference < Stripe::RequestParams
649
631
  # The account's preference for whether or not to display this payment method.
650
- sig { returns(String) }
632
+ sig { returns(T.nilable(String)) }
651
633
  attr_accessor :preference
652
- sig { params(preference: String).void }
634
+ sig { params(preference: T.nilable(String)).void }
653
635
  def initialize(preference: nil); end
654
636
  end
655
637
  # Whether or not the payment method should be displayed.
656
638
  sig {
657
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow::DisplayPreference)
639
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank::DisplayPreference))
658
640
  }
659
641
  attr_accessor :display_preference
660
642
  sig {
661
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow::DisplayPreference).void
643
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank::DisplayPreference)).void
662
644
  }
663
645
  def initialize(display_preference: nil); end
664
646
  end
665
- class Paypal < Stripe::RequestParams
647
+ class Paynow < Stripe::RequestParams
666
648
  class DisplayPreference < Stripe::RequestParams
667
649
  # The account's preference for whether or not to display this payment method.
668
- sig { returns(String) }
650
+ sig { returns(T.nilable(String)) }
669
651
  attr_accessor :preference
670
- sig { params(preference: String).void }
652
+ sig { params(preference: T.nilable(String)).void }
671
653
  def initialize(preference: nil); end
672
654
  end
673
655
  # Whether or not the payment method should be displayed.
674
656
  sig {
675
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal::DisplayPreference)
657
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow::DisplayPreference))
676
658
  }
677
659
  attr_accessor :display_preference
678
660
  sig {
679
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal::DisplayPreference).void
661
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow::DisplayPreference)).void
680
662
  }
681
663
  def initialize(display_preference: nil); end
682
664
  end
683
- class Payto < Stripe::RequestParams
665
+ class Paypal < Stripe::RequestParams
684
666
  class DisplayPreference < Stripe::RequestParams
685
667
  # The account's preference for whether or not to display this payment method.
686
- sig { returns(String) }
668
+ sig { returns(T.nilable(String)) }
687
669
  attr_accessor :preference
688
- sig { params(preference: String).void }
670
+ sig { params(preference: T.nilable(String)).void }
689
671
  def initialize(preference: nil); end
690
672
  end
691
673
  # Whether or not the payment method should be displayed.
692
674
  sig {
693
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Payto::DisplayPreference)
675
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal::DisplayPreference))
694
676
  }
695
677
  attr_accessor :display_preference
696
678
  sig {
697
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Payto::DisplayPreference).void
679
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal::DisplayPreference)).void
698
680
  }
699
681
  def initialize(display_preference: nil); end
700
682
  end
701
683
  class Promptpay < Stripe::RequestParams
702
684
  class DisplayPreference < Stripe::RequestParams
703
685
  # The account's preference for whether or not to display this payment method.
704
- sig { returns(String) }
686
+ sig { returns(T.nilable(String)) }
705
687
  attr_accessor :preference
706
- sig { params(preference: String).void }
688
+ sig { params(preference: T.nilable(String)).void }
707
689
  def initialize(preference: nil); end
708
690
  end
709
691
  # Whether or not the payment method should be displayed.
710
692
  sig {
711
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay::DisplayPreference)
693
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay::DisplayPreference))
712
694
  }
713
695
  attr_accessor :display_preference
714
696
  sig {
715
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay::DisplayPreference).void
716
- }
717
- def initialize(display_preference: nil); end
718
- end
719
- class Qris < Stripe::RequestParams
720
- class DisplayPreference < Stripe::RequestParams
721
- # The account's preference for whether or not to display this payment method.
722
- sig { returns(String) }
723
- attr_accessor :preference
724
- sig { params(preference: String).void }
725
- def initialize(preference: nil); end
726
- end
727
- # Whether or not the payment method should be displayed.
728
- sig {
729
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Qris::DisplayPreference)
730
- }
731
- attr_accessor :display_preference
732
- sig {
733
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Qris::DisplayPreference).void
697
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay::DisplayPreference)).void
734
698
  }
735
699
  def initialize(display_preference: nil); end
736
700
  end
737
701
  class RevolutPay < Stripe::RequestParams
738
702
  class DisplayPreference < Stripe::RequestParams
739
703
  # The account's preference for whether or not to display this payment method.
740
- sig { returns(String) }
704
+ sig { returns(T.nilable(String)) }
741
705
  attr_accessor :preference
742
- sig { params(preference: String).void }
706
+ sig { params(preference: T.nilable(String)).void }
743
707
  def initialize(preference: nil); end
744
708
  end
745
709
  # Whether or not the payment method should be displayed.
746
710
  sig {
747
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay::DisplayPreference)
711
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay::DisplayPreference))
748
712
  }
749
713
  attr_accessor :display_preference
750
714
  sig {
751
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay::DisplayPreference).void
715
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay::DisplayPreference)).void
752
716
  }
753
717
  def initialize(display_preference: nil); end
754
718
  end
755
- class SepaDebit < Stripe::RequestParams
719
+ class Satispay < Stripe::RequestParams
756
720
  class DisplayPreference < Stripe::RequestParams
757
721
  # The account's preference for whether or not to display this payment method.
758
- sig { returns(String) }
722
+ sig { returns(T.nilable(String)) }
759
723
  attr_accessor :preference
760
- sig { params(preference: String).void }
724
+ sig { params(preference: T.nilable(String)).void }
761
725
  def initialize(preference: nil); end
762
726
  end
763
727
  # Whether or not the payment method should be displayed.
764
728
  sig {
765
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit::DisplayPreference)
729
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Satispay::DisplayPreference))
766
730
  }
767
731
  attr_accessor :display_preference
768
732
  sig {
769
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit::DisplayPreference).void
733
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Satispay::DisplayPreference)).void
770
734
  }
771
735
  def initialize(display_preference: nil); end
772
736
  end
773
- class Shopeepay < Stripe::RequestParams
737
+ class SepaDebit < Stripe::RequestParams
774
738
  class DisplayPreference < Stripe::RequestParams
775
739
  # The account's preference for whether or not to display this payment method.
776
- sig { returns(String) }
740
+ sig { returns(T.nilable(String)) }
777
741
  attr_accessor :preference
778
- sig { params(preference: String).void }
742
+ sig { params(preference: T.nilable(String)).void }
779
743
  def initialize(preference: nil); end
780
744
  end
781
745
  # Whether or not the payment method should be displayed.
782
746
  sig {
783
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Shopeepay::DisplayPreference)
747
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit::DisplayPreference))
784
748
  }
785
749
  attr_accessor :display_preference
786
750
  sig {
787
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Shopeepay::DisplayPreference).void
751
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit::DisplayPreference)).void
788
752
  }
789
753
  def initialize(display_preference: nil); end
790
754
  end
791
755
  class Sofort < Stripe::RequestParams
792
756
  class DisplayPreference < Stripe::RequestParams
793
757
  # The account's preference for whether or not to display this payment method.
794
- sig { returns(String) }
758
+ sig { returns(T.nilable(String)) }
795
759
  attr_accessor :preference
796
- sig { params(preference: String).void }
760
+ sig { params(preference: T.nilable(String)).void }
797
761
  def initialize(preference: nil); end
798
762
  end
799
763
  # Whether or not the payment method should be displayed.
800
764
  sig {
801
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort::DisplayPreference)
765
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort::DisplayPreference))
802
766
  }
803
767
  attr_accessor :display_preference
804
768
  sig {
805
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort::DisplayPreference).void
769
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort::DisplayPreference)).void
806
770
  }
807
771
  def initialize(display_preference: nil); end
808
772
  end
809
773
  class Swish < Stripe::RequestParams
810
774
  class DisplayPreference < Stripe::RequestParams
811
775
  # The account's preference for whether or not to display this payment method.
812
- sig { returns(String) }
776
+ sig { returns(T.nilable(String)) }
813
777
  attr_accessor :preference
814
- sig { params(preference: String).void }
778
+ sig { params(preference: T.nilable(String)).void }
815
779
  def initialize(preference: nil); end
816
780
  end
817
781
  # Whether or not the payment method should be displayed.
818
782
  sig {
819
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Swish::DisplayPreference)
783
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Swish::DisplayPreference))
820
784
  }
821
785
  attr_accessor :display_preference
822
786
  sig {
823
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Swish::DisplayPreference).void
787
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Swish::DisplayPreference)).void
824
788
  }
825
789
  def initialize(display_preference: nil); end
826
790
  end
827
791
  class Twint < Stripe::RequestParams
828
792
  class DisplayPreference < Stripe::RequestParams
829
793
  # The account's preference for whether or not to display this payment method.
830
- sig { returns(String) }
794
+ sig { returns(T.nilable(String)) }
831
795
  attr_accessor :preference
832
- sig { params(preference: String).void }
796
+ sig { params(preference: T.nilable(String)).void }
833
797
  def initialize(preference: nil); end
834
798
  end
835
799
  # Whether or not the payment method should be displayed.
836
800
  sig {
837
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Twint::DisplayPreference)
801
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Twint::DisplayPreference))
838
802
  }
839
803
  attr_accessor :display_preference
840
804
  sig {
841
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Twint::DisplayPreference).void
805
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Twint::DisplayPreference)).void
842
806
  }
843
807
  def initialize(display_preference: nil); end
844
808
  end
845
809
  class UsBankAccount < Stripe::RequestParams
846
810
  class DisplayPreference < Stripe::RequestParams
847
811
  # The account's preference for whether or not to display this payment method.
848
- sig { returns(String) }
812
+ sig { returns(T.nilable(String)) }
849
813
  attr_accessor :preference
850
- sig { params(preference: String).void }
814
+ sig { params(preference: T.nilable(String)).void }
851
815
  def initialize(preference: nil); end
852
816
  end
853
817
  # Whether or not the payment method should be displayed.
854
818
  sig {
855
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount::DisplayPreference)
819
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount::DisplayPreference))
856
820
  }
857
821
  attr_accessor :display_preference
858
822
  sig {
859
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount::DisplayPreference).void
823
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount::DisplayPreference)).void
860
824
  }
861
825
  def initialize(display_preference: nil); end
862
826
  end
863
827
  class WechatPay < Stripe::RequestParams
864
828
  class DisplayPreference < Stripe::RequestParams
865
829
  # The account's preference for whether or not to display this payment method.
866
- sig { returns(String) }
830
+ sig { returns(T.nilable(String)) }
867
831
  attr_accessor :preference
868
- sig { params(preference: String).void }
832
+ sig { params(preference: T.nilable(String)).void }
869
833
  def initialize(preference: nil); end
870
834
  end
871
835
  # Whether or not the payment method should be displayed.
872
836
  sig {
873
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay::DisplayPreference)
837
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay::DisplayPreference))
874
838
  }
875
839
  attr_accessor :display_preference
876
840
  sig {
877
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay::DisplayPreference).void
841
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay::DisplayPreference)).void
878
842
  }
879
843
  def initialize(display_preference: nil); end
880
844
  end
881
845
  class Zip < Stripe::RequestParams
882
846
  class DisplayPreference < Stripe::RequestParams
883
847
  # The account's preference for whether or not to display this payment method.
884
- sig { returns(String) }
848
+ sig { returns(T.nilable(String)) }
885
849
  attr_accessor :preference
886
- sig { params(preference: String).void }
850
+ sig { params(preference: T.nilable(String)).void }
887
851
  def initialize(preference: nil); end
888
852
  end
889
853
  # Whether or not the payment method should be displayed.
890
854
  sig {
891
- returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Zip::DisplayPreference)
855
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Zip::DisplayPreference))
892
856
  }
893
857
  attr_accessor :display_preference
894
858
  sig {
895
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Zip::DisplayPreference).void
859
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Zip::DisplayPreference)).void
896
860
  }
897
861
  def initialize(display_preference: nil); end
898
862
  end
899
863
  # Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.
900
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit) }
864
+ sig {
865
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit))
866
+ }
901
867
  attr_accessor :acss_debit
902
868
  # [Affirm](https://www.affirm.com/) gives your customers a way to split purchases over a series of payments. Depending on the purchase, they can pay with four interest-free payments (Split Pay) or pay over a longer term (Installments), which might include interest. Check this [page](https://stripe.com/docs/payments/affirm) for more details like country availability.
903
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm) }
869
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm)) }
904
870
  attr_accessor :affirm
905
871
  # Afterpay gives your customers a way to pay for purchases in installments, check this [page](https://stripe.com/docs/payments/afterpay-clearpay) for more details like country availability. Afterpay is particularly popular among businesses selling fashion, beauty, and sports products.
906
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay) }
872
+ sig {
873
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay))
874
+ }
907
875
  attr_accessor :afterpay_clearpay
908
876
  # Alipay is a digital wallet in China that has more than a billion active users worldwide. Alipay users can pay on the web or on a mobile device using login credentials or their Alipay app. Alipay has a low dispute rate and reduces fraud by authenticating payments using the customer's login credentials. Check this [page](https://stripe.com/docs/payments/alipay) for more details.
909
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay) }
877
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay)) }
910
878
  attr_accessor :alipay
911
879
  # Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
912
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Alma) }
880
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Alma)) }
913
881
  attr_accessor :alma
914
882
  # Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
915
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay) }
883
+ sig {
884
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay))
885
+ }
916
886
  attr_accessor :amazon_pay
917
887
  # Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
918
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay) }
888
+ sig {
889
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay))
890
+ }
919
891
  attr_accessor :apple_pay
920
892
  # Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.
921
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater) }
893
+ sig {
894
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater))
895
+ }
922
896
  attr_accessor :apple_pay_later
923
897
  # Stripe users in Australia can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with an Australian bank account. Check this [page](https://stripe.com/docs/payments/au-becs-debit) for more details.
924
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit) }
898
+ sig {
899
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit))
900
+ }
925
901
  attr_accessor :au_becs_debit
926
902
  # Stripe users in the UK can accept Bacs Direct Debit payments from customers with a UK bank account, check this [page](https://stripe.com/docs/payments/payment-methods/bacs-debit) for more details.
927
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit) }
903
+ sig {
904
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit))
905
+ }
928
906
  attr_accessor :bacs_debit
929
907
  # Bancontact is the most popular online payment method in Belgium, with over 15 million cards in circulation. [Customers](https://stripe.com/docs/api/customers) use a Bancontact card or mobile app linked to a Belgian bank account to make online payments that are secure, guaranteed, and confirmed immediately. Check this [page](https://stripe.com/docs/payments/bancontact) for more details.
930
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact) }
908
+ sig {
909
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact))
910
+ }
931
911
  attr_accessor :bancontact
912
+ # Billie is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method that offers businesses Pay by Invoice where they offer payment terms ranging from 7-120 days. Customers are redirected from your website or app, authorize the payment with Billie, then return to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
913
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Billie)) }
914
+ attr_accessor :billie
932
915
  # BLIK is a [single use](https://stripe.com/docs/payments/payment-methods#usage) payment method that requires customers to authenticate their payments. When customers want to pay online using BLIK, they request a six-digit code from their banking application and enter it into the payment collection form. Check this [page](https://stripe.com/docs/payments/blik) for more details.
933
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Blik) }
916
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Blik)) }
934
917
  attr_accessor :blik
935
918
  # Boleto is an official (regulated by the Central Bank of Brazil) payment method in Brazil. Check this [page](https://stripe.com/docs/payments/boleto) for more details.
936
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto) }
919
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto)) }
937
920
  attr_accessor :boleto
938
921
  # Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
939
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Card) }
922
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Card)) }
940
923
  attr_accessor :card
941
924
  # Cartes Bancaires is France's local card network. More than 95% of these cards are co-branded with either Visa or Mastercard, meaning you can process these cards over either Cartes Bancaires or the Visa or Mastercard networks. Check this [page](https://stripe.com/docs/payments/cartes-bancaires) for more details.
942
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires) }
925
+ sig {
926
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires))
927
+ }
943
928
  attr_accessor :cartes_bancaires
944
929
  # Cash App is a popular consumer app in the US that allows customers to bank, invest, send, and receive money using their digital wallet. Check this [page](https://stripe.com/docs/payments/cash-app-pay) for more details.
945
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp) }
930
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp)) }
946
931
  attr_accessor :cashapp
947
932
  # Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details.
948
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance) }
933
+ sig {
934
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance))
935
+ }
949
936
  attr_accessor :customer_balance
950
937
  # EPS is an Austria-based payment method that allows customers to complete transactions online using their bank credentials. EPS is supported by all Austrian banks and is accepted by over 80% of Austrian online retailers. Check this [page](https://stripe.com/docs/payments/eps) for more details.
951
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Eps) }
938
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Eps)) }
952
939
  attr_accessor :eps
953
940
  # Specifies which fields in the response should be expanded.
954
- sig { returns(T::Array[String]) }
941
+ sig { returns(T.nilable(T::Array[String])) }
955
942
  attr_accessor :expand
956
943
  # Financial Process Exchange (FPX) is a Malaysia-based payment method that allows customers to complete transactions online using their bank credentials. Bank Negara Malaysia (BNM), the Central Bank of Malaysia, and eleven other major Malaysian financial institutions are members of the PayNet Group, which owns and operates FPX. It is one of the most popular online payment methods in Malaysia, with nearly 90 million transactions in 2018 according to BNM. Check this [page](https://stripe.com/docs/payments/fpx) for more details.
957
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx) }
944
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx)) }
958
945
  attr_accessor :fpx
959
946
  # giropay is a German payment method based on online banking, introduced in 2006. It allows customers to complete transactions online using their online banking environment, with funds debited from their bank account. Depending on their bank, customers confirm payments on giropay using a second factor of authentication or a PIN. giropay accounts for 10% of online checkouts in Germany. Check this [page](https://stripe.com/docs/payments/giropay) for more details.
960
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay) }
947
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay)) }
961
948
  attr_accessor :giropay
962
949
  # Google Pay allows customers to make payments in your app or website using any credit or debit card saved to their Google Account, including those from Google Play, YouTube, Chrome, or an Android device. Use the Google Pay API to request any credit or debit card stored in your customer's Google account. Check this [page](https://stripe.com/docs/google-pay) for more details.
963
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay) }
950
+ sig {
951
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay))
952
+ }
964
953
  attr_accessor :google_pay
965
- # GoPay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.
966
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Gopay) }
967
- attr_accessor :gopay
968
954
  # GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.
969
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay) }
955
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay)) }
970
956
  attr_accessor :grabpay
971
- # Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
972
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::IdBankTransfer) }
973
- attr_accessor :id_bank_transfer
974
957
  # iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.
975
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal) }
958
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal)) }
976
959
  attr_accessor :ideal
977
960
  # JCB is a credit card company based in Japan. JCB is currently available in Japan to businesses approved by JCB, and available to all businesses in Australia, Canada, Hong Kong, Japan, New Zealand, Singapore, Switzerland, United Kingdom, United States, and all countries in the European Economic Area except Iceland. Check this [page](https://support.stripe.com/questions/accepting-japan-credit-bureau-%28jcb%29-payments) for more details.
978
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb) }
961
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb)) }
979
962
  attr_accessor :jcb
980
963
  # Klarna gives customers a range of [payment options](https://stripe.com/docs/payments/klarna#payment-options) during checkout. Available payment options vary depending on the customer's billing address and the transaction amount. These payment options make it convenient for customers to purchase items in all price ranges. Check this [page](https://stripe.com/docs/payments/klarna) for more details.
981
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna) }
964
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna)) }
982
965
  attr_accessor :klarna
983
966
  # Konbini allows customers in Japan to pay for bills and online purchases at convenience stores with cash. Check this [page](https://stripe.com/docs/payments/konbini) for more details.
984
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini) }
967
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini)) }
985
968
  attr_accessor :konbini
986
969
  # [Link](https://stripe.com/docs/payments/link) is a payment method network. With Link, users save their payment details once, then reuse that information to pay with one click for any business on the network.
987
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Link) }
970
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Link)) }
988
971
  attr_accessor :link
989
972
  # MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details.
990
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay) }
973
+ sig {
974
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay))
975
+ }
991
976
  attr_accessor :mobilepay
992
977
  # Stripe users in Europe and the United States can accept Multibanco payments from customers in Portugal using [Sources](https://stripe.com/docs/sources)—a single integration path for creating payments using any supported method.
993
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco) }
978
+ sig {
979
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco))
980
+ }
994
981
  attr_accessor :multibanco
995
982
  # Configuration name.
996
- sig { returns(String) }
983
+ sig { returns(T.nilable(String)) }
997
984
  attr_accessor :name
985
+ # Stripe users in New Zealand can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with a New Zeland bank account. Check this [page](https://stripe.com/docs/payments/nz-bank-account) for more details.
986
+ sig {
987
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::NzBankAccount))
988
+ }
989
+ attr_accessor :nz_bank_account
998
990
  # OXXO is a Mexican chain of convenience stores with thousands of locations across Latin America and represents nearly 20% of online transactions in Mexico. OXXO allows customers to pay bills and online purchases in-store with cash. Check this [page](https://stripe.com/docs/payments/oxxo) for more details.
999
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo) }
991
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo)) }
1000
992
  attr_accessor :oxxo
1001
993
  # Przelewy24 is a Poland-based payment method aggregator that allows customers to complete transactions online using bank transfers and other methods. Bank transfers account for 30% of online payments in Poland and Przelewy24 provides a way for customers to pay with over 165 banks. Check this [page](https://stripe.com/docs/payments/p24) for more details.
1002
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::P24) }
994
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::P24)) }
1003
995
  attr_accessor :p24
1004
996
  # Configuration's parent configuration. Specify to create a child configuration.
1005
- sig { returns(String) }
997
+ sig { returns(T.nilable(String)) }
1006
998
  attr_accessor :parent
1007
999
  # Pay by bank is a redirect payment method backed by bank transfers. A customer is redirected to their bank to authorize a bank transfer for a given amount. This removes a lot of the error risks inherent in waiting for the customer to initiate a transfer themselves, and is less expensive than card payments.
1008
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank) }
1000
+ sig {
1001
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank))
1002
+ }
1009
1003
  attr_accessor :pay_by_bank
1010
1004
  # PayNow is a Singapore-based payment method that allows customers to make a payment using their preferred app from participating banks and participating non-bank financial institutions. Check this [page](https://stripe.com/docs/payments/paynow) for more details.
1011
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow) }
1005
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow)) }
1012
1006
  attr_accessor :paynow
1013
1007
  # PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details.
1014
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal) }
1008
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal)) }
1015
1009
  attr_accessor :paypal
1016
- # PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
1017
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Payto) }
1018
- attr_accessor :payto
1019
1010
  # PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
1020
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay) }
1011
+ sig {
1012
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay))
1013
+ }
1021
1014
  attr_accessor :promptpay
1022
- # QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
1023
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Qris) }
1024
- attr_accessor :qris
1025
1015
  # Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer’s stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
1026
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay) }
1016
+ sig {
1017
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay))
1018
+ }
1027
1019
  attr_accessor :revolut_pay
1020
+ # Satispay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method where customers are required to [authenticate](/payments/payment-methods#customer-actions) their payment. Customers pay by being redirected from your website or app, authorizing the payment with Satispay, then returning to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
1021
+ sig {
1022
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Satispay))
1023
+ }
1024
+ attr_accessor :satispay
1028
1025
  # The [Single Euro Payments Area (SEPA)](https://en.wikipedia.org/wiki/Single_Euro_Payments_Area) is an initiative of the European Union to simplify payments within and across member countries. SEPA established and enforced banking standards to allow for the direct debiting of every EUR-denominated bank account within the SEPA region, check this [page](https://stripe.com/docs/payments/sepa-debit) for more details.
1029
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit) }
1026
+ sig {
1027
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit))
1028
+ }
1030
1029
  attr_accessor :sepa_debit
1031
- # ShopeePay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
1032
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Shopeepay) }
1033
- attr_accessor :shopeepay
1034
1030
  # Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.
1035
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort) }
1031
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort)) }
1036
1032
  attr_accessor :sofort
1037
1033
  # Swish is a [real-time](https://stripe.com/docs/payments/real-time) payment method popular in Sweden. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the Swish mobile app and the Swedish BankID mobile app. Check this [page](https://stripe.com/docs/payments/swish) for more details.
1038
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Swish) }
1034
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Swish)) }
1039
1035
  attr_accessor :swish
1040
1036
  # Twint is a payment method popular in Switzerland. It allows customers to pay using their mobile phone. Check this [page](https://docs.stripe.com/payments/twint) for more details.
1041
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Twint) }
1037
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Twint)) }
1042
1038
  attr_accessor :twint
1043
1039
  # Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-direct-debit) for more details.
1044
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount) }
1040
+ sig {
1041
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount))
1042
+ }
1045
1043
  attr_accessor :us_bank_account
1046
1044
  # WeChat, owned by Tencent, is China's leading mobile app with over 1 billion monthly active users. Chinese consumers can use WeChat Pay to pay for goods and services inside of businesses' apps and websites. WeChat Pay users buy most frequently in gaming, e-commerce, travel, online education, and food/nutrition. Check this [page](https://stripe.com/docs/payments/wechat-pay) for more details.
1047
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay) }
1045
+ sig {
1046
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay))
1047
+ }
1048
1048
  attr_accessor :wechat_pay
1049
1049
  # Zip gives your customers a way to split purchases over a series of payments. Check this [page](https://stripe.com/docs/payments/zip) for more details like country availability.
1050
- sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Zip) }
1050
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Zip)) }
1051
1051
  attr_accessor :zip
1052
1052
  sig {
1053
- params(acss_debit: ::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit, affirm: ::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm, afterpay_clearpay: ::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay, alipay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay, alma: ::Stripe::PaymentMethodConfigurationService::CreateParams::Alma, amazon_pay: ::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay, apple_pay: ::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay, apple_pay_later: ::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater, au_becs_debit: ::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit, bacs_debit: ::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit, bancontact: ::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact, blik: ::Stripe::PaymentMethodConfigurationService::CreateParams::Blik, boleto: ::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto, card: ::Stripe::PaymentMethodConfigurationService::CreateParams::Card, cartes_bancaires: ::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires, cashapp: ::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp, customer_balance: ::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance, eps: ::Stripe::PaymentMethodConfigurationService::CreateParams::Eps, expand: T::Array[String], fpx: ::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx, giropay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay, google_pay: ::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay, gopay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Gopay, grabpay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay, id_bank_transfer: ::Stripe::PaymentMethodConfigurationService::CreateParams::IdBankTransfer, ideal: ::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal, jcb: ::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb, klarna: ::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna, konbini: ::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini, link: ::Stripe::PaymentMethodConfigurationService::CreateParams::Link, mobilepay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay, multibanco: ::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco, name: String, oxxo: ::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo, p24: ::Stripe::PaymentMethodConfigurationService::CreateParams::P24, parent: String, pay_by_bank: ::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank, paynow: ::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow, paypal: ::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal, payto: ::Stripe::PaymentMethodConfigurationService::CreateParams::Payto, promptpay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay, qris: ::Stripe::PaymentMethodConfigurationService::CreateParams::Qris, revolut_pay: ::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay, sepa_debit: ::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit, shopeepay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Shopeepay, sofort: ::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort, swish: ::Stripe::PaymentMethodConfigurationService::CreateParams::Swish, twint: ::Stripe::PaymentMethodConfigurationService::CreateParams::Twint, us_bank_account: ::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount, wechat_pay: ::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay, zip: ::Stripe::PaymentMethodConfigurationService::CreateParams::Zip).void
1053
+ params(acss_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit), affirm: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Billie), blik: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp), customer_balance: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx), giropay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay), grabpay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay), ideal: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb), klarna: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini), link: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Link), mobilepay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco), name: T.nilable(String), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::P24), parent: T.nilable(String), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank), paynow: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal), promptpay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay), revolut_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay), satispay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit), sofort: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort), swish: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Twint), us_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount), wechat_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Zip)).void
1054
1054
  }
1055
1055
  def initialize(
1056
1056
  acss_debit: nil,
@@ -1064,6 +1064,7 @@ module Stripe
1064
1064
  au_becs_debit: nil,
1065
1065
  bacs_debit: nil,
1066
1066
  bancontact: nil,
1067
+ billie: nil,
1067
1068
  blik: nil,
1068
1069
  boleto: nil,
1069
1070
  card: nil,
@@ -1075,9 +1076,7 @@ module Stripe
1075
1076
  fpx: nil,
1076
1077
  giropay: nil,
1077
1078
  google_pay: nil,
1078
- gopay: nil,
1079
1079
  grabpay: nil,
1080
- id_bank_transfer: nil,
1081
1080
  ideal: nil,
1082
1081
  jcb: nil,
1083
1082
  klarna: nil,
@@ -1086,18 +1085,17 @@ module Stripe
1086
1085
  mobilepay: nil,
1087
1086
  multibanco: nil,
1088
1087
  name: nil,
1088
+ nz_bank_account: nil,
1089
1089
  oxxo: nil,
1090
1090
  p24: nil,
1091
1091
  parent: nil,
1092
1092
  pay_by_bank: nil,
1093
1093
  paynow: nil,
1094
1094
  paypal: nil,
1095
- payto: nil,
1096
1095
  promptpay: nil,
1097
- qris: nil,
1098
1096
  revolut_pay: nil,
1097
+ satispay: nil,
1099
1098
  sepa_debit: nil,
1100
- shopeepay: nil,
1101
1099
  sofort: nil,
1102
1100
  swish: nil,
1103
1101
  twint: nil,
@@ -1108,1031 +1106,1031 @@ module Stripe
1108
1106
  end
1109
1107
  class RetrieveParams < Stripe::RequestParams
1110
1108
  # Specifies which fields in the response should be expanded.
1111
- sig { returns(T::Array[String]) }
1109
+ sig { returns(T.nilable(T::Array[String])) }
1112
1110
  attr_accessor :expand
1113
- sig { params(expand: T::Array[String]).void }
1111
+ sig { params(expand: T.nilable(T::Array[String])).void }
1114
1112
  def initialize(expand: nil); end
1115
1113
  end
1116
1114
  class UpdateParams < Stripe::RequestParams
1117
1115
  class AcssDebit < Stripe::RequestParams
1118
1116
  class DisplayPreference < Stripe::RequestParams
1119
1117
  # The account's preference for whether or not to display this payment method.
1120
- sig { returns(String) }
1118
+ sig { returns(T.nilable(String)) }
1121
1119
  attr_accessor :preference
1122
- sig { params(preference: String).void }
1120
+ sig { params(preference: T.nilable(String)).void }
1123
1121
  def initialize(preference: nil); end
1124
1122
  end
1125
1123
  # Whether or not the payment method should be displayed.
1126
1124
  sig {
1127
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit::DisplayPreference)
1125
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit::DisplayPreference))
1128
1126
  }
1129
1127
  attr_accessor :display_preference
1130
1128
  sig {
1131
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit::DisplayPreference).void
1129
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit::DisplayPreference)).void
1132
1130
  }
1133
1131
  def initialize(display_preference: nil); end
1134
1132
  end
1135
1133
  class Affirm < Stripe::RequestParams
1136
1134
  class DisplayPreference < Stripe::RequestParams
1137
1135
  # The account's preference for whether or not to display this payment method.
1138
- sig { returns(String) }
1136
+ sig { returns(T.nilable(String)) }
1139
1137
  attr_accessor :preference
1140
- sig { params(preference: String).void }
1138
+ sig { params(preference: T.nilable(String)).void }
1141
1139
  def initialize(preference: nil); end
1142
1140
  end
1143
1141
  # Whether or not the payment method should be displayed.
1144
1142
  sig {
1145
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm::DisplayPreference)
1143
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm::DisplayPreference))
1146
1144
  }
1147
1145
  attr_accessor :display_preference
1148
1146
  sig {
1149
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm::DisplayPreference).void
1147
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm::DisplayPreference)).void
1150
1148
  }
1151
1149
  def initialize(display_preference: nil); end
1152
1150
  end
1153
1151
  class AfterpayClearpay < Stripe::RequestParams
1154
1152
  class DisplayPreference < Stripe::RequestParams
1155
1153
  # The account's preference for whether or not to display this payment method.
1156
- sig { returns(String) }
1154
+ sig { returns(T.nilable(String)) }
1157
1155
  attr_accessor :preference
1158
- sig { params(preference: String).void }
1156
+ sig { params(preference: T.nilable(String)).void }
1159
1157
  def initialize(preference: nil); end
1160
1158
  end
1161
1159
  # Whether or not the payment method should be displayed.
1162
1160
  sig {
1163
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay::DisplayPreference)
1161
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay::DisplayPreference))
1164
1162
  }
1165
1163
  attr_accessor :display_preference
1166
1164
  sig {
1167
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay::DisplayPreference).void
1165
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay::DisplayPreference)).void
1168
1166
  }
1169
1167
  def initialize(display_preference: nil); end
1170
1168
  end
1171
1169
  class Alipay < Stripe::RequestParams
1172
1170
  class DisplayPreference < Stripe::RequestParams
1173
1171
  # The account's preference for whether or not to display this payment method.
1174
- sig { returns(String) }
1172
+ sig { returns(T.nilable(String)) }
1175
1173
  attr_accessor :preference
1176
- sig { params(preference: String).void }
1174
+ sig { params(preference: T.nilable(String)).void }
1177
1175
  def initialize(preference: nil); end
1178
1176
  end
1179
1177
  # Whether or not the payment method should be displayed.
1180
1178
  sig {
1181
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay::DisplayPreference)
1179
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay::DisplayPreference))
1182
1180
  }
1183
1181
  attr_accessor :display_preference
1184
1182
  sig {
1185
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay::DisplayPreference).void
1183
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay::DisplayPreference)).void
1186
1184
  }
1187
1185
  def initialize(display_preference: nil); end
1188
1186
  end
1189
1187
  class Alma < Stripe::RequestParams
1190
1188
  class DisplayPreference < Stripe::RequestParams
1191
1189
  # The account's preference for whether or not to display this payment method.
1192
- sig { returns(String) }
1190
+ sig { returns(T.nilable(String)) }
1193
1191
  attr_accessor :preference
1194
- sig { params(preference: String).void }
1192
+ sig { params(preference: T.nilable(String)).void }
1195
1193
  def initialize(preference: nil); end
1196
1194
  end
1197
1195
  # Whether or not the payment method should be displayed.
1198
1196
  sig {
1199
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma::DisplayPreference)
1197
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma::DisplayPreference))
1200
1198
  }
1201
1199
  attr_accessor :display_preference
1202
1200
  sig {
1203
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma::DisplayPreference).void
1201
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma::DisplayPreference)).void
1204
1202
  }
1205
1203
  def initialize(display_preference: nil); end
1206
1204
  end
1207
1205
  class AmazonPay < Stripe::RequestParams
1208
1206
  class DisplayPreference < Stripe::RequestParams
1209
1207
  # The account's preference for whether or not to display this payment method.
1210
- sig { returns(String) }
1208
+ sig { returns(T.nilable(String)) }
1211
1209
  attr_accessor :preference
1212
- sig { params(preference: String).void }
1210
+ sig { params(preference: T.nilable(String)).void }
1213
1211
  def initialize(preference: nil); end
1214
1212
  end
1215
1213
  # Whether or not the payment method should be displayed.
1216
1214
  sig {
1217
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay::DisplayPreference)
1215
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay::DisplayPreference))
1218
1216
  }
1219
1217
  attr_accessor :display_preference
1220
1218
  sig {
1221
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay::DisplayPreference).void
1219
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay::DisplayPreference)).void
1222
1220
  }
1223
1221
  def initialize(display_preference: nil); end
1224
1222
  end
1225
1223
  class ApplePay < Stripe::RequestParams
1226
1224
  class DisplayPreference < Stripe::RequestParams
1227
1225
  # The account's preference for whether or not to display this payment method.
1228
- sig { returns(String) }
1226
+ sig { returns(T.nilable(String)) }
1229
1227
  attr_accessor :preference
1230
- sig { params(preference: String).void }
1228
+ sig { params(preference: T.nilable(String)).void }
1231
1229
  def initialize(preference: nil); end
1232
1230
  end
1233
1231
  # Whether or not the payment method should be displayed.
1234
1232
  sig {
1235
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay::DisplayPreference)
1233
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay::DisplayPreference))
1236
1234
  }
1237
1235
  attr_accessor :display_preference
1238
1236
  sig {
1239
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay::DisplayPreference).void
1237
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay::DisplayPreference)).void
1240
1238
  }
1241
1239
  def initialize(display_preference: nil); end
1242
1240
  end
1243
1241
  class ApplePayLater < Stripe::RequestParams
1244
1242
  class DisplayPreference < Stripe::RequestParams
1245
1243
  # The account's preference for whether or not to display this payment method.
1246
- sig { returns(String) }
1244
+ sig { returns(T.nilable(String)) }
1247
1245
  attr_accessor :preference
1248
- sig { params(preference: String).void }
1246
+ sig { params(preference: T.nilable(String)).void }
1249
1247
  def initialize(preference: nil); end
1250
1248
  end
1251
1249
  # Whether or not the payment method should be displayed.
1252
1250
  sig {
1253
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater::DisplayPreference)
1251
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater::DisplayPreference))
1254
1252
  }
1255
1253
  attr_accessor :display_preference
1256
1254
  sig {
1257
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater::DisplayPreference).void
1255
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater::DisplayPreference)).void
1258
1256
  }
1259
1257
  def initialize(display_preference: nil); end
1260
1258
  end
1261
1259
  class AuBecsDebit < Stripe::RequestParams
1262
1260
  class DisplayPreference < Stripe::RequestParams
1263
1261
  # The account's preference for whether or not to display this payment method.
1264
- sig { returns(String) }
1262
+ sig { returns(T.nilable(String)) }
1265
1263
  attr_accessor :preference
1266
- sig { params(preference: String).void }
1264
+ sig { params(preference: T.nilable(String)).void }
1267
1265
  def initialize(preference: nil); end
1268
1266
  end
1269
1267
  # Whether or not the payment method should be displayed.
1270
1268
  sig {
1271
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit::DisplayPreference)
1269
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit::DisplayPreference))
1272
1270
  }
1273
1271
  attr_accessor :display_preference
1274
1272
  sig {
1275
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit::DisplayPreference).void
1273
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit::DisplayPreference)).void
1276
1274
  }
1277
1275
  def initialize(display_preference: nil); end
1278
1276
  end
1279
1277
  class BacsDebit < Stripe::RequestParams
1280
1278
  class DisplayPreference < Stripe::RequestParams
1281
1279
  # The account's preference for whether or not to display this payment method.
1282
- sig { returns(String) }
1280
+ sig { returns(T.nilable(String)) }
1283
1281
  attr_accessor :preference
1284
- sig { params(preference: String).void }
1282
+ sig { params(preference: T.nilable(String)).void }
1285
1283
  def initialize(preference: nil); end
1286
1284
  end
1287
1285
  # Whether or not the payment method should be displayed.
1288
1286
  sig {
1289
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit::DisplayPreference)
1287
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit::DisplayPreference))
1290
1288
  }
1291
1289
  attr_accessor :display_preference
1292
1290
  sig {
1293
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit::DisplayPreference).void
1291
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit::DisplayPreference)).void
1294
1292
  }
1295
1293
  def initialize(display_preference: nil); end
1296
1294
  end
1297
1295
  class Bancontact < Stripe::RequestParams
1298
1296
  class DisplayPreference < Stripe::RequestParams
1299
1297
  # The account's preference for whether or not to display this payment method.
1300
- sig { returns(String) }
1298
+ sig { returns(T.nilable(String)) }
1301
1299
  attr_accessor :preference
1302
- sig { params(preference: String).void }
1300
+ sig { params(preference: T.nilable(String)).void }
1303
1301
  def initialize(preference: nil); end
1304
1302
  end
1305
1303
  # Whether or not the payment method should be displayed.
1306
1304
  sig {
1307
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact::DisplayPreference)
1305
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact::DisplayPreference))
1308
1306
  }
1309
1307
  attr_accessor :display_preference
1310
1308
  sig {
1311
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact::DisplayPreference).void
1309
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact::DisplayPreference)).void
1312
1310
  }
1313
1311
  def initialize(display_preference: nil); end
1314
1312
  end
1315
- class Blik < Stripe::RequestParams
1313
+ class Billie < Stripe::RequestParams
1316
1314
  class DisplayPreference < Stripe::RequestParams
1317
1315
  # The account's preference for whether or not to display this payment method.
1318
- sig { returns(String) }
1316
+ sig { returns(T.nilable(String)) }
1319
1317
  attr_accessor :preference
1320
- sig { params(preference: String).void }
1318
+ sig { params(preference: T.nilable(String)).void }
1321
1319
  def initialize(preference: nil); end
1322
1320
  end
1323
1321
  # Whether or not the payment method should be displayed.
1324
1322
  sig {
1325
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik::DisplayPreference)
1323
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Billie::DisplayPreference))
1326
1324
  }
1327
1325
  attr_accessor :display_preference
1328
1326
  sig {
1329
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik::DisplayPreference).void
1327
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Billie::DisplayPreference)).void
1330
1328
  }
1331
1329
  def initialize(display_preference: nil); end
1332
1330
  end
1333
- class Boleto < Stripe::RequestParams
1331
+ class Blik < Stripe::RequestParams
1334
1332
  class DisplayPreference < Stripe::RequestParams
1335
1333
  # The account's preference for whether or not to display this payment method.
1336
- sig { returns(String) }
1334
+ sig { returns(T.nilable(String)) }
1337
1335
  attr_accessor :preference
1338
- sig { params(preference: String).void }
1336
+ sig { params(preference: T.nilable(String)).void }
1339
1337
  def initialize(preference: nil); end
1340
1338
  end
1341
1339
  # Whether or not the payment method should be displayed.
1342
1340
  sig {
1343
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto::DisplayPreference)
1341
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik::DisplayPreference))
1344
1342
  }
1345
1343
  attr_accessor :display_preference
1346
1344
  sig {
1347
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto::DisplayPreference).void
1345
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik::DisplayPreference)).void
1348
1346
  }
1349
1347
  def initialize(display_preference: nil); end
1350
1348
  end
1351
- class Card < Stripe::RequestParams
1349
+ class Boleto < Stripe::RequestParams
1352
1350
  class DisplayPreference < Stripe::RequestParams
1353
1351
  # The account's preference for whether or not to display this payment method.
1354
- sig { returns(String) }
1352
+ sig { returns(T.nilable(String)) }
1355
1353
  attr_accessor :preference
1356
- sig { params(preference: String).void }
1354
+ sig { params(preference: T.nilable(String)).void }
1357
1355
  def initialize(preference: nil); end
1358
1356
  end
1359
1357
  # Whether or not the payment method should be displayed.
1360
1358
  sig {
1361
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Card::DisplayPreference)
1359
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto::DisplayPreference))
1362
1360
  }
1363
1361
  attr_accessor :display_preference
1364
1362
  sig {
1365
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Card::DisplayPreference).void
1363
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto::DisplayPreference)).void
1366
1364
  }
1367
1365
  def initialize(display_preference: nil); end
1368
1366
  end
1369
- class CartesBancaires < Stripe::RequestParams
1367
+ class Card < Stripe::RequestParams
1370
1368
  class DisplayPreference < Stripe::RequestParams
1371
1369
  # The account's preference for whether or not to display this payment method.
1372
- sig { returns(String) }
1370
+ sig { returns(T.nilable(String)) }
1373
1371
  attr_accessor :preference
1374
- sig { params(preference: String).void }
1372
+ sig { params(preference: T.nilable(String)).void }
1375
1373
  def initialize(preference: nil); end
1376
1374
  end
1377
1375
  # Whether or not the payment method should be displayed.
1378
1376
  sig {
1379
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires::DisplayPreference)
1377
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Card::DisplayPreference))
1380
1378
  }
1381
1379
  attr_accessor :display_preference
1382
1380
  sig {
1383
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires::DisplayPreference).void
1381
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Card::DisplayPreference)).void
1384
1382
  }
1385
1383
  def initialize(display_preference: nil); end
1386
1384
  end
1387
- class Cashapp < Stripe::RequestParams
1385
+ class CartesBancaires < Stripe::RequestParams
1388
1386
  class DisplayPreference < Stripe::RequestParams
1389
1387
  # The account's preference for whether or not to display this payment method.
1390
- sig { returns(String) }
1388
+ sig { returns(T.nilable(String)) }
1391
1389
  attr_accessor :preference
1392
- sig { params(preference: String).void }
1390
+ sig { params(preference: T.nilable(String)).void }
1393
1391
  def initialize(preference: nil); end
1394
1392
  end
1395
1393
  # Whether or not the payment method should be displayed.
1396
1394
  sig {
1397
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp::DisplayPreference)
1395
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires::DisplayPreference))
1398
1396
  }
1399
1397
  attr_accessor :display_preference
1400
1398
  sig {
1401
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp::DisplayPreference).void
1399
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires::DisplayPreference)).void
1402
1400
  }
1403
1401
  def initialize(display_preference: nil); end
1404
1402
  end
1405
- class CustomerBalance < Stripe::RequestParams
1403
+ class Cashapp < Stripe::RequestParams
1406
1404
  class DisplayPreference < Stripe::RequestParams
1407
1405
  # The account's preference for whether or not to display this payment method.
1408
- sig { returns(String) }
1406
+ sig { returns(T.nilable(String)) }
1409
1407
  attr_accessor :preference
1410
- sig { params(preference: String).void }
1408
+ sig { params(preference: T.nilable(String)).void }
1411
1409
  def initialize(preference: nil); end
1412
1410
  end
1413
1411
  # Whether or not the payment method should be displayed.
1414
1412
  sig {
1415
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance::DisplayPreference)
1413
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp::DisplayPreference))
1416
1414
  }
1417
1415
  attr_accessor :display_preference
1418
1416
  sig {
1419
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance::DisplayPreference).void
1417
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp::DisplayPreference)).void
1420
1418
  }
1421
1419
  def initialize(display_preference: nil); end
1422
1420
  end
1423
- class Eps < Stripe::RequestParams
1421
+ class CustomerBalance < Stripe::RequestParams
1424
1422
  class DisplayPreference < Stripe::RequestParams
1425
1423
  # The account's preference for whether or not to display this payment method.
1426
- sig { returns(String) }
1424
+ sig { returns(T.nilable(String)) }
1427
1425
  attr_accessor :preference
1428
- sig { params(preference: String).void }
1426
+ sig { params(preference: T.nilable(String)).void }
1429
1427
  def initialize(preference: nil); end
1430
1428
  end
1431
1429
  # Whether or not the payment method should be displayed.
1432
1430
  sig {
1433
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps::DisplayPreference)
1431
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance::DisplayPreference))
1434
1432
  }
1435
1433
  attr_accessor :display_preference
1436
1434
  sig {
1437
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps::DisplayPreference).void
1435
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance::DisplayPreference)).void
1438
1436
  }
1439
1437
  def initialize(display_preference: nil); end
1440
1438
  end
1441
- class Fpx < Stripe::RequestParams
1439
+ class Eps < Stripe::RequestParams
1442
1440
  class DisplayPreference < Stripe::RequestParams
1443
1441
  # The account's preference for whether or not to display this payment method.
1444
- sig { returns(String) }
1442
+ sig { returns(T.nilable(String)) }
1445
1443
  attr_accessor :preference
1446
- sig { params(preference: String).void }
1444
+ sig { params(preference: T.nilable(String)).void }
1447
1445
  def initialize(preference: nil); end
1448
1446
  end
1449
1447
  # Whether or not the payment method should be displayed.
1450
1448
  sig {
1451
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx::DisplayPreference)
1449
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps::DisplayPreference))
1452
1450
  }
1453
1451
  attr_accessor :display_preference
1454
1452
  sig {
1455
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx::DisplayPreference).void
1453
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps::DisplayPreference)).void
1456
1454
  }
1457
1455
  def initialize(display_preference: nil); end
1458
1456
  end
1459
- class Giropay < Stripe::RequestParams
1457
+ class Fpx < Stripe::RequestParams
1460
1458
  class DisplayPreference < Stripe::RequestParams
1461
1459
  # The account's preference for whether or not to display this payment method.
1462
- sig { returns(String) }
1460
+ sig { returns(T.nilable(String)) }
1463
1461
  attr_accessor :preference
1464
- sig { params(preference: String).void }
1462
+ sig { params(preference: T.nilable(String)).void }
1465
1463
  def initialize(preference: nil); end
1466
1464
  end
1467
1465
  # Whether or not the payment method should be displayed.
1468
1466
  sig {
1469
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay::DisplayPreference)
1467
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx::DisplayPreference))
1470
1468
  }
1471
1469
  attr_accessor :display_preference
1472
1470
  sig {
1473
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay::DisplayPreference).void
1471
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx::DisplayPreference)).void
1474
1472
  }
1475
1473
  def initialize(display_preference: nil); end
1476
1474
  end
1477
- class GooglePay < Stripe::RequestParams
1475
+ class Giropay < Stripe::RequestParams
1478
1476
  class DisplayPreference < Stripe::RequestParams
1479
1477
  # The account's preference for whether or not to display this payment method.
1480
- sig { returns(String) }
1478
+ sig { returns(T.nilable(String)) }
1481
1479
  attr_accessor :preference
1482
- sig { params(preference: String).void }
1480
+ sig { params(preference: T.nilable(String)).void }
1483
1481
  def initialize(preference: nil); end
1484
1482
  end
1485
1483
  # Whether or not the payment method should be displayed.
1486
1484
  sig {
1487
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay::DisplayPreference)
1485
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay::DisplayPreference))
1488
1486
  }
1489
1487
  attr_accessor :display_preference
1490
1488
  sig {
1491
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay::DisplayPreference).void
1489
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay::DisplayPreference)).void
1492
1490
  }
1493
1491
  def initialize(display_preference: nil); end
1494
1492
  end
1495
- class Gopay < Stripe::RequestParams
1493
+ class GooglePay < Stripe::RequestParams
1496
1494
  class DisplayPreference < Stripe::RequestParams
1497
1495
  # The account's preference for whether or not to display this payment method.
1498
- sig { returns(String) }
1496
+ sig { returns(T.nilable(String)) }
1499
1497
  attr_accessor :preference
1500
- sig { params(preference: String).void }
1498
+ sig { params(preference: T.nilable(String)).void }
1501
1499
  def initialize(preference: nil); end
1502
1500
  end
1503
1501
  # Whether or not the payment method should be displayed.
1504
1502
  sig {
1505
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Gopay::DisplayPreference)
1503
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay::DisplayPreference))
1506
1504
  }
1507
1505
  attr_accessor :display_preference
1508
1506
  sig {
1509
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Gopay::DisplayPreference).void
1507
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay::DisplayPreference)).void
1510
1508
  }
1511
1509
  def initialize(display_preference: nil); end
1512
1510
  end
1513
1511
  class Grabpay < Stripe::RequestParams
1514
1512
  class DisplayPreference < Stripe::RequestParams
1515
1513
  # The account's preference for whether or not to display this payment method.
1516
- sig { returns(String) }
1517
- attr_accessor :preference
1518
- sig { params(preference: String).void }
1519
- def initialize(preference: nil); end
1520
- end
1521
- # Whether or not the payment method should be displayed.
1522
- sig {
1523
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay::DisplayPreference)
1524
- }
1525
- attr_accessor :display_preference
1526
- sig {
1527
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay::DisplayPreference).void
1528
- }
1529
- def initialize(display_preference: nil); end
1530
- end
1531
- class IdBankTransfer < Stripe::RequestParams
1532
- class DisplayPreference < Stripe::RequestParams
1533
- # The account's preference for whether or not to display this payment method.
1534
- sig { returns(String) }
1514
+ sig { returns(T.nilable(String)) }
1535
1515
  attr_accessor :preference
1536
- sig { params(preference: String).void }
1516
+ sig { params(preference: T.nilable(String)).void }
1537
1517
  def initialize(preference: nil); end
1538
1518
  end
1539
1519
  # Whether or not the payment method should be displayed.
1540
1520
  sig {
1541
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::IdBankTransfer::DisplayPreference)
1521
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay::DisplayPreference))
1542
1522
  }
1543
1523
  attr_accessor :display_preference
1544
1524
  sig {
1545
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::IdBankTransfer::DisplayPreference).void
1525
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay::DisplayPreference)).void
1546
1526
  }
1547
1527
  def initialize(display_preference: nil); end
1548
1528
  end
1549
1529
  class Ideal < Stripe::RequestParams
1550
1530
  class DisplayPreference < Stripe::RequestParams
1551
1531
  # The account's preference for whether or not to display this payment method.
1552
- sig { returns(String) }
1532
+ sig { returns(T.nilable(String)) }
1553
1533
  attr_accessor :preference
1554
- sig { params(preference: String).void }
1534
+ sig { params(preference: T.nilable(String)).void }
1555
1535
  def initialize(preference: nil); end
1556
1536
  end
1557
1537
  # Whether or not the payment method should be displayed.
1558
1538
  sig {
1559
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal::DisplayPreference)
1539
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal::DisplayPreference))
1560
1540
  }
1561
1541
  attr_accessor :display_preference
1562
1542
  sig {
1563
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal::DisplayPreference).void
1543
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal::DisplayPreference)).void
1564
1544
  }
1565
1545
  def initialize(display_preference: nil); end
1566
1546
  end
1567
1547
  class Jcb < Stripe::RequestParams
1568
1548
  class DisplayPreference < Stripe::RequestParams
1569
1549
  # The account's preference for whether or not to display this payment method.
1570
- sig { returns(String) }
1550
+ sig { returns(T.nilable(String)) }
1571
1551
  attr_accessor :preference
1572
- sig { params(preference: String).void }
1552
+ sig { params(preference: T.nilable(String)).void }
1573
1553
  def initialize(preference: nil); end
1574
1554
  end
1575
1555
  # Whether or not the payment method should be displayed.
1576
1556
  sig {
1577
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb::DisplayPreference)
1557
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb::DisplayPreference))
1578
1558
  }
1579
1559
  attr_accessor :display_preference
1580
1560
  sig {
1581
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb::DisplayPreference).void
1561
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb::DisplayPreference)).void
1582
1562
  }
1583
1563
  def initialize(display_preference: nil); end
1584
1564
  end
1585
1565
  class Klarna < Stripe::RequestParams
1586
1566
  class DisplayPreference < Stripe::RequestParams
1587
1567
  # The account's preference for whether or not to display this payment method.
1588
- sig { returns(String) }
1568
+ sig { returns(T.nilable(String)) }
1589
1569
  attr_accessor :preference
1590
- sig { params(preference: String).void }
1570
+ sig { params(preference: T.nilable(String)).void }
1591
1571
  def initialize(preference: nil); end
1592
1572
  end
1593
1573
  # Whether or not the payment method should be displayed.
1594
1574
  sig {
1595
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna::DisplayPreference)
1575
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna::DisplayPreference))
1596
1576
  }
1597
1577
  attr_accessor :display_preference
1598
1578
  sig {
1599
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna::DisplayPreference).void
1579
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna::DisplayPreference)).void
1600
1580
  }
1601
1581
  def initialize(display_preference: nil); end
1602
1582
  end
1603
1583
  class Konbini < Stripe::RequestParams
1604
1584
  class DisplayPreference < Stripe::RequestParams
1605
1585
  # The account's preference for whether or not to display this payment method.
1606
- sig { returns(String) }
1586
+ sig { returns(T.nilable(String)) }
1607
1587
  attr_accessor :preference
1608
- sig { params(preference: String).void }
1588
+ sig { params(preference: T.nilable(String)).void }
1609
1589
  def initialize(preference: nil); end
1610
1590
  end
1611
1591
  # Whether or not the payment method should be displayed.
1612
1592
  sig {
1613
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini::DisplayPreference)
1593
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini::DisplayPreference))
1614
1594
  }
1615
1595
  attr_accessor :display_preference
1616
1596
  sig {
1617
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini::DisplayPreference).void
1597
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini::DisplayPreference)).void
1618
1598
  }
1619
1599
  def initialize(display_preference: nil); end
1620
1600
  end
1621
1601
  class Link < Stripe::RequestParams
1622
1602
  class DisplayPreference < Stripe::RequestParams
1623
1603
  # The account's preference for whether or not to display this payment method.
1624
- sig { returns(String) }
1604
+ sig { returns(T.nilable(String)) }
1625
1605
  attr_accessor :preference
1626
- sig { params(preference: String).void }
1606
+ sig { params(preference: T.nilable(String)).void }
1627
1607
  def initialize(preference: nil); end
1628
1608
  end
1629
1609
  # Whether or not the payment method should be displayed.
1630
1610
  sig {
1631
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Link::DisplayPreference)
1611
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Link::DisplayPreference))
1632
1612
  }
1633
1613
  attr_accessor :display_preference
1634
1614
  sig {
1635
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Link::DisplayPreference).void
1615
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Link::DisplayPreference)).void
1636
1616
  }
1637
1617
  def initialize(display_preference: nil); end
1638
1618
  end
1639
1619
  class Mobilepay < Stripe::RequestParams
1640
1620
  class DisplayPreference < Stripe::RequestParams
1641
1621
  # The account's preference for whether or not to display this payment method.
1642
- sig { returns(String) }
1622
+ sig { returns(T.nilable(String)) }
1643
1623
  attr_accessor :preference
1644
- sig { params(preference: String).void }
1624
+ sig { params(preference: T.nilable(String)).void }
1645
1625
  def initialize(preference: nil); end
1646
1626
  end
1647
1627
  # Whether or not the payment method should be displayed.
1648
1628
  sig {
1649
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay::DisplayPreference)
1629
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay::DisplayPreference))
1650
1630
  }
1651
1631
  attr_accessor :display_preference
1652
1632
  sig {
1653
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay::DisplayPreference).void
1633
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay::DisplayPreference)).void
1654
1634
  }
1655
1635
  def initialize(display_preference: nil); end
1656
1636
  end
1657
1637
  class Multibanco < Stripe::RequestParams
1658
1638
  class DisplayPreference < Stripe::RequestParams
1659
1639
  # The account's preference for whether or not to display this payment method.
1660
- sig { returns(String) }
1640
+ sig { returns(T.nilable(String)) }
1661
1641
  attr_accessor :preference
1662
- sig { params(preference: String).void }
1642
+ sig { params(preference: T.nilable(String)).void }
1663
1643
  def initialize(preference: nil); end
1664
1644
  end
1665
1645
  # Whether or not the payment method should be displayed.
1666
1646
  sig {
1667
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco::DisplayPreference)
1647
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco::DisplayPreference))
1668
1648
  }
1669
1649
  attr_accessor :display_preference
1670
1650
  sig {
1671
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco::DisplayPreference).void
1651
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco::DisplayPreference)).void
1672
1652
  }
1673
1653
  def initialize(display_preference: nil); end
1674
1654
  end
1675
- class Oxxo < Stripe::RequestParams
1655
+ class NzBankAccount < Stripe::RequestParams
1676
1656
  class DisplayPreference < Stripe::RequestParams
1677
1657
  # The account's preference for whether or not to display this payment method.
1678
- sig { returns(String) }
1658
+ sig { returns(T.nilable(String)) }
1679
1659
  attr_accessor :preference
1680
- sig { params(preference: String).void }
1660
+ sig { params(preference: T.nilable(String)).void }
1681
1661
  def initialize(preference: nil); end
1682
1662
  end
1683
1663
  # Whether or not the payment method should be displayed.
1684
1664
  sig {
1685
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo::DisplayPreference)
1665
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::NzBankAccount::DisplayPreference))
1686
1666
  }
1687
1667
  attr_accessor :display_preference
1688
1668
  sig {
1689
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo::DisplayPreference).void
1669
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::NzBankAccount::DisplayPreference)).void
1690
1670
  }
1691
1671
  def initialize(display_preference: nil); end
1692
1672
  end
1693
- class P24 < Stripe::RequestParams
1673
+ class Oxxo < Stripe::RequestParams
1694
1674
  class DisplayPreference < Stripe::RequestParams
1695
1675
  # The account's preference for whether or not to display this payment method.
1696
- sig { returns(String) }
1676
+ sig { returns(T.nilable(String)) }
1697
1677
  attr_accessor :preference
1698
- sig { params(preference: String).void }
1678
+ sig { params(preference: T.nilable(String)).void }
1699
1679
  def initialize(preference: nil); end
1700
1680
  end
1701
1681
  # Whether or not the payment method should be displayed.
1702
1682
  sig {
1703
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::P24::DisplayPreference)
1683
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo::DisplayPreference))
1704
1684
  }
1705
1685
  attr_accessor :display_preference
1706
1686
  sig {
1707
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::P24::DisplayPreference).void
1687
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo::DisplayPreference)).void
1708
1688
  }
1709
1689
  def initialize(display_preference: nil); end
1710
1690
  end
1711
- class PayByBank < Stripe::RequestParams
1691
+ class P24 < Stripe::RequestParams
1712
1692
  class DisplayPreference < Stripe::RequestParams
1713
1693
  # The account's preference for whether or not to display this payment method.
1714
- sig { returns(String) }
1694
+ sig { returns(T.nilable(String)) }
1715
1695
  attr_accessor :preference
1716
- sig { params(preference: String).void }
1696
+ sig { params(preference: T.nilable(String)).void }
1717
1697
  def initialize(preference: nil); end
1718
1698
  end
1719
1699
  # Whether or not the payment method should be displayed.
1720
1700
  sig {
1721
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank::DisplayPreference)
1701
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::P24::DisplayPreference))
1722
1702
  }
1723
1703
  attr_accessor :display_preference
1724
1704
  sig {
1725
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank::DisplayPreference).void
1705
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::P24::DisplayPreference)).void
1726
1706
  }
1727
1707
  def initialize(display_preference: nil); end
1728
1708
  end
1729
- class Paynow < Stripe::RequestParams
1709
+ class PayByBank < Stripe::RequestParams
1730
1710
  class DisplayPreference < Stripe::RequestParams
1731
1711
  # The account's preference for whether or not to display this payment method.
1732
- sig { returns(String) }
1712
+ sig { returns(T.nilable(String)) }
1733
1713
  attr_accessor :preference
1734
- sig { params(preference: String).void }
1714
+ sig { params(preference: T.nilable(String)).void }
1735
1715
  def initialize(preference: nil); end
1736
1716
  end
1737
1717
  # Whether or not the payment method should be displayed.
1738
1718
  sig {
1739
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow::DisplayPreference)
1719
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank::DisplayPreference))
1740
1720
  }
1741
1721
  attr_accessor :display_preference
1742
1722
  sig {
1743
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow::DisplayPreference).void
1723
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank::DisplayPreference)).void
1744
1724
  }
1745
1725
  def initialize(display_preference: nil); end
1746
1726
  end
1747
- class Paypal < Stripe::RequestParams
1727
+ class Paynow < Stripe::RequestParams
1748
1728
  class DisplayPreference < Stripe::RequestParams
1749
1729
  # The account's preference for whether or not to display this payment method.
1750
- sig { returns(String) }
1730
+ sig { returns(T.nilable(String)) }
1751
1731
  attr_accessor :preference
1752
- sig { params(preference: String).void }
1732
+ sig { params(preference: T.nilable(String)).void }
1753
1733
  def initialize(preference: nil); end
1754
1734
  end
1755
1735
  # Whether or not the payment method should be displayed.
1756
1736
  sig {
1757
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal::DisplayPreference)
1737
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow::DisplayPreference))
1758
1738
  }
1759
1739
  attr_accessor :display_preference
1760
1740
  sig {
1761
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal::DisplayPreference).void
1741
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow::DisplayPreference)).void
1762
1742
  }
1763
1743
  def initialize(display_preference: nil); end
1764
1744
  end
1765
- class Payto < Stripe::RequestParams
1745
+ class Paypal < Stripe::RequestParams
1766
1746
  class DisplayPreference < Stripe::RequestParams
1767
1747
  # The account's preference for whether or not to display this payment method.
1768
- sig { returns(String) }
1748
+ sig { returns(T.nilable(String)) }
1769
1749
  attr_accessor :preference
1770
- sig { params(preference: String).void }
1750
+ sig { params(preference: T.nilable(String)).void }
1771
1751
  def initialize(preference: nil); end
1772
1752
  end
1773
1753
  # Whether or not the payment method should be displayed.
1774
1754
  sig {
1775
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Payto::DisplayPreference)
1755
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal::DisplayPreference))
1776
1756
  }
1777
1757
  attr_accessor :display_preference
1778
1758
  sig {
1779
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Payto::DisplayPreference).void
1759
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal::DisplayPreference)).void
1780
1760
  }
1781
1761
  def initialize(display_preference: nil); end
1782
1762
  end
1783
1763
  class Promptpay < Stripe::RequestParams
1784
1764
  class DisplayPreference < Stripe::RequestParams
1785
1765
  # The account's preference for whether or not to display this payment method.
1786
- sig { returns(String) }
1766
+ sig { returns(T.nilable(String)) }
1787
1767
  attr_accessor :preference
1788
- sig { params(preference: String).void }
1768
+ sig { params(preference: T.nilable(String)).void }
1789
1769
  def initialize(preference: nil); end
1790
1770
  end
1791
1771
  # Whether or not the payment method should be displayed.
1792
1772
  sig {
1793
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay::DisplayPreference)
1773
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay::DisplayPreference))
1794
1774
  }
1795
1775
  attr_accessor :display_preference
1796
1776
  sig {
1797
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay::DisplayPreference).void
1798
- }
1799
- def initialize(display_preference: nil); end
1800
- end
1801
- class Qris < Stripe::RequestParams
1802
- class DisplayPreference < Stripe::RequestParams
1803
- # The account's preference for whether or not to display this payment method.
1804
- sig { returns(String) }
1805
- attr_accessor :preference
1806
- sig { params(preference: String).void }
1807
- def initialize(preference: nil); end
1808
- end
1809
- # Whether or not the payment method should be displayed.
1810
- sig {
1811
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Qris::DisplayPreference)
1812
- }
1813
- attr_accessor :display_preference
1814
- sig {
1815
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Qris::DisplayPreference).void
1777
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay::DisplayPreference)).void
1816
1778
  }
1817
1779
  def initialize(display_preference: nil); end
1818
1780
  end
1819
1781
  class RevolutPay < Stripe::RequestParams
1820
1782
  class DisplayPreference < Stripe::RequestParams
1821
1783
  # The account's preference for whether or not to display this payment method.
1822
- sig { returns(String) }
1784
+ sig { returns(T.nilable(String)) }
1823
1785
  attr_accessor :preference
1824
- sig { params(preference: String).void }
1786
+ sig { params(preference: T.nilable(String)).void }
1825
1787
  def initialize(preference: nil); end
1826
1788
  end
1827
1789
  # Whether or not the payment method should be displayed.
1828
1790
  sig {
1829
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay::DisplayPreference)
1791
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay::DisplayPreference))
1830
1792
  }
1831
1793
  attr_accessor :display_preference
1832
1794
  sig {
1833
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay::DisplayPreference).void
1795
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay::DisplayPreference)).void
1834
1796
  }
1835
1797
  def initialize(display_preference: nil); end
1836
1798
  end
1837
- class SepaDebit < Stripe::RequestParams
1799
+ class Satispay < Stripe::RequestParams
1838
1800
  class DisplayPreference < Stripe::RequestParams
1839
1801
  # The account's preference for whether or not to display this payment method.
1840
- sig { returns(String) }
1802
+ sig { returns(T.nilable(String)) }
1841
1803
  attr_accessor :preference
1842
- sig { params(preference: String).void }
1804
+ sig { params(preference: T.nilable(String)).void }
1843
1805
  def initialize(preference: nil); end
1844
1806
  end
1845
1807
  # Whether or not the payment method should be displayed.
1846
1808
  sig {
1847
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit::DisplayPreference)
1809
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Satispay::DisplayPreference))
1848
1810
  }
1849
1811
  attr_accessor :display_preference
1850
1812
  sig {
1851
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit::DisplayPreference).void
1813
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Satispay::DisplayPreference)).void
1852
1814
  }
1853
1815
  def initialize(display_preference: nil); end
1854
1816
  end
1855
- class Shopeepay < Stripe::RequestParams
1817
+ class SepaDebit < Stripe::RequestParams
1856
1818
  class DisplayPreference < Stripe::RequestParams
1857
1819
  # The account's preference for whether or not to display this payment method.
1858
- sig { returns(String) }
1820
+ sig { returns(T.nilable(String)) }
1859
1821
  attr_accessor :preference
1860
- sig { params(preference: String).void }
1822
+ sig { params(preference: T.nilable(String)).void }
1861
1823
  def initialize(preference: nil); end
1862
1824
  end
1863
1825
  # Whether or not the payment method should be displayed.
1864
1826
  sig {
1865
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Shopeepay::DisplayPreference)
1827
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit::DisplayPreference))
1866
1828
  }
1867
1829
  attr_accessor :display_preference
1868
1830
  sig {
1869
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Shopeepay::DisplayPreference).void
1831
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit::DisplayPreference)).void
1870
1832
  }
1871
1833
  def initialize(display_preference: nil); end
1872
1834
  end
1873
1835
  class Sofort < Stripe::RequestParams
1874
1836
  class DisplayPreference < Stripe::RequestParams
1875
1837
  # The account's preference for whether or not to display this payment method.
1876
- sig { returns(String) }
1838
+ sig { returns(T.nilable(String)) }
1877
1839
  attr_accessor :preference
1878
- sig { params(preference: String).void }
1840
+ sig { params(preference: T.nilable(String)).void }
1879
1841
  def initialize(preference: nil); end
1880
1842
  end
1881
1843
  # Whether or not the payment method should be displayed.
1882
1844
  sig {
1883
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort::DisplayPreference)
1845
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort::DisplayPreference))
1884
1846
  }
1885
1847
  attr_accessor :display_preference
1886
1848
  sig {
1887
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort::DisplayPreference).void
1849
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort::DisplayPreference)).void
1888
1850
  }
1889
1851
  def initialize(display_preference: nil); end
1890
1852
  end
1891
1853
  class Swish < Stripe::RequestParams
1892
1854
  class DisplayPreference < Stripe::RequestParams
1893
1855
  # The account's preference for whether or not to display this payment method.
1894
- sig { returns(String) }
1856
+ sig { returns(T.nilable(String)) }
1895
1857
  attr_accessor :preference
1896
- sig { params(preference: String).void }
1858
+ sig { params(preference: T.nilable(String)).void }
1897
1859
  def initialize(preference: nil); end
1898
1860
  end
1899
1861
  # Whether or not the payment method should be displayed.
1900
1862
  sig {
1901
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish::DisplayPreference)
1863
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish::DisplayPreference))
1902
1864
  }
1903
1865
  attr_accessor :display_preference
1904
1866
  sig {
1905
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish::DisplayPreference).void
1867
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish::DisplayPreference)).void
1906
1868
  }
1907
1869
  def initialize(display_preference: nil); end
1908
1870
  end
1909
1871
  class Twint < Stripe::RequestParams
1910
1872
  class DisplayPreference < Stripe::RequestParams
1911
1873
  # The account's preference for whether or not to display this payment method.
1912
- sig { returns(String) }
1874
+ sig { returns(T.nilable(String)) }
1913
1875
  attr_accessor :preference
1914
- sig { params(preference: String).void }
1876
+ sig { params(preference: T.nilable(String)).void }
1915
1877
  def initialize(preference: nil); end
1916
1878
  end
1917
1879
  # Whether or not the payment method should be displayed.
1918
1880
  sig {
1919
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint::DisplayPreference)
1881
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint::DisplayPreference))
1920
1882
  }
1921
1883
  attr_accessor :display_preference
1922
1884
  sig {
1923
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint::DisplayPreference).void
1885
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint::DisplayPreference)).void
1924
1886
  }
1925
1887
  def initialize(display_preference: nil); end
1926
1888
  end
1927
1889
  class UsBankAccount < Stripe::RequestParams
1928
1890
  class DisplayPreference < Stripe::RequestParams
1929
1891
  # The account's preference for whether or not to display this payment method.
1930
- sig { returns(String) }
1892
+ sig { returns(T.nilable(String)) }
1931
1893
  attr_accessor :preference
1932
- sig { params(preference: String).void }
1894
+ sig { params(preference: T.nilable(String)).void }
1933
1895
  def initialize(preference: nil); end
1934
1896
  end
1935
1897
  # Whether or not the payment method should be displayed.
1936
1898
  sig {
1937
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount::DisplayPreference)
1899
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount::DisplayPreference))
1938
1900
  }
1939
1901
  attr_accessor :display_preference
1940
1902
  sig {
1941
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount::DisplayPreference).void
1903
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount::DisplayPreference)).void
1942
1904
  }
1943
1905
  def initialize(display_preference: nil); end
1944
1906
  end
1945
1907
  class WechatPay < Stripe::RequestParams
1946
1908
  class DisplayPreference < Stripe::RequestParams
1947
1909
  # The account's preference for whether or not to display this payment method.
1948
- sig { returns(String) }
1910
+ sig { returns(T.nilable(String)) }
1949
1911
  attr_accessor :preference
1950
- sig { params(preference: String).void }
1912
+ sig { params(preference: T.nilable(String)).void }
1951
1913
  def initialize(preference: nil); end
1952
1914
  end
1953
1915
  # Whether or not the payment method should be displayed.
1954
1916
  sig {
1955
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay::DisplayPreference)
1917
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay::DisplayPreference))
1956
1918
  }
1957
1919
  attr_accessor :display_preference
1958
1920
  sig {
1959
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay::DisplayPreference).void
1921
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay::DisplayPreference)).void
1960
1922
  }
1961
1923
  def initialize(display_preference: nil); end
1962
1924
  end
1963
1925
  class Zip < Stripe::RequestParams
1964
1926
  class DisplayPreference < Stripe::RequestParams
1965
1927
  # The account's preference for whether or not to display this payment method.
1966
- sig { returns(String) }
1928
+ sig { returns(T.nilable(String)) }
1967
1929
  attr_accessor :preference
1968
- sig { params(preference: String).void }
1930
+ sig { params(preference: T.nilable(String)).void }
1969
1931
  def initialize(preference: nil); end
1970
1932
  end
1971
1933
  # Whether or not the payment method should be displayed.
1972
1934
  sig {
1973
- returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip::DisplayPreference)
1935
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip::DisplayPreference))
1974
1936
  }
1975
1937
  attr_accessor :display_preference
1976
1938
  sig {
1977
- params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip::DisplayPreference).void
1939
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip::DisplayPreference)).void
1978
1940
  }
1979
1941
  def initialize(display_preference: nil); end
1980
1942
  end
1981
1943
  # Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.
1982
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit) }
1944
+ sig {
1945
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit))
1946
+ }
1983
1947
  attr_accessor :acss_debit
1984
1948
  # Whether the configuration can be used for new payments.
1985
- sig { returns(T::Boolean) }
1949
+ sig { returns(T.nilable(T::Boolean)) }
1986
1950
  attr_accessor :active
1987
1951
  # [Affirm](https://www.affirm.com/) gives your customers a way to split purchases over a series of payments. Depending on the purchase, they can pay with four interest-free payments (Split Pay) or pay over a longer term (Installments), which might include interest. Check this [page](https://stripe.com/docs/payments/affirm) for more details like country availability.
1988
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm) }
1952
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm)) }
1989
1953
  attr_accessor :affirm
1990
1954
  # Afterpay gives your customers a way to pay for purchases in installments, check this [page](https://stripe.com/docs/payments/afterpay-clearpay) for more details like country availability. Afterpay is particularly popular among businesses selling fashion, beauty, and sports products.
1991
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay) }
1955
+ sig {
1956
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay))
1957
+ }
1992
1958
  attr_accessor :afterpay_clearpay
1993
1959
  # Alipay is a digital wallet in China that has more than a billion active users worldwide. Alipay users can pay on the web or on a mobile device using login credentials or their Alipay app. Alipay has a low dispute rate and reduces fraud by authenticating payments using the customer's login credentials. Check this [page](https://stripe.com/docs/payments/alipay) for more details.
1994
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay) }
1960
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay)) }
1995
1961
  attr_accessor :alipay
1996
1962
  # Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
1997
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma) }
1963
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma)) }
1998
1964
  attr_accessor :alma
1999
1965
  # Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
2000
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay) }
1966
+ sig {
1967
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay))
1968
+ }
2001
1969
  attr_accessor :amazon_pay
2002
1970
  # Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
2003
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay) }
1971
+ sig {
1972
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay))
1973
+ }
2004
1974
  attr_accessor :apple_pay
2005
1975
  # Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.
2006
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater) }
1976
+ sig {
1977
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater))
1978
+ }
2007
1979
  attr_accessor :apple_pay_later
2008
1980
  # Stripe users in Australia can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with an Australian bank account. Check this [page](https://stripe.com/docs/payments/au-becs-debit) for more details.
2009
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit) }
1981
+ sig {
1982
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit))
1983
+ }
2010
1984
  attr_accessor :au_becs_debit
2011
1985
  # Stripe users in the UK can accept Bacs Direct Debit payments from customers with a UK bank account, check this [page](https://stripe.com/docs/payments/payment-methods/bacs-debit) for more details.
2012
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit) }
1986
+ sig {
1987
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit))
1988
+ }
2013
1989
  attr_accessor :bacs_debit
2014
1990
  # Bancontact is the most popular online payment method in Belgium, with over 15 million cards in circulation. [Customers](https://stripe.com/docs/api/customers) use a Bancontact card or mobile app linked to a Belgian bank account to make online payments that are secure, guaranteed, and confirmed immediately. Check this [page](https://stripe.com/docs/payments/bancontact) for more details.
2015
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact) }
1991
+ sig {
1992
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact))
1993
+ }
2016
1994
  attr_accessor :bancontact
1995
+ # Billie is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method that offers businesses Pay by Invoice where they offer payment terms ranging from 7-120 days. Customers are redirected from your website or app, authorize the payment with Billie, then return to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
1996
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Billie)) }
1997
+ attr_accessor :billie
2017
1998
  # BLIK is a [single use](https://stripe.com/docs/payments/payment-methods#usage) payment method that requires customers to authenticate their payments. When customers want to pay online using BLIK, they request a six-digit code from their banking application and enter it into the payment collection form. Check this [page](https://stripe.com/docs/payments/blik) for more details.
2018
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik) }
1999
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik)) }
2019
2000
  attr_accessor :blik
2020
2001
  # Boleto is an official (regulated by the Central Bank of Brazil) payment method in Brazil. Check this [page](https://stripe.com/docs/payments/boleto) for more details.
2021
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto) }
2002
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto)) }
2022
2003
  attr_accessor :boleto
2023
2004
  # Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
2024
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Card) }
2005
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Card)) }
2025
2006
  attr_accessor :card
2026
2007
  # Cartes Bancaires is France's local card network. More than 95% of these cards are co-branded with either Visa or Mastercard, meaning you can process these cards over either Cartes Bancaires or the Visa or Mastercard networks. Check this [page](https://stripe.com/docs/payments/cartes-bancaires) for more details.
2027
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires) }
2008
+ sig {
2009
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires))
2010
+ }
2028
2011
  attr_accessor :cartes_bancaires
2029
2012
  # Cash App is a popular consumer app in the US that allows customers to bank, invest, send, and receive money using their digital wallet. Check this [page](https://stripe.com/docs/payments/cash-app-pay) for more details.
2030
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp) }
2013
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp)) }
2031
2014
  attr_accessor :cashapp
2032
2015
  # Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details.
2033
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance) }
2016
+ sig {
2017
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance))
2018
+ }
2034
2019
  attr_accessor :customer_balance
2035
2020
  # EPS is an Austria-based payment method that allows customers to complete transactions online using their bank credentials. EPS is supported by all Austrian banks and is accepted by over 80% of Austrian online retailers. Check this [page](https://stripe.com/docs/payments/eps) for more details.
2036
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps) }
2021
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps)) }
2037
2022
  attr_accessor :eps
2038
2023
  # Specifies which fields in the response should be expanded.
2039
- sig { returns(T::Array[String]) }
2024
+ sig { returns(T.nilable(T::Array[String])) }
2040
2025
  attr_accessor :expand
2041
2026
  # Financial Process Exchange (FPX) is a Malaysia-based payment method that allows customers to complete transactions online using their bank credentials. Bank Negara Malaysia (BNM), the Central Bank of Malaysia, and eleven other major Malaysian financial institutions are members of the PayNet Group, which owns and operates FPX. It is one of the most popular online payment methods in Malaysia, with nearly 90 million transactions in 2018 according to BNM. Check this [page](https://stripe.com/docs/payments/fpx) for more details.
2042
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx) }
2027
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx)) }
2043
2028
  attr_accessor :fpx
2044
2029
  # giropay is a German payment method based on online banking, introduced in 2006. It allows customers to complete transactions online using their online banking environment, with funds debited from their bank account. Depending on their bank, customers confirm payments on giropay using a second factor of authentication or a PIN. giropay accounts for 10% of online checkouts in Germany. Check this [page](https://stripe.com/docs/payments/giropay) for more details.
2045
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay) }
2030
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay)) }
2046
2031
  attr_accessor :giropay
2047
2032
  # Google Pay allows customers to make payments in your app or website using any credit or debit card saved to their Google Account, including those from Google Play, YouTube, Chrome, or an Android device. Use the Google Pay API to request any credit or debit card stored in your customer's Google account. Check this [page](https://stripe.com/docs/google-pay) for more details.
2048
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay) }
2033
+ sig {
2034
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay))
2035
+ }
2049
2036
  attr_accessor :google_pay
2050
- # GoPay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.
2051
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Gopay) }
2052
- attr_accessor :gopay
2053
2037
  # GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.
2054
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay) }
2038
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay)) }
2055
2039
  attr_accessor :grabpay
2056
- # Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
2057
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::IdBankTransfer) }
2058
- attr_accessor :id_bank_transfer
2059
2040
  # iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.
2060
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal) }
2041
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal)) }
2061
2042
  attr_accessor :ideal
2062
2043
  # JCB is a credit card company based in Japan. JCB is currently available in Japan to businesses approved by JCB, and available to all businesses in Australia, Canada, Hong Kong, Japan, New Zealand, Singapore, Switzerland, United Kingdom, United States, and all countries in the European Economic Area except Iceland. Check this [page](https://support.stripe.com/questions/accepting-japan-credit-bureau-%28jcb%29-payments) for more details.
2063
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb) }
2044
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb)) }
2064
2045
  attr_accessor :jcb
2065
2046
  # Klarna gives customers a range of [payment options](https://stripe.com/docs/payments/klarna#payment-options) during checkout. Available payment options vary depending on the customer's billing address and the transaction amount. These payment options make it convenient for customers to purchase items in all price ranges. Check this [page](https://stripe.com/docs/payments/klarna) for more details.
2066
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna) }
2047
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna)) }
2067
2048
  attr_accessor :klarna
2068
2049
  # Konbini allows customers in Japan to pay for bills and online purchases at convenience stores with cash. Check this [page](https://stripe.com/docs/payments/konbini) for more details.
2069
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini) }
2050
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini)) }
2070
2051
  attr_accessor :konbini
2071
2052
  # [Link](https://stripe.com/docs/payments/link) is a payment method network. With Link, users save their payment details once, then reuse that information to pay with one click for any business on the network.
2072
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Link) }
2053
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Link)) }
2073
2054
  attr_accessor :link
2074
2055
  # MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details.
2075
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay) }
2056
+ sig {
2057
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay))
2058
+ }
2076
2059
  attr_accessor :mobilepay
2077
2060
  # Stripe users in Europe and the United States can accept Multibanco payments from customers in Portugal using [Sources](https://stripe.com/docs/sources)—a single integration path for creating payments using any supported method.
2078
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco) }
2061
+ sig {
2062
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco))
2063
+ }
2079
2064
  attr_accessor :multibanco
2080
2065
  # Configuration name.
2081
- sig { returns(String) }
2066
+ sig { returns(T.nilable(String)) }
2082
2067
  attr_accessor :name
2068
+ # Stripe users in New Zealand can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with a New Zeland bank account. Check this [page](https://stripe.com/docs/payments/nz-bank-account) for more details.
2069
+ sig {
2070
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::NzBankAccount))
2071
+ }
2072
+ attr_accessor :nz_bank_account
2083
2073
  # OXXO is a Mexican chain of convenience stores with thousands of locations across Latin America and represents nearly 20% of online transactions in Mexico. OXXO allows customers to pay bills and online purchases in-store with cash. Check this [page](https://stripe.com/docs/payments/oxxo) for more details.
2084
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo) }
2074
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo)) }
2085
2075
  attr_accessor :oxxo
2086
2076
  # Przelewy24 is a Poland-based payment method aggregator that allows customers to complete transactions online using bank transfers and other methods. Bank transfers account for 30% of online payments in Poland and Przelewy24 provides a way for customers to pay with over 165 banks. Check this [page](https://stripe.com/docs/payments/p24) for more details.
2087
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::P24) }
2077
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::P24)) }
2088
2078
  attr_accessor :p24
2089
2079
  # Pay by bank is a redirect payment method backed by bank transfers. A customer is redirected to their bank to authorize a bank transfer for a given amount. This removes a lot of the error risks inherent in waiting for the customer to initiate a transfer themselves, and is less expensive than card payments.
2090
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank) }
2080
+ sig {
2081
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank))
2082
+ }
2091
2083
  attr_accessor :pay_by_bank
2092
2084
  # PayNow is a Singapore-based payment method that allows customers to make a payment using their preferred app from participating banks and participating non-bank financial institutions. Check this [page](https://stripe.com/docs/payments/paynow) for more details.
2093
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow) }
2085
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow)) }
2094
2086
  attr_accessor :paynow
2095
2087
  # PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details.
2096
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal) }
2088
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal)) }
2097
2089
  attr_accessor :paypal
2098
- # PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
2099
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Payto) }
2100
- attr_accessor :payto
2101
2090
  # PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
2102
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay) }
2091
+ sig {
2092
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay))
2093
+ }
2103
2094
  attr_accessor :promptpay
2104
- # QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
2105
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Qris) }
2106
- attr_accessor :qris
2107
2095
  # Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer’s stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
2108
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay) }
2096
+ sig {
2097
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay))
2098
+ }
2109
2099
  attr_accessor :revolut_pay
2100
+ # Satispay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method where customers are required to [authenticate](/payments/payment-methods#customer-actions) their payment. Customers pay by being redirected from your website or app, authorizing the payment with Satispay, then returning to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
2101
+ sig {
2102
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Satispay))
2103
+ }
2104
+ attr_accessor :satispay
2110
2105
  # The [Single Euro Payments Area (SEPA)](https://en.wikipedia.org/wiki/Single_Euro_Payments_Area) is an initiative of the European Union to simplify payments within and across member countries. SEPA established and enforced banking standards to allow for the direct debiting of every EUR-denominated bank account within the SEPA region, check this [page](https://stripe.com/docs/payments/sepa-debit) for more details.
2111
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit) }
2106
+ sig {
2107
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit))
2108
+ }
2112
2109
  attr_accessor :sepa_debit
2113
- # ShopeePay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
2114
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Shopeepay) }
2115
- attr_accessor :shopeepay
2116
2110
  # Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.
2117
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort) }
2111
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort)) }
2118
2112
  attr_accessor :sofort
2119
2113
  # Swish is a [real-time](https://stripe.com/docs/payments/real-time) payment method popular in Sweden. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the Swish mobile app and the Swedish BankID mobile app. Check this [page](https://stripe.com/docs/payments/swish) for more details.
2120
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish) }
2114
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish)) }
2121
2115
  attr_accessor :swish
2122
2116
  # Twint is a payment method popular in Switzerland. It allows customers to pay using their mobile phone. Check this [page](https://docs.stripe.com/payments/twint) for more details.
2123
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint) }
2117
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint)) }
2124
2118
  attr_accessor :twint
2125
2119
  # Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-direct-debit) for more details.
2126
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount) }
2120
+ sig {
2121
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount))
2122
+ }
2127
2123
  attr_accessor :us_bank_account
2128
2124
  # WeChat, owned by Tencent, is China's leading mobile app with over 1 billion monthly active users. Chinese consumers can use WeChat Pay to pay for goods and services inside of businesses' apps and websites. WeChat Pay users buy most frequently in gaming, e-commerce, travel, online education, and food/nutrition. Check this [page](https://stripe.com/docs/payments/wechat-pay) for more details.
2129
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay) }
2125
+ sig {
2126
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay))
2127
+ }
2130
2128
  attr_accessor :wechat_pay
2131
2129
  # Zip gives your customers a way to split purchases over a series of payments. Check this [page](https://stripe.com/docs/payments/zip) for more details like country availability.
2132
- sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip) }
2130
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip)) }
2133
2131
  attr_accessor :zip
2134
2132
  sig {
2135
- params(acss_debit: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit, active: T::Boolean, affirm: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm, afterpay_clearpay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay, alipay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay, alma: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma, amazon_pay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay, apple_pay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay, apple_pay_later: ::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater, au_becs_debit: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit, bacs_debit: ::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit, bancontact: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact, blik: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik, boleto: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto, card: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Card, cartes_bancaires: ::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires, cashapp: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp, customer_balance: ::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance, eps: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps, expand: T::Array[String], fpx: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx, giropay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay, google_pay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay, gopay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Gopay, grabpay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay, id_bank_transfer: ::Stripe::PaymentMethodConfigurationService::UpdateParams::IdBankTransfer, ideal: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal, jcb: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb, klarna: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna, konbini: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini, link: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Link, mobilepay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay, multibanco: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco, name: String, oxxo: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo, p24: ::Stripe::PaymentMethodConfigurationService::UpdateParams::P24, pay_by_bank: ::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank, paynow: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow, paypal: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal, payto: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Payto, promptpay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay, qris: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Qris, revolut_pay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay, sepa_debit: ::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit, shopeepay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Shopeepay, sofort: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort, swish: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish, twint: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint, us_bank_account: ::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount, wechat_pay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay, zip: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip).void
2133
+ params(acss_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit), active: T.nilable(T::Boolean), affirm: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Billie), blik: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp), customer_balance: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx), giropay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay), grabpay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay), ideal: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb), klarna: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini), link: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Link), mobilepay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco), name: T.nilable(String), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::P24), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank), paynow: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal), promptpay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay), revolut_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay), satispay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit), sofort: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort), swish: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint), us_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount), wechat_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip)).void
2136
2134
  }
2137
2135
  def initialize(
2138
2136
  acss_debit: nil,
@@ -2147,6 +2145,7 @@ module Stripe
2147
2145
  au_becs_debit: nil,
2148
2146
  bacs_debit: nil,
2149
2147
  bancontact: nil,
2148
+ billie: nil,
2150
2149
  blik: nil,
2151
2150
  boleto: nil,
2152
2151
  card: nil,
@@ -2158,9 +2157,7 @@ module Stripe
2158
2157
  fpx: nil,
2159
2158
  giropay: nil,
2160
2159
  google_pay: nil,
2161
- gopay: nil,
2162
2160
  grabpay: nil,
2163
- id_bank_transfer: nil,
2164
2161
  ideal: nil,
2165
2162
  jcb: nil,
2166
2163
  klarna: nil,
@@ -2169,17 +2166,16 @@ module Stripe
2169
2166
  mobilepay: nil,
2170
2167
  multibanco: nil,
2171
2168
  name: nil,
2169
+ nz_bank_account: nil,
2172
2170
  oxxo: nil,
2173
2171
  p24: nil,
2174
2172
  pay_by_bank: nil,
2175
2173
  paynow: nil,
2176
2174
  paypal: nil,
2177
- payto: nil,
2178
2175
  promptpay: nil,
2179
- qris: nil,
2180
2176
  revolut_pay: nil,
2177
+ satispay: nil,
2181
2178
  sepa_debit: nil,
2182
- shopeepay: nil,
2183
2179
  sofort: nil,
2184
2180
  swish: nil,
2185
2181
  twint: nil,