stripe 13.4.0.pre.beta.1 → 13.4.0.pre.beta.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (697) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +24 -1
  3. data/CONTRIBUTING.md +25 -0
  4. data/Makefile +2 -0
  5. data/OPENAPI_VERSION +1 -1
  6. data/README.md +11 -6
  7. data/Rakefile +0 -5
  8. data/VERSION +1 -1
  9. data/justfile +43 -0
  10. data/lib/stripe/api_version.rb +1 -1
  11. data/lib/stripe/resources/account.rb +117 -747
  12. data/lib/stripe/resources/account_link.rb +0 -10
  13. data/lib/stripe/resources/account_notice.rb +0 -22
  14. data/lib/stripe/resources/account_session.rb +93 -128
  15. data/lib/stripe/resources/apple_pay_domain.rb +0 -10
  16. data/lib/stripe/resources/application.rb +0 -3
  17. data/lib/stripe/resources/application_fee.rb +0 -24
  18. data/lib/stripe/resources/application_fee_refund.rb +0 -7
  19. data/lib/stripe/resources/apps/secret.rb +0 -25
  20. data/lib/stripe/resources/balance.rb +0 -31
  21. data/lib/stripe/resources/balance_transaction.rb +0 -29
  22. data/lib/stripe/resources/bank_account.rb +0 -29
  23. data/lib/stripe/resources/billing/alert.rb +0 -22
  24. data/lib/stripe/resources/billing/alert_triggered.rb +0 -5
  25. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -12
  26. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -24
  27. data/lib/stripe/resources/billing/credit_grant.rb +0 -32
  28. data/lib/stripe/resources/billing/meter.rb +0 -25
  29. data/lib/stripe/resources/billing/meter_error_report.rb +0 -11
  30. data/lib/stripe/resources/billing/meter_event.rb +0 -10
  31. data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -8
  32. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -6
  33. data/lib/stripe/resources/billing_portal/configuration.rb +2 -79
  34. data/lib/stripe/resources/billing_portal/session.rb +0 -42
  35. data/lib/stripe/resources/capability.rb +2 -29
  36. data/lib/stripe/resources/capital/financing_offer.rb +0 -33
  37. data/lib/stripe/resources/capital/financing_summary.rb +0 -13
  38. data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
  39. data/lib/stripe/resources/card.rb +2 -34
  40. data/lib/stripe/resources/cash_balance.rb +0 -5
  41. data/lib/stripe/resources/charge.rb +8 -665
  42. data/lib/stripe/resources/checkout/session.rb +21 -513
  43. data/lib/stripe/resources/climate/order.rb +0 -40
  44. data/lib/stripe/resources/climate/product.rb +0 -13
  45. data/lib/stripe/resources/climate/supplier.rb +0 -13
  46. data/lib/stripe/resources/confirmation_token.rb +12 -337
  47. data/lib/stripe/resources/connect_collection_transfer.rb +0 -5
  48. data/lib/stripe/resources/country_spec.rb +0 -13
  49. data/lib/stripe/resources/coupon.rb +0 -39
  50. data/lib/stripe/resources/credit_note.rb +0 -138
  51. data/lib/stripe/resources/credit_note_line_item.rb +0 -24
  52. data/lib/stripe/resources/customer.rb +1 -156
  53. data/lib/stripe/resources/customer_balance_transaction.rb +0 -12
  54. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -27
  55. data/lib/stripe/resources/customer_session.rb +0 -24
  56. data/lib/stripe/resources/discount.rb +0 -12
  57. data/lib/stripe/resources/dispute.rb +4 -152
  58. data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -8
  59. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -3
  60. data/lib/stripe/resources/entitlements/feature.rb +0 -17
  61. data/lib/stripe/resources/ephemeral_key.rb +0 -5
  62. data/lib/stripe/resources/event.rb +0 -27
  63. data/lib/stripe/resources/exchange_rate.rb +0 -5
  64. data/lib/stripe/resources/file.rb +0 -23
  65. data/lib/stripe/resources/file_link.rb +0 -22
  66. data/lib/stripe/resources/financial_connections/account.rb +0 -47
  67. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -3
  68. data/lib/stripe/resources/financial_connections/account_owner.rb +0 -7
  69. data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -3
  70. data/lib/stripe/resources/financial_connections/institution.rb +0 -13
  71. data/lib/stripe/resources/financial_connections/session.rb +0 -28
  72. data/lib/stripe/resources/financial_connections/transaction.rb +1 -22
  73. data/lib/stripe/resources/forwarding/request.rb +0 -31
  74. data/lib/stripe/resources/funding_instructions.rb +0 -107
  75. data/lib/stripe/resources/gift_cards/card.rb +0 -28
  76. data/lib/stripe/resources/gift_cards/transaction.rb +0 -32
  77. data/lib/stripe/resources/identity/verification_report.rb +0 -69
  78. data/lib/stripe/resources/identity/verification_session.rb +0 -69
  79. data/lib/stripe/resources/invoice.rb +6 -1276
  80. data/lib/stripe/resources/invoice_item.rb +0 -91
  81. data/lib/stripe/resources/invoice_line_item.rb +0 -76
  82. data/lib/stripe/resources/invoice_payment.rb +0 -16
  83. data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
  84. data/lib/stripe/resources/issuing/authorization.rb +0 -199
  85. data/lib/stripe/resources/issuing/card.rb +0 -128
  86. data/lib/stripe/resources/issuing/cardholder.rb +0 -110
  87. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -82
  88. data/lib/stripe/resources/issuing/dispute.rb +0 -151
  89. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -14
  90. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -14
  91. data/lib/stripe/resources/issuing/personalization_design.rb +0 -48
  92. data/lib/stripe/resources/issuing/physical_bundle.rb +0 -13
  93. data/lib/stripe/resources/issuing/settlement.rb +0 -16
  94. data/lib/stripe/resources/issuing/token.rb +0 -46
  95. data/lib/stripe/resources/issuing/transaction.rb +0 -171
  96. data/lib/stripe/resources/line_item.rb +0 -23
  97. data/lib/stripe/resources/login_link.rb +0 -2
  98. data/lib/stripe/resources/mandate.rb +0 -45
  99. data/lib/stripe/resources/margin.rb +0 -19
  100. data/lib/stripe/resources/order.rb +3 -391
  101. data/lib/stripe/resources/payment_attempt_record.rb +0 -42
  102. data/lib/stripe/resources/payment_intent.rb +48 -1768
  103. data/lib/stripe/resources/payment_link.rb +15 -213
  104. data/lib/stripe/resources/payment_method.rb +19 -345
  105. data/lib/stripe/resources/payment_method_configuration.rb +58 -292
  106. data/lib/stripe/resources/payment_method_domain.rb +0 -23
  107. data/lib/stripe/resources/payment_record.rb +0 -109
  108. data/lib/stripe/resources/payout.rb +0 -49
  109. data/lib/stripe/resources/person.rb +2 -92
  110. data/lib/stripe/resources/plan.rb +0 -69
  111. data/lib/stripe/resources/price.rb +0 -133
  112. data/lib/stripe/resources/product.rb +0 -100
  113. data/lib/stripe/resources/product_feature.rb +0 -4
  114. data/lib/stripe/resources/promotion_code.rb +0 -40
  115. data/lib/stripe/resources/quote.rb +0 -458
  116. data/lib/stripe/resources/quote_line.rb +0 -66
  117. data/lib/stripe/resources/quote_preview_invoice.rb +3 -184
  118. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -101
  119. data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -16
  120. data/lib/stripe/resources/radar/value_list.rb +0 -26
  121. data/lib/stripe/resources/radar/value_list_item.rb +0 -18
  122. data/lib/stripe/resources/refund.rb +0 -92
  123. data/lib/stripe/resources/reporting/report_run.rb +0 -32
  124. data/lib/stripe/resources/reporting/report_type.rb +0 -8
  125. data/lib/stripe/resources/reserve_transaction.rb +0 -4
  126. data/lib/stripe/resources/reversal.rb +0 -9
  127. data/lib/stripe/resources/review.rb +0 -27
  128. data/lib/stripe/resources/setup_attempt.rb +2 -103
  129. data/lib/stripe/resources/setup_intent.rb +23 -539
  130. data/lib/stripe/resources/shipping_rate.rb +0 -44
  131. data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -13
  132. data/lib/stripe/resources/source.rb +6 -338
  133. data/lib/stripe/resources/source_mandate_notification.rb +0 -13
  134. data/lib/stripe/resources/source_transaction.rb +0 -29
  135. data/lib/stripe/resources/subscription.rb +0 -338
  136. data/lib/stripe/resources/subscription_item.rb +0 -69
  137. data/lib/stripe/resources/subscription_schedule.rb +0 -388
  138. data/lib/stripe/resources/tax/association.rb +0 -11
  139. data/lib/stripe/resources/tax/calculation.rb +2 -89
  140. data/lib/stripe/resources/tax/calculation_line_item.rb +0 -20
  141. data/lib/stripe/resources/tax/form.rb +2 -35
  142. data/lib/stripe/resources/tax/registration.rb +421 -213
  143. data/lib/stripe/resources/tax/settings.rb +0 -20
  144. data/lib/stripe/resources/tax/transaction.rb +1 -66
  145. data/lib/stripe/resources/tax/transaction_line_item.rb +0 -12
  146. data/lib/stripe/resources/tax_code.rb +0 -6
  147. data/lib/stripe/resources/tax_deducted_at_source.rb +0 -4
  148. data/lib/stripe/resources/tax_id.rb +2 -28
  149. data/lib/stripe/resources/tax_rate.rb +0 -45
  150. data/lib/stripe/resources/terminal/configuration.rb +46 -161
  151. data/lib/stripe/resources/terminal/connection_token.rb +0 -3
  152. data/lib/stripe/resources/terminal/location.rb +0 -33
  153. data/lib/stripe/resources/terminal/reader.rb +0 -129
  154. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -5
  155. data/lib/stripe/resources/test_helpers/test_clock.rb +0 -15
  156. data/lib/stripe/resources/token.rb +23 -192
  157. data/lib/stripe/resources/topup.rb +0 -36
  158. data/lib/stripe/resources/transfer.rb +0 -35
  159. data/lib/stripe/resources/treasury/credit_reversal.rb +0 -21
  160. data/lib/stripe/resources/treasury/debit_reversal.rb +0 -23
  161. data/lib/stripe/resources/treasury/financial_account.rb +77 -71
  162. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -46
  163. data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -50
  164. data/lib/stripe/resources/treasury/outbound_payment.rb +0 -92
  165. data/lib/stripe/resources/treasury/outbound_transfer.rb +25 -66
  166. data/lib/stripe/resources/treasury/received_credit.rb +6 -58
  167. data/lib/stripe/resources/treasury/received_debit.rb +0 -54
  168. data/lib/stripe/resources/treasury/transaction.rb +0 -39
  169. data/lib/stripe/resources/treasury/transaction_entry.rb +0 -36
  170. data/lib/stripe/resources/usage_record.rb +0 -5
  171. data/lib/stripe/resources/usage_record_summary.rb +0 -7
  172. data/lib/stripe/resources/v2/billing/meter_event.rb +0 -6
  173. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -7
  174. data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -5
  175. data/lib/stripe/resources/v2/event.rb +0 -8
  176. data/lib/stripe/resources/v2/event_destination.rb +0 -19
  177. data/lib/stripe/resources/webhook_endpoint.rb +0 -26
  178. data/lib/stripe/services/account_capability_service.rb +0 -1
  179. data/lib/stripe/services/account_external_account_service.rb +0 -43
  180. data/lib/stripe/services/account_link_service.rb +0 -7
  181. data/lib/stripe/services/account_notice_service.rb +0 -9
  182. data/lib/stripe/services/account_person_service.rb +0 -139
  183. data/lib/stripe/services/account_service.rb +100 -521
  184. data/lib/stripe/services/account_session_service.rb +22 -80
  185. data/lib/stripe/services/apple_pay_domain_service.rb +0 -5
  186. data/lib/stripe/services/application_fee_refund_service.rb +0 -6
  187. data/lib/stripe/services/application_fee_service.rb +0 -8
  188. data/lib/stripe/services/apps/secret_service.rb +0 -16
  189. data/lib/stripe/services/balance_transaction_service.rb +0 -11
  190. data/lib/stripe/services/billing/alert_service.rb +0 -12
  191. data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -4
  192. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -5
  193. data/lib/stripe/services/billing/credit_grant_service.rb +0 -16
  194. data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -3
  195. data/lib/stripe/services/billing/meter_event_service.rb +0 -4
  196. data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -7
  197. data/lib/stripe/services/billing/meter_service.rb +0 -12
  198. data/lib/stripe/services/billing_portal/configuration_service.rb +2 -50
  199. data/lib/stripe/services/billing_portal/session_service.rb +0 -19
  200. data/lib/stripe/services/capital/financing_offer_service.rb +0 -9
  201. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -7
  202. data/lib/stripe/services/charge_service.rb +0 -274
  203. data/lib/stripe/services/checkout/session_line_item_service.rb +0 -3
  204. data/lib/stripe/services/checkout/session_service.rb +9 -273
  205. data/lib/stripe/services/climate/order_service.rb +0 -11
  206. data/lib/stripe/services/climate/product_service.rb +0 -3
  207. data/lib/stripe/services/climate/supplier_service.rb +0 -3
  208. data/lib/stripe/services/country_spec_service.rb +0 -3
  209. data/lib/stripe/services/coupon_service.rb +0 -22
  210. data/lib/stripe/services/credit_note_line_item_service.rb +0 -3
  211. data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -28
  212. data/lib/stripe/services/credit_note_service.rb +0 -61
  213. data/lib/stripe/services/customer_balance_transaction_service.rb +0 -9
  214. data/lib/stripe/services/customer_cash_balance_service.rb +0 -1
  215. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -3
  216. data/lib/stripe/services/customer_funding_instructions_service.rb +0 -5
  217. data/lib/stripe/services/customer_payment_method_service.rb +0 -5
  218. data/lib/stripe/services/customer_payment_source_service.rb +0 -29
  219. data/lib/stripe/services/customer_service.rb +1 -92
  220. data/lib/stripe/services/customer_session_service.rb +0 -10
  221. data/lib/stripe/services/customer_tax_id_service.rb +1 -6
  222. data/lib/stripe/services/dispute_service.rb +2 -67
  223. data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -4
  224. data/lib/stripe/services/entitlements/feature_service.rb +0 -11
  225. data/lib/stripe/services/ephemeral_key_service.rb +0 -4
  226. data/lib/stripe/services/event_service.rb +0 -10
  227. data/lib/stripe/services/exchange_rate_service.rb +0 -3
  228. data/lib/stripe/services/file_link_service.rb +0 -14
  229. data/lib/stripe/services/file_service.rb +0 -13
  230. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -3
  231. data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -4
  232. data/lib/stripe/services/financial_connections/account_service.rb +0 -9
  233. data/lib/stripe/services/financial_connections/institution_service.rb +0 -3
  234. data/lib/stripe/services/financial_connections/session_service.rb +0 -11
  235. data/lib/stripe/services/financial_connections/transaction_service.rb +1 -10
  236. data/lib/stripe/services/forwarding/request_service.rb +0 -14
  237. data/lib/stripe/services/gift_cards/card_service.rb +0 -13
  238. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -16
  239. data/lib/stripe/services/identity/verification_report_service.rb +0 -10
  240. data/lib/stripe/services/identity/verification_session_service.rb +0 -30
  241. data/lib/stripe/services/invoice_item_service.rb +0 -66
  242. data/lib/stripe/services/invoice_line_item_service.rb +0 -40
  243. data/lib/stripe/services/invoice_payment_service.rb +0 -3
  244. data/lib/stripe/services/invoice_rendering_template_service.rb +0 -5
  245. data/lib/stripe/services/invoice_service.rb +2 -810
  246. data/lib/stripe/services/invoice_upcoming_lines_service.rb +1 -279
  247. data/lib/stripe/services/issuing/authorization_service.rb +0 -14
  248. data/lib/stripe/services/issuing/card_service.rb +0 -70
  249. data/lib/stripe/services/issuing/cardholder_service.rb +0 -73
  250. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -56
  251. data/lib/stripe/services/issuing/dispute_service.rb +0 -98
  252. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -4
  253. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -7
  254. data/lib/stripe/services/issuing/personalization_design_service.rb +0 -29
  255. data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -5
  256. data/lib/stripe/services/issuing/token_service.rb +0 -10
  257. data/lib/stripe/services/issuing/transaction_service.rb +0 -12
  258. data/lib/stripe/services/margin_service.rb +0 -11
  259. data/lib/stripe/services/order_line_item_service.rb +0 -3
  260. data/lib/stripe/services/order_service.rb +2 -266
  261. data/lib/stripe/services/payment_attempt_record_service.rb +0 -1
  262. data/lib/stripe/services/payment_intent_service.rb +42 -1309
  263. data/lib/stripe/services/payment_link_line_item_service.rb +0 -3
  264. data/lib/stripe/services/payment_link_service.rb +15 -135
  265. data/lib/stripe/services/payment_method_configuration_service.rb +42 -102
  266. data/lib/stripe/services/payment_method_domain_service.rb +0 -8
  267. data/lib/stripe/services/payment_method_service.rb +14 -113
  268. data/lib/stripe/services/payment_record_service.rb +0 -68
  269. data/lib/stripe/services/payout_service.rb +0 -23
  270. data/lib/stripe/services/plan_service.rb +0 -43
  271. data/lib/stripe/services/price_service.rb +0 -87
  272. data/lib/stripe/services/product_feature_service.rb +0 -4
  273. data/lib/stripe/services/product_service.rb +0 -74
  274. data/lib/stripe/services/promotion_code_service.rb +0 -25
  275. data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -3
  276. data/lib/stripe/services/quote_line_item_service.rb +0 -3
  277. data/lib/stripe/services/quote_line_service.rb +0 -3
  278. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -3
  279. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -3
  280. data/lib/stripe/services/quote_service.rb +0 -309
  281. data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -9
  282. data/lib/stripe/services/radar/value_list_item_service.rb +0 -11
  283. data/lib/stripe/services/radar/value_list_service.rb +0 -16
  284. data/lib/stripe/services/refund_service.rb +0 -21
  285. data/lib/stripe/services/reporting/report_run_service.rb +0 -16
  286. data/lib/stripe/services/review_service.rb +0 -7
  287. data/lib/stripe/services/setup_attempt_service.rb +0 -8
  288. data/lib/stripe/services/setup_intent_service.rb +21 -447
  289. data/lib/stripe/services/shipping_rate_service.rb +0 -27
  290. data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -3
  291. data/lib/stripe/services/source_service.rb +0 -92
  292. data/lib/stripe/services/source_transaction_service.rb +0 -3
  293. data/lib/stripe/services/subscription_item_service.rb +0 -56
  294. data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -3
  295. data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -3
  296. data/lib/stripe/services/subscription_schedule_service.rb +0 -290
  297. data/lib/stripe/services/subscription_service.rb +0 -245
  298. data/lib/stripe/services/tax/association_service.rb +0 -1
  299. data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -3
  300. data/lib/stripe/services/tax/calculation_service.rb +1 -31
  301. data/lib/stripe/services/tax/form_service.rb +0 -7
  302. data/lib/stripe/services/tax/registration_service.rb +274 -108
  303. data/lib/stripe/services/tax/settings_service.rb +0 -8
  304. data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -3
  305. data/lib/stripe/services/tax/transaction_service.rb +0 -17
  306. data/lib/stripe/services/tax_code_service.rb +0 -3
  307. data/lib/stripe/services/tax_id_service.rb +1 -12
  308. data/lib/stripe/services/tax_rate_service.rb +0 -27
  309. data/lib/stripe/services/terminal/configuration_service.rb +36 -106
  310. data/lib/stripe/services/terminal/connection_token_service.rb +0 -1
  311. data/lib/stripe/services/terminal/location_service.rb +0 -21
  312. data/lib/stripe/services/terminal/reader_service.rb +0 -53
  313. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +7 -89
  314. data/lib/stripe/services/test_helpers/customer_service.rb +0 -3
  315. data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -99
  316. data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -2
  317. data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -91
  318. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -4
  319. data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -6
  320. data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -1
  321. data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -6
  322. data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -6
  323. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -11
  324. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -11
  325. data/lib/stripe/services/token_service.rb +23 -184
  326. data/lib/stripe/services/topup_service.rb +0 -21
  327. data/lib/stripe/services/transfer_reversal_service.rb +0 -8
  328. data/lib/stripe/services/transfer_service.rb +0 -19
  329. data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -8
  330. data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -9
  331. data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -10
  332. data/lib/stripe/services/treasury/financial_account_service.rb +64 -36
  333. data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -12
  334. data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -38
  335. data/lib/stripe/services/treasury/outbound_transfer_service.rb +16 -15
  336. data/lib/stripe/services/treasury/received_credit_service.rb +0 -6
  337. data/lib/stripe/services/treasury/received_debit_service.rb +0 -5
  338. data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -14
  339. data/lib/stripe/services/treasury/transaction_service.rb +0 -14
  340. data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -2
  341. data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -3
  342. data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -3
  343. data/lib/stripe/services/v2/core/event_destination_service.rb +0 -18
  344. data/lib/stripe/services/v2/core/event_service.rb +0 -2
  345. data/lib/stripe/services/webhook_endpoint_service.rb +0 -14
  346. data/lib/stripe/stripe_client.rb +7 -2
  347. data/lib/stripe/stripe_configuration.rb +21 -1
  348. data/lib/stripe/stripe_object.rb +3 -3
  349. data/lib/stripe/thin_event.rb +22 -2
  350. data/lib/stripe/util.rb +1 -1
  351. data/lib/stripe/version.rb +1 -1
  352. data/lib/stripe.rb +22 -0
  353. data/rbi/stripe/resources/account.rbi +120 -1007
  354. data/rbi/stripe/resources/account_link.rbi +0 -13
  355. data/rbi/stripe/resources/account_notice.rbi +0 -27
  356. data/rbi/stripe/resources/account_session.rbi +121 -172
  357. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -14
  358. data/rbi/stripe/resources/application.rbi +0 -3
  359. data/rbi/stripe/resources/application_fee.rbi +0 -28
  360. data/rbi/stripe/resources/application_fee_refund.rbi +0 -7
  361. data/rbi/stripe/resources/apps/secret.rbi +0 -34
  362. data/rbi/stripe/resources/balance.rbi +0 -33
  363. data/rbi/stripe/resources/balance_transaction.rbi +0 -33
  364. data/rbi/stripe/resources/bank_account.rbi +0 -29
  365. data/rbi/stripe/resources/billing/alert.rbi +0 -31
  366. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -5
  367. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -16
  368. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -27
  369. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -43
  370. data/rbi/stripe/resources/billing/meter.rbi +0 -35
  371. data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -11
  372. data/rbi/stripe/resources/billing/meter_event.rbi +0 -12
  373. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -11
  374. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -6
  375. data/rbi/stripe/resources/billing_portal/configuration.rbi +2 -108
  376. data/rbi/stripe/resources/billing_portal/session.rbi +0 -55
  377. data/rbi/stripe/resources/capability.rbi +2 -29
  378. data/rbi/stripe/resources/capital/financing_offer.rbi +0 -38
  379. data/rbi/stripe/resources/capital/financing_summary.rbi +0 -15
  380. data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -27
  381. data/rbi/stripe/resources/card.rbi +3 -34
  382. data/rbi/stripe/resources/cash_balance.rbi +0 -5
  383. data/rbi/stripe/resources/charge.rbi +10 -738
  384. data/rbi/stripe/resources/checkout/session.rbi +26 -638
  385. data/rbi/stripe/resources/climate/order.rbi +0 -48
  386. data/rbi/stripe/resources/climate/product.rbi +0 -16
  387. data/rbi/stripe/resources/climate/supplier.rbi +0 -16
  388. data/rbi/stripe/resources/confirmation_token.rbi +15 -365
  389. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -5
  390. data/rbi/stripe/resources/country_spec.rbi +0 -16
  391. data/rbi/stripe/resources/coupon.rbi +0 -48
  392. data/rbi/stripe/resources/credit_note.rbi +0 -159
  393. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -24
  394. data/rbi/stripe/resources/customer.rbi +1 -188
  395. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -12
  396. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -27
  397. data/rbi/stripe/resources/customer_session.rbi +0 -31
  398. data/rbi/stripe/resources/discount.rbi +0 -12
  399. data/rbi/stripe/resources/dispute.rbi +4 -166
  400. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -11
  401. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -3
  402. data/rbi/stripe/resources/entitlements/feature.rbi +0 -22
  403. data/rbi/stripe/resources/ephemeral_key.rbi +0 -7
  404. data/rbi/stripe/resources/event.rbi +0 -31
  405. data/rbi/stripe/resources/exchange_rate.rbi +0 -8
  406. data/rbi/stripe/resources/file.rbi +0 -29
  407. data/rbi/stripe/resources/file_link.rbi +0 -28
  408. data/rbi/stripe/resources/financial_connections/account.rbi +0 -56
  409. data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -3
  410. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -7
  411. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -3
  412. data/rbi/stripe/resources/financial_connections/institution.rbi +0 -16
  413. data/rbi/stripe/resources/financial_connections/session.rbi +0 -35
  414. data/rbi/stripe/resources/financial_connections/transaction.rbi +1 -27
  415. data/rbi/stripe/resources/forwarding/request.rbi +0 -38
  416. data/rbi/stripe/resources/funding_instructions.rbi +0 -107
  417. data/rbi/stripe/resources/gift_cards/card.rbi +0 -36
  418. data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -41
  419. data/rbi/stripe/resources/identity/verification_report.rbi +0 -73
  420. data/rbi/stripe/resources/identity/verification_session.rbi +0 -83
  421. data/rbi/stripe/resources/invoice.rbi +7 -1663
  422. data/rbi/stripe/resources/invoice_item.rbi +0 -107
  423. data/rbi/stripe/resources/invoice_line_item.rbi +0 -86
  424. data/rbi/stripe/resources/invoice_payment.rbi +0 -16
  425. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -17
  426. data/rbi/stripe/resources/issuing/authorization.rbi +0 -245
  427. data/rbi/stripe/resources/issuing/card.rbi +0 -153
  428. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -138
  429. data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -109
  430. data/rbi/stripe/resources/issuing/dispute.rbi +0 -177
  431. data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -17
  432. data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -18
  433. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -62
  434. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -16
  435. data/rbi/stripe/resources/issuing/settlement.rbi +0 -16
  436. data/rbi/stripe/resources/issuing/token.rbi +0 -51
  437. data/rbi/stripe/resources/issuing/transaction.rbi +0 -205
  438. data/rbi/stripe/resources/line_item.rbi +0 -23
  439. data/rbi/stripe/resources/login_link.rbi +0 -2
  440. data/rbi/stripe/resources/mandate.rbi +0 -47
  441. data/rbi/stripe/resources/margin.rbi +0 -24
  442. data/rbi/stripe/resources/order.rbi +3 -492
  443. data/rbi/stripe/resources/payment_attempt_record.rbi +0 -45
  444. data/rbi/stripe/resources/payment_intent.rbi +61 -2230
  445. data/rbi/stripe/resources/payment_link.rbi +14 -291
  446. data/rbi/stripe/resources/payment_method.rbi +23 -384
  447. data/rbi/stripe/resources/payment_method_configuration.rbi +75 -495
  448. data/rbi/stripe/resources/payment_method_domain.rbi +0 -29
  449. data/rbi/stripe/resources/payment_record.rbi +0 -134
  450. data/rbi/stripe/resources/payout.rbi +0 -58
  451. data/rbi/stripe/resources/person.rbi +2 -92
  452. data/rbi/stripe/resources/plan.rbi +0 -78
  453. data/rbi/stripe/resources/price.rbi +0 -153
  454. data/rbi/stripe/resources/product.rbi +0 -120
  455. data/rbi/stripe/resources/product_feature.rbi +0 -4
  456. data/rbi/stripe/resources/promotion_code.rbi +0 -50
  457. data/rbi/stripe/resources/quote.rbi +0 -593
  458. data/rbi/stripe/resources/quote_line.rbi +0 -66
  459. data/rbi/stripe/resources/quote_preview_invoice.rbi +4 -184
  460. data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -101
  461. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -20
  462. data/rbi/stripe/resources/radar/value_list.rbi +0 -32
  463. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -23
  464. data/rbi/stripe/resources/refund.rbi +0 -100
  465. data/rbi/stripe/resources/reporting/report_run.rbi +0 -38
  466. data/rbi/stripe/resources/reporting/report_type.rbi +0 -11
  467. data/rbi/stripe/resources/reserve_transaction.rbi +0 -4
  468. data/rbi/stripe/resources/reversal.rbi +0 -9
  469. data/rbi/stripe/resources/review.rbi +0 -32
  470. data/rbi/stripe/resources/setup_attempt.rbi +3 -106
  471. data/rbi/stripe/resources/setup_intent.rbi +27 -691
  472. data/rbi/stripe/resources/shipping_rate.rbi +0 -57
  473. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -16
  474. data/rbi/stripe/resources/source.rbi +9 -365
  475. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -13
  476. data/rbi/stripe/resources/source_transaction.rbi +0 -29
  477. data/rbi/stripe/resources/subscription.rbi +0 -431
  478. data/rbi/stripe/resources/subscription_item.rbi +0 -88
  479. data/rbi/stripe/resources/subscription_schedule.rbi +0 -504
  480. data/rbi/stripe/resources/tax/association.rbi +0 -13
  481. data/rbi/stripe/resources/tax/calculation.rbi +2 -100
  482. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -20
  483. data/rbi/stripe/resources/tax/form.rbi +2 -40
  484. data/rbi/stripe/resources/tax/registration.rbi +401 -317
  485. data/rbi/stripe/resources/tax/settings.rbi +0 -26
  486. data/rbi/stripe/resources/tax/transaction.rbi +1 -73
  487. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -12
  488. data/rbi/stripe/resources/tax_code.rbi +0 -9
  489. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -4
  490. data/rbi/stripe/resources/tax_id.rbi +2 -34
  491. data/rbi/stripe/resources/tax_rate.rbi +0 -51
  492. data/rbi/stripe/resources/terminal/configuration.rbi +54 -213
  493. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -5
  494. data/rbi/stripe/resources/terminal/location.rbi +0 -40
  495. data/rbi/stripe/resources/terminal/reader.rbi +0 -158
  496. data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -7
  497. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -20
  498. data/rbi/stripe/resources/token.rbi +22 -235
  499. data/rbi/stripe/resources/topup.rbi +0 -44
  500. data/rbi/stripe/resources/transfer.rbi +0 -41
  501. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -25
  502. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -27
  503. data/rbi/stripe/resources/treasury/financial_account.rbi +70 -124
  504. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -46
  505. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -59
  506. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -113
  507. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +28 -84
  508. data/rbi/stripe/resources/treasury/received_credit.rbi +7 -67
  509. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -62
  510. data/rbi/stripe/resources/treasury/transaction.rbi +0 -45
  511. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -41
  512. data/rbi/stripe/resources/usage_record.rbi +0 -5
  513. data/rbi/stripe/resources/usage_record_summary.rbi +0 -7
  514. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -6
  515. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -7
  516. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -5
  517. data/rbi/stripe/resources/v2/event.rbi +0 -8
  518. data/rbi/stripe/resources/v2/event_destination.rbi +0 -19
  519. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -31
  520. data/rbi/stripe/services/account_capability_service.rbi +0 -4
  521. data/rbi/stripe/services/account_external_account_service.rbi +0 -52
  522. data/rbi/stripe/services/account_link_service.rbi +0 -9
  523. data/rbi/stripe/services/account_login_link_service.rbi +0 -1
  524. data/rbi/stripe/services/account_notice_service.rbi +0 -13
  525. data/rbi/stripe/services/account_person_service.rbi +0 -174
  526. data/rbi/stripe/services/account_service.rbi +98 -779
  527. data/rbi/stripe/services/account_session_service.rbi +29 -122
  528. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -8
  529. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -10
  530. data/rbi/stripe/services/application_fee_service.rbi +0 -11
  531. data/rbi/stripe/services/apps/secret_service.rbi +0 -24
  532. data/rbi/stripe/services/balance_service.rbi +0 -1
  533. data/rbi/stripe/services/balance_transaction_service.rbi +0 -14
  534. data/rbi/stripe/services/billing/alert_service.rbi +0 -20
  535. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -7
  536. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -7
  537. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -26
  538. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -5
  539. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -5
  540. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -8
  541. data/rbi/stripe/services/billing/meter_service.rbi +0 -21
  542. data/rbi/stripe/services/billing_portal/configuration_service.rbi +2 -78
  543. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -31
  544. data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -13
  545. data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -1
  546. data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -9
  547. data/rbi/stripe/services/charge_service.rbi +0 -346
  548. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -4
  549. data/rbi/stripe/services/checkout/session_service.rbi +12 -396
  550. data/rbi/stripe/services/climate/order_service.rbi +0 -18
  551. data/rbi/stripe/services/climate/product_service.rbi +0 -5
  552. data/rbi/stripe/services/climate/supplier_service.rbi +0 -5
  553. data/rbi/stripe/services/confirmation_token_service.rbi +0 -1
  554. data/rbi/stripe/services/country_spec_service.rbi +0 -5
  555. data/rbi/stripe/services/coupon_service.rbi +0 -30
  556. data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -4
  557. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -33
  558. data/rbi/stripe/services/credit_note_service.rbi +0 -76
  559. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -13
  560. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -4
  561. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -5
  562. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -8
  563. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -7
  564. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -37
  565. data/rbi/stripe/services/customer_service.rbi +1 -117
  566. data/rbi/stripe/services/customer_session_service.rbi +0 -16
  567. data/rbi/stripe/services/customer_tax_id_service.rbi +1 -9
  568. data/rbi/stripe/services/dispute_service.rbi +2 -80
  569. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -6
  570. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -15
  571. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -6
  572. data/rbi/stripe/services/event_service.rbi +0 -13
  573. data/rbi/stripe/services/exchange_rate_service.rbi +0 -5
  574. data/rbi/stripe/services/file_link_service.rbi +0 -19
  575. data/rbi/stripe/services/file_service.rbi +0 -18
  576. data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -4
  577. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -5
  578. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -16
  579. data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -5
  580. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -17
  581. data/rbi/stripe/services/financial_connections/transaction_service.rbi +1 -14
  582. data/rbi/stripe/services/forwarding/request_service.rbi +0 -20
  583. data/rbi/stripe/services/gift_cards/card_service.rbi +0 -20
  584. data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -24
  585. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -13
  586. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -43
  587. data/rbi/stripe/services/invoice_item_service.rbi +0 -81
  588. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -50
  589. data/rbi/stripe/services/invoice_payment_service.rbi +0 -5
  590. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -9
  591. data/rbi/stripe/services/invoice_service.rbi +2 -1100
  592. data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +1 -375
  593. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -20
  594. data/rbi/stripe/services/issuing/card_service.rbi +0 -89
  595. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -100
  596. data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -82
  597. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -123
  598. data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -6
  599. data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -10
  600. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -38
  601. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -7
  602. data/rbi/stripe/services/issuing/token_service.rbi +0 -14
  603. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -16
  604. data/rbi/stripe/services/mandate_service.rbi +0 -1
  605. data/rbi/stripe/services/margin_service.rbi +0 -15
  606. data/rbi/stripe/services/order_line_item_service.rbi +0 -4
  607. data/rbi/stripe/services/order_service.rbi +2 -365
  608. data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -3
  609. data/rbi/stripe/services/payment_intent_service.rbi +54 -1770
  610. data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -4
  611. data/rbi/stripe/services/payment_link_service.rbi +14 -211
  612. data/rbi/stripe/services/payment_method_configuration_service.rbi +46 -296
  613. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -13
  614. data/rbi/stripe/services/payment_method_service.rbi +16 -151
  615. data/rbi/stripe/services/payment_record_service.rbi +0 -92
  616. data/rbi/stripe/services/payout_service.rbi +0 -31
  617. data/rbi/stripe/services/plan_service.rbi +0 -51
  618. data/rbi/stripe/services/price_service.rbi +0 -106
  619. data/rbi/stripe/services/product_feature_service.rbi +0 -7
  620. data/rbi/stripe/services/product_service.rbi +0 -93
  621. data/rbi/stripe/services/promotion_code_service.rbi +0 -34
  622. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -4
  623. data/rbi/stripe/services/quote_line_item_service.rbi +0 -4
  624. data/rbi/stripe/services/quote_line_service.rbi +0 -4
  625. data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -4
  626. data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -4
  627. data/rbi/stripe/services/quote_service.rbi +0 -440
  628. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -12
  629. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -15
  630. data/rbi/stripe/services/radar/value_list_service.rbi +0 -21
  631. data/rbi/stripe/services/refund_service.rbi +0 -27
  632. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -21
  633. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -2
  634. data/rbi/stripe/services/review_service.rbi +0 -11
  635. data/rbi/stripe/services/setup_attempt_service.rbi +0 -10
  636. data/rbi/stripe/services/setup_intent_service.rbi +24 -598
  637. data/rbi/stripe/services/shipping_rate_service.rbi +0 -39
  638. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -5
  639. data/rbi/stripe/services/source_service.rbi +0 -119
  640. data/rbi/stripe/services/source_transaction_service.rbi +0 -4
  641. data/rbi/stripe/services/subscription_item_service.rbi +0 -74
  642. data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -4
  643. data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -4
  644. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -405
  645. data/rbi/stripe/services/subscription_service.rbi +0 -337
  646. data/rbi/stripe/services/tax/association_service.rbi +0 -2
  647. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -4
  648. data/rbi/stripe/services/tax/calculation_service.rbi +1 -40
  649. data/rbi/stripe/services/tax/form_service.rbi +0 -11
  650. data/rbi/stripe/services/tax/registration_service.rbi +233 -211
  651. data/rbi/stripe/services/tax/settings_service.rbi +0 -13
  652. data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -4
  653. data/rbi/stripe/services/tax/transaction_service.rbi +0 -22
  654. data/rbi/stripe/services/tax_code_service.rbi +0 -5
  655. data/rbi/stripe/services/tax_id_service.rbi +1 -17
  656. data/rbi/stripe/services/tax_rate_service.rbi +0 -32
  657. data/rbi/stripe/services/terminal/configuration_service.rbi +40 -156
  658. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -2
  659. data/rbi/stripe/services/terminal/location_service.rbi +0 -27
  660. data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -1
  661. data/rbi/stripe/services/terminal/reader_service.rbi +0 -78
  662. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +10 -115
  663. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -4
  664. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -138
  665. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -5
  666. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -6
  667. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -120
  668. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -1
  669. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -7
  670. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -10
  671. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -5
  672. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -14
  673. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -14
  674. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -16
  675. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -16
  676. data/rbi/stripe/services/token_service.rbi +24 -226
  677. data/rbi/stripe/services/topup_service.rbi +0 -28
  678. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -12
  679. data/rbi/stripe/services/transfer_service.rbi +0 -24
  680. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -11
  681. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -12
  682. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -25
  683. data/rbi/stripe/services/treasury/financial_account_service.rbi +62 -73
  684. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -16
  685. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -50
  686. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +17 -24
  687. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -9
  688. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -7
  689. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -18
  690. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -19
  691. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -4
  692. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -4
  693. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -5
  694. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -25
  695. data/rbi/stripe/services/v2/core/event_service.rbi +0 -3
  696. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -18
  697. metadata +4 -2
@@ -15,13 +15,10 @@ module Stripe
15
15
  class Created < Stripe::RequestParams
16
16
  # Minimum value to filter by (exclusive)
17
17
  attr_accessor :gt
18
-
19
18
  # Minimum value to filter by (inclusive)
20
19
  attr_accessor :gte
21
-
22
20
  # Maximum value to filter by (exclusive)
23
21
  attr_accessor :lt
24
-
25
22
  # Maximum value to filter by (inclusive)
26
23
  attr_accessor :lte
27
24
 
@@ -43,34 +40,24 @@ module Stripe
43
40
  end
44
41
  # Only return Checkout Sessions that were created during the given date interval.
45
42
  attr_accessor :created
46
-
47
43
  # Only return the Checkout Sessions for the Customer specified.
48
44
  attr_accessor :customer
49
-
50
45
  # Only return the Checkout Sessions for the Customer details specified.
51
46
  attr_accessor :customer_details
52
-
53
47
  # 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.
54
48
  attr_accessor :ending_before
55
-
56
49
  # Specifies which fields in the response should be expanded.
57
50
  attr_accessor :expand
58
-
59
51
  # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
60
52
  attr_accessor :limit
61
-
62
53
  # Only return the Checkout Session for the PaymentIntent specified.
63
54
  attr_accessor :payment_intent
64
-
65
55
  # Only return the Checkout Sessions for the Payment Link specified.
66
56
  attr_accessor :payment_link
67
-
68
57
  # 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.
69
58
  attr_accessor :starting_after
70
-
71
59
  # Only return the Checkout Sessions matching the given status.
72
60
  attr_accessor :status
73
-
74
61
  # Only return the Checkout Session for the subscription specified.
75
62
  attr_accessor :subscription
76
63
 
@@ -115,7 +102,6 @@ module Stripe
115
102
  class Recovery < Stripe::RequestParams
116
103
  # Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to `false`
117
104
  attr_accessor :allow_promotion_codes
118
-
119
105
  # If `true`, a recovery URL will be generated to recover this Checkout Session if it
120
106
  # expires before a successful transaction is completed. It will be attached to the
121
107
  # Checkout Session object upon expiration.
@@ -138,7 +124,6 @@ module Stripe
138
124
  class Liability < Stripe::RequestParams
139
125
  # The connected account being referenced when `type` is `account`.
140
126
  attr_accessor :account
141
-
142
127
  # Type of the account referenced in the request.
143
128
  attr_accessor :type
144
129
 
@@ -151,7 +136,6 @@ module Stripe
151
136
  #
152
137
  # Enabling this parameter causes Checkout to collect any billing address information necessary for tax calculation.
153
138
  attr_accessor :enabled
154
-
155
139
  # The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
156
140
  attr_accessor :liability
157
141
 
@@ -173,12 +157,10 @@ module Stripe
173
157
  end
174
158
  # Determines the display of payment method reuse agreement text in the UI. If set to `hidden`, it will hide legal text related to the reuse of a payment method.
175
159
  attr_accessor :payment_method_reuse_agreement
176
-
177
160
  # If set to `auto`, enables the collection of customer consent for promotional communications. The Checkout
178
161
  # Session will determine whether to display an option to opt into promotional communication
179
162
  # from the merchant depending on the customer's locale. Only available to US merchants.
180
163
  attr_accessor :promotions
181
-
182
164
  # If set to `required`, it requires customers to check a terms of service checkbox before being able to pay.
183
165
  # There must be a valid terms of service URL set in your [Dashboard settings](https://dashboard.stripe.com/settings/public).
184
166
  attr_accessor :terms_of_service
@@ -199,7 +181,6 @@ module Stripe
199
181
  class Option < Stripe::RequestParams
200
182
  # The label for the option, displayed to the customer. Up to 100 characters.
201
183
  attr_accessor :label
202
-
203
184
  # The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters.
204
185
  attr_accessor :value
205
186
 
@@ -210,7 +191,6 @@ module Stripe
210
191
  end
211
192
  # The value that will pre-fill the field on the payment page.Must match a `value` in the `options` array.
212
193
  attr_accessor :default_value
213
-
214
194
  # The options available for the customer to select. Up to 200 options allowed.
215
195
  attr_accessor :options
216
196
 
@@ -223,7 +203,6 @@ module Stripe
223
203
  class Label < Stripe::RequestParams
224
204
  # Custom text for the label, displayed to the customer. Up to 50 characters.
225
205
  attr_accessor :custom
226
-
227
206
  # The type of the label.
228
207
  attr_accessor :type
229
208
 
@@ -236,10 +215,8 @@ module Stripe
236
215
  class Numeric < Stripe::RequestParams
237
216
  # The value that will pre-fill the field on the payment page.
238
217
  attr_accessor :default_value
239
-
240
218
  # The maximum character length constraint for the customer's input.
241
219
  attr_accessor :maximum_length
242
-
243
220
  # The minimum character length requirement for the customer's input.
244
221
  attr_accessor :minimum_length
245
222
 
@@ -253,10 +230,8 @@ module Stripe
253
230
  class Text < Stripe::RequestParams
254
231
  # The value that will pre-fill the field on the payment page.
255
232
  attr_accessor :default_value
256
-
257
233
  # The maximum character length constraint for the customer's input.
258
234
  attr_accessor :maximum_length
259
-
260
235
  # The minimum character length requirement for the customer's input.
261
236
  attr_accessor :minimum_length
262
237
 
@@ -268,22 +243,16 @@ module Stripe
268
243
  end
269
244
  # Configuration for `type=dropdown` fields.
270
245
  attr_accessor :dropdown
271
-
272
246
  # String of your choice that your integration can use to reconcile this field. Must be unique to this field, alphanumeric, and up to 200 characters.
273
247
  attr_accessor :key
274
-
275
248
  # The label for the field, displayed to the customer.
276
249
  attr_accessor :label
277
-
278
250
  # Configuration for `type=numeric` fields.
279
251
  attr_accessor :numeric
280
-
281
252
  # Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`.
282
253
  attr_accessor :optional
283
-
284
254
  # Configuration for `type=text` fields.
285
255
  attr_accessor :text
286
-
287
256
  # The type of the field.
288
257
  attr_accessor :type
289
258
 
@@ -344,13 +313,10 @@ module Stripe
344
313
  end
345
314
  # Custom text that should be displayed after the payment confirmation button.
346
315
  attr_accessor :after_submit
347
-
348
316
  # Custom text that should be displayed alongside shipping address collection.
349
317
  attr_accessor :shipping_address
350
-
351
318
  # Custom text that should be displayed alongside the payment confirmation button.
352
319
  attr_accessor :submit
353
-
354
320
  # Custom text that should be displayed in place of the default terms of service agreement text.
355
321
  attr_accessor :terms_of_service_acceptance
356
322
 
@@ -371,10 +337,8 @@ module Stripe
371
337
  # Describes whether Checkout saves the billing address onto `customer.address`.
372
338
  # To always collect a full billing address, use `billing_address_collection`. Defaults to `never`.
373
339
  attr_accessor :address
374
-
375
340
  # Describes whether Checkout saves the name onto `customer.name`. Defaults to `never`.
376
341
  attr_accessor :name
377
-
378
342
  # Describes whether Checkout saves shipping information onto `customer.shipping`.
379
343
  # To collect shipping information, use `shipping_address_collection`. Defaults to `never`.
380
344
  attr_accessor :shipping
@@ -389,7 +353,6 @@ module Stripe
389
353
  class Discount < Stripe::RequestParams
390
354
  # The ID of the coupon to apply to this Session.
391
355
  attr_accessor :coupon
392
-
393
356
  # The ID of a promotion code to apply to this Session.
394
357
  attr_accessor :promotion_code
395
358
 
@@ -404,7 +367,6 @@ module Stripe
404
367
  class CustomField < Stripe::RequestParams
405
368
  # The name of the custom field. This may be up to 40 characters.
406
369
  attr_accessor :name
407
-
408
370
  # The value of the custom field. This may be up to 140 characters.
409
371
  attr_accessor :value
410
372
 
@@ -417,7 +379,6 @@ module Stripe
417
379
  class Issuer < Stripe::RequestParams
418
380
  # The connected account being referenced when `type` is `account`.
419
381
  attr_accessor :account
420
-
421
382
  # Type of the account referenced in the request.
422
383
  attr_accessor :type
423
384
 
@@ -437,22 +398,16 @@ module Stripe
437
398
  end
438
399
  # The account tax IDs associated with the invoice.
439
400
  attr_accessor :account_tax_ids
440
-
441
401
  # Default custom fields to be displayed on invoices for this customer.
442
402
  attr_accessor :custom_fields
443
-
444
403
  # An arbitrary string attached to the object. Often useful for displaying to users.
445
404
  attr_accessor :description
446
-
447
405
  # Default footer to be displayed on invoices for this customer.
448
406
  attr_accessor :footer
449
-
450
407
  # The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
451
408
  attr_accessor :issuer
452
-
453
409
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
454
410
  attr_accessor :metadata
455
-
456
411
  # Default options for invoice PDF rendering for this customer.
457
412
  attr_accessor :rendering_options
458
413
 
@@ -476,7 +431,6 @@ module Stripe
476
431
  end
477
432
  # Set to `true` to enable invoice creation.
478
433
  attr_accessor :enabled
479
-
480
434
  # Parameters passed when creating invoices for payment-mode Checkout Sessions.
481
435
  attr_accessor :invoice_data
482
436
 
@@ -490,10 +444,8 @@ module Stripe
490
444
  class AdjustableQuantity < Stripe::RequestParams
491
445
  # Set to true if the quantity can be adjusted to any non-negative integer.
492
446
  attr_accessor :enabled
493
-
494
447
  # The maximum quantity the customer can purchase for the Checkout Session. By default this value is 99. You can specify a value up to 999999.
495
448
  attr_accessor :maximum
496
-
497
449
  # The minimum quantity the customer must purchase for the Checkout Session. By default this value is 0.
498
450
  attr_accessor :minimum
499
451
 
@@ -508,16 +460,12 @@ module Stripe
508
460
  class ProductData < Stripe::RequestParams
509
461
  # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
510
462
  attr_accessor :description
511
-
512
463
  # A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
513
464
  attr_accessor :images
514
-
515
465
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
516
466
  attr_accessor :metadata
517
-
518
467
  # The product's name, meant to be displayable to the customer.
519
468
  attr_accessor :name
520
-
521
469
  # A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
522
470
  attr_accessor :tax_code
523
471
 
@@ -533,7 +481,6 @@ module Stripe
533
481
  class Recurring < Stripe::RequestParams
534
482
  # Specifies billing frequency. Either `day`, `week`, `month` or `year`.
535
483
  attr_accessor :interval
536
-
537
484
  # The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
538
485
  attr_accessor :interval_count
539
486
 
@@ -544,22 +491,16 @@ module Stripe
544
491
  end
545
492
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
546
493
  attr_accessor :currency
547
-
548
494
  # The ID of the product that this price will belong to. One of `product` or `product_data` is required.
549
495
  attr_accessor :product
550
-
551
496
  # Data used to generate a new product object inline. One of `product` or `product_data` is required.
552
497
  attr_accessor :product_data
553
-
554
498
  # The recurring components of a price such as `interval` and `interval_count`.
555
499
  attr_accessor :recurring
556
-
557
500
  # Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
558
501
  attr_accessor :tax_behavior
559
-
560
502
  # A non-negative integer in cents (or local equivalent) representing how much to charge. One of `unit_amount` or `unit_amount_decimal` is required.
561
503
  attr_accessor :unit_amount
562
-
563
504
  # Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
564
505
  attr_accessor :unit_amount_decimal
565
506
 
@@ -583,22 +524,16 @@ module Stripe
583
524
  end
584
525
  # When set, provides configuration for this item’s quantity to be adjusted by the customer during Checkout.
585
526
  attr_accessor :adjustable_quantity
586
-
587
527
  # The [tax rates](https://stripe.com/docs/api/tax_rates) that will be applied to this line item depending on the customer's billing/shipping address. We currently support the following countries: US, GB, AU, and all countries in the EU.
588
528
  attr_accessor :dynamic_tax_rates
589
-
590
529
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
591
530
  attr_accessor :metadata
592
-
593
531
  # The ID of the [Price](https://stripe.com/docs/api/prices) or [Plan](https://stripe.com/docs/api/plans) object. One of `price` or `price_data` is required.
594
532
  attr_accessor :price
595
-
596
533
  # Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.
597
534
  attr_accessor :price_data
598
-
599
535
  # The quantity of the line item being purchased. Quantity should not be defined when `recurring.usage_type=metered`.
600
536
  attr_accessor :quantity
601
-
602
537
  # The [tax rates](https://stripe.com/docs/api/tax_rates) which apply to this line item.
603
538
  attr_accessor :tax_rates
604
539
 
@@ -626,19 +561,14 @@ module Stripe
626
561
  class Address < Stripe::RequestParams
627
562
  # City, district, suburb, town, or village.
628
563
  attr_accessor :city
629
-
630
564
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
631
565
  attr_accessor :country
632
-
633
566
  # Address line 1 (e.g., street, PO Box, or company name).
634
567
  attr_accessor :line1
635
-
636
568
  # Address line 2 (e.g., apartment, suite, unit, or building).
637
569
  attr_accessor :line2
638
-
639
570
  # ZIP or postal code.
640
571
  attr_accessor :postal_code
641
-
642
572
  # State, county, province, or region.
643
573
  attr_accessor :state
644
574
 
@@ -660,16 +590,12 @@ module Stripe
660
590
  end
661
591
  # Shipping address.
662
592
  attr_accessor :address
663
-
664
593
  # The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
665
594
  attr_accessor :carrier
666
-
667
595
  # Recipient name.
668
596
  attr_accessor :name
669
-
670
597
  # Recipient phone (including extension).
671
598
  attr_accessor :phone
672
-
673
599
  # The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
674
600
  attr_accessor :tracking_number
675
601
 
@@ -685,7 +611,6 @@ module Stripe
685
611
  class TransferData < Stripe::RequestParams
686
612
  # The amount that will be transferred automatically when a charge succeeds.
687
613
  attr_accessor :amount
688
-
689
614
  # If specified, successful charges will be attributed to the destination
690
615
  # account for tax reporting, and the funds from charges will be transferred
691
616
  # to the destination account. The ID of the resulting transfer will be
@@ -699,24 +624,18 @@ module Stripe
699
624
  end
700
625
  # The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total payment amount. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
701
626
  attr_accessor :application_fee_amount
702
-
703
627
  # Controls when the funds will be captured from the customer's account.
704
628
  attr_accessor :capture_method
705
-
706
629
  # An arbitrary string attached to the object. Often useful for displaying to users.
707
630
  attr_accessor :description
708
-
709
631
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
710
632
  attr_accessor :metadata
711
-
712
633
  # The Stripe account ID for which these funds are intended. For details,
713
634
  # see the PaymentIntents [use case for connected
714
635
  # accounts](/docs/payments/connected-accounts).
715
636
  attr_accessor :on_behalf_of
716
-
717
637
  # Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
718
638
  attr_accessor :receipt_email
719
-
720
639
  # Indicates that you intend to [make future payments](https://stripe.com/docs/payments/payment-intents#future-usage) with the payment
721
640
  # method collected by this Checkout Session.
722
641
  #
@@ -738,22 +657,17 @@ module Stripe
738
657
  # to dynamically optimize your payment flow and comply with regional
739
658
  # legislation and network rules, such as SCA.
740
659
  attr_accessor :setup_future_usage
741
-
742
660
  # Shipping information for this payment.
743
661
  attr_accessor :shipping
744
-
745
662
  # Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
746
663
  #
747
664
  # Setting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.
748
665
  attr_accessor :statement_descriptor
749
-
750
666
  # Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.
751
667
  attr_accessor :statement_descriptor_suffix
752
-
753
668
  # The parameters used to automatically create a Transfer when the payment succeeds.
754
669
  # For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
755
670
  attr_accessor :transfer_data
756
-
757
671
  # A string that identifies the resulting payment as part of a group. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/connect/separate-charges-and-transfers) for details.
758
672
  attr_accessor :transfer_group
759
673
 
@@ -802,16 +716,12 @@ module Stripe
802
716
  # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
803
717
  # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
804
718
  attr_accessor :custom_mandate_url
805
-
806
719
  # List of Stripe products where this mandate can be selected automatically. Only usable in `setup` mode.
807
720
  attr_accessor :default_for
808
-
809
721
  # Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
810
722
  attr_accessor :interval_description
811
-
812
723
  # Payment schedule for the mandate.
813
724
  attr_accessor :payment_schedule
814
-
815
725
  # Transaction type of the mandate.
816
726
  attr_accessor :transaction_type
817
727
 
@@ -831,10 +741,8 @@ module Stripe
831
741
  end
832
742
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). This is only accepted for Checkout Sessions in `setup` mode.
833
743
  attr_accessor :currency
834
-
835
744
  # Additional fields for Mandate creation
836
745
  attr_accessor :mandate_options
837
-
838
746
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
839
747
  #
840
748
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -843,7 +751,6 @@ module Stripe
843
751
  #
844
752
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
845
753
  attr_accessor :setup_future_usage
846
-
847
754
  # Verification method for the intent
848
755
  attr_accessor :verification_method
849
756
 
@@ -946,7 +853,6 @@ module Stripe
946
853
  end
947
854
  # Additional fields for Mandate creation
948
855
  attr_accessor :mandate_options
949
-
950
856
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
951
857
  #
952
858
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -980,7 +886,6 @@ module Stripe
980
886
  class Boleto < Stripe::RequestParams
981
887
  # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time.
982
888
  attr_accessor :expires_after_days
983
-
984
889
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
985
890
  #
986
891
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1008,25 +913,18 @@ module Stripe
1008
913
  end
1009
914
  # Installment options for card payments
1010
915
  attr_accessor :installments
1011
-
1012
916
  # Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
1013
917
  attr_accessor :request_decremental_authorization
1014
-
1015
918
  # Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
1016
919
  attr_accessor :request_extended_authorization
1017
-
1018
920
  # Request ability to [increment the authorization](/payments/incremental-authorization) for this CheckoutSession.
1019
921
  attr_accessor :request_incremental_authorization
1020
-
1021
922
  # Request ability to make [multiple captures](/payments/multicapture) for this CheckoutSession.
1022
923
  attr_accessor :request_multicapture
1023
-
1024
924
  # Request ability to [overcapture](/payments/overcapture) for this CheckoutSession.
1025
925
  attr_accessor :request_overcapture
1026
-
1027
926
  # We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
1028
927
  attr_accessor :request_three_d_secure
1029
-
1030
928
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1031
929
  #
1032
930
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1035,10 +933,8 @@ module Stripe
1035
933
  #
1036
934
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1037
935
  attr_accessor :setup_future_usage
1038
-
1039
936
  # Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters.
1040
937
  attr_accessor :statement_descriptor_suffix_kana
1041
-
1042
938
  # Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
1043
939
  attr_accessor :statement_descriptor_suffix_kanji
1044
940
 
@@ -1094,12 +990,10 @@ module Stripe
1094
990
  end
1095
991
  # Configuration for eu_bank_transfer funding type.
1096
992
  attr_accessor :eu_bank_transfer
1097
-
1098
993
  # List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.
1099
994
  #
1100
995
  # Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
1101
996
  attr_accessor :requested_address_types
1102
-
1103
997
  # The list of bank transfer types that this PaymentIntent is allowed to use for funding.
1104
998
  attr_accessor :type
1105
999
 
@@ -1111,10 +1005,8 @@ module Stripe
1111
1005
  end
1112
1006
  # Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
1113
1007
  attr_accessor :bank_transfer
1114
-
1115
1008
  # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
1116
1009
  attr_accessor :funding_type
1117
-
1118
1010
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1119
1011
  #
1120
1012
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1209,7 +1101,6 @@ module Stripe
1209
1101
  class KakaoPay < Stripe::RequestParams
1210
1102
  # Controls when the funds will be captured from the customer's account.
1211
1103
  attr_accessor :capture_method
1212
-
1213
1104
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1214
1105
  #
1215
1106
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1243,7 +1134,6 @@ module Stripe
1243
1134
  class Konbini < Stripe::RequestParams
1244
1135
  # The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. Defaults to 3 days.
1245
1136
  attr_accessor :expires_after_days
1246
-
1247
1137
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1248
1138
  #
1249
1139
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1262,7 +1152,6 @@ module Stripe
1262
1152
  class KrCard < Stripe::RequestParams
1263
1153
  # Controls when the funds will be captured from the customer's account.
1264
1154
  attr_accessor :capture_method
1265
-
1266
1155
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1267
1156
  #
1268
1157
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1326,7 +1215,6 @@ module Stripe
1326
1215
  class NaverPay < Stripe::RequestParams
1327
1216
  # Controls when the funds will be captured from the customer's account.
1328
1217
  attr_accessor :capture_method
1329
-
1330
1218
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1331
1219
  #
1332
1220
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1345,7 +1233,6 @@ module Stripe
1345
1233
  class Oxxo < Stripe::RequestParams
1346
1234
  # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
1347
1235
  attr_accessor :expires_after_days
1348
-
1349
1236
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1350
1237
  #
1351
1238
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1370,7 +1257,6 @@ module Stripe
1370
1257
  #
1371
1258
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1372
1259
  attr_accessor :setup_future_usage
1373
-
1374
1260
  # Confirm that the payer has accepted the P24 terms and conditions.
1375
1261
  attr_accessor :tos_shown_and_accepted
1376
1262
 
@@ -1380,6 +1266,9 @@ module Stripe
1380
1266
  end
1381
1267
  end
1382
1268
 
1269
+ class PayByBank < Stripe::RequestParams
1270
+ end
1271
+
1383
1272
  class Payco < Stripe::RequestParams
1384
1273
  # Controls when the funds will be captured from the customer's account.
1385
1274
  attr_accessor :capture_method
@@ -1407,19 +1296,14 @@ module Stripe
1407
1296
  class Paypal < Stripe::RequestParams
1408
1297
  # Controls when the funds will be captured from the customer's account.
1409
1298
  attr_accessor :capture_method
1410
-
1411
1299
  # [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
1412
1300
  attr_accessor :preferred_locale
1413
-
1414
1301
  # A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
1415
1302
  attr_accessor :reference
1416
-
1417
1303
  # A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
1418
1304
  attr_accessor :reference_id
1419
-
1420
1305
  # The risk correlation ID for an on-session payment using a saved PayPal payment method.
1421
1306
  attr_accessor :risk_correlation_id
1422
-
1423
1307
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1424
1308
  #
1425
1309
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1430,7 +1314,6 @@ module Stripe
1430
1314
  #
1431
1315
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1432
1316
  attr_accessor :setup_future_usage
1433
-
1434
1317
  # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
1435
1318
  attr_accessor :subsellers
1436
1319
 
@@ -1457,22 +1340,16 @@ module Stripe
1457
1340
  class MandateOptions < Stripe::RequestParams
1458
1341
  # Amount that will be collected. It is required when `amount_type` is `fixed`.
1459
1342
  attr_accessor :amount
1460
-
1461
1343
  # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
1462
1344
  attr_accessor :amount_type
1463
-
1464
1345
  # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
1465
1346
  attr_accessor :end_date
1466
-
1467
1347
  # The periodicity at which payments will be collected.
1468
1348
  attr_accessor :payment_schedule
1469
-
1470
1349
  # The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
1471
1350
  attr_accessor :payments_per_period
1472
-
1473
1351
  # The purpose for which payments are made. Defaults to retail.
1474
1352
  attr_accessor :purpose
1475
-
1476
1353
  # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
1477
1354
  attr_accessor :start_date
1478
1355
 
@@ -1496,7 +1373,6 @@ module Stripe
1496
1373
  end
1497
1374
  # Additional fields for Mandate creation
1498
1375
  attr_accessor :mandate_options
1499
-
1500
1376
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1501
1377
  #
1502
1378
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1556,7 +1432,6 @@ module Stripe
1556
1432
  end
1557
1433
  # Additional fields for Mandate creation
1558
1434
  attr_accessor :mandate_options
1559
-
1560
1435
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1561
1436
  #
1562
1437
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1600,7 +1475,6 @@ module Stripe
1600
1475
  class FinancialConnections < Stripe::RequestParams
1601
1476
  # The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
1602
1477
  attr_accessor :permissions
1603
-
1604
1478
  # List of data features that you would like to retrieve upon account creation.
1605
1479
  attr_accessor :prefetch
1606
1480
 
@@ -1611,7 +1485,6 @@ module Stripe
1611
1485
  end
1612
1486
  # Additional fields for Financial Connections Session creation
1613
1487
  attr_accessor :financial_connections
1614
-
1615
1488
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1616
1489
  #
1617
1490
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1620,7 +1493,6 @@ module Stripe
1620
1493
  #
1621
1494
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1622
1495
  attr_accessor :setup_future_usage
1623
-
1624
1496
  # Verification method for the intent
1625
1497
  attr_accessor :verification_method
1626
1498
 
@@ -1638,10 +1510,8 @@ module Stripe
1638
1510
  class WechatPay < Stripe::RequestParams
1639
1511
  # The app ID registered with WeChat Pay. Only required when client is ios or android.
1640
1512
  attr_accessor :app_id
1641
-
1642
1513
  # The client type that the end customer will pay from
1643
1514
  attr_accessor :client
1644
-
1645
1515
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1646
1516
  #
1647
1517
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1659,118 +1529,82 @@ module Stripe
1659
1529
  end
1660
1530
  # contains details about the ACSS Debit payment method options.
1661
1531
  attr_accessor :acss_debit
1662
-
1663
1532
  # contains details about the Affirm payment method options.
1664
1533
  attr_accessor :affirm
1665
-
1666
1534
  # contains details about the Afterpay Clearpay payment method options.
1667
1535
  attr_accessor :afterpay_clearpay
1668
-
1669
1536
  # contains details about the Alipay payment method options.
1670
1537
  attr_accessor :alipay
1671
-
1672
1538
  # contains details about the AmazonPay payment method options.
1673
1539
  attr_accessor :amazon_pay
1674
-
1675
1540
  # contains details about the AU Becs Debit payment method options.
1676
1541
  attr_accessor :au_becs_debit
1677
-
1678
1542
  # contains details about the Bacs Debit payment method options.
1679
1543
  attr_accessor :bacs_debit
1680
-
1681
1544
  # contains details about the Bancontact payment method options.
1682
1545
  attr_accessor :bancontact
1683
-
1684
1546
  # contains details about the Boleto payment method options.
1685
1547
  attr_accessor :boleto
1686
-
1687
1548
  # contains details about the Card payment method options.
1688
1549
  attr_accessor :card
1689
-
1690
1550
  # contains details about the Cashapp Pay payment method options.
1691
1551
  attr_accessor :cashapp
1692
-
1693
1552
  # contains details about the Customer Balance payment method options.
1694
1553
  attr_accessor :customer_balance
1695
-
1696
1554
  # contains details about the EPS payment method options.
1697
1555
  attr_accessor :eps
1698
-
1699
1556
  # contains details about the FPX payment method options.
1700
1557
  attr_accessor :fpx
1701
-
1702
1558
  # contains details about the Giropay payment method options.
1703
1559
  attr_accessor :giropay
1704
-
1705
1560
  # contains details about the Grabpay payment method options.
1706
1561
  attr_accessor :grabpay
1707
-
1708
1562
  # contains details about the Ideal payment method options.
1709
1563
  attr_accessor :ideal
1710
-
1711
1564
  # contains details about the Kakao Pay payment method options.
1712
1565
  attr_accessor :kakao_pay
1713
-
1714
1566
  # contains details about the Klarna payment method options.
1715
1567
  attr_accessor :klarna
1716
-
1717
1568
  # contains details about the Konbini payment method options.
1718
1569
  attr_accessor :konbini
1719
-
1720
1570
  # contains details about the Korean card payment method options.
1721
1571
  attr_accessor :kr_card
1722
-
1723
1572
  # contains details about the Link payment method options.
1724
1573
  attr_accessor :link
1725
-
1726
1574
  # contains details about the Mobilepay payment method options.
1727
1575
  attr_accessor :mobilepay
1728
-
1729
1576
  # contains details about the Multibanco payment method options.
1730
1577
  attr_accessor :multibanco
1731
-
1732
1578
  # contains details about the Naver Pay payment method options.
1733
1579
  attr_accessor :naver_pay
1734
-
1735
1580
  # contains details about the OXXO payment method options.
1736
1581
  attr_accessor :oxxo
1737
-
1738
1582
  # contains details about the P24 payment method options.
1739
1583
  attr_accessor :p24
1740
-
1584
+ # contains details about the Pay By Bank payment method options.
1585
+ attr_accessor :pay_by_bank
1741
1586
  # contains details about the PAYCO payment method options.
1742
1587
  attr_accessor :payco
1743
-
1744
1588
  # contains details about the PayNow payment method options.
1745
1589
  attr_accessor :paynow
1746
-
1747
1590
  # contains details about the PayPal payment method options.
1748
1591
  attr_accessor :paypal
1749
-
1750
1592
  # contains details about the PayTo payment method options.
1751
1593
  attr_accessor :payto
1752
-
1753
1594
  # contains details about the Pix payment method options.
1754
1595
  attr_accessor :pix
1755
-
1756
1596
  # contains details about the RevolutPay payment method options.
1757
1597
  attr_accessor :revolut_pay
1758
-
1759
1598
  # contains details about the Samsung Pay payment method options.
1760
1599
  attr_accessor :samsung_pay
1761
-
1762
1600
  # contains details about the Sepa Debit payment method options.
1763
1601
  attr_accessor :sepa_debit
1764
-
1765
1602
  # contains details about the Sofort payment method options.
1766
1603
  attr_accessor :sofort
1767
-
1768
1604
  # contains details about the Swish payment method options.
1769
1605
  attr_accessor :swish
1770
-
1771
1606
  # contains details about the Us Bank Account payment method options.
1772
1607
  attr_accessor :us_bank_account
1773
-
1774
1608
  # contains details about the WeChat Pay payment method options.
1775
1609
  attr_accessor :wechat_pay
1776
1610
 
@@ -1802,6 +1636,7 @@ module Stripe
1802
1636
  naver_pay: nil,
1803
1637
  oxxo: nil,
1804
1638
  p24: nil,
1639
+ pay_by_bank: nil,
1805
1640
  payco: nil,
1806
1641
  paynow: nil,
1807
1642
  paypal: nil,
@@ -1842,6 +1677,7 @@ module Stripe
1842
1677
  @naver_pay = naver_pay
1843
1678
  @oxxo = oxxo
1844
1679
  @p24 = p24
1680
+ @pay_by_bank = pay_by_bank
1845
1681
  @payco = payco
1846
1682
  @paynow = paynow
1847
1683
  @paypal = paypal
@@ -1865,7 +1701,6 @@ module Stripe
1865
1701
  #
1866
1702
  # When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
1867
1703
  attr_accessor :line_items
1868
-
1869
1704
  # Determines which entity is allowed to update the shipping details.
1870
1705
  #
1871
1706
  # Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
@@ -1888,6 +1723,8 @@ module Stripe
1888
1723
 
1889
1724
  class PhoneNumberCollection < Stripe::RequestParams
1890
1725
  # Set to `true` to enable phone number collection.
1726
+ #
1727
+ # Can only be set in `payment` and `subscription` mode.
1891
1728
  attr_accessor :enabled
1892
1729
 
1893
1730
  def initialize(enabled: nil)
@@ -1898,7 +1735,6 @@ module Stripe
1898
1735
  class SavedPaymentMethodOptions < Stripe::RequestParams
1899
1736
  # Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with ’allow_redisplay: ‘always’ are shown in Checkout.
1900
1737
  attr_accessor :allow_redisplay_filters
1901
-
1902
1738
  # Enable customers to choose if they wish to save their payment method for future use. Disabled by default.
1903
1739
  attr_accessor :payment_method_save
1904
1740
 
@@ -1911,10 +1747,8 @@ module Stripe
1911
1747
  class SetupIntentData < Stripe::RequestParams
1912
1748
  # An arbitrary string attached to the object. Often useful for displaying to users.
1913
1749
  attr_accessor :description
1914
-
1915
1750
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
1916
1751
  attr_accessor :metadata
1917
-
1918
1752
  # The Stripe account for which the setup is intended.
1919
1753
  attr_accessor :on_behalf_of
1920
1754
 
@@ -1941,7 +1775,6 @@ module Stripe
1941
1775
  class Maximum < Stripe::RequestParams
1942
1776
  # A unit of time.
1943
1777
  attr_accessor :unit
1944
-
1945
1778
  # Must be greater than 0.
1946
1779
  attr_accessor :value
1947
1780
 
@@ -1954,7 +1787,6 @@ module Stripe
1954
1787
  class Minimum < Stripe::RequestParams
1955
1788
  # A unit of time.
1956
1789
  attr_accessor :unit
1957
-
1958
1790
  # Must be greater than 0.
1959
1791
  attr_accessor :value
1960
1792
 
@@ -1965,7 +1797,6 @@ module Stripe
1965
1797
  end
1966
1798
  # The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.
1967
1799
  attr_accessor :maximum
1968
-
1969
1800
  # The lower bound of the estimated range. If empty, represents no lower bound.
1970
1801
  attr_accessor :minimum
1971
1802
 
@@ -1979,7 +1810,6 @@ module Stripe
1979
1810
  class CurrencyOptions < Stripe::RequestParams
1980
1811
  # A non-negative integer in cents representing how much to charge.
1981
1812
  attr_accessor :amount
1982
-
1983
1813
  # Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
1984
1814
  attr_accessor :tax_behavior
1985
1815
 
@@ -1990,10 +1820,8 @@ module Stripe
1990
1820
  end
1991
1821
  # A non-negative integer in cents representing how much to charge.
1992
1822
  attr_accessor :amount
1993
-
1994
1823
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
1995
1824
  attr_accessor :currency
1996
-
1997
1825
  # Shipping rates defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).
1998
1826
  attr_accessor :currency_options
1999
1827
 
@@ -2005,22 +1833,16 @@ module Stripe
2005
1833
  end
2006
1834
  # The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.
2007
1835
  attr_accessor :delivery_estimate
2008
-
2009
1836
  # The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions.
2010
1837
  attr_accessor :display_name
2011
-
2012
1838
  # Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.
2013
1839
  attr_accessor :fixed_amount
2014
-
2015
1840
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2016
1841
  attr_accessor :metadata
2017
-
2018
1842
  # Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
2019
1843
  attr_accessor :tax_behavior
2020
-
2021
1844
  # A [tax code](https://stripe.com/docs/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`.
2022
1845
  attr_accessor :tax_code
2023
-
2024
1846
  # The type of calculation to use on the shipping rate.
2025
1847
  attr_accessor :type
2026
1848
 
@@ -2044,7 +1866,6 @@ module Stripe
2044
1866
  end
2045
1867
  # The ID of the Shipping Rate to use for this shipping option.
2046
1868
  attr_accessor :shipping_rate
2047
-
2048
1869
  # Parameters to be passed to Shipping Rate creation for this shipping option.
2049
1870
  attr_accessor :shipping_rate_data
2050
1871
 
@@ -2059,7 +1880,6 @@ module Stripe
2059
1880
  class Issuer < Stripe::RequestParams
2060
1881
  # The connected account being referenced when `type` is `account`.
2061
1882
  attr_accessor :account
2062
-
2063
1883
  # Type of the account referenced in the request.
2064
1884
  attr_accessor :type
2065
1885
 
@@ -2079,7 +1899,6 @@ module Stripe
2079
1899
  class TransferData < Stripe::RequestParams
2080
1900
  # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
2081
1901
  attr_accessor :amount_percent
2082
-
2083
1902
  # ID of an existing, connected Stripe account.
2084
1903
  attr_accessor :destination
2085
1904
 
@@ -2107,44 +1926,33 @@ module Stripe
2107
1926
  end
2108
1927
  # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. To use an application fee percent, the request must be made on behalf of another account, using the `Stripe-Account` header or an OAuth key. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).
2109
1928
  attr_accessor :application_fee_percent
2110
-
2111
1929
  # A future timestamp to anchor the subscription's billing cycle for new subscriptions.
2112
1930
  attr_accessor :billing_cycle_anchor
2113
-
2114
1931
  # The tax rates that will apply to any subscription item that does not have
2115
1932
  # `tax_rates` set. Invoices created will have their `default_tax_rates` populated
2116
1933
  # from the subscription.
2117
1934
  attr_accessor :default_tax_rates
2118
-
2119
1935
  # The subscription's description, meant to be displayable to the customer.
2120
1936
  # Use this field to optionally store an explanation of the subscription
2121
1937
  # for rendering in the [customer portal](https://stripe.com/docs/customer-management).
2122
1938
  attr_accessor :description
2123
-
2124
1939
  # All invoices will be billed using the specified settings.
2125
1940
  attr_accessor :invoice_settings
2126
-
2127
1941
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2128
1942
  attr_accessor :metadata
2129
-
2130
1943
  # The account on behalf of which to charge, for each of the subscription's invoices.
2131
1944
  attr_accessor :on_behalf_of
2132
-
2133
1945
  # Determines how to handle prorations resulting from the `billing_cycle_anchor`. If no value is passed, the default is `create_prorations`.
2134
1946
  attr_accessor :proration_behavior
2135
-
2136
1947
  # If specified, the funds from the subscription's invoices will be transferred to the destination and the ID of the resulting transfers will be found on the resulting charges.
2137
1948
  attr_accessor :transfer_data
2138
-
2139
1949
  # Unix timestamp representing the end of the trial period the customer
2140
1950
  # will get before being charged for the first time. Has to be at least
2141
1951
  # 48 hours in the future.
2142
1952
  attr_accessor :trial_end
2143
-
2144
1953
  # Integer representing the number of trial period days before the
2145
1954
  # customer is charged for the first time. Has to be at least 1.
2146
1955
  attr_accessor :trial_period_days
2147
-
2148
1956
  # Settings related to subscription trials.
2149
1957
  attr_accessor :trial_settings
2150
1958
 
@@ -2180,7 +1988,6 @@ module Stripe
2180
1988
  class TaxIdCollection < Stripe::RequestParams
2181
1989
  # Enable tax ID collection during checkout. Defaults to `false`.
2182
1990
  attr_accessor :enabled
2183
-
2184
1991
  # Describes whether a tax ID is required during checkout. Defaults to `never`.
2185
1992
  attr_accessor :required
2186
1993
 
@@ -2191,39 +1998,28 @@ module Stripe
2191
1998
  end
2192
1999
  # Settings for price localization with [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing).
2193
2000
  attr_accessor :adaptive_pricing
2194
-
2195
2001
  # Configure actions after a Checkout Session has expired.
2196
2002
  attr_accessor :after_expiration
2197
-
2198
2003
  # Enables user redeemable promotion codes.
2199
2004
  attr_accessor :allow_promotion_codes
2200
-
2201
2005
  # Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.
2202
2006
  attr_accessor :automatic_tax
2203
-
2204
2007
  # Specify whether Checkout should collect the customer's billing address. Defaults to `auto`.
2205
2008
  attr_accessor :billing_address_collection
2206
-
2207
2009
  # If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website. This parameter is not allowed if ui_mode is `embedded` or `custom`.
2208
2010
  attr_accessor :cancel_url
2209
-
2210
2011
  # A unique string to reference the Checkout Session. This can be a
2211
2012
  # customer ID, a cart ID, or similar, and can be used to reconcile the
2212
2013
  # session with your internal systems.
2213
2014
  attr_accessor :client_reference_id
2214
-
2215
2015
  # Configure fields for the Checkout Session to gather active consent from customers.
2216
2016
  attr_accessor :consent_collection
2217
-
2218
2017
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). Required in `setup` mode when `payment_method_types` is not set.
2219
2018
  attr_accessor :currency
2220
-
2221
2019
  # Collect additional information from your customer using custom fields. Up to 3 fields are supported.
2222
2020
  attr_accessor :custom_fields
2223
-
2224
2021
  # Display additional text for your customers using custom text.
2225
2022
  attr_accessor :custom_text
2226
-
2227
2023
  # ID of an existing Customer, if one exists. In `payment` mode, the customer’s most recently saved card
2228
2024
  # payment method will be used to prefill the email, name, card details, and billing address
2229
2025
  # on the Checkout page. In `subscription` mode, the customer’s [default payment method](https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method)
@@ -2236,7 +2032,6 @@ module Stripe
2236
2032
  #
2237
2033
  # You can set [`payment_intent_data.setup_future_usage`](https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage) to have Checkout automatically attach the payment method to the Customer you pass in for future reuse.
2238
2034
  attr_accessor :customer
2239
-
2240
2035
  # Configure whether a Checkout Session creates a [Customer](https://stripe.com/docs/api/customers) during Session confirmation.
2241
2036
  #
2242
2037
  # When a Customer is not created, you can still retrieve email, address, and other customer data entered in Checkout
@@ -2247,48 +2042,36 @@ module Stripe
2247
2042
  #
2248
2043
  # Can only be set in `payment` and `setup` mode.
2249
2044
  attr_accessor :customer_creation
2250
-
2251
2045
  # If provided, this value will be used when the Customer object is created.
2252
2046
  # If not provided, customers will be asked to enter their email address.
2253
2047
  # Use this parameter to prefill customer data if you already have an email
2254
2048
  # on file. To access information about the customer once a session is
2255
2049
  # complete, use the `customer` field.
2256
2050
  attr_accessor :customer_email
2257
-
2258
2051
  # Controls what fields on Customer can be updated by the Checkout Session. Can only be provided when `customer` is provided.
2259
2052
  attr_accessor :customer_update
2260
-
2261
2053
  # The coupon or promotion code to apply to this Session. Currently, only up to one may be specified.
2262
2054
  attr_accessor :discounts
2263
-
2264
2055
  # Specifies which fields in the response should be expanded.
2265
2056
  attr_accessor :expand
2266
-
2267
2057
  # The Epoch time in seconds at which the Checkout Session will expire. It can be anywhere from 30 minutes to 24 hours after Checkout Session creation. By default, this value is 24 hours from creation.
2268
2058
  attr_accessor :expires_at
2269
-
2270
2059
  # Generate a post-purchase Invoice for one-time payments.
2271
2060
  attr_accessor :invoice_creation
2272
-
2273
2061
  # A list of items the customer is purchasing. Use this parameter to pass one-time or recurring [Prices](https://stripe.com/docs/api/prices).
2274
2062
  #
2275
2063
  # For `payment` mode, there is a maximum of 100 line items, however it is recommended to consolidate line items if there are more than a few dozen.
2276
2064
  #
2277
2065
  # For `subscription` mode, there is a maximum of 20 line items with recurring Prices and 20 line items with one-time Prices. Line items with one-time Prices will be on the initial invoice only.
2278
2066
  attr_accessor :line_items
2279
-
2280
2067
  # The IETF language tag of the locale Checkout is displayed in. If blank or `auto`, the browser's locale is used.
2281
2068
  attr_accessor :locale
2282
-
2283
2069
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2284
2070
  attr_accessor :metadata
2285
-
2286
2071
  # The mode of the Checkout Session. Pass `subscription` if the Checkout Session includes at least one recurring item.
2287
2072
  attr_accessor :mode
2288
-
2289
2073
  # A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.
2290
2074
  attr_accessor :payment_intent_data
2291
-
2292
2075
  # Specify whether Checkout should collect a payment method. When set to `if_required`, Checkout will not collect a payment method when the total due for the session is 0.
2293
2076
  # This may occur if the Checkout Session includes a free trial or a discount.
2294
2077
  #
@@ -2296,16 +2079,12 @@ module Stripe
2296
2079
  #
2297
2080
  # If you'd like information on how to collect a payment method outside of Checkout, read the guide on configuring [subscriptions with a free trial](https://stripe.com/docs/payments/checkout/free-trials).
2298
2081
  attr_accessor :payment_method_collection
2299
-
2300
2082
  # The ID of the payment method configuration to use with this Checkout session.
2301
2083
  attr_accessor :payment_method_configuration
2302
-
2303
2084
  # This parameter allows you to set some attributes on the payment method created during a Checkout session.
2304
2085
  attr_accessor :payment_method_data
2305
-
2306
2086
  # Payment-method-specific configuration.
2307
2087
  attr_accessor :payment_method_options
2308
-
2309
2088
  # A list of the types of payment methods (e.g., `card`) this Checkout Session can accept.
2310
2089
  #
2311
2090
  # You can omit this attribute to manage your payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).
@@ -2318,56 +2097,43 @@ module Stripe
2318
2097
  # prioritize the most relevant payment methods based on the customer's location and
2319
2098
  # other characteristics.
2320
2099
  attr_accessor :payment_method_types
2321
-
2322
2100
  # This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object.
2323
2101
  #
2324
2102
  # For specific permissions, please refer to their dedicated subsections, such as `permissions.update.shipping_details`.
2325
2103
  attr_accessor :permissions
2326
-
2327
2104
  # Controls phone number collection settings for the session.
2328
2105
  #
2329
2106
  # We recommend that you review your privacy policy and check with your legal contacts
2330
2107
  # before using this feature. Learn more about [collecting phone numbers with Checkout](https://stripe.com/docs/payments/checkout/phone-numbers).
2331
2108
  attr_accessor :phone_number_collection
2332
-
2333
2109
  # This parameter applies to `ui_mode: embedded`. Learn more about the [redirect behavior](https://stripe.com/docs/payments/checkout/custom-success-page?payment-ui=embedded-form) of embedded sessions. Defaults to `always`.
2334
2110
  attr_accessor :redirect_on_completion
2335
-
2336
2111
  # The URL to redirect your customer back to after they authenticate or cancel their payment on the
2337
2112
  # payment method's app or site. This parameter is required if `ui_mode` is `embedded` or `custom`
2338
2113
  # and redirect-based payment methods are enabled on the session.
2339
2114
  attr_accessor :return_url
2340
-
2341
2115
  # Controls saved payment method settings for the session. Only available in `payment` and `subscription` mode.
2342
2116
  attr_accessor :saved_payment_method_options
2343
-
2344
2117
  # A subset of parameters to be passed to SetupIntent creation for Checkout Sessions in `setup` mode.
2345
2118
  attr_accessor :setup_intent_data
2346
-
2347
2119
  # When set, provides configuration for Checkout to collect a shipping address from a customer.
2348
2120
  attr_accessor :shipping_address_collection
2349
-
2350
2121
  # The shipping rate options to apply to this Session. Up to a maximum of 5.
2351
2122
  attr_accessor :shipping_options
2352
-
2353
2123
  # Describes the type of transaction being performed by Checkout in order to customize
2354
2124
  # relevant text on the page, such as the submit button. `submit_type` can only be
2355
2125
  # specified on Checkout Sessions in `payment` mode. If blank or `auto`, `pay` is used.
2356
2126
  attr_accessor :submit_type
2357
-
2358
2127
  # A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.
2359
2128
  attr_accessor :subscription_data
2360
-
2361
2129
  # The URL to which Stripe should send customers when payment or setup
2362
2130
  # is complete.
2363
2131
  # This parameter is not allowed if ui_mode is `embedded` or `custom`. If you'd like to use
2364
2132
  # information from the successful Checkout Session on your page, read the
2365
2133
  # guide on [customizing your success page](https://stripe.com/docs/payments/checkout/custom-success-page).
2366
2134
  attr_accessor :success_url
2367
-
2368
2135
  # Controls tax ID collection during checkout.
2369
2136
  attr_accessor :tax_id_collection
2370
-
2371
2137
  # The UI mode of the Session. Defaults to `hosted`.
2372
2138
  attr_accessor :ui_mode
2373
2139
 
@@ -2475,19 +2241,14 @@ module Stripe
2475
2241
  class Address < Stripe::RequestParams
2476
2242
  # City, district, suburb, town, or village.
2477
2243
  attr_accessor :city
2478
-
2479
2244
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2480
2245
  attr_accessor :country
2481
-
2482
2246
  # Address line 1 (e.g., street, PO Box, or company name).
2483
2247
  attr_accessor :line1
2484
-
2485
2248
  # Address line 2 (e.g., apartment, suite, unit, or building).
2486
2249
  attr_accessor :line2
2487
-
2488
2250
  # ZIP or postal code.
2489
2251
  attr_accessor :postal_code
2490
-
2491
2252
  # State, county, province, or region.
2492
2253
  attr_accessor :state
2493
2254
 
@@ -2509,7 +2270,6 @@ module Stripe
2509
2270
  end
2510
2271
  # The address of the customer
2511
2272
  attr_accessor :address
2512
-
2513
2273
  # The name of customer
2514
2274
  attr_accessor :name
2515
2275
 
@@ -2530,10 +2290,8 @@ module Stripe
2530
2290
  class AdjustableQuantity < Stripe::RequestParams
2531
2291
  # Set to true if the quantity can be adjusted to any positive integer. Setting to false will remove any previously specified constraints on quantity.
2532
2292
  attr_accessor :enabled
2533
-
2534
2293
  # The maximum quantity the customer can purchase for the Checkout Session. By default this value is 99. You can specify a value up to 999999.
2535
2294
  attr_accessor :maximum
2536
-
2537
2295
  # The minimum quantity the customer must purchase for the Checkout Session. By default this value is 0.
2538
2296
  attr_accessor :minimum
2539
2297
 
@@ -2545,19 +2303,14 @@ module Stripe
2545
2303
  end
2546
2304
  # When set, provides configuration for this item’s quantity to be adjusted by the customer during Checkout.
2547
2305
  attr_accessor :adjustable_quantity
2548
-
2549
2306
  # ID of an existing line item.
2550
2307
  attr_accessor :id
2551
-
2552
2308
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2553
2309
  attr_accessor :metadata
2554
-
2555
2310
  # The ID of the [Price](https://stripe.com/docs/api/prices).
2556
2311
  attr_accessor :price
2557
-
2558
2312
  # The quantity of the line item being purchased.
2559
2313
  attr_accessor :quantity
2560
-
2561
2314
  # The [tax rates](https://stripe.com/docs/api/tax_rates) which apply to this line item.
2562
2315
  attr_accessor :tax_rates
2563
2316
 
@@ -2584,7 +2337,6 @@ module Stripe
2584
2337
  class Maximum < Stripe::RequestParams
2585
2338
  # A unit of time.
2586
2339
  attr_accessor :unit
2587
-
2588
2340
  # Must be greater than 0.
2589
2341
  attr_accessor :value
2590
2342
 
@@ -2597,7 +2349,6 @@ module Stripe
2597
2349
  class Minimum < Stripe::RequestParams
2598
2350
  # A unit of time.
2599
2351
  attr_accessor :unit
2600
-
2601
2352
  # Must be greater than 0.
2602
2353
  attr_accessor :value
2603
2354
 
@@ -2608,7 +2359,6 @@ module Stripe
2608
2359
  end
2609
2360
  # The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.
2610
2361
  attr_accessor :maximum
2611
-
2612
2362
  # The lower bound of the estimated range. If empty, represents no lower bound.
2613
2363
  attr_accessor :minimum
2614
2364
 
@@ -2622,7 +2372,6 @@ module Stripe
2622
2372
  class CurrencyOptions < Stripe::RequestParams
2623
2373
  # A non-negative integer in cents representing how much to charge.
2624
2374
  attr_accessor :amount
2625
-
2626
2375
  # Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
2627
2376
  attr_accessor :tax_behavior
2628
2377
 
@@ -2633,10 +2382,8 @@ module Stripe
2633
2382
  end
2634
2383
  # A non-negative integer in cents representing how much to charge.
2635
2384
  attr_accessor :amount
2636
-
2637
2385
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
2638
2386
  attr_accessor :currency
2639
-
2640
2387
  # Shipping rates defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).
2641
2388
  attr_accessor :currency_options
2642
2389
 
@@ -2648,22 +2395,16 @@ module Stripe
2648
2395
  end
2649
2396
  # The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.
2650
2397
  attr_accessor :delivery_estimate
2651
-
2652
2398
  # The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions.
2653
2399
  attr_accessor :display_name
2654
-
2655
2400
  # Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.
2656
2401
  attr_accessor :fixed_amount
2657
-
2658
2402
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2659
2403
  attr_accessor :metadata
2660
-
2661
2404
  # Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
2662
2405
  attr_accessor :tax_behavior
2663
-
2664
2406
  # A [tax code](https://stripe.com/docs/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`.
2665
2407
  attr_accessor :tax_code
2666
-
2667
2408
  # The type of calculation to use on the shipping rate.
2668
2409
  attr_accessor :type
2669
2410
 
@@ -2687,7 +2428,6 @@ module Stripe
2687
2428
  end
2688
2429
  # The ID of the Shipping Rate to use for this shipping option.
2689
2430
  attr_accessor :shipping_rate
2690
-
2691
2431
  # Parameters to be passed to Shipping Rate creation for this shipping option.
2692
2432
  attr_accessor :shipping_rate_data
2693
2433
 
@@ -2698,10 +2438,8 @@ module Stripe
2698
2438
  end
2699
2439
  # Information about the customer collected within the Checkout Session.
2700
2440
  attr_accessor :collected_information
2701
-
2702
2441
  # Specifies which fields in the response should be expanded.
2703
2442
  attr_accessor :expand
2704
-
2705
2443
  # A list of items the customer is purchasing.
2706
2444
  #
2707
2445
  # When updating line items, you must retransmit the entire array of line items.
@@ -2716,10 +2454,8 @@ module Stripe
2716
2454
  #
2717
2455
  # To reorder a line item, specify it at the desired position in the retransmitted array.
2718
2456
  attr_accessor :line_items
2719
-
2720
2457
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2721
2458
  attr_accessor :metadata
2722
-
2723
2459
  # The shipping rate options to apply to this Session. Up to a maximum of 5.
2724
2460
  attr_accessor :shipping_options
2725
2461