mega-pure-kit 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1044) hide show
  1. checksums.yaml +7 -0
  2. data/mega-pure-kit.gemspec +12 -0
  3. data/stripe-19.3.0/exe/stripe-console +16 -0
  4. data/stripe-19.3.0/lib/data/ca-certificates.crt +3511 -0
  5. data/stripe-19.3.0/lib/stripe/api_operations/create.rb +16 -0
  6. data/stripe-19.3.0/lib/stripe/api_operations/delete.rb +44 -0
  7. data/stripe-19.3.0/lib/stripe/api_operations/list.rb +16 -0
  8. data/stripe-19.3.0/lib/stripe/api_operations/nested_resource.rb +101 -0
  9. data/stripe-19.3.0/lib/stripe/api_operations/request.rb +94 -0
  10. data/stripe-19.3.0/lib/stripe/api_operations/save.rb +107 -0
  11. data/stripe-19.3.0/lib/stripe/api_operations/search.rb +21 -0
  12. data/stripe-19.3.0/lib/stripe/api_operations/singleton_save.rb +90 -0
  13. data/stripe-19.3.0/lib/stripe/api_requestor.rb +1168 -0
  14. data/stripe-19.3.0/lib/stripe/api_resource.rb +145 -0
  15. data/stripe-19.3.0/lib/stripe/api_resource_test_helpers.rb +53 -0
  16. data/stripe-19.3.0/lib/stripe/api_version.rb +9 -0
  17. data/stripe-19.3.0/lib/stripe/connection_manager.rb +196 -0
  18. data/stripe-19.3.0/lib/stripe/error_object.rb +93 -0
  19. data/stripe-19.3.0/lib/stripe/errors.rb +171 -0
  20. data/stripe-19.3.0/lib/stripe/event_types.rb +106 -0
  21. data/stripe-19.3.0/lib/stripe/events/unknown_event_notification.rb +19 -0
  22. data/stripe-19.3.0/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +123 -0
  23. data/stripe-19.3.0/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +100 -0
  24. data/stripe-19.3.0/lib/stripe/events/v2_commerce_product_catalog_imports_failed_event.rb +44 -0
  25. data/stripe-19.3.0/lib/stripe/events/v2_commerce_product_catalog_imports_processing_event.rb +44 -0
  26. data/stripe-19.3.0/lib/stripe/events/v2_commerce_product_catalog_imports_succeeded_event.rb +44 -0
  27. data/stripe-19.3.0/lib/stripe/events/v2_commerce_product_catalog_imports_succeeded_with_errors_event.rb +44 -0
  28. data/stripe-19.3.0/lib/stripe/events/v2_core_account_closed_event.rb +44 -0
  29. data/stripe-19.3.0/lib/stripe/events/v2_core_account_created_event.rb +44 -0
  30. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +63 -0
  31. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +44 -0
  32. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +63 -0
  33. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +44 -0
  34. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +63 -0
  35. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +44 -0
  36. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +44 -0
  37. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_future_requirements_updated_event.rb +44 -0
  38. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +44 -0
  39. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +44 -0
  40. data/stripe-19.3.0/lib/stripe/events/v2_core_account_link_returned_event.rb +42 -0
  41. data/stripe-19.3.0/lib/stripe/events/v2_core_account_person_created_event.rb +61 -0
  42. data/stripe-19.3.0/lib/stripe/events/v2_core_account_person_deleted_event.rb +61 -0
  43. data/stripe-19.3.0/lib/stripe/events/v2_core_account_person_updated_event.rb +61 -0
  44. data/stripe-19.3.0/lib/stripe/events/v2_core_account_updated_event.rb +44 -0
  45. data/stripe-19.3.0/lib/stripe/events/v2_core_event_destination_ping_event.rb +44 -0
  46. data/stripe-19.3.0/lib/stripe/instrumentation.rb +106 -0
  47. data/stripe-19.3.0/lib/stripe/list_object.rb +141 -0
  48. data/stripe-19.3.0/lib/stripe/multipart_encoder.rb +131 -0
  49. data/stripe-19.3.0/lib/stripe/oauth.rb +58 -0
  50. data/stripe-19.3.0/lib/stripe/object_types.rb +189 -0
  51. data/stripe-19.3.0/lib/stripe/params/account_capability_list_params.rb +13 -0
  52. data/stripe-19.3.0/lib/stripe/params/account_capability_retrieve_params.rb +13 -0
  53. data/stripe-19.3.0/lib/stripe/params/account_capability_update_params.rb +18 -0
  54. data/stripe-19.3.0/lib/stripe/params/account_create_params.rb +2202 -0
  55. data/stripe-19.3.0/lib/stripe/params/account_delete_params.rb +6 -0
  56. data/stripe-19.3.0/lib/stripe/params/account_external_account_create_params.rb +134 -0
  57. data/stripe-19.3.0/lib/stripe/params/account_external_account_delete_params.rb +6 -0
  58. data/stripe-19.3.0/lib/stripe/params/account_external_account_list_params.rb +25 -0
  59. data/stripe-19.3.0/lib/stripe/params/account_external_account_retrieve_params.rb +13 -0
  60. data/stripe-19.3.0/lib/stripe/params/account_external_account_update_params.rb +91 -0
  61. data/stripe-19.3.0/lib/stripe/params/account_link_create_params.rb +52 -0
  62. data/stripe-19.3.0/lib/stripe/params/account_list_params.rb +42 -0
  63. data/stripe-19.3.0/lib/stripe/params/account_login_link_create_params.rb +13 -0
  64. data/stripe-19.3.0/lib/stripe/params/account_person_create_params.rb +435 -0
  65. data/stripe-19.3.0/lib/stripe/params/account_person_delete_params.rb +6 -0
  66. data/stripe-19.3.0/lib/stripe/params/account_person_list_params.rb +61 -0
  67. data/stripe-19.3.0/lib/stripe/params/account_person_retrieve_params.rb +13 -0
  68. data/stripe-19.3.0/lib/stripe/params/account_person_update_params.rb +435 -0
  69. data/stripe-19.3.0/lib/stripe/params/account_persons_params.rb +61 -0
  70. data/stripe-19.3.0/lib/stripe/params/account_reject_params.rb +16 -0
  71. data/stripe-19.3.0/lib/stripe/params/account_retrieve_current_params.rb +13 -0
  72. data/stripe-19.3.0/lib/stripe/params/account_retrieve_params.rb +13 -0
  73. data/stripe-19.3.0/lib/stripe/params/account_session_create_params.rb +632 -0
  74. data/stripe-19.3.0/lib/stripe/params/account_update_params.rb +2149 -0
  75. data/stripe-19.3.0/lib/stripe/params/apple_pay_domain_create_params.rb +16 -0
  76. data/stripe-19.3.0/lib/stripe/params/apple_pay_domain_delete_params.rb +6 -0
  77. data/stripe-19.3.0/lib/stripe/params/apple_pay_domain_list_params.rb +31 -0
  78. data/stripe-19.3.0/lib/stripe/params/apple_pay_domain_retrieve_params.rb +13 -0
  79. data/stripe-19.3.0/lib/stripe/params/application_fee_list_params.rb +52 -0
  80. data/stripe-19.3.0/lib/stripe/params/application_fee_refund_create_params.rb +19 -0
  81. data/stripe-19.3.0/lib/stripe/params/application_fee_refund_list_params.rb +22 -0
  82. data/stripe-19.3.0/lib/stripe/params/application_fee_refund_retrieve_params.rb +13 -0
  83. data/stripe-19.3.0/lib/stripe/params/application_fee_refund_update_params.rb +16 -0
  84. data/stripe-19.3.0/lib/stripe/params/application_fee_retrieve_params.rb +13 -0
  85. data/stripe-19.3.0/lib/stripe/params/apps/secret_create_params.rb +38 -0
  86. data/stripe-19.3.0/lib/stripe/params/apps/secret_delete_where_params.rb +32 -0
  87. data/stripe-19.3.0/lib/stripe/params/apps/secret_find_params.rb +32 -0
  88. data/stripe-19.3.0/lib/stripe/params/apps/secret_list_params.rb +38 -0
  89. data/stripe-19.3.0/lib/stripe/params/balance_retrieve_params.rb +13 -0
  90. data/stripe-19.3.0/lib/stripe/params/balance_settings_retrieve_params.rb +13 -0
  91. data/stripe-19.3.0/lib/stripe/params/balance_settings_update_params.rb +107 -0
  92. data/stripe-19.3.0/lib/stripe/params/balance_transaction_list_params.rb +64 -0
  93. data/stripe-19.3.0/lib/stripe/params/balance_transaction_retrieve_params.rb +13 -0
  94. data/stripe-19.3.0/lib/stripe/params/billing/alert_activate_params.rb +15 -0
  95. data/stripe-19.3.0/lib/stripe/params/billing/alert_archive_params.rb +15 -0
  96. data/stripe-19.3.0/lib/stripe/params/billing/alert_create_params.rb +52 -0
  97. data/stripe-19.3.0/lib/stripe/params/billing/alert_deactivate_params.rb +15 -0
  98. data/stripe-19.3.0/lib/stripe/params/billing/alert_list_params.rb +37 -0
  99. data/stripe-19.3.0/lib/stripe/params/billing/alert_retrieve_params.rb +15 -0
  100. data/stripe-19.3.0/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +57 -0
  101. data/stripe-19.3.0/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +41 -0
  102. data/stripe-19.3.0/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb +15 -0
  103. data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_create_params.rb +107 -0
  104. data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_expire_params.rb +15 -0
  105. data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_list_params.rb +37 -0
  106. data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_retrieve_params.rb +15 -0
  107. data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_update_params.rb +21 -0
  108. data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_void_grant_params.rb +15 -0
  109. data/stripe-19.3.0/lib/stripe/params/billing/meter_create_params.rb +70 -0
  110. data/stripe-19.3.0/lib/stripe/params/billing/meter_deactivate_params.rb +15 -0
  111. data/stripe-19.3.0/lib/stripe/params/billing/meter_event_adjustment_create_params.rb +32 -0
  112. data/stripe-19.3.0/lib/stripe/params/billing/meter_event_create_params.rb +27 -0
  113. data/stripe-19.3.0/lib/stripe/params/billing/meter_event_summary_list_params.rb +45 -0
  114. data/stripe-19.3.0/lib/stripe/params/billing/meter_list_params.rb +27 -0
  115. data/stripe-19.3.0/lib/stripe/params/billing/meter_reactivate_params.rb +15 -0
  116. data/stripe-19.3.0/lib/stripe/params/billing/meter_retrieve_params.rb +15 -0
  117. data/stripe-19.3.0/lib/stripe/params/billing/meter_update_params.rb +18 -0
  118. data/stripe-19.3.0/lib/stripe/params/billing_portal/configuration_create_params.rb +232 -0
  119. data/stripe-19.3.0/lib/stripe/params/billing_portal/configuration_list_params.rb +37 -0
  120. data/stripe-19.3.0/lib/stripe/params/billing_portal/configuration_retrieve_params.rb +15 -0
  121. data/stripe-19.3.0/lib/stripe/params/billing_portal/configuration_update_params.rb +238 -0
  122. data/stripe-19.3.0/lib/stripe/params/billing_portal/session_create_params.rb +183 -0
  123. data/stripe-19.3.0/lib/stripe/params/charge_capture_params.rb +57 -0
  124. data/stripe-19.3.0/lib/stripe/params/charge_create_params.rb +175 -0
  125. data/stripe-19.3.0/lib/stripe/params/charge_list_params.rb +60 -0
  126. data/stripe-19.3.0/lib/stripe/params/charge_retrieve_params.rb +13 -0
  127. data/stripe-19.3.0/lib/stripe/params/charge_search_params.rb +22 -0
  128. data/stripe-19.3.0/lib/stripe/params/charge_update_params.rb +102 -0
  129. data/stripe-19.3.0/lib/stripe/params/checkout/session_create_params.rb +2740 -0
  130. data/stripe-19.3.0/lib/stripe/params/checkout/session_expire_params.rb +15 -0
  131. data/stripe-19.3.0/lib/stripe/params/checkout/session_line_item_list_params.rb +24 -0
  132. data/stripe-19.3.0/lib/stripe/params/checkout/session_list_line_items_params.rb +24 -0
  133. data/stripe-19.3.0/lib/stripe/params/checkout/session_list_params.rb +87 -0
  134. data/stripe-19.3.0/lib/stripe/params/checkout/session_retrieve_params.rb +15 -0
  135. data/stripe-19.3.0/lib/stripe/params/checkout/session_update_params.rb +348 -0
  136. data/stripe-19.3.0/lib/stripe/params/climate/order_cancel_params.rb +15 -0
  137. data/stripe-19.3.0/lib/stripe/params/climate/order_create_params.rb +53 -0
  138. data/stripe-19.3.0/lib/stripe/params/climate/order_list_params.rb +24 -0
  139. data/stripe-19.3.0/lib/stripe/params/climate/order_retrieve_params.rb +15 -0
  140. data/stripe-19.3.0/lib/stripe/params/climate/order_update_params.rb +29 -0
  141. data/stripe-19.3.0/lib/stripe/params/climate/product_list_params.rb +24 -0
  142. data/stripe-19.3.0/lib/stripe/params/climate/product_retrieve_params.rb +15 -0
  143. data/stripe-19.3.0/lib/stripe/params/climate/supplier_list_params.rb +24 -0
  144. data/stripe-19.3.0/lib/stripe/params/climate/supplier_retrieve_params.rb +15 -0
  145. data/stripe-19.3.0/lib/stripe/params/confirmation_token_create_params.rb +715 -0
  146. data/stripe-19.3.0/lib/stripe/params/confirmation_token_retrieve_params.rb +13 -0
  147. data/stripe-19.3.0/lib/stripe/params/country_spec_list_params.rb +22 -0
  148. data/stripe-19.3.0/lib/stripe/params/country_spec_retrieve_params.rb +13 -0
  149. data/stripe-19.3.0/lib/stripe/params/coupon_create_params.rb +80 -0
  150. data/stripe-19.3.0/lib/stripe/params/coupon_delete_params.rb +6 -0
  151. data/stripe-19.3.0/lib/stripe/params/coupon_list_params.rb +42 -0
  152. data/stripe-19.3.0/lib/stripe/params/coupon_retrieve_params.rb +13 -0
  153. data/stripe-19.3.0/lib/stripe/params/coupon_update_params.rb +30 -0
  154. data/stripe-19.3.0/lib/stripe/params/credit_note_create_params.rb +178 -0
  155. data/stripe-19.3.0/lib/stripe/params/credit_note_line_item_list_params.rb +22 -0
  156. data/stripe-19.3.0/lib/stripe/params/credit_note_list_params.rb +60 -0
  157. data/stripe-19.3.0/lib/stripe/params/credit_note_list_preview_line_items_params.rb +190 -0
  158. data/stripe-19.3.0/lib/stripe/params/credit_note_preview_lines_list_params.rb +190 -0
  159. data/stripe-19.3.0/lib/stripe/params/credit_note_preview_params.rb +178 -0
  160. data/stripe-19.3.0/lib/stripe/params/credit_note_retrieve_params.rb +13 -0
  161. data/stripe-19.3.0/lib/stripe/params/credit_note_update_params.rb +19 -0
  162. data/stripe-19.3.0/lib/stripe/params/credit_note_void_credit_note_params.rb +13 -0
  163. data/stripe-19.3.0/lib/stripe/params/customer_balance_transaction_create_params.rb +25 -0
  164. data/stripe-19.3.0/lib/stripe/params/customer_balance_transaction_list_params.rb +52 -0
  165. data/stripe-19.3.0/lib/stripe/params/customer_balance_transaction_retrieve_params.rb +13 -0
  166. data/stripe-19.3.0/lib/stripe/params/customer_balance_transaction_update_params.rb +19 -0
  167. data/stripe-19.3.0/lib/stripe/params/customer_cash_balance_retrieve_params.rb +13 -0
  168. data/stripe-19.3.0/lib/stripe/params/customer_cash_balance_transaction_list_params.rb +22 -0
  169. data/stripe-19.3.0/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb +13 -0
  170. data/stripe-19.3.0/lib/stripe/params/customer_cash_balance_update_params.rb +24 -0
  171. data/stripe-19.3.0/lib/stripe/params/customer_create_funding_instructions_params.rb +46 -0
  172. data/stripe-19.3.0/lib/stripe/params/customer_create_params.rb +259 -0
  173. data/stripe-19.3.0/lib/stripe/params/customer_delete_discount_params.rb +6 -0
  174. data/stripe-19.3.0/lib/stripe/params/customer_delete_params.rb +6 -0
  175. data/stripe-19.3.0/lib/stripe/params/customer_fund_cash_balance_params.rb +22 -0
  176. data/stripe-19.3.0/lib/stripe/params/customer_funding_instructions_create_params.rb +46 -0
  177. data/stripe-19.3.0/lib/stripe/params/customer_list_params.rb +56 -0
  178. data/stripe-19.3.0/lib/stripe/params/customer_list_payment_methods_params.rb +35 -0
  179. data/stripe-19.3.0/lib/stripe/params/customer_payment_method_list_params.rb +35 -0
  180. data/stripe-19.3.0/lib/stripe/params/customer_payment_method_retrieve_params.rb +13 -0
  181. data/stripe-19.3.0/lib/stripe/params/customer_payment_source_create_params.rb +22 -0
  182. data/stripe-19.3.0/lib/stripe/params/customer_payment_source_delete_params.rb +13 -0
  183. data/stripe-19.3.0/lib/stripe/params/customer_payment_source_list_params.rb +25 -0
  184. data/stripe-19.3.0/lib/stripe/params/customer_payment_source_retrieve_params.rb +13 -0
  185. data/stripe-19.3.0/lib/stripe/params/customer_payment_source_update_params.rb +114 -0
  186. data/stripe-19.3.0/lib/stripe/params/customer_payment_source_verify_params.rb +16 -0
  187. data/stripe-19.3.0/lib/stripe/params/customer_retrieve_params.rb +13 -0
  188. data/stripe-19.3.0/lib/stripe/params/customer_retrieve_payment_method_params.rb +13 -0
  189. data/stripe-19.3.0/lib/stripe/params/customer_search_params.rb +22 -0
  190. data/stripe-19.3.0/lib/stripe/params/customer_session_create_params.rb +188 -0
  191. data/stripe-19.3.0/lib/stripe/params/customer_tax_id_create_params.rb +19 -0
  192. data/stripe-19.3.0/lib/stripe/params/customer_tax_id_delete_params.rb +6 -0
  193. data/stripe-19.3.0/lib/stripe/params/customer_tax_id_list_params.rb +22 -0
  194. data/stripe-19.3.0/lib/stripe/params/customer_tax_id_retrieve_params.rb +13 -0
  195. data/stripe-19.3.0/lib/stripe/params/customer_update_params.rb +243 -0
  196. data/stripe-19.3.0/lib/stripe/params/dispute_close_params.rb +13 -0
  197. data/stripe-19.3.0/lib/stripe/params/dispute_list_params.rb +56 -0
  198. data/stripe-19.3.0/lib/stripe/params/dispute_retrieve_params.rb +13 -0
  199. data/stripe-19.3.0/lib/stripe/params/dispute_update_params.rb +324 -0
  200. data/stripe-19.3.0/lib/stripe/params/entitlements/active_entitlement_list_params.rb +33 -0
  201. data/stripe-19.3.0/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb +15 -0
  202. data/stripe-19.3.0/lib/stripe/params/entitlements/feature_create_params.rb +24 -0
  203. data/stripe-19.3.0/lib/stripe/params/entitlements/feature_list_params.rb +37 -0
  204. data/stripe-19.3.0/lib/stripe/params/entitlements/feature_retrieve_params.rb +15 -0
  205. data/stripe-19.3.0/lib/stripe/params/entitlements/feature_update_params.rb +24 -0
  206. data/stripe-19.3.0/lib/stripe/params/ephemeral_key_create_params.rb +31 -0
  207. data/stripe-19.3.0/lib/stripe/params/ephemeral_key_delete_params.rb +13 -0
  208. data/stripe-19.3.0/lib/stripe/params/event_list_params.rb +60 -0
  209. data/stripe-19.3.0/lib/stripe/params/event_retrieve_params.rb +13 -0
  210. data/stripe-19.3.0/lib/stripe/params/exchange_rate_list_params.rb +22 -0
  211. data/stripe-19.3.0/lib/stripe/params/exchange_rate_retrieve_params.rb +13 -0
  212. data/stripe-19.3.0/lib/stripe/params/file_create_params.rb +36 -0
  213. data/stripe-19.3.0/lib/stripe/params/file_link_create_params.rb +22 -0
  214. data/stripe-19.3.0/lib/stripe/params/file_link_list_params.rb +56 -0
  215. data/stripe-19.3.0/lib/stripe/params/file_link_retrieve_params.rb +13 -0
  216. data/stripe-19.3.0/lib/stripe/params/file_link_update_params.rb +19 -0
  217. data/stripe-19.3.0/lib/stripe/params/file_list_params.rb +52 -0
  218. data/stripe-19.3.0/lib/stripe/params/file_retrieve_params.rb +13 -0
  219. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_disconnect_params.rb +15 -0
  220. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_list_owners_params.rb +33 -0
  221. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_list_params.rb +51 -0
  222. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_owner_list_params.rb +33 -0
  223. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_refresh_account_params.rb +18 -0
  224. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_refresh_params.rb +18 -0
  225. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_retrieve_params.rb +15 -0
  226. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_subscribe_params.rb +18 -0
  227. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_unsubscribe_params.rb +18 -0
  228. data/stripe-19.3.0/lib/stripe/params/financial_connections/session_create_params.rb +68 -0
  229. data/stripe-19.3.0/lib/stripe/params/financial_connections/session_retrieve_params.rb +15 -0
  230. data/stripe-19.3.0/lib/stripe/params/financial_connections/transaction_list_params.rb +67 -0
  231. data/stripe-19.3.0/lib/stripe/params/financial_connections/transaction_retrieve_params.rb +15 -0
  232. data/stripe-19.3.0/lib/stripe/params/forwarding/request_create_params.rb +59 -0
  233. data/stripe-19.3.0/lib/stripe/params/forwarding/request_list_params.rb +44 -0
  234. data/stripe-19.3.0/lib/stripe/params/forwarding/request_retrieve_params.rb +15 -0
  235. data/stripe-19.3.0/lib/stripe/params/identity/verification_report_list_params.rb +62 -0
  236. data/stripe-19.3.0/lib/stripe/params/identity/verification_report_retrieve_params.rb +15 -0
  237. data/stripe-19.3.0/lib/stripe/params/identity/verification_session_cancel_params.rb +15 -0
  238. data/stripe-19.3.0/lib/stripe/params/identity/verification_session_create_params.rb +111 -0
  239. data/stripe-19.3.0/lib/stripe/params/identity/verification_session_list_params.rb +66 -0
  240. data/stripe-19.3.0/lib/stripe/params/identity/verification_session_redact_params.rb +15 -0
  241. data/stripe-19.3.0/lib/stripe/params/identity/verification_session_retrieve_params.rb +15 -0
  242. data/stripe-19.3.0/lib/stripe/params/identity/verification_session_update_params.rb +69 -0
  243. data/stripe-19.3.0/lib/stripe/params/invoice_add_lines_params.rb +261 -0
  244. data/stripe-19.3.0/lib/stripe/params/invoice_attach_payment_params.rb +19 -0
  245. data/stripe-19.3.0/lib/stripe/params/invoice_create_params.rb +664 -0
  246. data/stripe-19.3.0/lib/stripe/params/invoice_create_preview_params.rb +1230 -0
  247. data/stripe-19.3.0/lib/stripe/params/invoice_delete_params.rb +6 -0
  248. data/stripe-19.3.0/lib/stripe/params/invoice_finalize_invoice_params.rb +16 -0
  249. data/stripe-19.3.0/lib/stripe/params/invoice_item_create_params.rb +165 -0
  250. data/stripe-19.3.0/lib/stripe/params/invoice_item_delete_params.rb +6 -0
  251. data/stripe-19.3.0/lib/stripe/params/invoice_item_list_params.rb +64 -0
  252. data/stripe-19.3.0/lib/stripe/params/invoice_item_retrieve_params.rb +13 -0
  253. data/stripe-19.3.0/lib/stripe/params/invoice_item_update_params.rb +145 -0
  254. data/stripe-19.3.0/lib/stripe/params/invoice_line_item_list_params.rb +22 -0
  255. data/stripe-19.3.0/lib/stripe/params/invoice_line_item_update_params.rb +232 -0
  256. data/stripe-19.3.0/lib/stripe/params/invoice_list_params.rb +90 -0
  257. data/stripe-19.3.0/lib/stripe/params/invoice_mark_uncollectible_params.rb +13 -0
  258. data/stripe-19.3.0/lib/stripe/params/invoice_pay_params.rb +41 -0
  259. data/stripe-19.3.0/lib/stripe/params/invoice_payment_list_params.rb +75 -0
  260. data/stripe-19.3.0/lib/stripe/params/invoice_payment_retrieve_params.rb +13 -0
  261. data/stripe-19.3.0/lib/stripe/params/invoice_remove_lines_params.rb +30 -0
  262. data/stripe-19.3.0/lib/stripe/params/invoice_rendering_template_archive_params.rb +13 -0
  263. data/stripe-19.3.0/lib/stripe/params/invoice_rendering_template_list_params.rb +25 -0
  264. data/stripe-19.3.0/lib/stripe/params/invoice_rendering_template_retrieve_params.rb +16 -0
  265. data/stripe-19.3.0/lib/stripe/params/invoice_rendering_template_unarchive_params.rb +13 -0
  266. data/stripe-19.3.0/lib/stripe/params/invoice_retrieve_params.rb +13 -0
  267. data/stripe-19.3.0/lib/stripe/params/invoice_search_params.rb +22 -0
  268. data/stripe-19.3.0/lib/stripe/params/invoice_send_invoice_params.rb +13 -0
  269. data/stripe-19.3.0/lib/stripe/params/invoice_update_lines_params.rb +261 -0
  270. data/stripe-19.3.0/lib/stripe/params/invoice_update_params.rb +628 -0
  271. data/stripe-19.3.0/lib/stripe/params/invoice_void_invoice_params.rb +13 -0
  272. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_approve_params.rb +21 -0
  273. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_capture_params.rb +390 -0
  274. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_create_params.rb +452 -0
  275. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_decline_params.rb +18 -0
  276. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_expire_params.rb +15 -0
  277. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +223 -0
  278. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_increment_params.rb +21 -0
  279. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_list_params.rb +62 -0
  280. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_respond_params.rb +18 -0
  281. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_retrieve_params.rb +15 -0
  282. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_reverse_params.rb +18 -0
  283. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_update_params.rb +18 -0
  284. data/stripe-19.3.0/lib/stripe/params/issuing/card_create_params.rb +242 -0
  285. data/stripe-19.3.0/lib/stripe/params/issuing/card_deliver_card_params.rb +15 -0
  286. data/stripe-19.3.0/lib/stripe/params/issuing/card_fail_card_params.rb +15 -0
  287. data/stripe-19.3.0/lib/stripe/params/issuing/card_list_params.rb +78 -0
  288. data/stripe-19.3.0/lib/stripe/params/issuing/card_retrieve_params.rb +15 -0
  289. data/stripe-19.3.0/lib/stripe/params/issuing/card_return_card_params.rb +15 -0
  290. data/stripe-19.3.0/lib/stripe/params/issuing/card_ship_card_params.rb +15 -0
  291. data/stripe-19.3.0/lib/stripe/params/issuing/card_submit_card_params.rb +15 -0
  292. data/stripe-19.3.0/lib/stripe/params/issuing/card_update_params.rb +189 -0
  293. data/stripe-19.3.0/lib/stripe/params/issuing/cardholder_create_params.rb +246 -0
  294. data/stripe-19.3.0/lib/stripe/params/issuing/cardholder_list_params.rb +66 -0
  295. data/stripe-19.3.0/lib/stripe/params/issuing/cardholder_retrieve_params.rb +15 -0
  296. data/stripe-19.3.0/lib/stripe/params/issuing/cardholder_update_params.rb +238 -0
  297. data/stripe-19.3.0/lib/stripe/params/issuing/dispute_create_params.rb +297 -0
  298. data/stripe-19.3.0/lib/stripe/params/issuing/dispute_list_params.rb +58 -0
  299. data/stripe-19.3.0/lib/stripe/params/issuing/dispute_retrieve_params.rb +15 -0
  300. data/stripe-19.3.0/lib/stripe/params/issuing/dispute_submit_params.rb +18 -0
  301. data/stripe-19.3.0/lib/stripe/params/issuing/dispute_update_params.rb +275 -0
  302. data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_activate_params.rb +15 -0
  303. data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_create_params.rb +75 -0
  304. data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_deactivate_params.rb +15 -0
  305. data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_list_params.rb +52 -0
  306. data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_reject_params.rb +29 -0
  307. data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_retrieve_params.rb +15 -0
  308. data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_update_params.rb +75 -0
  309. data/stripe-19.3.0/lib/stripe/params/issuing/physical_bundle_list_params.rb +37 -0
  310. data/stripe-19.3.0/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb +15 -0
  311. data/stripe-19.3.0/lib/stripe/params/issuing/token_list_params.rb +58 -0
  312. data/stripe-19.3.0/lib/stripe/params/issuing/token_retrieve_params.rb +15 -0
  313. data/stripe-19.3.0/lib/stripe/params/issuing/token_update_params.rb +18 -0
  314. data/stripe-19.3.0/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +441 -0
  315. data/stripe-19.3.0/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +441 -0
  316. data/stripe-19.3.0/lib/stripe/params/issuing/transaction_list_params.rb +62 -0
  317. data/stripe-19.3.0/lib/stripe/params/issuing/transaction_refund_params.rb +18 -0
  318. data/stripe-19.3.0/lib/stripe/params/issuing/transaction_retrieve_params.rb +15 -0
  319. data/stripe-19.3.0/lib/stripe/params/issuing/transaction_update_params.rb +18 -0
  320. data/stripe-19.3.0/lib/stripe/params/mandate_retrieve_params.rb +13 -0
  321. data/stripe-19.3.0/lib/stripe/params/payment_attempt_record_list_params.rb +22 -0
  322. data/stripe-19.3.0/lib/stripe/params/payment_attempt_record_retrieve_params.rb +13 -0
  323. data/stripe-19.3.0/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +22 -0
  324. data/stripe-19.3.0/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +23 -0
  325. data/stripe-19.3.0/lib/stripe/params/payment_intent_cancel_params.rb +16 -0
  326. data/stripe-19.3.0/lib/stripe/params/payment_intent_capture_params.rb +291 -0
  327. data/stripe-19.3.0/lib/stripe/params/payment_intent_confirm_params.rb +2878 -0
  328. data/stripe-19.3.0/lib/stripe/params/payment_intent_create_params.rb +3009 -0
  329. data/stripe-19.3.0/lib/stripe/params/payment_intent_increment_authorization_params.rb +285 -0
  330. data/stripe-19.3.0/lib/stripe/params/payment_intent_list_params.rb +56 -0
  331. data/stripe-19.3.0/lib/stripe/params/payment_intent_retrieve_params.rb +16 -0
  332. data/stripe-19.3.0/lib/stripe/params/payment_intent_search_params.rb +22 -0
  333. data/stripe-19.3.0/lib/stripe/params/payment_intent_update_params.rb +2876 -0
  334. data/stripe-19.3.0/lib/stripe/params/payment_intent_verify_microdeposits_params.rb +19 -0
  335. data/stripe-19.3.0/lib/stripe/params/payment_link_create_params.rb +879 -0
  336. data/stripe-19.3.0/lib/stripe/params/payment_link_line_item_list_params.rb +22 -0
  337. data/stripe-19.3.0/lib/stripe/params/payment_link_list_line_items_params.rb +22 -0
  338. data/stripe-19.3.0/lib/stripe/params/payment_link_list_params.rb +25 -0
  339. data/stripe-19.3.0/lib/stripe/params/payment_link_retrieve_params.rb +13 -0
  340. data/stripe-19.3.0/lib/stripe/params/payment_link_update_params.rb +667 -0
  341. data/stripe-19.3.0/lib/stripe/params/payment_method_attach_params.rb +19 -0
  342. data/stripe-19.3.0/lib/stripe/params/payment_method_configuration_create_params.rb +1282 -0
  343. data/stripe-19.3.0/lib/stripe/params/payment_method_configuration_list_params.rb +35 -0
  344. data/stripe-19.3.0/lib/stripe/params/payment_method_configuration_retrieve_params.rb +13 -0
  345. data/stripe-19.3.0/lib/stripe/params/payment_method_configuration_update_params.rb +1282 -0
  346. data/stripe-19.3.0/lib/stripe/params/payment_method_create_params.rb +662 -0
  347. data/stripe-19.3.0/lib/stripe/params/payment_method_detach_params.rb +13 -0
  348. data/stripe-19.3.0/lib/stripe/params/payment_method_domain_create_params.rb +19 -0
  349. data/stripe-19.3.0/lib/stripe/params/payment_method_domain_list_params.rb +35 -0
  350. data/stripe-19.3.0/lib/stripe/params/payment_method_domain_retrieve_params.rb +13 -0
  351. data/stripe-19.3.0/lib/stripe/params/payment_method_domain_update_params.rb +16 -0
  352. data/stripe-19.3.0/lib/stripe/params/payment_method_domain_validate_params.rb +13 -0
  353. data/stripe-19.3.0/lib/stripe/params/payment_method_list_params.rb +43 -0
  354. data/stripe-19.3.0/lib/stripe/params/payment_method_retrieve_params.rb +13 -0
  355. data/stripe-19.3.0/lib/stripe/params/payment_method_update_params.rb +139 -0
  356. data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +19 -0
  357. data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +19 -0
  358. data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +19 -0
  359. data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +93 -0
  360. data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_attempt_params.rb +186 -0
  361. data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_params.rb +252 -0
  362. data/stripe-19.3.0/lib/stripe/params/payment_record_report_refund_params.rb +79 -0
  363. data/stripe-19.3.0/lib/stripe/params/payment_record_retrieve_params.rb +13 -0
  364. data/stripe-19.3.0/lib/stripe/params/payout_cancel_params.rb +13 -0
  365. data/stripe-19.3.0/lib/stripe/params/payout_create_params.rb +51 -0
  366. data/stripe-19.3.0/lib/stripe/params/payout_list_params.rb +78 -0
  367. data/stripe-19.3.0/lib/stripe/params/payout_retrieve_params.rb +13 -0
  368. data/stripe-19.3.0/lib/stripe/params/payout_reverse_params.rb +16 -0
  369. data/stripe-19.3.0/lib/stripe/params/payout_update_params.rb +16 -0
  370. data/stripe-19.3.0/lib/stripe/params/plan_create_params.rb +178 -0
  371. data/stripe-19.3.0/lib/stripe/params/plan_delete_params.rb +6 -0
  372. data/stripe-19.3.0/lib/stripe/params/plan_list_params.rb +56 -0
  373. data/stripe-19.3.0/lib/stripe/params/plan_retrieve_params.rb +13 -0
  374. data/stripe-19.3.0/lib/stripe/params/plan_update_params.rb +35 -0
  375. data/stripe-19.3.0/lib/stripe/params/price_create_params.rb +318 -0
  376. data/stripe-19.3.0/lib/stripe/params/price_list_params.rb +87 -0
  377. data/stripe-19.3.0/lib/stripe/params/price_retrieve_params.rb +13 -0
  378. data/stripe-19.3.0/lib/stripe/params/price_search_params.rb +22 -0
  379. data/stripe-19.3.0/lib/stripe/params/price_update_params.rb +133 -0
  380. data/stripe-19.3.0/lib/stripe/params/product_create_params.rb +276 -0
  381. data/stripe-19.3.0/lib/stripe/params/product_delete_params.rb +6 -0
  382. data/stripe-19.3.0/lib/stripe/params/product_feature_create_params.rb +16 -0
  383. data/stripe-19.3.0/lib/stripe/params/product_feature_delete_params.rb +6 -0
  384. data/stripe-19.3.0/lib/stripe/params/product_feature_list_params.rb +22 -0
  385. data/stripe-19.3.0/lib/stripe/params/product_feature_retrieve_params.rb +13 -0
  386. data/stripe-19.3.0/lib/stripe/params/product_list_params.rb +68 -0
  387. data/stripe-19.3.0/lib/stripe/params/product_retrieve_params.rb +13 -0
  388. data/stripe-19.3.0/lib/stripe/params/product_search_params.rb +22 -0
  389. data/stripe-19.3.0/lib/stripe/params/product_update_params.rb +96 -0
  390. data/stripe-19.3.0/lib/stripe/params/promotion_code_create_params.rb +95 -0
  391. data/stripe-19.3.0/lib/stripe/params/promotion_code_list_params.rb +68 -0
  392. data/stripe-19.3.0/lib/stripe/params/promotion_code_retrieve_params.rb +13 -0
  393. data/stripe-19.3.0/lib/stripe/params/promotion_code_update_params.rb +38 -0
  394. data/stripe-19.3.0/lib/stripe/params/quote_accept_params.rb +13 -0
  395. data/stripe-19.3.0/lib/stripe/params/quote_cancel_params.rb +13 -0
  396. data/stripe-19.3.0/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb +22 -0
  397. data/stripe-19.3.0/lib/stripe/params/quote_create_params.rb +327 -0
  398. data/stripe-19.3.0/lib/stripe/params/quote_finalize_quote_params.rb +16 -0
  399. data/stripe-19.3.0/lib/stripe/params/quote_line_item_list_params.rb +22 -0
  400. data/stripe-19.3.0/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb +22 -0
  401. data/stripe-19.3.0/lib/stripe/params/quote_list_line_items_params.rb +22 -0
  402. data/stripe-19.3.0/lib/stripe/params/quote_list_params.rb +43 -0
  403. data/stripe-19.3.0/lib/stripe/params/quote_pdf_params.rb +13 -0
  404. data/stripe-19.3.0/lib/stripe/params/quote_retrieve_params.rb +13 -0
  405. data/stripe-19.3.0/lib/stripe/params/quote_update_params.rb +289 -0
  406. data/stripe-19.3.0/lib/stripe/params/radar/early_fraud_warning_list_params.rb +58 -0
  407. data/stripe-19.3.0/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb +15 -0
  408. data/stripe-19.3.0/lib/stripe/params/radar/payment_evaluation_create_params.rb +223 -0
  409. data/stripe-19.3.0/lib/stripe/params/radar/value_list_create_params.rb +27 -0
  410. data/stripe-19.3.0/lib/stripe/params/radar/value_list_delete_params.rb +8 -0
  411. data/stripe-19.3.0/lib/stripe/params/radar/value_list_item_create_params.rb +21 -0
  412. data/stripe-19.3.0/lib/stripe/params/radar/value_list_item_delete_params.rb +8 -0
  413. data/stripe-19.3.0/lib/stripe/params/radar/value_list_item_list_params.rb +58 -0
  414. data/stripe-19.3.0/lib/stripe/params/radar/value_list_item_retrieve_params.rb +15 -0
  415. data/stripe-19.3.0/lib/stripe/params/radar/value_list_list_params.rb +58 -0
  416. data/stripe-19.3.0/lib/stripe/params/radar/value_list_retrieve_params.rb +15 -0
  417. data/stripe-19.3.0/lib/stripe/params/radar/value_list_update_params.rb +24 -0
  418. data/stripe-19.3.0/lib/stripe/params/refund_cancel_params.rb +13 -0
  419. data/stripe-19.3.0/lib/stripe/params/refund_create_params.rb +59 -0
  420. data/stripe-19.3.0/lib/stripe/params/refund_expire_params.rb +13 -0
  421. data/stripe-19.3.0/lib/stripe/params/refund_list_params.rb +56 -0
  422. data/stripe-19.3.0/lib/stripe/params/refund_retrieve_params.rb +13 -0
  423. data/stripe-19.3.0/lib/stripe/params/refund_update_params.rb +16 -0
  424. data/stripe-19.3.0/lib/stripe/params/reporting/report_run_create_params.rb +59 -0
  425. data/stripe-19.3.0/lib/stripe/params/reporting/report_run_list_params.rb +44 -0
  426. data/stripe-19.3.0/lib/stripe/params/reporting/report_run_retrieve_params.rb +15 -0
  427. data/stripe-19.3.0/lib/stripe/params/reporting/report_type_list_params.rb +15 -0
  428. data/stripe-19.3.0/lib/stripe/params/reporting/report_type_retrieve_params.rb +15 -0
  429. data/stripe-19.3.0/lib/stripe/params/review_approve_params.rb +13 -0
  430. data/stripe-19.3.0/lib/stripe/params/review_list_params.rb +42 -0
  431. data/stripe-19.3.0/lib/stripe/params/review_retrieve_params.rb +13 -0
  432. data/stripe-19.3.0/lib/stripe/params/setup_attempt_list_params.rb +55 -0
  433. data/stripe-19.3.0/lib/stripe/params/setup_intent_cancel_params.rb +16 -0
  434. data/stripe-19.3.0/lib/stripe/params/setup_intent_confirm_params.rb +1252 -0
  435. data/stripe-19.3.0/lib/stripe/params/setup_intent_create_params.rb +1342 -0
  436. data/stripe-19.3.0/lib/stripe/params/setup_intent_list_params.rb +66 -0
  437. data/stripe-19.3.0/lib/stripe/params/setup_intent_retrieve_params.rb +16 -0
  438. data/stripe-19.3.0/lib/stripe/params/setup_intent_update_params.rb +1237 -0
  439. data/stripe-19.3.0/lib/stripe/params/setup_intent_verify_microdeposits_params.rb +19 -0
  440. data/stripe-19.3.0/lib/stripe/params/shipping_rate_create_params.rb +103 -0
  441. data/stripe-19.3.0/lib/stripe/params/shipping_rate_list_params.rb +56 -0
  442. data/stripe-19.3.0/lib/stripe/params/shipping_rate_retrieve_params.rb +13 -0
  443. data/stripe-19.3.0/lib/stripe/params/shipping_rate_update_params.rb +44 -0
  444. data/stripe-19.3.0/lib/stripe/params/sigma/scheduled_query_run_list_params.rb +24 -0
  445. data/stripe-19.3.0/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb +15 -0
  446. data/stripe-19.3.0/lib/stripe/params/source_create_params.rb +317 -0
  447. data/stripe-19.3.0/lib/stripe/params/source_detach_params.rb +13 -0
  448. data/stripe-19.3.0/lib/stripe/params/source_retrieve_params.rb +16 -0
  449. data/stripe-19.3.0/lib/stripe/params/source_transaction_list_params.rb +22 -0
  450. data/stripe-19.3.0/lib/stripe/params/source_update_params.rb +259 -0
  451. data/stripe-19.3.0/lib/stripe/params/source_verify_params.rb +16 -0
  452. data/stripe-19.3.0/lib/stripe/params/subscription_cancel_params.rb +33 -0
  453. data/stripe-19.3.0/lib/stripe/params/subscription_create_params.rb +917 -0
  454. data/stripe-19.3.0/lib/stripe/params/subscription_delete_discount_params.rb +6 -0
  455. data/stripe-19.3.0/lib/stripe/params/subscription_item_create_params.rb +138 -0
  456. data/stripe-19.3.0/lib/stripe/params/subscription_item_delete_params.rb +27 -0
  457. data/stripe-19.3.0/lib/stripe/params/subscription_item_list_params.rb +31 -0
  458. data/stripe-19.3.0/lib/stripe/params/subscription_item_retrieve_params.rb +13 -0
  459. data/stripe-19.3.0/lib/stripe/params/subscription_item_update_params.rb +138 -0
  460. data/stripe-19.3.0/lib/stripe/params/subscription_list_params.rb +133 -0
  461. data/stripe-19.3.0/lib/stripe/params/subscription_migrate_params.rb +35 -0
  462. data/stripe-19.3.0/lib/stripe/params/subscription_resume_params.rb +27 -0
  463. data/stripe-19.3.0/lib/stripe/params/subscription_retrieve_params.rb +13 -0
  464. data/stripe-19.3.0/lib/stripe/params/subscription_schedule_cancel_params.rb +19 -0
  465. data/stripe-19.3.0/lib/stripe/params/subscription_schedule_create_params.rb +668 -0
  466. data/stripe-19.3.0/lib/stripe/params/subscription_schedule_list_params.rb +126 -0
  467. data/stripe-19.3.0/lib/stripe/params/subscription_schedule_release_params.rb +16 -0
  468. data/stripe-19.3.0/lib/stripe/params/subscription_schedule_retrieve_params.rb +13 -0
  469. data/stripe-19.3.0/lib/stripe/params/subscription_schedule_update_params.rb +636 -0
  470. data/stripe-19.3.0/lib/stripe/params/subscription_search_params.rb +22 -0
  471. data/stripe-19.3.0/lib/stripe/params/subscription_update_params.rb +896 -0
  472. data/stripe-19.3.0/lib/stripe/params/tax/association_find_params.rb +18 -0
  473. data/stripe-19.3.0/lib/stripe/params/tax/calculation_create_params.rb +206 -0
  474. data/stripe-19.3.0/lib/stripe/params/tax/calculation_line_item_list_params.rb +24 -0
  475. data/stripe-19.3.0/lib/stripe/params/tax/calculation_list_line_items_params.rb +24 -0
  476. data/stripe-19.3.0/lib/stripe/params/tax/calculation_retrieve_params.rb +15 -0
  477. data/stripe-19.3.0/lib/stripe/params/tax/registration_create_params.rb +2044 -0
  478. data/stripe-19.3.0/lib/stripe/params/tax/registration_list_params.rb +27 -0
  479. data/stripe-19.3.0/lib/stripe/params/tax/registration_retrieve_params.rb +15 -0
  480. data/stripe-19.3.0/lib/stripe/params/tax/registration_update_params.rb +21 -0
  481. data/stripe-19.3.0/lib/stripe/params/tax/settings_retrieve_params.rb +15 -0
  482. data/stripe-19.3.0/lib/stripe/params/tax/settings_update_params.rb +71 -0
  483. data/stripe-19.3.0/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +27 -0
  484. data/stripe-19.3.0/lib/stripe/params/tax/transaction_create_reversal_params.rb +87 -0
  485. data/stripe-19.3.0/lib/stripe/params/tax/transaction_line_item_list_params.rb +24 -0
  486. data/stripe-19.3.0/lib/stripe/params/tax/transaction_list_line_items_params.rb +24 -0
  487. data/stripe-19.3.0/lib/stripe/params/tax/transaction_retrieve_params.rb +15 -0
  488. data/stripe-19.3.0/lib/stripe/params/tax_code_list_params.rb +22 -0
  489. data/stripe-19.3.0/lib/stripe/params/tax_code_retrieve_params.rb +13 -0
  490. data/stripe-19.3.0/lib/stripe/params/tax_id_create_params.rb +39 -0
  491. data/stripe-19.3.0/lib/stripe/params/tax_id_delete_params.rb +6 -0
  492. data/stripe-19.3.0/lib/stripe/params/tax_id_list_params.rb +42 -0
  493. data/stripe-19.3.0/lib/stripe/params/tax_id_retrieve_params.rb +13 -0
  494. data/stripe-19.3.0/lib/stripe/params/tax_rate_create_params.rb +55 -0
  495. data/stripe-19.3.0/lib/stripe/params/tax_rate_list_params.rb +56 -0
  496. data/stripe-19.3.0/lib/stripe/params/tax_rate_retrieve_params.rb +13 -0
  497. data/stripe-19.3.0/lib/stripe/params/tax_rate_update_params.rb +47 -0
  498. data/stripe-19.3.0/lib/stripe/params/terminal/configuration_create_params.rb +671 -0
  499. data/stripe-19.3.0/lib/stripe/params/terminal/configuration_delete_params.rb +8 -0
  500. data/stripe-19.3.0/lib/stripe/params/terminal/configuration_list_params.rb +33 -0
  501. data/stripe-19.3.0/lib/stripe/params/terminal/configuration_retrieve_params.rb +15 -0
  502. data/stripe-19.3.0/lib/stripe/params/terminal/configuration_update_params.rb +671 -0
  503. data/stripe-19.3.0/lib/stripe/params/terminal/connection_token_create_params.rb +18 -0
  504. data/stripe-19.3.0/lib/stripe/params/terminal/location_create_params.rb +153 -0
  505. data/stripe-19.3.0/lib/stripe/params/terminal/location_delete_params.rb +8 -0
  506. data/stripe-19.3.0/lib/stripe/params/terminal/location_list_params.rb +24 -0
  507. data/stripe-19.3.0/lib/stripe/params/terminal/location_retrieve_params.rb +15 -0
  508. data/stripe-19.3.0/lib/stripe/params/terminal/location_update_params.rb +153 -0
  509. data/stripe-19.3.0/lib/stripe/params/terminal/onboarding_link_create_params.rb +43 -0
  510. data/stripe-19.3.0/lib/stripe/params/terminal/reader_cancel_action_params.rb +15 -0
  511. data/stripe-19.3.0/lib/stripe/params/terminal/reader_collect_inputs_params.rb +96 -0
  512. data/stripe-19.3.0/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +51 -0
  513. data/stripe-19.3.0/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb +29 -0
  514. data/stripe-19.3.0/lib/stripe/params/terminal/reader_create_params.rb +27 -0
  515. data/stripe-19.3.0/lib/stripe/params/terminal/reader_delete_params.rb +8 -0
  516. data/stripe-19.3.0/lib/stripe/params/terminal/reader_list_params.rb +45 -0
  517. data/stripe-19.3.0/lib/stripe/params/terminal/reader_present_payment_method_params.rb +72 -0
  518. data/stripe-19.3.0/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +55 -0
  519. data/stripe-19.3.0/lib/stripe/params/terminal/reader_process_setup_intent_params.rb +32 -0
  520. data/stripe-19.3.0/lib/stripe/params/terminal/reader_refund_payment_params.rb +53 -0
  521. data/stripe-19.3.0/lib/stripe/params/terminal/reader_retrieve_params.rb +15 -0
  522. data/stripe-19.3.0/lib/stripe/params/terminal/reader_set_reader_display_params.rb +52 -0
  523. data/stripe-19.3.0/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb +18 -0
  524. data/stripe-19.3.0/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb +15 -0
  525. data/stripe-19.3.0/lib/stripe/params/terminal/reader_update_params.rb +21 -0
  526. data/stripe-19.3.0/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +717 -0
  527. data/stripe-19.3.0/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +24 -0
  528. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +395 -0
  529. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +457 -0
  530. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb +17 -0
  531. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +228 -0
  532. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +23 -0
  533. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb +20 -0
  534. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +20 -0
  535. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb +17 -0
  536. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb +17 -0
  537. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb +17 -0
  538. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb +17 -0
  539. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb +17 -0
  540. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb +17 -0
  541. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb +17 -0
  542. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb +31 -0
  543. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +446 -0
  544. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +446 -0
  545. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +20 -0
  546. data/stripe-19.3.0/lib/stripe/params/test_helpers/refund_expire_params.rb +15 -0
  547. data/stripe-19.3.0/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +74 -0
  548. data/stripe-19.3.0/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb +20 -0
  549. data/stripe-19.3.0/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb +17 -0
  550. data/stripe-19.3.0/lib/stripe/params/test_helpers/test_clock_advance_params.rb +18 -0
  551. data/stripe-19.3.0/lib/stripe/params/test_helpers/test_clock_create_params.rb +24 -0
  552. data/stripe-19.3.0/lib/stripe/params/test_helpers/test_clock_delete_params.rb +8 -0
  553. data/stripe-19.3.0/lib/stripe/params/test_helpers/test_clock_list_params.rb +24 -0
  554. data/stripe-19.3.0/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb +15 -0
  555. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +28 -0
  556. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +17 -0
  557. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb +17 -0
  558. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb +17 -0
  559. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb +17 -0
  560. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb +28 -0
  561. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb +57 -0
  562. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb +17 -0
  563. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb +17 -0
  564. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb +28 -0
  565. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb +57 -0
  566. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +68 -0
  567. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +68 -0
  568. data/stripe-19.3.0/lib/stripe/params/token_create_params.rb +1210 -0
  569. data/stripe-19.3.0/lib/stripe/params/token_retrieve_params.rb +13 -0
  570. data/stripe-19.3.0/lib/stripe/params/topup_cancel_params.rb +13 -0
  571. data/stripe-19.3.0/lib/stripe/params/topup_create_params.rb +67 -0
  572. data/stripe-19.3.0/lib/stripe/params/topup_list_params.rb +74 -0
  573. data/stripe-19.3.0/lib/stripe/params/topup_retrieve_params.rb +13 -0
  574. data/stripe-19.3.0/lib/stripe/params/topup_update_params.rb +19 -0
  575. data/stripe-19.3.0/lib/stripe/params/transfer_create_params.rb +47 -0
  576. data/stripe-19.3.0/lib/stripe/params/transfer_list_params.rb +56 -0
  577. data/stripe-19.3.0/lib/stripe/params/transfer_retrieve_params.rb +13 -0
  578. data/stripe-19.3.0/lib/stripe/params/transfer_reversal_create_params.rb +31 -0
  579. data/stripe-19.3.0/lib/stripe/params/transfer_reversal_list_params.rb +22 -0
  580. data/stripe-19.3.0/lib/stripe/params/transfer_reversal_retrieve_params.rb +13 -0
  581. data/stripe-19.3.0/lib/stripe/params/transfer_reversal_update_params.rb +16 -0
  582. data/stripe-19.3.0/lib/stripe/params/transfer_update_params.rb +19 -0
  583. data/stripe-19.3.0/lib/stripe/params/treasury/credit_reversal_create_params.rb +21 -0
  584. data/stripe-19.3.0/lib/stripe/params/treasury/credit_reversal_list_params.rb +41 -0
  585. data/stripe-19.3.0/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb +15 -0
  586. data/stripe-19.3.0/lib/stripe/params/treasury/debit_reversal_create_params.rb +21 -0
  587. data/stripe-19.3.0/lib/stripe/params/treasury/debit_reversal_list_params.rb +45 -0
  588. data/stripe-19.3.0/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb +15 -0
  589. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_close_params.rb +32 -0
  590. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_create_params.rb +201 -0
  591. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb +15 -0
  592. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_features_update_params.rb +163 -0
  593. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_list_params.rb +54 -0
  594. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb +15 -0
  595. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_retrieve_params.rb +15 -0
  596. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_update_features_params.rb +163 -0
  597. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_update_params.rb +216 -0
  598. data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb +15 -0
  599. data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_create_params.rb +45 -0
  600. data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +26 -0
  601. data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_list_params.rb +37 -0
  602. data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb +15 -0
  603. data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +15 -0
  604. data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb +15 -0
  605. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_cancel_params.rb +15 -0
  606. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_create_params.rb +190 -0
  607. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_fail_params.rb +15 -0
  608. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_list_params.rb +62 -0
  609. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_post_params.rb +15 -0
  610. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb +15 -0
  611. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb +26 -0
  612. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_update_params.rb +55 -0
  613. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb +15 -0
  614. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_create_params.rb +81 -0
  615. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_fail_params.rb +15 -0
  616. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_list_params.rb +37 -0
  617. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_post_params.rb +15 -0
  618. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb +15 -0
  619. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb +26 -0
  620. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_update_params.rb +55 -0
  621. data/stripe-19.3.0/lib/stripe/params/treasury/received_credit_create_params.rb +66 -0
  622. data/stripe-19.3.0/lib/stripe/params/treasury/received_credit_list_params.rb +49 -0
  623. data/stripe-19.3.0/lib/stripe/params/treasury/received_credit_retrieve_params.rb +15 -0
  624. data/stripe-19.3.0/lib/stripe/params/treasury/received_debit_create_params.rb +66 -0
  625. data/stripe-19.3.0/lib/stripe/params/treasury/received_debit_list_params.rb +37 -0
  626. data/stripe-19.3.0/lib/stripe/params/treasury/received_debit_retrieve_params.rb +15 -0
  627. data/stripe-19.3.0/lib/stripe/params/treasury/transaction_entry_list_params.rb +84 -0
  628. data/stripe-19.3.0/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb +15 -0
  629. data/stripe-19.3.0/lib/stripe/params/treasury/transaction_list_params.rb +92 -0
  630. data/stripe-19.3.0/lib/stripe/params/treasury/transaction_retrieve_params.rb +15 -0
  631. data/stripe-19.3.0/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb +31 -0
  632. data/stripe-19.3.0/lib/stripe/params/v2/billing/meter_event_create_params.rb +33 -0
  633. data/stripe-19.3.0/lib/stripe/params/v2/billing/meter_event_session_create_params.rb +10 -0
  634. data/stripe-19.3.0/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +41 -0
  635. data/stripe-19.3.0/lib/stripe/params/v2/commerce/product_catalog/import_create_params.rb +25 -0
  636. data/stripe-19.3.0/lib/stripe/params/v2/commerce/product_catalog/import_list_params.rb +54 -0
  637. data/stripe-19.3.0/lib/stripe/params/v2/commerce/product_catalog/import_retrieve_params.rb +12 -0
  638. data/stripe-19.3.0/lib/stripe/params/v2/core/account_close_params.rb +17 -0
  639. data/stripe-19.3.0/lib/stripe/params/v2/core/account_create_params.rb +2189 -0
  640. data/stripe-19.3.0/lib/stripe/params/v2/core/account_link_create_params.rb +101 -0
  641. data/stripe-19.3.0/lib/stripe/params/v2/core/account_list_params.rb +23 -0
  642. data/stripe-19.3.0/lib/stripe/params/v2/core/account_retrieve_params.rb +17 -0
  643. data/stripe-19.3.0/lib/stripe/params/v2/core/account_token_create_params.rb +1070 -0
  644. data/stripe-19.3.0/lib/stripe/params/v2/core/account_token_retrieve_params.rb +10 -0
  645. data/stripe-19.3.0/lib/stripe/params/v2/core/account_update_params.rb +2242 -0
  646. data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_create_params.rb +507 -0
  647. data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_delete_params.rb +12 -0
  648. data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_list_params.rb +19 -0
  649. data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +12 -0
  650. data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_token_create_params.rb +497 -0
  651. data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_token_retrieve_params.rb +12 -0
  652. data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_update_params.rb +507 -0
  653. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_create_params.rb +106 -0
  654. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_delete_params.rb +10 -0
  655. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_disable_params.rb +10 -0
  656. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_enable_params.rb +10 -0
  657. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_list_params.rb +20 -0
  658. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_ping_params.rb +10 -0
  659. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_retrieve_params.rb +17 -0
  660. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_update_params.rb +47 -0
  661. data/stripe-19.3.0/lib/stripe/params/v2/core/event_list_params.rb +45 -0
  662. data/stripe-19.3.0/lib/stripe/params/v2/core/event_retrieve_params.rb +10 -0
  663. data/stripe-19.3.0/lib/stripe/params/webhook_endpoint_create_params.rb +39 -0
  664. data/stripe-19.3.0/lib/stripe/params/webhook_endpoint_delete_params.rb +6 -0
  665. data/stripe-19.3.0/lib/stripe/params/webhook_endpoint_list_params.rb +22 -0
  666. data/stripe-19.3.0/lib/stripe/params/webhook_endpoint_retrieve_params.rb +13 -0
  667. data/stripe-19.3.0/lib/stripe/params/webhook_endpoint_update_params.rb +35 -0
  668. data/stripe-19.3.0/lib/stripe/params.rb +1345 -0
  669. data/stripe-19.3.0/lib/stripe/railtie.rb +8 -0
  670. data/stripe-19.3.0/lib/stripe/request_options.rb +138 -0
  671. data/stripe-19.3.0/lib/stripe/request_params.rb +140 -0
  672. data/stripe-19.3.0/lib/stripe/resources/account.rb +1295 -0
  673. data/stripe-19.3.0/lib/stripe/resources/account_link.rb +39 -0
  674. data/stripe-19.3.0/lib/stripe/resources/account_session.rb +737 -0
  675. data/stripe-19.3.0/lib/stripe/resources/apple_pay_domain.rb +76 -0
  676. data/stripe-19.3.0/lib/stripe/resources/application.rb +28 -0
  677. data/stripe-19.3.0/lib/stripe/resources/application_fee.rb +76 -0
  678. data/stripe-19.3.0/lib/stripe/resources/application_fee_refund.rb +63 -0
  679. data/stripe-19.3.0/lib/stripe/resources/apps/secret.rb +96 -0
  680. data/stripe-19.3.0/lib/stripe/resources/balance.rb +340 -0
  681. data/stripe-19.3.0/lib/stripe/resources/balance_settings.rb +132 -0
  682. data/stripe-19.3.0/lib/stripe/resources/balance_transaction.rb +90 -0
  683. data/stripe-19.3.0/lib/stripe/resources/bank_account.rb +214 -0
  684. data/stripe-19.3.0/lib/stripe/resources/billing/alert.rb +142 -0
  685. data/stripe-19.3.0/lib/stripe/resources/billing/alert_triggered.rb +34 -0
  686. data/stripe-19.3.0/lib/stripe/resources/billing/credit_balance_summary.rb +104 -0
  687. data/stripe-19.3.0/lib/stripe/resources/billing/credit_balance_transaction.rb +177 -0
  688. data/stripe-19.3.0/lib/stripe/resources/billing/credit_grant.rb +200 -0
  689. data/stripe-19.3.0/lib/stripe/resources/billing/meter.rb +178 -0
  690. data/stripe-19.3.0/lib/stripe/resources/billing/meter_event.rb +49 -0
  691. data/stripe-19.3.0/lib/stripe/resources/billing/meter_event_adjustment.rb +59 -0
  692. data/stripe-19.3.0/lib/stripe/resources/billing/meter_event_summary.rb +40 -0
  693. data/stripe-19.3.0/lib/stripe/resources/billing_portal/configuration.rb +306 -0
  694. data/stripe-19.3.0/lib/stripe/resources/billing_portal/session.rb +240 -0
  695. data/stripe-19.3.0/lib/stripe/resources/capability.rb +179 -0
  696. data/stripe-19.3.0/lib/stripe/resources/card.rb +162 -0
  697. data/stripe-19.3.0/lib/stripe/resources/cash_balance.rb +61 -0
  698. data/stripe-19.3.0/lib/stripe/resources/charge.rb +2418 -0
  699. data/stripe-19.3.0/lib/stripe/resources/checkout/session.rb +2541 -0
  700. data/stripe-19.3.0/lib/stripe/resources/climate/order.rb +177 -0
  701. data/stripe-19.3.0/lib/stripe/resources/climate/product.rb +76 -0
  702. data/stripe-19.3.0/lib/stripe/resources/climate/supplier.rb +69 -0
  703. data/stripe-19.3.0/lib/stripe/resources/confirmation_token.rb +1808 -0
  704. data/stripe-19.3.0/lib/stripe/resources/connect_collection_transfer.rb +32 -0
  705. data/stripe-19.3.0/lib/stripe/resources/country_spec.rb +92 -0
  706. data/stripe-19.3.0/lib/stripe/resources/coupon.rb +131 -0
  707. data/stripe-19.3.0/lib/stripe/resources/credit_note.rb +317 -0
  708. data/stripe-19.3.0/lib/stripe/resources/credit_note_line_item.rb +129 -0
  709. data/stripe-19.3.0/lib/stripe/resources/customer.rb +450 -0
  710. data/stripe-19.3.0/lib/stripe/resources/customer_balance_transaction.rb +78 -0
  711. data/stripe-19.3.0/lib/stripe/resources/customer_cash_balance_transaction.rb +234 -0
  712. data/stripe-19.3.0/lib/stripe/resources/customer_session.rb +228 -0
  713. data/stripe-19.3.0/lib/stripe/resources/discount.rb +66 -0
  714. data/stripe-19.3.0/lib/stripe/resources/dispute.rb +496 -0
  715. data/stripe-19.3.0/lib/stripe/resources/entitlements/active_entitlement.rb +45 -0
  716. data/stripe-19.3.0/lib/stripe/resources/entitlements/active_entitlement_summary.rb +31 -0
  717. data/stripe-19.3.0/lib/stripe/resources/entitlements/feature.rb +72 -0
  718. data/stripe-19.3.0/lib/stripe/resources/ephemeral_key.rb +64 -0
  719. data/stripe-19.3.0/lib/stripe/resources/event.rb +96 -0
  720. data/stripe-19.3.0/lib/stripe/resources/exchange_rate.rb +69 -0
  721. data/stripe-19.3.0/lib/stripe/resources/file.rb +89 -0
  722. data/stripe-19.3.0/lib/stripe/resources/file_link.rb +65 -0
  723. data/stripe-19.3.0/lib/stripe/resources/financial_connections/account.rb +375 -0
  724. data/stripe-19.3.0/lib/stripe/resources/financial_connections/account_owner.rb +39 -0
  725. data/stripe-19.3.0/lib/stripe/resources/financial_connections/account_ownership.rb +31 -0
  726. data/stripe-19.3.0/lib/stripe/resources/financial_connections/session.rb +88 -0
  727. data/stripe-19.3.0/lib/stripe/resources/financial_connections/transaction.rb +73 -0
  728. data/stripe-19.3.0/lib/stripe/resources/forwarding/request.rb +163 -0
  729. data/stripe-19.3.0/lib/stripe/resources/funding_instructions.rb +525 -0
  730. data/stripe-19.3.0/lib/stripe/resources/identity/verification_report.rb +408 -0
  731. data/stripe-19.3.0/lib/stripe/resources/identity/verification_session.rb +428 -0
  732. data/stripe-19.3.0/lib/stripe/resources/invoice.rb +1361 -0
  733. data/stripe-19.3.0/lib/stripe/resources/invoice_item.rb +271 -0
  734. data/stripe-19.3.0/lib/stripe/resources/invoice_line_item.rb +321 -0
  735. data/stripe-19.3.0/lib/stripe/resources/invoice_payment.rb +92 -0
  736. data/stripe-19.3.0/lib/stripe/resources/invoice_rendering_template.rb +90 -0
  737. data/stripe-19.3.0/lib/stripe/resources/issuing/authorization.rb +762 -0
  738. data/stripe-19.3.0/lib/stripe/resources/issuing/card.rb +463 -0
  739. data/stripe-19.3.0/lib/stripe/resources/issuing/cardholder.rb +296 -0
  740. data/stripe-19.3.0/lib/stripe/resources/issuing/dispute.rb +324 -0
  741. data/stripe-19.3.0/lib/stripe/resources/issuing/personalization_design.rb +206 -0
  742. data/stripe-19.3.0/lib/stripe/resources/issuing/physical_bundle.rb +65 -0
  743. data/stripe-19.3.0/lib/stripe/resources/issuing/token.rb +195 -0
  744. data/stripe-19.3.0/lib/stripe/resources/issuing/transaction.rb +571 -0
  745. data/stripe-19.3.0/lib/stripe/resources/line_item.rb +108 -0
  746. data/stripe-19.3.0/lib/stripe/resources/login_link.rb +35 -0
  747. data/stripe-19.3.0/lib/stripe/resources/mandate.rb +468 -0
  748. data/stripe-19.3.0/lib/stripe/resources/payment_attempt_record.rb +2060 -0
  749. data/stripe-19.3.0/lib/stripe/resources/payment_intent.rb +3456 -0
  750. data/stripe-19.3.0/lib/stripe/resources/payment_intent_amount_details_line_item.rb +138 -0
  751. data/stripe-19.3.0/lib/stripe/resources/payment_link.rb +849 -0
  752. data/stripe-19.3.0/lib/stripe/resources/payment_method.rb +1754 -0
  753. data/stripe-19.3.0/lib/stripe/resources/payment_method_configuration.rb +2056 -0
  754. data/stripe-19.3.0/lib/stripe/resources/payment_method_domain.rb +280 -0
  755. data/stripe-19.3.0/lib/stripe/resources/payment_record.rb +2190 -0
  756. data/stripe-19.3.0/lib/stripe/resources/payout.rb +168 -0
  757. data/stripe-19.3.0/lib/stripe/resources/person.rb +506 -0
  758. data/stripe-19.3.0/lib/stripe/resources/plan.rb +170 -0
  759. data/stripe-19.3.0/lib/stripe/resources/price.rb +280 -0
  760. data/stripe-19.3.0/lib/stripe/resources/product.rb +159 -0
  761. data/stripe-19.3.0/lib/stripe/resources/product_feature.rb +33 -0
  762. data/stripe-19.3.0/lib/stripe/resources/promotion_code.rb +122 -0
  763. data/stripe-19.3.0/lib/stripe/resources/quote.rb +675 -0
  764. data/stripe-19.3.0/lib/stripe/resources/radar/early_fraud_warning.rb +54 -0
  765. data/stripe-19.3.0/lib/stripe/resources/radar/payment_evaluation.rb +497 -0
  766. data/stripe-19.3.0/lib/stripe/resources/radar/value_list.rb +102 -0
  767. data/stripe-19.3.0/lib/stripe/resources/radar/value_list_item.rb +85 -0
  768. data/stripe-19.3.0/lib/stripe/resources/refund.rb +781 -0
  769. data/stripe-19.3.0/lib/stripe/resources/reporting/report_run.rb +104 -0
  770. data/stripe-19.3.0/lib/stripe/resources/reporting/report_type.rb +60 -0
  771. data/stripe-19.3.0/lib/stripe/resources/reserve/hold.rb +84 -0
  772. data/stripe-19.3.0/lib/stripe/resources/reserve/plan.rb +78 -0
  773. data/stripe-19.3.0/lib/stripe/resources/reserve/release.rb +65 -0
  774. data/stripe-19.3.0/lib/stripe/resources/reserve_transaction.rb +30 -0
  775. data/stripe-19.3.0/lib/stripe/resources/reversal.rb +74 -0
  776. data/stripe-19.3.0/lib/stripe/resources/review.rb +118 -0
  777. data/stripe-19.3.0/lib/stripe/resources/setup_attempt.rb +683 -0
  778. data/stripe-19.3.0/lib/stripe/resources/setup_intent.rb +942 -0
  779. data/stripe-19.3.0/lib/stripe/resources/shipping_rate.rb +144 -0
  780. data/stripe-19.3.0/lib/stripe/resources/sigma/scheduled_query_run.rb +76 -0
  781. data/stripe-19.3.0/lib/stripe/resources/source.rb +972 -0
  782. data/stripe-19.3.0/lib/stripe/resources/source_mandate_notification.rb +98 -0
  783. data/stripe-19.3.0/lib/stripe/resources/source_transaction.rb +154 -0
  784. data/stripe-19.3.0/lib/stripe/resources/subscription.rb +975 -0
  785. data/stripe-19.3.0/lib/stripe/resources/subscription_item.rb +131 -0
  786. data/stripe-19.3.0/lib/stripe/resources/subscription_schedule.rb +618 -0
  787. data/stripe-19.3.0/lib/stripe/resources/tax/association.rb +86 -0
  788. data/stripe-19.3.0/lib/stripe/resources/tax/calculation.rb +321 -0
  789. data/stripe-19.3.0/lib/stripe/resources/tax/calculation_line_item.rb +103 -0
  790. data/stripe-19.3.0/lib/stripe/resources/tax/registration.rb +2275 -0
  791. data/stripe-19.3.0/lib/stripe/resources/tax/settings.rb +131 -0
  792. data/stripe-19.3.0/lib/stripe/resources/tax/transaction.rb +287 -0
  793. data/stripe-19.3.0/lib/stripe/resources/tax/transaction_line_item.rb +60 -0
  794. data/stripe-19.3.0/lib/stripe/resources/tax_code.rb +36 -0
  795. data/stripe-19.3.0/lib/stripe/resources/tax_deducted_at_source.rb +30 -0
  796. data/stripe-19.3.0/lib/stripe/resources/tax_id.rb +119 -0
  797. data/stripe-19.3.0/lib/stripe/resources/tax_rate.rb +99 -0
  798. data/stripe-19.3.0/lib/stripe/resources/terminal/configuration.rb +799 -0
  799. data/stripe-19.3.0/lib/stripe/resources/terminal/connection_token.rb +43 -0
  800. data/stripe-19.3.0/lib/stripe/resources/terminal/location.rb +183 -0
  801. data/stripe-19.3.0/lib/stripe/resources/terminal/onboarding_link.rb +71 -0
  802. data/stripe-19.3.0/lib/stripe/resources/terminal/reader.rb +925 -0
  803. data/stripe-19.3.0/lib/stripe/resources/test_helpers/test_clock.rb +133 -0
  804. data/stripe-19.3.0/lib/stripe/resources/token.rb +76 -0
  805. data/stripe-19.3.0/lib/stripe/resources/topup.rb +101 -0
  806. data/stripe-19.3.0/lib/stripe/resources/transfer.rb +93 -0
  807. data/stripe-19.3.0/lib/stripe/resources/treasury/credit_reversal.rb +86 -0
  808. data/stripe-19.3.0/lib/stripe/resources/treasury/debit_reversal.rb +101 -0
  809. data/stripe-19.3.0/lib/stripe/resources/treasury/financial_account.rb +253 -0
  810. data/stripe-19.3.0/lib/stripe/resources/treasury/financial_account_features.rb +396 -0
  811. data/stripe-19.3.0/lib/stripe/resources/treasury/inbound_transfer.rb +308 -0
  812. data/stripe-19.3.0/lib/stripe/resources/treasury/outbound_payment.rb +408 -0
  813. data/stripe-19.3.0/lib/stripe/resources/treasury/outbound_transfer.rb +388 -0
  814. data/stripe-19.3.0/lib/stripe/resources/treasury/received_credit.rb +261 -0
  815. data/stripe-19.3.0/lib/stripe/resources/treasury/received_debit.rb +226 -0
  816. data/stripe-19.3.0/lib/stripe/resources/treasury/transaction.rb +143 -0
  817. data/stripe-19.3.0/lib/stripe/resources/treasury/transaction_entry.rb +124 -0
  818. data/stripe-19.3.0/lib/stripe/resources/v2/amount.rb +9 -0
  819. data/stripe-19.3.0/lib/stripe/resources/v2/billing/meter_event.rb +43 -0
  820. data/stripe-19.3.0/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +53 -0
  821. data/stripe-19.3.0/lib/stripe/resources/v2/billing/meter_event_session.rb +38 -0
  822. data/stripe-19.3.0/lib/stripe/resources/v2/commerce/product_catalog_import.rb +276 -0
  823. data/stripe-19.3.0/lib/stripe/resources/v2/core/account.rb +3645 -0
  824. data/stripe-19.3.0/lib/stripe/resources/v2/core/account_link.rb +123 -0
  825. data/stripe-19.3.0/lib/stripe/resources/v2/core/account_person.rb +487 -0
  826. data/stripe-19.3.0/lib/stripe/resources/v2/core/account_person_token.rb +37 -0
  827. data/stripe-19.3.0/lib/stripe/resources/v2/core/account_token.rb +37 -0
  828. data/stripe-19.3.0/lib/stripe/resources/v2/core/event.rb +70 -0
  829. data/stripe-19.3.0/lib/stripe/resources/v2/core/event_destination.rb +147 -0
  830. data/stripe-19.3.0/lib/stripe/resources/v2/core/event_notification.rb +63 -0
  831. data/stripe-19.3.0/lib/stripe/resources/v2/deleted_object.rb +21 -0
  832. data/stripe-19.3.0/lib/stripe/resources/webhook_endpoint.rb +103 -0
  833. data/stripe-19.3.0/lib/stripe/resources.rb +503 -0
  834. data/stripe-19.3.0/lib/stripe/search_result_object.rb +89 -0
  835. data/stripe-19.3.0/lib/stripe/services/account_capability_service.rb +39 -0
  836. data/stripe-19.3.0/lib/stripe/services/account_external_account_service.rb +68 -0
  837. data/stripe-19.3.0/lib/stripe/services/account_link_service.rb +17 -0
  838. data/stripe-19.3.0/lib/stripe/services/account_login_link_service.rb +19 -0
  839. data/stripe-19.3.0/lib/stripe/services/account_person_service.rb +61 -0
  840. data/stripe-19.3.0/lib/stripe/services/account_service.rb +100 -0
  841. data/stripe-19.3.0/lib/stripe/services/account_session_service.rb +17 -0
  842. data/stripe-19.3.0/lib/stripe/services/apple_pay_domain_service.rb +50 -0
  843. data/stripe-19.3.0/lib/stripe/services/application_fee_refund_service.rb +60 -0
  844. data/stripe-19.3.0/lib/stripe/services/application_fee_service.rb +35 -0
  845. data/stripe-19.3.0/lib/stripe/services/apps/secret_service.rb +52 -0
  846. data/stripe-19.3.0/lib/stripe/services/apps_service.rb +13 -0
  847. data/stripe-19.3.0/lib/stripe/services/balance_service.rb +12 -0
  848. data/stripe-19.3.0/lib/stripe/services/balance_settings_service.rb +30 -0
  849. data/stripe-19.3.0/lib/stripe/services/balance_transaction_service.rb +32 -0
  850. data/stripe-19.3.0/lib/stripe/services/billing/alert_service.rb +74 -0
  851. data/stripe-19.3.0/lib/stripe/services/billing/credit_balance_summary_service.rb +19 -0
  852. data/stripe-19.3.0/lib/stripe/services/billing/credit_balance_transaction_service.rb +30 -0
  853. data/stripe-19.3.0/lib/stripe/services/billing/credit_grant_service.rb +74 -0
  854. data/stripe-19.3.0/lib/stripe/services/billing/meter_event_adjustment_service.rb +19 -0
  855. data/stripe-19.3.0/lib/stripe/services/billing/meter_event_service.rb +19 -0
  856. data/stripe-19.3.0/lib/stripe/services/billing/meter_event_summary_service.rb +19 -0
  857. data/stripe-19.3.0/lib/stripe/services/billing/meter_service.rb +81 -0
  858. data/stripe-19.3.0/lib/stripe/services/billing_portal/configuration_service.rb +52 -0
  859. data/stripe-19.3.0/lib/stripe/services/billing_portal/session_service.rb +19 -0
  860. data/stripe-19.3.0/lib/stripe/services/billing_portal_service.rb +14 -0
  861. data/stripe-19.3.0/lib/stripe/services/billing_service.rb +20 -0
  862. data/stripe-19.3.0/lib/stripe/services/charge_service.rb +69 -0
  863. data/stripe-19.3.0/lib/stripe/services/checkout/session_line_item_service.rb +19 -0
  864. data/stripe-19.3.0/lib/stripe/services/checkout/session_service.rb +82 -0
  865. data/stripe-19.3.0/lib/stripe/services/checkout_service.rb +13 -0
  866. data/stripe-19.3.0/lib/stripe/services/climate/order_service.rb +70 -0
  867. data/stripe-19.3.0/lib/stripe/services/climate/product_service.rb +30 -0
  868. data/stripe-19.3.0/lib/stripe/services/climate/supplier_service.rb +30 -0
  869. data/stripe-19.3.0/lib/stripe/services/climate_service.rb +15 -0
  870. data/stripe-19.3.0/lib/stripe/services/confirmation_token_service.rb +17 -0
  871. data/stripe-19.3.0/lib/stripe/services/country_spec_service.rb +28 -0
  872. data/stripe-19.3.0/lib/stripe/services/coupon_service.rb +51 -0
  873. data/stripe-19.3.0/lib/stripe/services/credit_note_line_item_service.rb +17 -0
  874. data/stripe-19.3.0/lib/stripe/services/credit_note_preview_lines_service.rb +21 -0
  875. data/stripe-19.3.0/lib/stripe/services/credit_note_service.rb +98 -0
  876. data/stripe-19.3.0/lib/stripe/services/customer_balance_transaction_service.rb +50 -0
  877. data/stripe-19.3.0/lib/stripe/services/customer_cash_balance_service.rb +28 -0
  878. data/stripe-19.3.0/lib/stripe/services/customer_cash_balance_transaction_service.rb +28 -0
  879. data/stripe-19.3.0/lib/stripe/services/customer_funding_instructions_service.rb +19 -0
  880. data/stripe-19.3.0/lib/stripe/services/customer_payment_method_service.rb +28 -0
  881. data/stripe-19.3.0/lib/stripe/services/customer_payment_source_service.rb +76 -0
  882. data/stripe-19.3.0/lib/stripe/services/customer_service.rb +89 -0
  883. data/stripe-19.3.0/lib/stripe/services/customer_session_service.rb +17 -0
  884. data/stripe-19.3.0/lib/stripe/services/customer_tax_id_service.rb +50 -0
  885. data/stripe-19.3.0/lib/stripe/services/dispute_service.rb +48 -0
  886. data/stripe-19.3.0/lib/stripe/services/entitlements/active_entitlement_service.rb +30 -0
  887. data/stripe-19.3.0/lib/stripe/services/entitlements/feature_service.rb +52 -0
  888. data/stripe-19.3.0/lib/stripe/services/entitlements_service.rb +14 -0
  889. data/stripe-19.3.0/lib/stripe/services/ephemeral_key_service.rb +28 -0
  890. data/stripe-19.3.0/lib/stripe/services/event_service.rb +22 -0
  891. data/stripe-19.3.0/lib/stripe/services/exchange_rate_service.rb +32 -0
  892. data/stripe-19.3.0/lib/stripe/services/file_link_service.rb +38 -0
  893. data/stripe-19.3.0/lib/stripe/services/file_service.rb +35 -0
  894. data/stripe-19.3.0/lib/stripe/services/financial_connections/account_owner_service.rb +19 -0
  895. data/stripe-19.3.0/lib/stripe/services/financial_connections/account_service.rb +81 -0
  896. data/stripe-19.3.0/lib/stripe/services/financial_connections/session_service.rb +30 -0
  897. data/stripe-19.3.0/lib/stripe/services/financial_connections/transaction_service.rb +30 -0
  898. data/stripe-19.3.0/lib/stripe/services/financial_connections_service.rb +15 -0
  899. data/stripe-19.3.0/lib/stripe/services/forwarding/request_service.rb +41 -0
  900. data/stripe-19.3.0/lib/stripe/services/forwarding_service.rb +13 -0
  901. data/stripe-19.3.0/lib/stripe/services/identity/verification_report_service.rb +30 -0
  902. data/stripe-19.3.0/lib/stripe/services/identity/verification_session_service.rb +106 -0
  903. data/stripe-19.3.0/lib/stripe/services/identity_service.rb +14 -0
  904. data/stripe-19.3.0/lib/stripe/services/invoice_item_service.rb +65 -0
  905. data/stripe-19.3.0/lib/stripe/services/invoice_line_item_service.rb +33 -0
  906. data/stripe-19.3.0/lib/stripe/services/invoice_payment_service.rb +28 -0
  907. data/stripe-19.3.0/lib/stripe/services/invoice_rendering_template_service.rb +50 -0
  908. data/stripe-19.3.0/lib/stripe/services/invoice_service.rb +212 -0
  909. data/stripe-19.3.0/lib/stripe/services/issuing/authorization_service.rb +65 -0
  910. data/stripe-19.3.0/lib/stripe/services/issuing/card_service.rb +52 -0
  911. data/stripe-19.3.0/lib/stripe/services/issuing/cardholder_service.rb +52 -0
  912. data/stripe-19.3.0/lib/stripe/services/issuing/dispute_service.rb +63 -0
  913. data/stripe-19.3.0/lib/stripe/services/issuing/personalization_design_service.rb +52 -0
  914. data/stripe-19.3.0/lib/stripe/services/issuing/physical_bundle_service.rb +30 -0
  915. data/stripe-19.3.0/lib/stripe/services/issuing/token_service.rb +41 -0
  916. data/stripe-19.3.0/lib/stripe/services/issuing/transaction_service.rb +41 -0
  917. data/stripe-19.3.0/lib/stripe/services/issuing_service.rb +20 -0
  918. data/stripe-19.3.0/lib/stripe/services/mandate_service.rb +17 -0
  919. data/stripe-19.3.0/lib/stripe/services/oauth_service.rb +63 -0
  920. data/stripe-19.3.0/lib/stripe/services/payment_attempt_record_service.rb +28 -0
  921. data/stripe-19.3.0/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +17 -0
  922. data/stripe-19.3.0/lib/stripe/services/payment_intent_service.rb +218 -0
  923. data/stripe-19.3.0/lib/stripe/services/payment_link_line_item_service.rb +17 -0
  924. data/stripe-19.3.0/lib/stripe/services/payment_link_service.rb +59 -0
  925. data/stripe-19.3.0/lib/stripe/services/payment_method_configuration_service.rb +50 -0
  926. data/stripe-19.3.0/lib/stripe/services/payment_method_domain_service.rb +66 -0
  927. data/stripe-19.3.0/lib/stripe/services/payment_method_service.rb +86 -0
  928. data/stripe-19.3.0/lib/stripe/services/payment_record_service.rb +101 -0
  929. data/stripe-19.3.0/lib/stripe/services/payout_service.rb +66 -0
  930. data/stripe-19.3.0/lib/stripe/services/plan_service.rb +51 -0
  931. data/stripe-19.3.0/lib/stripe/services/price_service.rb +54 -0
  932. data/stripe-19.3.0/lib/stripe/services/product_feature_service.rb +50 -0
  933. data/stripe-19.3.0/lib/stripe/services/product_service.rb +72 -0
  934. data/stripe-19.3.0/lib/stripe/services/promotion_code_service.rb +50 -0
  935. data/stripe-19.3.0/lib/stripe/services/quote_computed_upfront_line_items_service.rb +17 -0
  936. data/stripe-19.3.0/lib/stripe/services/quote_line_item_service.rb +17 -0
  937. data/stripe-19.3.0/lib/stripe/services/quote_service.rb +96 -0
  938. data/stripe-19.3.0/lib/stripe/services/radar/early_fraud_warning_service.rb +32 -0
  939. data/stripe-19.3.0/lib/stripe/services/radar/payment_evaluation_service.rb +19 -0
  940. data/stripe-19.3.0/lib/stripe/services/radar/value_list_item_service.rb +52 -0
  941. data/stripe-19.3.0/lib/stripe/services/radar/value_list_service.rb +63 -0
  942. data/stripe-19.3.0/lib/stripe/services/radar_service.rb +16 -0
  943. data/stripe-19.3.0/lib/stripe/services/refund_service.rb +63 -0
  944. data/stripe-19.3.0/lib/stripe/services/reporting/report_run_service.rb +41 -0
  945. data/stripe-19.3.0/lib/stripe/services/reporting/report_type_service.rb +30 -0
  946. data/stripe-19.3.0/lib/stripe/services/reporting_service.rb +14 -0
  947. data/stripe-19.3.0/lib/stripe/services/review_service.rb +33 -0
  948. data/stripe-19.3.0/lib/stripe/services/setup_attempt_service.rb +17 -0
  949. data/stripe-19.3.0/lib/stripe/services/setup_intent_service.rb +105 -0
  950. data/stripe-19.3.0/lib/stripe/services/shipping_rate_service.rb +50 -0
  951. data/stripe-19.3.0/lib/stripe/services/sigma/scheduled_query_run_service.rb +30 -0
  952. data/stripe-19.3.0/lib/stripe/services/sigma_service.rb +13 -0
  953. data/stripe-19.3.0/lib/stripe/services/source_service.rb +64 -0
  954. data/stripe-19.3.0/lib/stripe/services/source_transaction_service.rb +17 -0
  955. data/stripe-19.3.0/lib/stripe/services/subscription_item_service.rb +65 -0
  956. data/stripe-19.3.0/lib/stripe/services/subscription_schedule_service.rb +80 -0
  957. data/stripe-19.3.0/lib/stripe/services/subscription_service.rb +142 -0
  958. data/stripe-19.3.0/lib/stripe/services/tax/association_service.rb +19 -0
  959. data/stripe-19.3.0/lib/stripe/services/tax/calculation_line_item_service.rb +19 -0
  960. data/stripe-19.3.0/lib/stripe/services/tax/calculation_service.rb +37 -0
  961. data/stripe-19.3.0/lib/stripe/services/tax/registration_service.rb +54 -0
  962. data/stripe-19.3.0/lib/stripe/services/tax/settings_service.rb +30 -0
  963. data/stripe-19.3.0/lib/stripe/services/tax/transaction_line_item_service.rb +19 -0
  964. data/stripe-19.3.0/lib/stripe/services/tax/transaction_service.rb +48 -0
  965. data/stripe-19.3.0/lib/stripe/services/tax_code_service.rb +22 -0
  966. data/stripe-19.3.0/lib/stripe/services/tax_id_service.rb +38 -0
  967. data/stripe-19.3.0/lib/stripe/services/tax_rate_service.rb +38 -0
  968. data/stripe-19.3.0/lib/stripe/services/tax_service.rb +17 -0
  969. data/stripe-19.3.0/lib/stripe/services/terminal/configuration_service.rb +63 -0
  970. data/stripe-19.3.0/lib/stripe/services/terminal/connection_token_service.rb +19 -0
  971. data/stripe-19.3.0/lib/stripe/services/terminal/location_service.rb +64 -0
  972. data/stripe-19.3.0/lib/stripe/services/terminal/onboarding_link_service.rb +19 -0
  973. data/stripe-19.3.0/lib/stripe/services/terminal/reader_service.rb +151 -0
  974. data/stripe-19.3.0/lib/stripe/services/terminal_service.rb +17 -0
  975. data/stripe-19.3.0/lib/stripe/services/test_helpers/confirmation_token_service.rb +19 -0
  976. data/stripe-19.3.0/lib/stripe/services/test_helpers/customer_service.rb +19 -0
  977. data/stripe-19.3.0/lib/stripe/services/test_helpers/issuing/authorization_service.rb +99 -0
  978. data/stripe-19.3.0/lib/stripe/services/test_helpers/issuing/card_service.rb +65 -0
  979. data/stripe-19.3.0/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +43 -0
  980. data/stripe-19.3.0/lib/stripe/services/test_helpers/issuing/transaction_service.rb +51 -0
  981. data/stripe-19.3.0/lib/stripe/services/test_helpers/issuing_service.rb +19 -0
  982. data/stripe-19.3.0/lib/stripe/services/test_helpers/refund_service.rb +19 -0
  983. data/stripe-19.3.0/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
  984. data/stripe-19.3.0/lib/stripe/services/test_helpers/terminal_service.rb +15 -0
  985. data/stripe-19.3.0/lib/stripe/services/test_helpers/test_clock_service.rb +63 -0
  986. data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +43 -0
  987. data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +54 -0
  988. data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +54 -0
  989. data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +21 -0
  990. data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +21 -0
  991. data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury_service.rb +19 -0
  992. data/stripe-19.3.0/lib/stripe/services/test_helpers_service.rb +19 -0
  993. data/stripe-19.3.0/lib/stripe/services/token_service.rb +23 -0
  994. data/stripe-19.3.0/lib/stripe/services/topup_service.rb +49 -0
  995. data/stripe-19.3.0/lib/stripe/services/transfer_reversal_service.rb +56 -0
  996. data/stripe-19.3.0/lib/stripe/services/transfer_service.rb +47 -0
  997. data/stripe-19.3.0/lib/stripe/services/treasury/credit_reversal_service.rb +41 -0
  998. data/stripe-19.3.0/lib/stripe/services/treasury/debit_reversal_service.rb +41 -0
  999. data/stripe-19.3.0/lib/stripe/services/treasury/financial_account_features_service.rb +30 -0
  1000. data/stripe-19.3.0/lib/stripe/services/treasury/financial_account_service.rb +70 -0
  1001. data/stripe-19.3.0/lib/stripe/services/treasury/inbound_transfer_service.rb +52 -0
  1002. data/stripe-19.3.0/lib/stripe/services/treasury/outbound_payment_service.rb +52 -0
  1003. data/stripe-19.3.0/lib/stripe/services/treasury/outbound_transfer_service.rb +52 -0
  1004. data/stripe-19.3.0/lib/stripe/services/treasury/received_credit_service.rb +30 -0
  1005. data/stripe-19.3.0/lib/stripe/services/treasury/received_debit_service.rb +30 -0
  1006. data/stripe-19.3.0/lib/stripe/services/treasury/transaction_entry_service.rb +30 -0
  1007. data/stripe-19.3.0/lib/stripe/services/treasury/transaction_service.rb +30 -0
  1008. data/stripe-19.3.0/lib/stripe/services/treasury_service.rb +22 -0
  1009. data/stripe-19.3.0/lib/stripe/services/v1_services.rb +93 -0
  1010. data/stripe-19.3.0/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +21 -0
  1011. data/stripe-19.3.0/lib/stripe/services/v2/billing/meter_event_service.rb +21 -0
  1012. data/stripe-19.3.0/lib/stripe/services/v2/billing/meter_event_session_service.rb +21 -0
  1013. data/stripe-19.3.0/lib/stripe/services/v2/billing/meter_event_stream_service.rb +23 -0
  1014. data/stripe-19.3.0/lib/stripe/services/v2/billing_service.rb +18 -0
  1015. data/stripe-19.3.0/lib/stripe/services/v2/commerce/product_catalog/import_service.rb +45 -0
  1016. data/stripe-19.3.0/lib/stripe/services/v2/commerce/product_catalog_service.rb +17 -0
  1017. data/stripe-19.3.0/lib/stripe/services/v2/commerce_service.rb +15 -0
  1018. data/stripe-19.3.0/lib/stripe/services/v2/core/account_link_service.rb +23 -0
  1019. data/stripe-19.3.0/lib/stripe/services/v2/core/account_service.rb +91 -0
  1020. data/stripe-19.3.0/lib/stripe/services/v2/core/account_token_service.rb +44 -0
  1021. data/stripe-19.3.0/lib/stripe/services/v2/core/accounts/person_service.rb +85 -0
  1022. data/stripe-19.3.0/lib/stripe/services/v2/core/accounts/person_token_service.rb +43 -0
  1023. data/stripe-19.3.0/lib/stripe/services/v2/core/event_destination_service.rb +98 -0
  1024. data/stripe-19.3.0/lib/stripe/services/v2/core/event_service.rb +33 -0
  1025. data/stripe-19.3.0/lib/stripe/services/v2/core_service.rb +19 -0
  1026. data/stripe-19.3.0/lib/stripe/services/v2_services.rb +15 -0
  1027. data/stripe-19.3.0/lib/stripe/services/webhook_endpoint_service.rb +61 -0
  1028. data/stripe-19.3.0/lib/stripe/services.rb +472 -0
  1029. data/stripe-19.3.0/lib/stripe/singleton_api_resource.rb +26 -0
  1030. data/stripe-19.3.0/lib/stripe/stripe_client.rb +97 -0
  1031. data/stripe-19.3.0/lib/stripe/stripe_configuration.rb +210 -0
  1032. data/stripe-19.3.0/lib/stripe/stripe_context.rb +68 -0
  1033. data/stripe-19.3.0/lib/stripe/stripe_object.rb +692 -0
  1034. data/stripe-19.3.0/lib/stripe/stripe_response.rb +108 -0
  1035. data/stripe-19.3.0/lib/stripe/stripe_service.rb +34 -0
  1036. data/stripe-19.3.0/lib/stripe/util.rb +490 -0
  1037. data/stripe-19.3.0/lib/stripe/v2_list_object.rb +84 -0
  1038. data/stripe-19.3.0/lib/stripe/version.rb +5 -0
  1039. data/stripe-19.3.0/lib/stripe/webhook.rb +129 -0
  1040. data/stripe-19.3.0/lib/stripe.rb +185 -0
  1041. data/stripe-19.3.0/rbi/stripe/resources/v2/core/event_notification.rbi +43 -0
  1042. data/stripe-19.3.0/rbi/stripe/stripe_client.rbi +17 -0
  1043. data/stripe-19.3.0/rbi/stripe.rbi +170441 -0
  1044. metadata +1083 -0
@@ -0,0 +1,2876 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ class PaymentIntentUpdateParams < ::Stripe::RequestParams
6
+ class AmountDetails < ::Stripe::RequestParams
7
+ class LineItem < ::Stripe::RequestParams
8
+ class PaymentMethodOptions < ::Stripe::RequestParams
9
+ class Card < ::Stripe::RequestParams
10
+ # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on.
11
+ attr_accessor :commodity_code
12
+
13
+ def initialize(commodity_code: nil)
14
+ @commodity_code = commodity_code
15
+ end
16
+ end
17
+
18
+ class CardPresent < ::Stripe::RequestParams
19
+ # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on.
20
+ attr_accessor :commodity_code
21
+
22
+ def initialize(commodity_code: nil)
23
+ @commodity_code = commodity_code
24
+ end
25
+ end
26
+
27
+ class Klarna < ::Stripe::RequestParams
28
+ # URL to an image for the product. Max length, 4096 characters.
29
+ attr_accessor :image_url
30
+ # URL to the product page. Max length, 4096 characters.
31
+ attr_accessor :product_url
32
+ # Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed.
33
+ attr_accessor :reference
34
+ # Reference for the subscription this line item is for.
35
+ attr_accessor :subscription_reference
36
+
37
+ def initialize(
38
+ image_url: nil,
39
+ product_url: nil,
40
+ reference: nil,
41
+ subscription_reference: nil
42
+ )
43
+ @image_url = image_url
44
+ @product_url = product_url
45
+ @reference = reference
46
+ @subscription_reference = subscription_reference
47
+ end
48
+ end
49
+
50
+ class Paypal < ::Stripe::RequestParams
51
+ # Type of the line item.
52
+ attr_accessor :category
53
+ # Description of the line item.
54
+ attr_accessor :description
55
+ # The Stripe account ID of the connected account that sells the item.
56
+ attr_accessor :sold_by
57
+
58
+ def initialize(category: nil, description: nil, sold_by: nil)
59
+ @category = category
60
+ @description = description
61
+ @sold_by = sold_by
62
+ end
63
+ end
64
+ # This sub-hash contains line item details that are specific to the `card` payment method.
65
+ attr_accessor :card
66
+ # This sub-hash contains line item details that are specific to the `card_present` payment method.
67
+ attr_accessor :card_present
68
+ # This sub-hash contains line item details that are specific to the `klarna` payment method.
69
+ attr_accessor :klarna
70
+ # This sub-hash contains line item details that are specific to the `paypal` payment method.
71
+ attr_accessor :paypal
72
+
73
+ def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil)
74
+ @card = card
75
+ @card_present = card_present
76
+ @klarna = klarna
77
+ @paypal = paypal
78
+ end
79
+ end
80
+
81
+ class Tax < ::Stripe::RequestParams
82
+ # The total amount of tax on a single line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
83
+ #
84
+ # This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field.
85
+ attr_accessor :total_tax_amount
86
+
87
+ def initialize(total_tax_amount: nil)
88
+ @total_tax_amount = total_tax_amount
89
+ end
90
+ end
91
+ # The discount applied on this line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
92
+ #
93
+ # This field is mutually exclusive with the `amount_details[discount_amount]` field.
94
+ attr_accessor :discount_amount
95
+ # Payment method-specific information for line items.
96
+ attr_accessor :payment_method_options
97
+ # The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long.
98
+ attr_accessor :product_code
99
+ # The product name of the line item. Required for L3 rates. At most 1024 characters long.
100
+ #
101
+ # For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For PayPal, this field is truncated to 127 characters.
102
+ attr_accessor :product_name
103
+ # The quantity of items. Required for L3 rates. An integer greater than 0.
104
+ attr_accessor :quantity
105
+ # Contains information about the tax on the item.
106
+ attr_accessor :tax
107
+ # The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
108
+ attr_accessor :unit_cost
109
+ # A unit of measure for the line item, such as gallons, feet, meters, etc.
110
+ attr_accessor :unit_of_measure
111
+
112
+ def initialize(
113
+ discount_amount: nil,
114
+ payment_method_options: nil,
115
+ product_code: nil,
116
+ product_name: nil,
117
+ quantity: nil,
118
+ tax: nil,
119
+ unit_cost: nil,
120
+ unit_of_measure: nil
121
+ )
122
+ @discount_amount = discount_amount
123
+ @payment_method_options = payment_method_options
124
+ @product_code = product_code
125
+ @product_name = product_name
126
+ @quantity = quantity
127
+ @tax = tax
128
+ @unit_cost = unit_cost
129
+ @unit_of_measure = unit_of_measure
130
+ end
131
+ end
132
+
133
+ class Shipping < ::Stripe::RequestParams
134
+ # If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.
135
+ attr_accessor :amount
136
+ # If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens and spaces are allowed.
137
+ attr_accessor :from_postal_code
138
+ # If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens and spaces are allowed.
139
+ attr_accessor :to_postal_code
140
+
141
+ def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
142
+ @amount = amount
143
+ @from_postal_code = from_postal_code
144
+ @to_postal_code = to_postal_code
145
+ end
146
+ end
147
+
148
+ class Tax < ::Stripe::RequestParams
149
+ # The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
150
+ #
151
+ # This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
152
+ attr_accessor :total_tax_amount
153
+
154
+ def initialize(total_tax_amount: nil)
155
+ @total_tax_amount = total_tax_amount
156
+ end
157
+ end
158
+ # The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
159
+ #
160
+ # This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
161
+ attr_accessor :discount_amount
162
+ # Set to `false` to return arithmetic validation errors in the response without failing the request. Use this when you want the operation to proceed regardless of arithmetic errors in the line item data.
163
+ #
164
+ # Omit or set to `true` to immediately return a 400 error when arithmetic validation fails. Use this for strict validation that prevents processing with line item data that has arithmetic inconsistencies.
165
+ #
166
+ # For card payments, Stripe doesn't send line item data to card networks if there's an arithmetic validation error.
167
+ attr_accessor :enforce_arithmetic_validation
168
+ # A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.
169
+ attr_accessor :line_items
170
+ # Contains information about the shipping portion of the amount.
171
+ attr_accessor :shipping
172
+ # Contains information about the tax portion of the amount.
173
+ attr_accessor :tax
174
+
175
+ def initialize(
176
+ discount_amount: nil,
177
+ enforce_arithmetic_validation: nil,
178
+ line_items: nil,
179
+ shipping: nil,
180
+ tax: nil
181
+ )
182
+ @discount_amount = discount_amount
183
+ @enforce_arithmetic_validation = enforce_arithmetic_validation
184
+ @line_items = line_items
185
+ @shipping = shipping
186
+ @tax = tax
187
+ end
188
+ end
189
+
190
+ class Hooks < ::Stripe::RequestParams
191
+ class Inputs < ::Stripe::RequestParams
192
+ class Tax < ::Stripe::RequestParams
193
+ # The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
194
+ attr_accessor :calculation
195
+
196
+ def initialize(calculation: nil)
197
+ @calculation = calculation
198
+ end
199
+ end
200
+ # Tax arguments for automations
201
+ attr_accessor :tax
202
+
203
+ def initialize(tax: nil)
204
+ @tax = tax
205
+ end
206
+ end
207
+ # Arguments passed in automations
208
+ attr_accessor :inputs
209
+
210
+ def initialize(inputs: nil)
211
+ @inputs = inputs
212
+ end
213
+ end
214
+
215
+ class PaymentDetails < ::Stripe::RequestParams
216
+ # A unique value to identify the customer. This field is available only for card payments.
217
+ #
218
+ # This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
219
+ attr_accessor :customer_reference
220
+ # A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
221
+ #
222
+ # For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
223
+ attr_accessor :order_reference
224
+
225
+ def initialize(customer_reference: nil, order_reference: nil)
226
+ @customer_reference = customer_reference
227
+ @order_reference = order_reference
228
+ end
229
+ end
230
+
231
+ class PaymentMethodData < ::Stripe::RequestParams
232
+ class AcssDebit < ::Stripe::RequestParams
233
+ # Customer's bank account number.
234
+ attr_accessor :account_number
235
+ # Institution number of the customer's bank.
236
+ attr_accessor :institution_number
237
+ # Transit number of the customer's bank.
238
+ attr_accessor :transit_number
239
+
240
+ def initialize(account_number: nil, institution_number: nil, transit_number: nil)
241
+ @account_number = account_number
242
+ @institution_number = institution_number
243
+ @transit_number = transit_number
244
+ end
245
+ end
246
+
247
+ class Affirm < ::Stripe::RequestParams; end
248
+ class AfterpayClearpay < ::Stripe::RequestParams; end
249
+ class Alipay < ::Stripe::RequestParams; end
250
+ class Alma < ::Stripe::RequestParams; end
251
+ class AmazonPay < ::Stripe::RequestParams; end
252
+
253
+ class AuBecsDebit < ::Stripe::RequestParams
254
+ # The account number for the bank account.
255
+ attr_accessor :account_number
256
+ # Bank-State-Branch number of the bank account.
257
+ attr_accessor :bsb_number
258
+
259
+ def initialize(account_number: nil, bsb_number: nil)
260
+ @account_number = account_number
261
+ @bsb_number = bsb_number
262
+ end
263
+ end
264
+
265
+ class BacsDebit < ::Stripe::RequestParams
266
+ # Account number of the bank account that the funds will be debited from.
267
+ attr_accessor :account_number
268
+ # Sort code of the bank account. (e.g., `10-20-30`)
269
+ attr_accessor :sort_code
270
+
271
+ def initialize(account_number: nil, sort_code: nil)
272
+ @account_number = account_number
273
+ @sort_code = sort_code
274
+ end
275
+ end
276
+
277
+ class Bancontact < ::Stripe::RequestParams; end
278
+ class Billie < ::Stripe::RequestParams; end
279
+
280
+ class BillingDetails < ::Stripe::RequestParams
281
+ class Address < ::Stripe::RequestParams
282
+ # City, district, suburb, town, or village.
283
+ attr_accessor :city
284
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
285
+ attr_accessor :country
286
+ # Address line 1, such as the street, PO Box, or company name.
287
+ attr_accessor :line1
288
+ # Address line 2, such as the apartment, suite, unit, or building.
289
+ attr_accessor :line2
290
+ # ZIP or postal code.
291
+ attr_accessor :postal_code
292
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
293
+ attr_accessor :state
294
+
295
+ def initialize(
296
+ city: nil,
297
+ country: nil,
298
+ line1: nil,
299
+ line2: nil,
300
+ postal_code: nil,
301
+ state: nil
302
+ )
303
+ @city = city
304
+ @country = country
305
+ @line1 = line1
306
+ @line2 = line2
307
+ @postal_code = postal_code
308
+ @state = state
309
+ end
310
+ end
311
+ # Billing address.
312
+ attr_accessor :address
313
+ # Email address.
314
+ attr_accessor :email
315
+ # Full name.
316
+ attr_accessor :name
317
+ # Billing phone number (including extension).
318
+ attr_accessor :phone
319
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
320
+ attr_accessor :tax_id
321
+
322
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil)
323
+ @address = address
324
+ @email = email
325
+ @name = name
326
+ @phone = phone
327
+ @tax_id = tax_id
328
+ end
329
+ end
330
+
331
+ class Bizum < ::Stripe::RequestParams; end
332
+ class Blik < ::Stripe::RequestParams; end
333
+
334
+ class Boleto < ::Stripe::RequestParams
335
+ # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
336
+ attr_accessor :tax_id
337
+
338
+ def initialize(tax_id: nil)
339
+ @tax_id = tax_id
340
+ end
341
+ end
342
+
343
+ class Cashapp < ::Stripe::RequestParams; end
344
+ class Crypto < ::Stripe::RequestParams; end
345
+ class CustomerBalance < ::Stripe::RequestParams; end
346
+
347
+ class Eps < ::Stripe::RequestParams
348
+ # The customer's bank.
349
+ attr_accessor :bank
350
+
351
+ def initialize(bank: nil)
352
+ @bank = bank
353
+ end
354
+ end
355
+
356
+ class Fpx < ::Stripe::RequestParams
357
+ # Account holder type for FPX transaction
358
+ attr_accessor :account_holder_type
359
+ # The customer's bank.
360
+ attr_accessor :bank
361
+
362
+ def initialize(account_holder_type: nil, bank: nil)
363
+ @account_holder_type = account_holder_type
364
+ @bank = bank
365
+ end
366
+ end
367
+
368
+ class Giropay < ::Stripe::RequestParams; end
369
+ class Grabpay < ::Stripe::RequestParams; end
370
+
371
+ class Ideal < ::Stripe::RequestParams
372
+ # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
373
+ attr_accessor :bank
374
+
375
+ def initialize(bank: nil)
376
+ @bank = bank
377
+ end
378
+ end
379
+
380
+ class InteracPresent < ::Stripe::RequestParams; end
381
+ class KakaoPay < ::Stripe::RequestParams; end
382
+
383
+ class Klarna < ::Stripe::RequestParams
384
+ class Dob < ::Stripe::RequestParams
385
+ # The day of birth, between 1 and 31.
386
+ attr_accessor :day
387
+ # The month of birth, between 1 and 12.
388
+ attr_accessor :month
389
+ # The four-digit year of birth.
390
+ attr_accessor :year
391
+
392
+ def initialize(day: nil, month: nil, year: nil)
393
+ @day = day
394
+ @month = month
395
+ @year = year
396
+ end
397
+ end
398
+ # Customer's date of birth
399
+ attr_accessor :dob
400
+
401
+ def initialize(dob: nil)
402
+ @dob = dob
403
+ end
404
+ end
405
+
406
+ class Konbini < ::Stripe::RequestParams; end
407
+ class KrCard < ::Stripe::RequestParams; end
408
+ class Link < ::Stripe::RequestParams; end
409
+ class MbWay < ::Stripe::RequestParams; end
410
+ class Mobilepay < ::Stripe::RequestParams; end
411
+ class Multibanco < ::Stripe::RequestParams; end
412
+
413
+ class NaverPay < ::Stripe::RequestParams
414
+ # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
415
+ attr_accessor :funding
416
+
417
+ def initialize(funding: nil)
418
+ @funding = funding
419
+ end
420
+ end
421
+
422
+ class NzBankAccount < ::Stripe::RequestParams
423
+ # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.
424
+ attr_accessor :account_holder_name
425
+ # The account number for the bank account.
426
+ attr_accessor :account_number
427
+ # The numeric code for the bank account's bank.
428
+ attr_accessor :bank_code
429
+ # The numeric code for the bank account's bank branch.
430
+ attr_accessor :branch_code
431
+ # Attribute for param field reference
432
+ attr_accessor :reference
433
+ # The suffix of the bank account number.
434
+ attr_accessor :suffix
435
+
436
+ def initialize(
437
+ account_holder_name: nil,
438
+ account_number: nil,
439
+ bank_code: nil,
440
+ branch_code: nil,
441
+ reference: nil,
442
+ suffix: nil
443
+ )
444
+ @account_holder_name = account_holder_name
445
+ @account_number = account_number
446
+ @bank_code = bank_code
447
+ @branch_code = branch_code
448
+ @reference = reference
449
+ @suffix = suffix
450
+ end
451
+ end
452
+
453
+ class Oxxo < ::Stripe::RequestParams; end
454
+
455
+ class P24 < ::Stripe::RequestParams
456
+ # The customer's bank.
457
+ attr_accessor :bank
458
+
459
+ def initialize(bank: nil)
460
+ @bank = bank
461
+ end
462
+ end
463
+
464
+ class PayByBank < ::Stripe::RequestParams; end
465
+ class Payco < ::Stripe::RequestParams; end
466
+ class Paynow < ::Stripe::RequestParams; end
467
+ class Paypal < ::Stripe::RequestParams; end
468
+
469
+ class Payto < ::Stripe::RequestParams
470
+ # The account number for the bank account.
471
+ attr_accessor :account_number
472
+ # Bank-State-Branch number of the bank account.
473
+ attr_accessor :bsb_number
474
+ # The PayID alias for the bank account.
475
+ attr_accessor :pay_id
476
+
477
+ def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
478
+ @account_number = account_number
479
+ @bsb_number = bsb_number
480
+ @pay_id = pay_id
481
+ end
482
+ end
483
+
484
+ class Pix < ::Stripe::RequestParams; end
485
+ class Promptpay < ::Stripe::RequestParams; end
486
+
487
+ class RadarOptions < ::Stripe::RequestParams
488
+ # A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
489
+ attr_accessor :session
490
+
491
+ def initialize(session: nil)
492
+ @session = session
493
+ end
494
+ end
495
+
496
+ class RevolutPay < ::Stripe::RequestParams; end
497
+ class SamsungPay < ::Stripe::RequestParams; end
498
+ class Satispay < ::Stripe::RequestParams; end
499
+ class Scalapay < ::Stripe::RequestParams; end
500
+
501
+ class SepaDebit < ::Stripe::RequestParams
502
+ # IBAN of the bank account.
503
+ attr_accessor :iban
504
+
505
+ def initialize(iban: nil)
506
+ @iban = iban
507
+ end
508
+ end
509
+
510
+ class Sofort < ::Stripe::RequestParams
511
+ # Two-letter ISO code representing the country the bank account is located in.
512
+ attr_accessor :country
513
+
514
+ def initialize(country: nil)
515
+ @country = country
516
+ end
517
+ end
518
+
519
+ class Sunbit < ::Stripe::RequestParams; end
520
+ class Swish < ::Stripe::RequestParams; end
521
+ class Twint < ::Stripe::RequestParams; end
522
+
523
+ class Upi < ::Stripe::RequestParams
524
+ class MandateOptions < ::Stripe::RequestParams
525
+ # Amount to be charged for future payments.
526
+ attr_accessor :amount
527
+ # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
528
+ attr_accessor :amount_type
529
+ # A description of the mandate or subscription that is meant to be displayed to the customer.
530
+ attr_accessor :description
531
+ # End date of the mandate or subscription.
532
+ attr_accessor :end_date
533
+
534
+ def initialize(amount: nil, amount_type: nil, description: nil, end_date: nil)
535
+ @amount = amount
536
+ @amount_type = amount_type
537
+ @description = description
538
+ @end_date = end_date
539
+ end
540
+ end
541
+ # Configuration options for setting up an eMandate
542
+ attr_accessor :mandate_options
543
+
544
+ def initialize(mandate_options: nil)
545
+ @mandate_options = mandate_options
546
+ end
547
+ end
548
+
549
+ class UsBankAccount < ::Stripe::RequestParams
550
+ # Account holder type: individual or company.
551
+ attr_accessor :account_holder_type
552
+ # Account number of the bank account.
553
+ attr_accessor :account_number
554
+ # Account type: checkings or savings. Defaults to checking if omitted.
555
+ attr_accessor :account_type
556
+ # The ID of a Financial Connections Account to use as a payment method.
557
+ attr_accessor :financial_connections_account
558
+ # Routing number of the bank account.
559
+ attr_accessor :routing_number
560
+
561
+ def initialize(
562
+ account_holder_type: nil,
563
+ account_number: nil,
564
+ account_type: nil,
565
+ financial_connections_account: nil,
566
+ routing_number: nil
567
+ )
568
+ @account_holder_type = account_holder_type
569
+ @account_number = account_number
570
+ @account_type = account_type
571
+ @financial_connections_account = financial_connections_account
572
+ @routing_number = routing_number
573
+ end
574
+ end
575
+
576
+ class WechatPay < ::Stripe::RequestParams; end
577
+ class Zip < ::Stripe::RequestParams; end
578
+ # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
579
+ attr_accessor :acss_debit
580
+ # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
581
+ attr_accessor :affirm
582
+ # If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
583
+ attr_accessor :afterpay_clearpay
584
+ # If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
585
+ attr_accessor :alipay
586
+ # This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
587
+ attr_accessor :allow_redisplay
588
+ # If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
589
+ attr_accessor :alma
590
+ # If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
591
+ attr_accessor :amazon_pay
592
+ # If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
593
+ attr_accessor :au_becs_debit
594
+ # If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
595
+ attr_accessor :bacs_debit
596
+ # If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
597
+ attr_accessor :bancontact
598
+ # If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
599
+ attr_accessor :billie
600
+ # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
601
+ attr_accessor :billing_details
602
+ # If this is a `bizum` PaymentMethod, this hash contains details about the Bizum payment method.
603
+ attr_accessor :bizum
604
+ # If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
605
+ attr_accessor :blik
606
+ # If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
607
+ attr_accessor :boleto
608
+ # If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
609
+ attr_accessor :cashapp
610
+ # If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method.
611
+ attr_accessor :crypto
612
+ # If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
613
+ attr_accessor :customer_balance
614
+ # If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
615
+ attr_accessor :eps
616
+ # If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
617
+ attr_accessor :fpx
618
+ # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
619
+ attr_accessor :giropay
620
+ # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
621
+ attr_accessor :grabpay
622
+ # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
623
+ attr_accessor :ideal
624
+ # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
625
+ attr_accessor :interac_present
626
+ # If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
627
+ attr_accessor :kakao_pay
628
+ # If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
629
+ attr_accessor :klarna
630
+ # If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
631
+ attr_accessor :konbini
632
+ # If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
633
+ attr_accessor :kr_card
634
+ # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method (Link is also known as Onelink in the UK).
635
+ attr_accessor :link
636
+ # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
637
+ attr_accessor :mb_way
638
+ # Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
639
+ attr_accessor :metadata
640
+ # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
641
+ attr_accessor :mobilepay
642
+ # If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
643
+ attr_accessor :multibanco
644
+ # If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
645
+ attr_accessor :naver_pay
646
+ # If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.
647
+ attr_accessor :nz_bank_account
648
+ # If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
649
+ attr_accessor :oxxo
650
+ # If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
651
+ attr_accessor :p24
652
+ # If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
653
+ attr_accessor :pay_by_bank
654
+ # If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
655
+ attr_accessor :payco
656
+ # If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
657
+ attr_accessor :paynow
658
+ # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
659
+ attr_accessor :paypal
660
+ # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
661
+ attr_accessor :payto
662
+ # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
663
+ attr_accessor :pix
664
+ # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
665
+ attr_accessor :promptpay
666
+ # Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
667
+ attr_accessor :radar_options
668
+ # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
669
+ attr_accessor :revolut_pay
670
+ # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
671
+ attr_accessor :samsung_pay
672
+ # If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
673
+ attr_accessor :satispay
674
+ # If this is a Scalapay PaymentMethod, this hash contains details about the Scalapay payment method.
675
+ attr_accessor :scalapay
676
+ # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
677
+ attr_accessor :sepa_debit
678
+ # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
679
+ attr_accessor :sofort
680
+ # If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
681
+ attr_accessor :sunbit
682
+ # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
683
+ attr_accessor :swish
684
+ # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
685
+ attr_accessor :twint
686
+ # The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
687
+ attr_accessor :type
688
+ # If this is a `upi` PaymentMethod, this hash contains details about the UPI payment method.
689
+ attr_accessor :upi
690
+ # If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
691
+ attr_accessor :us_bank_account
692
+ # If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
693
+ attr_accessor :wechat_pay
694
+ # If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
695
+ attr_accessor :zip
696
+
697
+ def initialize(
698
+ acss_debit: nil,
699
+ affirm: nil,
700
+ afterpay_clearpay: nil,
701
+ alipay: nil,
702
+ allow_redisplay: nil,
703
+ alma: nil,
704
+ amazon_pay: nil,
705
+ au_becs_debit: nil,
706
+ bacs_debit: nil,
707
+ bancontact: nil,
708
+ billie: nil,
709
+ billing_details: nil,
710
+ bizum: nil,
711
+ blik: nil,
712
+ boleto: nil,
713
+ cashapp: nil,
714
+ crypto: nil,
715
+ customer_balance: nil,
716
+ eps: nil,
717
+ fpx: nil,
718
+ giropay: nil,
719
+ grabpay: nil,
720
+ ideal: nil,
721
+ interac_present: nil,
722
+ kakao_pay: nil,
723
+ klarna: nil,
724
+ konbini: nil,
725
+ kr_card: nil,
726
+ link: nil,
727
+ mb_way: nil,
728
+ metadata: nil,
729
+ mobilepay: nil,
730
+ multibanco: nil,
731
+ naver_pay: nil,
732
+ nz_bank_account: nil,
733
+ oxxo: nil,
734
+ p24: nil,
735
+ pay_by_bank: nil,
736
+ payco: nil,
737
+ paynow: nil,
738
+ paypal: nil,
739
+ payto: nil,
740
+ pix: nil,
741
+ promptpay: nil,
742
+ radar_options: nil,
743
+ revolut_pay: nil,
744
+ samsung_pay: nil,
745
+ satispay: nil,
746
+ scalapay: nil,
747
+ sepa_debit: nil,
748
+ sofort: nil,
749
+ sunbit: nil,
750
+ swish: nil,
751
+ twint: nil,
752
+ type: nil,
753
+ upi: nil,
754
+ us_bank_account: nil,
755
+ wechat_pay: nil,
756
+ zip: nil
757
+ )
758
+ @acss_debit = acss_debit
759
+ @affirm = affirm
760
+ @afterpay_clearpay = afterpay_clearpay
761
+ @alipay = alipay
762
+ @allow_redisplay = allow_redisplay
763
+ @alma = alma
764
+ @amazon_pay = amazon_pay
765
+ @au_becs_debit = au_becs_debit
766
+ @bacs_debit = bacs_debit
767
+ @bancontact = bancontact
768
+ @billie = billie
769
+ @billing_details = billing_details
770
+ @bizum = bizum
771
+ @blik = blik
772
+ @boleto = boleto
773
+ @cashapp = cashapp
774
+ @crypto = crypto
775
+ @customer_balance = customer_balance
776
+ @eps = eps
777
+ @fpx = fpx
778
+ @giropay = giropay
779
+ @grabpay = grabpay
780
+ @ideal = ideal
781
+ @interac_present = interac_present
782
+ @kakao_pay = kakao_pay
783
+ @klarna = klarna
784
+ @konbini = konbini
785
+ @kr_card = kr_card
786
+ @link = link
787
+ @mb_way = mb_way
788
+ @metadata = metadata
789
+ @mobilepay = mobilepay
790
+ @multibanco = multibanco
791
+ @naver_pay = naver_pay
792
+ @nz_bank_account = nz_bank_account
793
+ @oxxo = oxxo
794
+ @p24 = p24
795
+ @pay_by_bank = pay_by_bank
796
+ @payco = payco
797
+ @paynow = paynow
798
+ @paypal = paypal
799
+ @payto = payto
800
+ @pix = pix
801
+ @promptpay = promptpay
802
+ @radar_options = radar_options
803
+ @revolut_pay = revolut_pay
804
+ @samsung_pay = samsung_pay
805
+ @satispay = satispay
806
+ @scalapay = scalapay
807
+ @sepa_debit = sepa_debit
808
+ @sofort = sofort
809
+ @sunbit = sunbit
810
+ @swish = swish
811
+ @twint = twint
812
+ @type = type
813
+ @upi = upi
814
+ @us_bank_account = us_bank_account
815
+ @wechat_pay = wechat_pay
816
+ @zip = zip
817
+ end
818
+ end
819
+
820
+ class PaymentMethodOptions < ::Stripe::RequestParams
821
+ class AcssDebit < ::Stripe::RequestParams
822
+ class MandateOptions < ::Stripe::RequestParams
823
+ # A URL for custom mandate text to render during confirmation step.
824
+ # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
825
+ # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
826
+ attr_accessor :custom_mandate_url
827
+ # Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
828
+ attr_accessor :interval_description
829
+ # Payment schedule for the mandate.
830
+ attr_accessor :payment_schedule
831
+ # Transaction type of the mandate.
832
+ attr_accessor :transaction_type
833
+
834
+ def initialize(
835
+ custom_mandate_url: nil,
836
+ interval_description: nil,
837
+ payment_schedule: nil,
838
+ transaction_type: nil
839
+ )
840
+ @custom_mandate_url = custom_mandate_url
841
+ @interval_description = interval_description
842
+ @payment_schedule = payment_schedule
843
+ @transaction_type = transaction_type
844
+ end
845
+ end
846
+ # Additional fields for Mandate creation
847
+ attr_accessor :mandate_options
848
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
849
+ #
850
+ # 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.
851
+ #
852
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
853
+ #
854
+ # 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).
855
+ #
856
+ # 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`.
857
+ attr_accessor :setup_future_usage
858
+ # Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
859
+ attr_accessor :target_date
860
+ # Bank account verification method. The default value is `automatic`.
861
+ attr_accessor :verification_method
862
+
863
+ def initialize(
864
+ mandate_options: nil,
865
+ setup_future_usage: nil,
866
+ target_date: nil,
867
+ verification_method: nil
868
+ )
869
+ @mandate_options = mandate_options
870
+ @setup_future_usage = setup_future_usage
871
+ @target_date = target_date
872
+ @verification_method = verification_method
873
+ end
874
+ end
875
+
876
+ class Affirm < ::Stripe::RequestParams
877
+ # Controls when the funds are captured from the customer's account.
878
+ #
879
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
880
+ #
881
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
882
+ attr_accessor :capture_method
883
+ # Preferred language of the Affirm authorization page that the customer is redirected to.
884
+ attr_accessor :preferred_locale
885
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
886
+ #
887
+ # 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.
888
+ #
889
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
890
+ #
891
+ # 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).
892
+ #
893
+ # 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`.
894
+ attr_accessor :setup_future_usage
895
+
896
+ def initialize(capture_method: nil, preferred_locale: nil, setup_future_usage: nil)
897
+ @capture_method = capture_method
898
+ @preferred_locale = preferred_locale
899
+ @setup_future_usage = setup_future_usage
900
+ end
901
+ end
902
+
903
+ class AfterpayClearpay < ::Stripe::RequestParams
904
+ # Controls when the funds are captured from the customer's account.
905
+ #
906
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
907
+ #
908
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
909
+ attr_accessor :capture_method
910
+ # An internal identifier or reference that this payment corresponds to. You must limit the identifier to 128 characters, and it can only contain letters, numbers, underscores, backslashes, and dashes.
911
+ # This field differs from the statement descriptor and item name.
912
+ attr_accessor :reference
913
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
914
+ #
915
+ # 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.
916
+ #
917
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
918
+ #
919
+ # 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).
920
+ #
921
+ # 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`.
922
+ attr_accessor :setup_future_usage
923
+
924
+ def initialize(capture_method: nil, reference: nil, setup_future_usage: nil)
925
+ @capture_method = capture_method
926
+ @reference = reference
927
+ @setup_future_usage = setup_future_usage
928
+ end
929
+ end
930
+
931
+ class Alipay < ::Stripe::RequestParams
932
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
933
+ #
934
+ # 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.
935
+ #
936
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
937
+ #
938
+ # 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).
939
+ #
940
+ # 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`.
941
+ attr_accessor :setup_future_usage
942
+
943
+ def initialize(setup_future_usage: nil)
944
+ @setup_future_usage = setup_future_usage
945
+ end
946
+ end
947
+
948
+ class Alma < ::Stripe::RequestParams
949
+ # Controls when the funds are captured from the customer's account.
950
+ #
951
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
952
+ #
953
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
954
+ attr_accessor :capture_method
955
+
956
+ def initialize(capture_method: nil)
957
+ @capture_method = capture_method
958
+ end
959
+ end
960
+
961
+ class AmazonPay < ::Stripe::RequestParams
962
+ # Controls when the funds are captured from the customer's account.
963
+ #
964
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
965
+ #
966
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
967
+ attr_accessor :capture_method
968
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
969
+ #
970
+ # 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.
971
+ #
972
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
973
+ #
974
+ # 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).
975
+ attr_accessor :setup_future_usage
976
+
977
+ def initialize(capture_method: nil, setup_future_usage: nil)
978
+ @capture_method = capture_method
979
+ @setup_future_usage = setup_future_usage
980
+ end
981
+ end
982
+
983
+ class AuBecsDebit < ::Stripe::RequestParams
984
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
985
+ #
986
+ # 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.
987
+ #
988
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
989
+ #
990
+ # 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).
991
+ #
992
+ # 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`.
993
+ attr_accessor :setup_future_usage
994
+ # Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
995
+ attr_accessor :target_date
996
+
997
+ def initialize(setup_future_usage: nil, target_date: nil)
998
+ @setup_future_usage = setup_future_usage
999
+ @target_date = target_date
1000
+ end
1001
+ end
1002
+
1003
+ class BacsDebit < ::Stripe::RequestParams
1004
+ class MandateOptions < ::Stripe::RequestParams
1005
+ # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
1006
+ attr_accessor :reference_prefix
1007
+
1008
+ def initialize(reference_prefix: nil)
1009
+ @reference_prefix = reference_prefix
1010
+ end
1011
+ end
1012
+ # Additional fields for Mandate creation
1013
+ attr_accessor :mandate_options
1014
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1015
+ #
1016
+ # 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.
1017
+ #
1018
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1019
+ #
1020
+ # 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).
1021
+ #
1022
+ # 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`.
1023
+ attr_accessor :setup_future_usage
1024
+ # Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
1025
+ attr_accessor :target_date
1026
+
1027
+ def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil)
1028
+ @mandate_options = mandate_options
1029
+ @setup_future_usage = setup_future_usage
1030
+ @target_date = target_date
1031
+ end
1032
+ end
1033
+
1034
+ class Bancontact < ::Stripe::RequestParams
1035
+ # Preferred language of the Bancontact authorization page that the customer is redirected to.
1036
+ attr_accessor :preferred_language
1037
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1038
+ #
1039
+ # 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.
1040
+ #
1041
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1042
+ #
1043
+ # 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).
1044
+ #
1045
+ # 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`.
1046
+ attr_accessor :setup_future_usage
1047
+
1048
+ def initialize(preferred_language: nil, setup_future_usage: nil)
1049
+ @preferred_language = preferred_language
1050
+ @setup_future_usage = setup_future_usage
1051
+ end
1052
+ end
1053
+
1054
+ class Billie < ::Stripe::RequestParams
1055
+ # Controls when the funds are captured from the customer's account.
1056
+ #
1057
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1058
+ #
1059
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1060
+ attr_accessor :capture_method
1061
+
1062
+ def initialize(capture_method: nil)
1063
+ @capture_method = capture_method
1064
+ end
1065
+ end
1066
+
1067
+ class Bizum < ::Stripe::RequestParams; end
1068
+
1069
+ class Blik < ::Stripe::RequestParams
1070
+ # The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation.
1071
+ attr_accessor :code
1072
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1073
+ #
1074
+ # 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.
1075
+ #
1076
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1077
+ #
1078
+ # 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).
1079
+ #
1080
+ # 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`.
1081
+ attr_accessor :setup_future_usage
1082
+
1083
+ def initialize(code: nil, setup_future_usage: nil)
1084
+ @code = code
1085
+ @setup_future_usage = setup_future_usage
1086
+ end
1087
+ end
1088
+
1089
+ class Boleto < ::Stripe::RequestParams
1090
+ # 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.
1091
+ attr_accessor :expires_after_days
1092
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1093
+ #
1094
+ # 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.
1095
+ #
1096
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1097
+ #
1098
+ # 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).
1099
+ #
1100
+ # 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`.
1101
+ attr_accessor :setup_future_usage
1102
+
1103
+ def initialize(expires_after_days: nil, setup_future_usage: nil)
1104
+ @expires_after_days = expires_after_days
1105
+ @setup_future_usage = setup_future_usage
1106
+ end
1107
+ end
1108
+
1109
+ class Card < ::Stripe::RequestParams
1110
+ class Installments < ::Stripe::RequestParams
1111
+ class Plan < ::Stripe::RequestParams
1112
+ # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.
1113
+ attr_accessor :count
1114
+ # For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card.
1115
+ # One of `month`.
1116
+ attr_accessor :interval
1117
+ # Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.
1118
+ attr_accessor :type
1119
+
1120
+ def initialize(count: nil, interval: nil, type: nil)
1121
+ @count = count
1122
+ @interval = interval
1123
+ @type = type
1124
+ end
1125
+ end
1126
+ # Setting to true enables installments for this PaymentIntent.
1127
+ # This will cause the response to contain a list of available installment plans.
1128
+ # Setting to false will prevent any selected plan from applying to a charge.
1129
+ attr_accessor :enabled
1130
+ # The selected installment plan to use for this payment attempt.
1131
+ # This parameter can only be provided during confirmation.
1132
+ attr_accessor :plan
1133
+
1134
+ def initialize(enabled: nil, plan: nil)
1135
+ @enabled = enabled
1136
+ @plan = plan
1137
+ end
1138
+ end
1139
+
1140
+ class MandateOptions < ::Stripe::RequestParams
1141
+ # Amount to be charged for future payments, specified in the presentment currency.
1142
+ attr_accessor :amount
1143
+ # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
1144
+ attr_accessor :amount_type
1145
+ # A description of the mandate or subscription that is meant to be displayed to the customer.
1146
+ attr_accessor :description
1147
+ # End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
1148
+ attr_accessor :end_date
1149
+ # Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
1150
+ attr_accessor :interval
1151
+ # The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.
1152
+ attr_accessor :interval_count
1153
+ # Unique identifier for the mandate or subscription.
1154
+ attr_accessor :reference
1155
+ # Start date of the mandate or subscription. Start date should not be lesser than yesterday.
1156
+ attr_accessor :start_date
1157
+ # Specifies the type of mandates supported. Possible values are `india`.
1158
+ attr_accessor :supported_types
1159
+
1160
+ def initialize(
1161
+ amount: nil,
1162
+ amount_type: nil,
1163
+ description: nil,
1164
+ end_date: nil,
1165
+ interval: nil,
1166
+ interval_count: nil,
1167
+ reference: nil,
1168
+ start_date: nil,
1169
+ supported_types: nil
1170
+ )
1171
+ @amount = amount
1172
+ @amount_type = amount_type
1173
+ @description = description
1174
+ @end_date = end_date
1175
+ @interval = interval
1176
+ @interval_count = interval_count
1177
+ @reference = reference
1178
+ @start_date = start_date
1179
+ @supported_types = supported_types
1180
+ end
1181
+ end
1182
+
1183
+ class ThreeDSecure < ::Stripe::RequestParams
1184
+ class NetworkOptions < ::Stripe::RequestParams
1185
+ class CartesBancaires < ::Stripe::RequestParams
1186
+ # The cryptogram calculation algorithm used by the card Issuer's ACS
1187
+ # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
1188
+ # messageExtension: CB-AVALGO
1189
+ attr_accessor :cb_avalgo
1190
+ # The exemption indicator returned from Cartes Bancaires in the ARes.
1191
+ # message extension: CB-EXEMPTION; string (4 characters)
1192
+ # This is a 3 byte bitmap (low significant byte first and most significant
1193
+ # bit first) that has been Base64 encoded
1194
+ attr_accessor :cb_exemption
1195
+ # The risk score returned from Cartes Bancaires in the ARes.
1196
+ # message extension: CB-SCORE; numeric value 0-99
1197
+ attr_accessor :cb_score
1198
+
1199
+ def initialize(cb_avalgo: nil, cb_exemption: nil, cb_score: nil)
1200
+ @cb_avalgo = cb_avalgo
1201
+ @cb_exemption = cb_exemption
1202
+ @cb_score = cb_score
1203
+ end
1204
+ end
1205
+ # Cartes Bancaires-specific 3DS fields.
1206
+ attr_accessor :cartes_bancaires
1207
+
1208
+ def initialize(cartes_bancaires: nil)
1209
+ @cartes_bancaires = cartes_bancaires
1210
+ end
1211
+ end
1212
+ # The `transStatus` returned from the card Issuer’s ACS in the ARes.
1213
+ attr_accessor :ares_trans_status
1214
+ # The cryptogram, also known as the "authentication value" (AAV, CAVV or
1215
+ # AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
1216
+ # (Most 3D Secure providers will return the base64-encoded version, which
1217
+ # is what you should specify here.)
1218
+ attr_accessor :cryptogram
1219
+ # The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
1220
+ # provider and indicates what degree of authentication was performed.
1221
+ attr_accessor :electronic_commerce_indicator
1222
+ # The exemption requested via 3DS and accepted by the issuer at authentication time.
1223
+ attr_accessor :exemption_indicator
1224
+ # Network specific 3DS fields. Network specific arguments require an
1225
+ # explicit card brand choice. The parameter `payment_method_options.card.network``
1226
+ # must be populated accordingly
1227
+ attr_accessor :network_options
1228
+ # The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
1229
+ # AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
1230
+ attr_accessor :requestor_challenge_indicator
1231
+ # For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
1232
+ # Transaction ID (dsTransID).
1233
+ attr_accessor :transaction_id
1234
+ # The version of 3D Secure that was performed.
1235
+ attr_accessor :version
1236
+
1237
+ def initialize(
1238
+ ares_trans_status: nil,
1239
+ cryptogram: nil,
1240
+ electronic_commerce_indicator: nil,
1241
+ exemption_indicator: nil,
1242
+ network_options: nil,
1243
+ requestor_challenge_indicator: nil,
1244
+ transaction_id: nil,
1245
+ version: nil
1246
+ )
1247
+ @ares_trans_status = ares_trans_status
1248
+ @cryptogram = cryptogram
1249
+ @electronic_commerce_indicator = electronic_commerce_indicator
1250
+ @exemption_indicator = exemption_indicator
1251
+ @network_options = network_options
1252
+ @requestor_challenge_indicator = requestor_challenge_indicator
1253
+ @transaction_id = transaction_id
1254
+ @version = version
1255
+ end
1256
+ end
1257
+ # Controls when the funds are captured from the customer's account.
1258
+ #
1259
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1260
+ #
1261
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1262
+ attr_accessor :capture_method
1263
+ # A single-use `cvc_update` Token that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation.
1264
+ attr_accessor :cvc_token
1265
+ # Installment configuration for payments attempted on this PaymentIntent.
1266
+ #
1267
+ # For more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).
1268
+ attr_accessor :installments
1269
+ # Configuration options for setting up an eMandate for cards issued in India.
1270
+ attr_accessor :mandate_options
1271
+ # When specified, this parameter indicates that a transaction will be marked
1272
+ # as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
1273
+ # parameter can only be provided during confirmation.
1274
+ attr_accessor :moto
1275
+ # Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.
1276
+ attr_accessor :network
1277
+ # Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
1278
+ attr_accessor :request_extended_authorization
1279
+ # Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
1280
+ attr_accessor :request_incremental_authorization
1281
+ # Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.
1282
+ attr_accessor :request_multicapture
1283
+ # Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
1284
+ attr_accessor :request_overcapture
1285
+ # 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://docs.stripe.com/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://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
1286
+ attr_accessor :request_three_d_secure
1287
+ # When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).
1288
+ attr_accessor :require_cvc_recollection
1289
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1290
+ #
1291
+ # 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.
1292
+ #
1293
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1294
+ #
1295
+ # 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).
1296
+ #
1297
+ # 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`.
1298
+ attr_accessor :setup_future_usage
1299
+ # 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.
1300
+ attr_accessor :statement_descriptor_suffix_kana
1301
+ # 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.
1302
+ attr_accessor :statement_descriptor_suffix_kanji
1303
+ # If 3D Secure authentication was performed with a third-party provider,
1304
+ # the authentication details to use for this payment.
1305
+ attr_accessor :three_d_secure
1306
+
1307
+ def initialize(
1308
+ capture_method: nil,
1309
+ cvc_token: nil,
1310
+ installments: nil,
1311
+ mandate_options: nil,
1312
+ moto: nil,
1313
+ network: nil,
1314
+ request_extended_authorization: nil,
1315
+ request_incremental_authorization: nil,
1316
+ request_multicapture: nil,
1317
+ request_overcapture: nil,
1318
+ request_three_d_secure: nil,
1319
+ require_cvc_recollection: nil,
1320
+ setup_future_usage: nil,
1321
+ statement_descriptor_suffix_kana: nil,
1322
+ statement_descriptor_suffix_kanji: nil,
1323
+ three_d_secure: nil
1324
+ )
1325
+ @capture_method = capture_method
1326
+ @cvc_token = cvc_token
1327
+ @installments = installments
1328
+ @mandate_options = mandate_options
1329
+ @moto = moto
1330
+ @network = network
1331
+ @request_extended_authorization = request_extended_authorization
1332
+ @request_incremental_authorization = request_incremental_authorization
1333
+ @request_multicapture = request_multicapture
1334
+ @request_overcapture = request_overcapture
1335
+ @request_three_d_secure = request_three_d_secure
1336
+ @require_cvc_recollection = require_cvc_recollection
1337
+ @setup_future_usage = setup_future_usage
1338
+ @statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
1339
+ @statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
1340
+ @three_d_secure = three_d_secure
1341
+ end
1342
+ end
1343
+
1344
+ class CardPresent < ::Stripe::RequestParams
1345
+ class Routing < ::Stripe::RequestParams
1346
+ # Routing requested priority
1347
+ attr_accessor :requested_priority
1348
+
1349
+ def initialize(requested_priority: nil)
1350
+ @requested_priority = requested_priority
1351
+ end
1352
+ end
1353
+ # Controls when the funds are captured from the customer's account.
1354
+ #
1355
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1356
+ #
1357
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1358
+ attr_accessor :capture_method
1359
+ # Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
1360
+ attr_accessor :request_extended_authorization
1361
+ # Request ability to [increment](https://docs.stripe.com/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://docs.stripe.com/api/payment_intents/confirm) response to verify support.
1362
+ attr_accessor :request_incremental_authorization_support
1363
+ # Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
1364
+ attr_accessor :routing
1365
+
1366
+ def initialize(
1367
+ capture_method: nil,
1368
+ request_extended_authorization: nil,
1369
+ request_incremental_authorization_support: nil,
1370
+ routing: nil
1371
+ )
1372
+ @capture_method = capture_method
1373
+ @request_extended_authorization = request_extended_authorization
1374
+ @request_incremental_authorization_support = request_incremental_authorization_support
1375
+ @routing = routing
1376
+ end
1377
+ end
1378
+
1379
+ class Cashapp < ::Stripe::RequestParams
1380
+ # Controls when the funds are captured from the customer's account.
1381
+ #
1382
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1383
+ #
1384
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1385
+ attr_accessor :capture_method
1386
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1387
+ #
1388
+ # 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.
1389
+ #
1390
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1391
+ #
1392
+ # 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).
1393
+ #
1394
+ # 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`.
1395
+ attr_accessor :setup_future_usage
1396
+
1397
+ def initialize(capture_method: nil, setup_future_usage: nil)
1398
+ @capture_method = capture_method
1399
+ @setup_future_usage = setup_future_usage
1400
+ end
1401
+ end
1402
+
1403
+ class Crypto < ::Stripe::RequestParams
1404
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1405
+ #
1406
+ # 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.
1407
+ #
1408
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1409
+ #
1410
+ # 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).
1411
+ #
1412
+ # 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`.
1413
+ attr_accessor :setup_future_usage
1414
+
1415
+ def initialize(setup_future_usage: nil)
1416
+ @setup_future_usage = setup_future_usage
1417
+ end
1418
+ end
1419
+
1420
+ class CustomerBalance < ::Stripe::RequestParams
1421
+ class BankTransfer < ::Stripe::RequestParams
1422
+ class EuBankTransfer < ::Stripe::RequestParams
1423
+ # The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`.
1424
+ attr_accessor :country
1425
+
1426
+ def initialize(country: nil)
1427
+ @country = country
1428
+ end
1429
+ end
1430
+ # Configuration for the eu_bank_transfer funding type.
1431
+ attr_accessor :eu_bank_transfer
1432
+ # List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.
1433
+ #
1434
+ # Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
1435
+ attr_accessor :requested_address_types
1436
+ # The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
1437
+ attr_accessor :type
1438
+
1439
+ def initialize(eu_bank_transfer: nil, requested_address_types: nil, type: nil)
1440
+ @eu_bank_transfer = eu_bank_transfer
1441
+ @requested_address_types = requested_address_types
1442
+ @type = type
1443
+ end
1444
+ end
1445
+ # Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
1446
+ attr_accessor :bank_transfer
1447
+ # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
1448
+ attr_accessor :funding_type
1449
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1450
+ #
1451
+ # 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.
1452
+ #
1453
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1454
+ #
1455
+ # 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).
1456
+ #
1457
+ # 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`.
1458
+ attr_accessor :setup_future_usage
1459
+
1460
+ def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil)
1461
+ @bank_transfer = bank_transfer
1462
+ @funding_type = funding_type
1463
+ @setup_future_usage = setup_future_usage
1464
+ end
1465
+ end
1466
+
1467
+ class Eps < ::Stripe::RequestParams
1468
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1469
+ #
1470
+ # 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.
1471
+ #
1472
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1473
+ #
1474
+ # 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).
1475
+ #
1476
+ # 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`.
1477
+ attr_accessor :setup_future_usage
1478
+
1479
+ def initialize(setup_future_usage: nil)
1480
+ @setup_future_usage = setup_future_usage
1481
+ end
1482
+ end
1483
+
1484
+ class Fpx < ::Stripe::RequestParams
1485
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1486
+ #
1487
+ # 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.
1488
+ #
1489
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1490
+ #
1491
+ # 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).
1492
+ #
1493
+ # 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`.
1494
+ attr_accessor :setup_future_usage
1495
+
1496
+ def initialize(setup_future_usage: nil)
1497
+ @setup_future_usage = setup_future_usage
1498
+ end
1499
+ end
1500
+
1501
+ class Giropay < ::Stripe::RequestParams
1502
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1503
+ #
1504
+ # 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.
1505
+ #
1506
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1507
+ #
1508
+ # 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).
1509
+ #
1510
+ # 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`.
1511
+ attr_accessor :setup_future_usage
1512
+
1513
+ def initialize(setup_future_usage: nil)
1514
+ @setup_future_usage = setup_future_usage
1515
+ end
1516
+ end
1517
+
1518
+ class Grabpay < ::Stripe::RequestParams
1519
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1520
+ #
1521
+ # 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.
1522
+ #
1523
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1524
+ #
1525
+ # 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).
1526
+ #
1527
+ # 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`.
1528
+ attr_accessor :setup_future_usage
1529
+
1530
+ def initialize(setup_future_usage: nil)
1531
+ @setup_future_usage = setup_future_usage
1532
+ end
1533
+ end
1534
+
1535
+ class Ideal < ::Stripe::RequestParams
1536
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1537
+ #
1538
+ # 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.
1539
+ #
1540
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1541
+ #
1542
+ # 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).
1543
+ #
1544
+ # 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`.
1545
+ attr_accessor :setup_future_usage
1546
+
1547
+ def initialize(setup_future_usage: nil)
1548
+ @setup_future_usage = setup_future_usage
1549
+ end
1550
+ end
1551
+
1552
+ class InteracPresent < ::Stripe::RequestParams; end
1553
+
1554
+ class KakaoPay < ::Stripe::RequestParams
1555
+ # Controls when the funds are captured from the customer's account.
1556
+ #
1557
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1558
+ #
1559
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1560
+ attr_accessor :capture_method
1561
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1562
+ #
1563
+ # 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.
1564
+ #
1565
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1566
+ #
1567
+ # 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).
1568
+ attr_accessor :setup_future_usage
1569
+
1570
+ def initialize(capture_method: nil, setup_future_usage: nil)
1571
+ @capture_method = capture_method
1572
+ @setup_future_usage = setup_future_usage
1573
+ end
1574
+ end
1575
+
1576
+ class Klarna < ::Stripe::RequestParams
1577
+ class OnDemand < ::Stripe::RequestParams
1578
+ # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc.
1579
+ attr_accessor :average_amount
1580
+ # The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc.
1581
+ attr_accessor :maximum_amount
1582
+ # The lowest or minimum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc.
1583
+ attr_accessor :minimum_amount
1584
+ # Interval at which the customer is making purchases
1585
+ attr_accessor :purchase_interval
1586
+ # The number of `purchase_interval` between charges
1587
+ attr_accessor :purchase_interval_count
1588
+
1589
+ def initialize(
1590
+ average_amount: nil,
1591
+ maximum_amount: nil,
1592
+ minimum_amount: nil,
1593
+ purchase_interval: nil,
1594
+ purchase_interval_count: nil
1595
+ )
1596
+ @average_amount = average_amount
1597
+ @maximum_amount = maximum_amount
1598
+ @minimum_amount = minimum_amount
1599
+ @purchase_interval = purchase_interval
1600
+ @purchase_interval_count = purchase_interval_count
1601
+ end
1602
+ end
1603
+
1604
+ class Subscription < ::Stripe::RequestParams
1605
+ class NextBilling < ::Stripe::RequestParams
1606
+ # The amount of the next charge for the subscription.
1607
+ attr_accessor :amount
1608
+ # The date of the next charge for the subscription in YYYY-MM-DD format.
1609
+ attr_accessor :date
1610
+
1611
+ def initialize(amount: nil, date: nil)
1612
+ @amount = amount
1613
+ @date = date
1614
+ end
1615
+ end
1616
+ # Unit of time between subscription charges.
1617
+ attr_accessor :interval
1618
+ # The number of intervals (specified in the `interval` attribute) between subscription charges. For example, `interval=month` and `interval_count=3` charges every 3 months.
1619
+ attr_accessor :interval_count
1620
+ # Name for subscription.
1621
+ attr_accessor :name
1622
+ # Describes the upcoming charge for this subscription.
1623
+ attr_accessor :next_billing
1624
+ # A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges.
1625
+ attr_accessor :reference
1626
+
1627
+ def initialize(
1628
+ interval: nil,
1629
+ interval_count: nil,
1630
+ name: nil,
1631
+ next_billing: nil,
1632
+ reference: nil
1633
+ )
1634
+ @interval = interval
1635
+ @interval_count = interval_count
1636
+ @name = name
1637
+ @next_billing = next_billing
1638
+ @reference = reference
1639
+ end
1640
+ end
1641
+ # Controls when the funds are captured from the customer's account.
1642
+ #
1643
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1644
+ #
1645
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1646
+ attr_accessor :capture_method
1647
+ # On-demand details if setting up or charging an on-demand payment.
1648
+ attr_accessor :on_demand
1649
+ # Preferred language of the Klarna authorization page that the customer is redirected to
1650
+ attr_accessor :preferred_locale
1651
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1652
+ #
1653
+ # 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.
1654
+ #
1655
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1656
+ #
1657
+ # 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).
1658
+ #
1659
+ # 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`.
1660
+ attr_accessor :setup_future_usage
1661
+ # Subscription details if setting up or charging a subscription.
1662
+ attr_accessor :subscriptions
1663
+
1664
+ def initialize(
1665
+ capture_method: nil,
1666
+ on_demand: nil,
1667
+ preferred_locale: nil,
1668
+ setup_future_usage: nil,
1669
+ subscriptions: nil
1670
+ )
1671
+ @capture_method = capture_method
1672
+ @on_demand = on_demand
1673
+ @preferred_locale = preferred_locale
1674
+ @setup_future_usage = setup_future_usage
1675
+ @subscriptions = subscriptions
1676
+ end
1677
+ end
1678
+
1679
+ class Konbini < ::Stripe::RequestParams
1680
+ # An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. Must not consist of only zeroes and could be rejected in case of insufficient uniqueness. We recommend to use the customer's phone number.
1681
+ attr_accessor :confirmation_number
1682
+ # 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.
1683
+ attr_accessor :expires_after_days
1684
+ # The timestamp at which the Konbini payment instructions will expire. Only one of `expires_after_days` or `expires_at` may be set.
1685
+ attr_accessor :expires_at
1686
+ # A product descriptor of up to 22 characters, which will appear to customers at the convenience store.
1687
+ attr_accessor :product_description
1688
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1689
+ #
1690
+ # 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.
1691
+ #
1692
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1693
+ #
1694
+ # 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).
1695
+ #
1696
+ # 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`.
1697
+ attr_accessor :setup_future_usage
1698
+
1699
+ def initialize(
1700
+ confirmation_number: nil,
1701
+ expires_after_days: nil,
1702
+ expires_at: nil,
1703
+ product_description: nil,
1704
+ setup_future_usage: nil
1705
+ )
1706
+ @confirmation_number = confirmation_number
1707
+ @expires_after_days = expires_after_days
1708
+ @expires_at = expires_at
1709
+ @product_description = product_description
1710
+ @setup_future_usage = setup_future_usage
1711
+ end
1712
+ end
1713
+
1714
+ class KrCard < ::Stripe::RequestParams
1715
+ # Controls when the funds are captured from the customer's account.
1716
+ #
1717
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1718
+ #
1719
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1720
+ attr_accessor :capture_method
1721
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1722
+ #
1723
+ # 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.
1724
+ #
1725
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1726
+ #
1727
+ # 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).
1728
+ attr_accessor :setup_future_usage
1729
+
1730
+ def initialize(capture_method: nil, setup_future_usage: nil)
1731
+ @capture_method = capture_method
1732
+ @setup_future_usage = setup_future_usage
1733
+ end
1734
+ end
1735
+
1736
+ class Link < ::Stripe::RequestParams
1737
+ # Controls when the funds are captured from the customer's account.
1738
+ #
1739
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1740
+ #
1741
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1742
+ attr_accessor :capture_method
1743
+ # [Deprecated] This is a legacy parameter that no longer has any function.
1744
+ attr_accessor :persistent_token
1745
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1746
+ #
1747
+ # 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.
1748
+ #
1749
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1750
+ #
1751
+ # 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).
1752
+ #
1753
+ # 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`.
1754
+ attr_accessor :setup_future_usage
1755
+
1756
+ def initialize(capture_method: nil, persistent_token: nil, setup_future_usage: nil)
1757
+ @capture_method = capture_method
1758
+ @persistent_token = persistent_token
1759
+ @setup_future_usage = setup_future_usage
1760
+ end
1761
+ end
1762
+
1763
+ class MbWay < ::Stripe::RequestParams
1764
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1765
+ #
1766
+ # 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.
1767
+ #
1768
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1769
+ #
1770
+ # 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).
1771
+ #
1772
+ # 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`.
1773
+ attr_accessor :setup_future_usage
1774
+
1775
+ def initialize(setup_future_usage: nil)
1776
+ @setup_future_usage = setup_future_usage
1777
+ end
1778
+ end
1779
+
1780
+ class Mobilepay < ::Stripe::RequestParams
1781
+ # Controls when the funds are captured from the customer's account.
1782
+ #
1783
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1784
+ #
1785
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1786
+ attr_accessor :capture_method
1787
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1788
+ #
1789
+ # 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.
1790
+ #
1791
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1792
+ #
1793
+ # 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).
1794
+ #
1795
+ # 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`.
1796
+ attr_accessor :setup_future_usage
1797
+
1798
+ def initialize(capture_method: nil, setup_future_usage: nil)
1799
+ @capture_method = capture_method
1800
+ @setup_future_usage = setup_future_usage
1801
+ end
1802
+ end
1803
+
1804
+ class Multibanco < ::Stripe::RequestParams
1805
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1806
+ #
1807
+ # 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.
1808
+ #
1809
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1810
+ #
1811
+ # 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).
1812
+ #
1813
+ # 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`.
1814
+ attr_accessor :setup_future_usage
1815
+
1816
+ def initialize(setup_future_usage: nil)
1817
+ @setup_future_usage = setup_future_usage
1818
+ end
1819
+ end
1820
+
1821
+ class NaverPay < ::Stripe::RequestParams
1822
+ # Controls when the funds are captured from the customer's account.
1823
+ #
1824
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1825
+ #
1826
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1827
+ attr_accessor :capture_method
1828
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1829
+ #
1830
+ # 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.
1831
+ #
1832
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1833
+ #
1834
+ # 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).
1835
+ attr_accessor :setup_future_usage
1836
+
1837
+ def initialize(capture_method: nil, setup_future_usage: nil)
1838
+ @capture_method = capture_method
1839
+ @setup_future_usage = setup_future_usage
1840
+ end
1841
+ end
1842
+
1843
+ class NzBankAccount < ::Stripe::RequestParams
1844
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1845
+ #
1846
+ # 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.
1847
+ #
1848
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1849
+ #
1850
+ # 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).
1851
+ #
1852
+ # 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`.
1853
+ attr_accessor :setup_future_usage
1854
+ # Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
1855
+ attr_accessor :target_date
1856
+
1857
+ def initialize(setup_future_usage: nil, target_date: nil)
1858
+ @setup_future_usage = setup_future_usage
1859
+ @target_date = target_date
1860
+ end
1861
+ end
1862
+
1863
+ class Oxxo < ::Stripe::RequestParams
1864
+ # 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.
1865
+ attr_accessor :expires_after_days
1866
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1867
+ #
1868
+ # 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.
1869
+ #
1870
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1871
+ #
1872
+ # 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).
1873
+ #
1874
+ # 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`.
1875
+ attr_accessor :setup_future_usage
1876
+
1877
+ def initialize(expires_after_days: nil, setup_future_usage: nil)
1878
+ @expires_after_days = expires_after_days
1879
+ @setup_future_usage = setup_future_usage
1880
+ end
1881
+ end
1882
+
1883
+ class P24 < ::Stripe::RequestParams
1884
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1885
+ #
1886
+ # 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.
1887
+ #
1888
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1889
+ #
1890
+ # 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).
1891
+ #
1892
+ # 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`.
1893
+ attr_accessor :setup_future_usage
1894
+ # Confirm that the payer has accepted the P24 terms and conditions.
1895
+ attr_accessor :tos_shown_and_accepted
1896
+
1897
+ def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil)
1898
+ @setup_future_usage = setup_future_usage
1899
+ @tos_shown_and_accepted = tos_shown_and_accepted
1900
+ end
1901
+ end
1902
+
1903
+ class PayByBank < ::Stripe::RequestParams; end
1904
+
1905
+ class Payco < ::Stripe::RequestParams
1906
+ # Controls when the funds are captured from the customer's account.
1907
+ #
1908
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1909
+ #
1910
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1911
+ attr_accessor :capture_method
1912
+
1913
+ def initialize(capture_method: nil)
1914
+ @capture_method = capture_method
1915
+ end
1916
+ end
1917
+
1918
+ class Paynow < ::Stripe::RequestParams
1919
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1920
+ #
1921
+ # 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.
1922
+ #
1923
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1924
+ #
1925
+ # 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).
1926
+ #
1927
+ # 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`.
1928
+ attr_accessor :setup_future_usage
1929
+
1930
+ def initialize(setup_future_usage: nil)
1931
+ @setup_future_usage = setup_future_usage
1932
+ end
1933
+ end
1934
+
1935
+ class Paypal < ::Stripe::RequestParams
1936
+ # Controls when the funds will be captured from the customer's account.
1937
+ attr_accessor :capture_method
1938
+ # [Preferred locale](https://docs.stripe.com/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
1939
+ attr_accessor :preferred_locale
1940
+ # 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.
1941
+ attr_accessor :reference
1942
+ # The risk correlation ID for an on-session payment using a saved PayPal payment method.
1943
+ attr_accessor :risk_correlation_id
1944
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1945
+ #
1946
+ # 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.
1947
+ #
1948
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1949
+ #
1950
+ # 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).
1951
+ #
1952
+ # 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`.
1953
+ attr_accessor :setup_future_usage
1954
+
1955
+ def initialize(
1956
+ capture_method: nil,
1957
+ preferred_locale: nil,
1958
+ reference: nil,
1959
+ risk_correlation_id: nil,
1960
+ setup_future_usage: nil
1961
+ )
1962
+ @capture_method = capture_method
1963
+ @preferred_locale = preferred_locale
1964
+ @reference = reference
1965
+ @risk_correlation_id = risk_correlation_id
1966
+ @setup_future_usage = setup_future_usage
1967
+ end
1968
+ end
1969
+
1970
+ class Payto < ::Stripe::RequestParams
1971
+ class MandateOptions < ::Stripe::RequestParams
1972
+ # Amount that will be collected. It is required when `amount_type` is `fixed`.
1973
+ attr_accessor :amount
1974
+ # 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. Defaults to `maximum`.
1975
+ attr_accessor :amount_type
1976
+ # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
1977
+ attr_accessor :end_date
1978
+ # The periodicity at which payments will be collected. Defaults to `adhoc`.
1979
+ attr_accessor :payment_schedule
1980
+ # 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.
1981
+ attr_accessor :payments_per_period
1982
+ # The purpose for which payments are made. Has a default value based on your merchant category code.
1983
+ attr_accessor :purpose
1984
+
1985
+ def initialize(
1986
+ amount: nil,
1987
+ amount_type: nil,
1988
+ end_date: nil,
1989
+ payment_schedule: nil,
1990
+ payments_per_period: nil,
1991
+ purpose: nil
1992
+ )
1993
+ @amount = amount
1994
+ @amount_type = amount_type
1995
+ @end_date = end_date
1996
+ @payment_schedule = payment_schedule
1997
+ @payments_per_period = payments_per_period
1998
+ @purpose = purpose
1999
+ end
2000
+ end
2001
+ # Additional fields for Mandate creation. Only `purpose` field is configurable for PayTo PaymentIntent with `setup_future_usage=none`. Other fields are only applicable to PayTo PaymentIntent with `setup_future_usage=off_session`
2002
+ attr_accessor :mandate_options
2003
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2004
+ #
2005
+ # 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.
2006
+ #
2007
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2008
+ #
2009
+ # 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).
2010
+ #
2011
+ # 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`.
2012
+ attr_accessor :setup_future_usage
2013
+
2014
+ def initialize(mandate_options: nil, setup_future_usage: nil)
2015
+ @mandate_options = mandate_options
2016
+ @setup_future_usage = setup_future_usage
2017
+ end
2018
+ end
2019
+
2020
+ class Pix < ::Stripe::RequestParams
2021
+ class MandateOptions < ::Stripe::RequestParams
2022
+ # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
2023
+ attr_accessor :amount
2024
+ # Determines if the amount includes the IOF tax. Defaults to `never`.
2025
+ attr_accessor :amount_includes_iof
2026
+ # Type of amount. Defaults to `maximum`.
2027
+ attr_accessor :amount_type
2028
+ # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
2029
+ attr_accessor :currency
2030
+ # Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
2031
+ attr_accessor :end_date
2032
+ # Schedule at which the future payments will be charged. Defaults to `monthly`.
2033
+ attr_accessor :payment_schedule
2034
+ # Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
2035
+ attr_accessor :reference
2036
+ # Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
2037
+ attr_accessor :start_date
2038
+
2039
+ def initialize(
2040
+ amount: nil,
2041
+ amount_includes_iof: nil,
2042
+ amount_type: nil,
2043
+ currency: nil,
2044
+ end_date: nil,
2045
+ payment_schedule: nil,
2046
+ reference: nil,
2047
+ start_date: nil
2048
+ )
2049
+ @amount = amount
2050
+ @amount_includes_iof = amount_includes_iof
2051
+ @amount_type = amount_type
2052
+ @currency = currency
2053
+ @end_date = end_date
2054
+ @payment_schedule = payment_schedule
2055
+ @reference = reference
2056
+ @start_date = start_date
2057
+ end
2058
+ end
2059
+ # Determines if the amount includes the IOF tax. Defaults to `never`.
2060
+ attr_accessor :amount_includes_iof
2061
+ # The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
2062
+ attr_accessor :expires_after_seconds
2063
+ # The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
2064
+ attr_accessor :expires_at
2065
+ # Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
2066
+ attr_accessor :mandate_options
2067
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2068
+ #
2069
+ # 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.
2070
+ #
2071
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2072
+ #
2073
+ # 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).
2074
+ attr_accessor :setup_future_usage
2075
+
2076
+ def initialize(
2077
+ amount_includes_iof: nil,
2078
+ expires_after_seconds: nil,
2079
+ expires_at: nil,
2080
+ mandate_options: nil,
2081
+ setup_future_usage: nil
2082
+ )
2083
+ @amount_includes_iof = amount_includes_iof
2084
+ @expires_after_seconds = expires_after_seconds
2085
+ @expires_at = expires_at
2086
+ @mandate_options = mandate_options
2087
+ @setup_future_usage = setup_future_usage
2088
+ end
2089
+ end
2090
+
2091
+ class Promptpay < ::Stripe::RequestParams
2092
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2093
+ #
2094
+ # 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.
2095
+ #
2096
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2097
+ #
2098
+ # 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).
2099
+ #
2100
+ # 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`.
2101
+ attr_accessor :setup_future_usage
2102
+
2103
+ def initialize(setup_future_usage: nil)
2104
+ @setup_future_usage = setup_future_usage
2105
+ end
2106
+ end
2107
+
2108
+ class RevolutPay < ::Stripe::RequestParams
2109
+ # Controls when the funds are captured from the customer's account.
2110
+ #
2111
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
2112
+ #
2113
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
2114
+ attr_accessor :capture_method
2115
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2116
+ #
2117
+ # 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.
2118
+ #
2119
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2120
+ #
2121
+ # 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).
2122
+ attr_accessor :setup_future_usage
2123
+
2124
+ def initialize(capture_method: nil, setup_future_usage: nil)
2125
+ @capture_method = capture_method
2126
+ @setup_future_usage = setup_future_usage
2127
+ end
2128
+ end
2129
+
2130
+ class SamsungPay < ::Stripe::RequestParams
2131
+ # Controls when the funds are captured from the customer's account.
2132
+ #
2133
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
2134
+ #
2135
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
2136
+ attr_accessor :capture_method
2137
+
2138
+ def initialize(capture_method: nil)
2139
+ @capture_method = capture_method
2140
+ end
2141
+ end
2142
+
2143
+ class Satispay < ::Stripe::RequestParams
2144
+ # Controls when the funds are captured from the customer's account.
2145
+ #
2146
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
2147
+ #
2148
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
2149
+ attr_accessor :capture_method
2150
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2151
+ #
2152
+ # 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.
2153
+ #
2154
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2155
+ #
2156
+ # 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).
2157
+ attr_accessor :setup_future_usage
2158
+
2159
+ def initialize(capture_method: nil, setup_future_usage: nil)
2160
+ @capture_method = capture_method
2161
+ @setup_future_usage = setup_future_usage
2162
+ end
2163
+ end
2164
+
2165
+ class Scalapay < ::Stripe::RequestParams
2166
+ # Controls when the funds are captured from the customer's account.
2167
+ #
2168
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
2169
+ #
2170
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
2171
+ attr_accessor :capture_method
2172
+
2173
+ def initialize(capture_method: nil)
2174
+ @capture_method = capture_method
2175
+ end
2176
+ end
2177
+
2178
+ class SepaDebit < ::Stripe::RequestParams
2179
+ class MandateOptions < ::Stripe::RequestParams
2180
+ # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
2181
+ attr_accessor :reference_prefix
2182
+
2183
+ def initialize(reference_prefix: nil)
2184
+ @reference_prefix = reference_prefix
2185
+ end
2186
+ end
2187
+ # Additional fields for Mandate creation
2188
+ attr_accessor :mandate_options
2189
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2190
+ #
2191
+ # 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.
2192
+ #
2193
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2194
+ #
2195
+ # 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).
2196
+ #
2197
+ # 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`.
2198
+ attr_accessor :setup_future_usage
2199
+ # Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
2200
+ attr_accessor :target_date
2201
+
2202
+ def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil)
2203
+ @mandate_options = mandate_options
2204
+ @setup_future_usage = setup_future_usage
2205
+ @target_date = target_date
2206
+ end
2207
+ end
2208
+
2209
+ class Sofort < ::Stripe::RequestParams
2210
+ # Language shown to the payer on redirect.
2211
+ attr_accessor :preferred_language
2212
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2213
+ #
2214
+ # 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.
2215
+ #
2216
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2217
+ #
2218
+ # 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).
2219
+ #
2220
+ # 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`.
2221
+ attr_accessor :setup_future_usage
2222
+
2223
+ def initialize(preferred_language: nil, setup_future_usage: nil)
2224
+ @preferred_language = preferred_language
2225
+ @setup_future_usage = setup_future_usage
2226
+ end
2227
+ end
2228
+
2229
+ class Sunbit < ::Stripe::RequestParams
2230
+ # Controls when the funds are captured from the customer's account.
2231
+ #
2232
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
2233
+ #
2234
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
2235
+ attr_accessor :capture_method
2236
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2237
+ #
2238
+ # 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.
2239
+ #
2240
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2241
+ #
2242
+ # 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).
2243
+ attr_accessor :setup_future_usage
2244
+
2245
+ def initialize(capture_method: nil, setup_future_usage: nil)
2246
+ @capture_method = capture_method
2247
+ @setup_future_usage = setup_future_usage
2248
+ end
2249
+ end
2250
+
2251
+ class Swish < ::Stripe::RequestParams
2252
+ # A reference for this payment to be displayed in the Swish app.
2253
+ attr_accessor :reference
2254
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2255
+ #
2256
+ # 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.
2257
+ #
2258
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2259
+ #
2260
+ # 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).
2261
+ #
2262
+ # 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`.
2263
+ attr_accessor :setup_future_usage
2264
+
2265
+ def initialize(reference: nil, setup_future_usage: nil)
2266
+ @reference = reference
2267
+ @setup_future_usage = setup_future_usage
2268
+ end
2269
+ end
2270
+
2271
+ class Twint < ::Stripe::RequestParams
2272
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2273
+ #
2274
+ # 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.
2275
+ #
2276
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2277
+ #
2278
+ # 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).
2279
+ #
2280
+ # 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`.
2281
+ attr_accessor :setup_future_usage
2282
+
2283
+ def initialize(setup_future_usage: nil)
2284
+ @setup_future_usage = setup_future_usage
2285
+ end
2286
+ end
2287
+
2288
+ class Upi < ::Stripe::RequestParams
2289
+ class MandateOptions < ::Stripe::RequestParams
2290
+ # Amount to be charged for future payments.
2291
+ attr_accessor :amount
2292
+ # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
2293
+ attr_accessor :amount_type
2294
+ # A description of the mandate or subscription that is meant to be displayed to the customer.
2295
+ attr_accessor :description
2296
+ # End date of the mandate or subscription.
2297
+ attr_accessor :end_date
2298
+
2299
+ def initialize(amount: nil, amount_type: nil, description: nil, end_date: nil)
2300
+ @amount = amount
2301
+ @amount_type = amount_type
2302
+ @description = description
2303
+ @end_date = end_date
2304
+ end
2305
+ end
2306
+ # Configuration options for setting up an eMandate
2307
+ attr_accessor :mandate_options
2308
+ # Attribute for param field setup_future_usage
2309
+ attr_accessor :setup_future_usage
2310
+
2311
+ def initialize(mandate_options: nil, setup_future_usage: nil)
2312
+ @mandate_options = mandate_options
2313
+ @setup_future_usage = setup_future_usage
2314
+ end
2315
+ end
2316
+
2317
+ class UsBankAccount < ::Stripe::RequestParams
2318
+ class FinancialConnections < ::Stripe::RequestParams
2319
+ class Filters < ::Stripe::RequestParams
2320
+ # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
2321
+ attr_accessor :account_subcategories
2322
+
2323
+ def initialize(account_subcategories: nil)
2324
+ @account_subcategories = account_subcategories
2325
+ end
2326
+ end
2327
+ # Provide filters for the linked accounts that the customer can select for the payment method.
2328
+ attr_accessor :filters
2329
+ # 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`.
2330
+ attr_accessor :permissions
2331
+ # List of data features that you would like to retrieve upon account creation.
2332
+ attr_accessor :prefetch
2333
+ # For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
2334
+ attr_accessor :return_url
2335
+
2336
+ def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
2337
+ @filters = filters
2338
+ @permissions = permissions
2339
+ @prefetch = prefetch
2340
+ @return_url = return_url
2341
+ end
2342
+ end
2343
+
2344
+ class MandateOptions < ::Stripe::RequestParams
2345
+ # The method used to collect offline mandate customer acceptance.
2346
+ attr_accessor :collection_method
2347
+
2348
+ def initialize(collection_method: nil)
2349
+ @collection_method = collection_method
2350
+ end
2351
+ end
2352
+
2353
+ class Networks < ::Stripe::RequestParams
2354
+ # Triggers validations to run across the selected networks
2355
+ attr_accessor :requested
2356
+
2357
+ def initialize(requested: nil)
2358
+ @requested = requested
2359
+ end
2360
+ end
2361
+ # Additional fields for Financial Connections Session creation
2362
+ attr_accessor :financial_connections
2363
+ # Additional fields for Mandate creation
2364
+ attr_accessor :mandate_options
2365
+ # Additional fields for network related functions
2366
+ attr_accessor :networks
2367
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2368
+ #
2369
+ # 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.
2370
+ #
2371
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2372
+ #
2373
+ # 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).
2374
+ #
2375
+ # 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`.
2376
+ attr_accessor :setup_future_usage
2377
+ # Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
2378
+ attr_accessor :target_date
2379
+ # The purpose of the transaction.
2380
+ attr_accessor :transaction_purpose
2381
+ # Bank account verification method. The default value is `automatic`.
2382
+ attr_accessor :verification_method
2383
+
2384
+ def initialize(
2385
+ financial_connections: nil,
2386
+ mandate_options: nil,
2387
+ networks: nil,
2388
+ setup_future_usage: nil,
2389
+ target_date: nil,
2390
+ transaction_purpose: nil,
2391
+ verification_method: nil
2392
+ )
2393
+ @financial_connections = financial_connections
2394
+ @mandate_options = mandate_options
2395
+ @networks = networks
2396
+ @setup_future_usage = setup_future_usage
2397
+ @target_date = target_date
2398
+ @transaction_purpose = transaction_purpose
2399
+ @verification_method = verification_method
2400
+ end
2401
+ end
2402
+
2403
+ class WechatPay < ::Stripe::RequestParams
2404
+ # The app ID registered with WeChat Pay. Only required when client is ios, android, or mini_program.
2405
+ attr_accessor :app_id
2406
+ # The client type that the end customer will pay from
2407
+ attr_accessor :client
2408
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2409
+ #
2410
+ # 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.
2411
+ #
2412
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2413
+ #
2414
+ # 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).
2415
+ #
2416
+ # 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`.
2417
+ attr_accessor :setup_future_usage
2418
+
2419
+ def initialize(app_id: nil, client: nil, setup_future_usage: nil)
2420
+ @app_id = app_id
2421
+ @client = client
2422
+ @setup_future_usage = setup_future_usage
2423
+ end
2424
+ end
2425
+
2426
+ class Zip < ::Stripe::RequestParams
2427
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2428
+ #
2429
+ # 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.
2430
+ #
2431
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2432
+ #
2433
+ # 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).
2434
+ #
2435
+ # 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`.
2436
+ attr_accessor :setup_future_usage
2437
+
2438
+ def initialize(setup_future_usage: nil)
2439
+ @setup_future_usage = setup_future_usage
2440
+ end
2441
+ end
2442
+ # If this is a `acss_debit` PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.
2443
+ attr_accessor :acss_debit
2444
+ # If this is an `affirm` PaymentMethod, this sub-hash contains details about the Affirm payment method options.
2445
+ attr_accessor :affirm
2446
+ # If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.
2447
+ attr_accessor :afterpay_clearpay
2448
+ # If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options.
2449
+ attr_accessor :alipay
2450
+ # If this is a `alma` PaymentMethod, this sub-hash contains details about the Alma payment method options.
2451
+ attr_accessor :alma
2452
+ # If this is a `amazon_pay` PaymentMethod, this sub-hash contains details about the Amazon Pay payment method options.
2453
+ attr_accessor :amazon_pay
2454
+ # If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.
2455
+ attr_accessor :au_becs_debit
2456
+ # If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options.
2457
+ attr_accessor :bacs_debit
2458
+ # If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
2459
+ attr_accessor :bancontact
2460
+ # If this is a `billie` PaymentMethod, this sub-hash contains details about the Billie payment method options.
2461
+ attr_accessor :billie
2462
+ # If this is a `bizum` PaymentMethod, this sub-hash contains details about the Bizum payment method options.
2463
+ attr_accessor :bizum
2464
+ # If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options.
2465
+ attr_accessor :blik
2466
+ # If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options.
2467
+ attr_accessor :boleto
2468
+ # Configuration for any card payments attempted on this PaymentIntent.
2469
+ attr_accessor :card
2470
+ # If this is a `card_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
2471
+ attr_accessor :card_present
2472
+ # If this is a `cashapp` PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options.
2473
+ attr_accessor :cashapp
2474
+ # If this is a `crypto` PaymentMethod, this sub-hash contains details about the Crypto payment method options.
2475
+ attr_accessor :crypto
2476
+ # If this is a `customer balance` PaymentMethod, this sub-hash contains details about the customer balance payment method options.
2477
+ attr_accessor :customer_balance
2478
+ # If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options.
2479
+ attr_accessor :eps
2480
+ # If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.
2481
+ attr_accessor :fpx
2482
+ # If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
2483
+ attr_accessor :giropay
2484
+ # If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
2485
+ attr_accessor :grabpay
2486
+ # If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
2487
+ attr_accessor :ideal
2488
+ # If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
2489
+ attr_accessor :interac_present
2490
+ # If this is a `kakao_pay` PaymentMethod, this sub-hash contains details about the Kakao Pay payment method options.
2491
+ attr_accessor :kakao_pay
2492
+ # If this is a `klarna` PaymentMethod, this sub-hash contains details about the Klarna payment method options.
2493
+ attr_accessor :klarna
2494
+ # If this is a `konbini` PaymentMethod, this sub-hash contains details about the Konbini payment method options.
2495
+ attr_accessor :konbini
2496
+ # If this is a `kr_card` PaymentMethod, this sub-hash contains details about the KR Card payment method options.
2497
+ attr_accessor :kr_card
2498
+ # If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options (Link is also known as Onelink in the UK).
2499
+ attr_accessor :link
2500
+ # If this is a `mb_way` PaymentMethod, this sub-hash contains details about the MB WAY payment method options.
2501
+ attr_accessor :mb_way
2502
+ # If this is a `MobilePay` PaymentMethod, this sub-hash contains details about the MobilePay payment method options.
2503
+ attr_accessor :mobilepay
2504
+ # If this is a `multibanco` PaymentMethod, this sub-hash contains details about the Multibanco payment method options.
2505
+ attr_accessor :multibanco
2506
+ # If this is a `naver_pay` PaymentMethod, this sub-hash contains details about the Naver Pay payment method options.
2507
+ attr_accessor :naver_pay
2508
+ # If this is a `nz_bank_account` PaymentMethod, this sub-hash contains details about the NZ BECS Direct Debit payment method options.
2509
+ attr_accessor :nz_bank_account
2510
+ # If this is a `oxxo` PaymentMethod, this sub-hash contains details about the OXXO payment method options.
2511
+ attr_accessor :oxxo
2512
+ # If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.
2513
+ attr_accessor :p24
2514
+ # If this is a `pay_by_bank` PaymentMethod, this sub-hash contains details about the PayByBank payment method options.
2515
+ attr_accessor :pay_by_bank
2516
+ # If this is a `payco` PaymentMethod, this sub-hash contains details about the PAYCO payment method options.
2517
+ attr_accessor :payco
2518
+ # If this is a `paynow` PaymentMethod, this sub-hash contains details about the PayNow payment method options.
2519
+ attr_accessor :paynow
2520
+ # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
2521
+ attr_accessor :paypal
2522
+ # If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
2523
+ attr_accessor :payto
2524
+ # If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
2525
+ attr_accessor :pix
2526
+ # If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
2527
+ attr_accessor :promptpay
2528
+ # If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
2529
+ attr_accessor :revolut_pay
2530
+ # If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
2531
+ attr_accessor :samsung_pay
2532
+ # If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options.
2533
+ attr_accessor :satispay
2534
+ # If this is a `scalapay` PaymentMethod, this sub-hash contains details about the ScalaPay payment method options.
2535
+ attr_accessor :scalapay
2536
+ # If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
2537
+ attr_accessor :sepa_debit
2538
+ # If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
2539
+ attr_accessor :sofort
2540
+ # If this is a `sunbit` PaymentMethod, this sub-hash contains details about the Sunbit payment method options.
2541
+ attr_accessor :sunbit
2542
+ # If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
2543
+ attr_accessor :swish
2544
+ # If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
2545
+ attr_accessor :twint
2546
+ # If this is a `upi` PaymentIntent, this sub-hash contains details about the UPI payment method options.
2547
+ attr_accessor :upi
2548
+ # If this is a `us_bank_account` PaymentMethod, this sub-hash contains details about the US bank account payment method options.
2549
+ attr_accessor :us_bank_account
2550
+ # If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options.
2551
+ attr_accessor :wechat_pay
2552
+ # If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options.
2553
+ attr_accessor :zip
2554
+
2555
+ def initialize(
2556
+ acss_debit: nil,
2557
+ affirm: nil,
2558
+ afterpay_clearpay: nil,
2559
+ alipay: nil,
2560
+ alma: nil,
2561
+ amazon_pay: nil,
2562
+ au_becs_debit: nil,
2563
+ bacs_debit: nil,
2564
+ bancontact: nil,
2565
+ billie: nil,
2566
+ bizum: nil,
2567
+ blik: nil,
2568
+ boleto: nil,
2569
+ card: nil,
2570
+ card_present: nil,
2571
+ cashapp: nil,
2572
+ crypto: nil,
2573
+ customer_balance: nil,
2574
+ eps: nil,
2575
+ fpx: nil,
2576
+ giropay: nil,
2577
+ grabpay: nil,
2578
+ ideal: nil,
2579
+ interac_present: nil,
2580
+ kakao_pay: nil,
2581
+ klarna: nil,
2582
+ konbini: nil,
2583
+ kr_card: nil,
2584
+ link: nil,
2585
+ mb_way: nil,
2586
+ mobilepay: nil,
2587
+ multibanco: nil,
2588
+ naver_pay: nil,
2589
+ nz_bank_account: nil,
2590
+ oxxo: nil,
2591
+ p24: nil,
2592
+ pay_by_bank: nil,
2593
+ payco: nil,
2594
+ paynow: nil,
2595
+ paypal: nil,
2596
+ payto: nil,
2597
+ pix: nil,
2598
+ promptpay: nil,
2599
+ revolut_pay: nil,
2600
+ samsung_pay: nil,
2601
+ satispay: nil,
2602
+ scalapay: nil,
2603
+ sepa_debit: nil,
2604
+ sofort: nil,
2605
+ sunbit: nil,
2606
+ swish: nil,
2607
+ twint: nil,
2608
+ upi: nil,
2609
+ us_bank_account: nil,
2610
+ wechat_pay: nil,
2611
+ zip: nil
2612
+ )
2613
+ @acss_debit = acss_debit
2614
+ @affirm = affirm
2615
+ @afterpay_clearpay = afterpay_clearpay
2616
+ @alipay = alipay
2617
+ @alma = alma
2618
+ @amazon_pay = amazon_pay
2619
+ @au_becs_debit = au_becs_debit
2620
+ @bacs_debit = bacs_debit
2621
+ @bancontact = bancontact
2622
+ @billie = billie
2623
+ @bizum = bizum
2624
+ @blik = blik
2625
+ @boleto = boleto
2626
+ @card = card
2627
+ @card_present = card_present
2628
+ @cashapp = cashapp
2629
+ @crypto = crypto
2630
+ @customer_balance = customer_balance
2631
+ @eps = eps
2632
+ @fpx = fpx
2633
+ @giropay = giropay
2634
+ @grabpay = grabpay
2635
+ @ideal = ideal
2636
+ @interac_present = interac_present
2637
+ @kakao_pay = kakao_pay
2638
+ @klarna = klarna
2639
+ @konbini = konbini
2640
+ @kr_card = kr_card
2641
+ @link = link
2642
+ @mb_way = mb_way
2643
+ @mobilepay = mobilepay
2644
+ @multibanco = multibanco
2645
+ @naver_pay = naver_pay
2646
+ @nz_bank_account = nz_bank_account
2647
+ @oxxo = oxxo
2648
+ @p24 = p24
2649
+ @pay_by_bank = pay_by_bank
2650
+ @payco = payco
2651
+ @paynow = paynow
2652
+ @paypal = paypal
2653
+ @payto = payto
2654
+ @pix = pix
2655
+ @promptpay = promptpay
2656
+ @revolut_pay = revolut_pay
2657
+ @samsung_pay = samsung_pay
2658
+ @satispay = satispay
2659
+ @scalapay = scalapay
2660
+ @sepa_debit = sepa_debit
2661
+ @sofort = sofort
2662
+ @sunbit = sunbit
2663
+ @swish = swish
2664
+ @twint = twint
2665
+ @upi = upi
2666
+ @us_bank_account = us_bank_account
2667
+ @wechat_pay = wechat_pay
2668
+ @zip = zip
2669
+ end
2670
+ end
2671
+
2672
+ class Shipping < ::Stripe::RequestParams
2673
+ class Address < ::Stripe::RequestParams
2674
+ # City, district, suburb, town, or village.
2675
+ attr_accessor :city
2676
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2677
+ attr_accessor :country
2678
+ # Address line 1, such as the street, PO Box, or company name.
2679
+ attr_accessor :line1
2680
+ # Address line 2, such as the apartment, suite, unit, or building.
2681
+ attr_accessor :line2
2682
+ # ZIP or postal code.
2683
+ attr_accessor :postal_code
2684
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
2685
+ attr_accessor :state
2686
+
2687
+ def initialize(
2688
+ city: nil,
2689
+ country: nil,
2690
+ line1: nil,
2691
+ line2: nil,
2692
+ postal_code: nil,
2693
+ state: nil
2694
+ )
2695
+ @city = city
2696
+ @country = country
2697
+ @line1 = line1
2698
+ @line2 = line2
2699
+ @postal_code = postal_code
2700
+ @state = state
2701
+ end
2702
+ end
2703
+ # Shipping address.
2704
+ attr_accessor :address
2705
+ # The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
2706
+ attr_accessor :carrier
2707
+ # Recipient name.
2708
+ attr_accessor :name
2709
+ # Recipient phone (including extension).
2710
+ attr_accessor :phone
2711
+ # 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.
2712
+ attr_accessor :tracking_number
2713
+
2714
+ def initialize(address: nil, carrier: nil, name: nil, phone: nil, tracking_number: nil)
2715
+ @address = address
2716
+ @carrier = carrier
2717
+ @name = name
2718
+ @phone = phone
2719
+ @tracking_number = tracking_number
2720
+ end
2721
+ end
2722
+
2723
+ class TransferData < ::Stripe::RequestParams
2724
+ class PaymentData < ::Stripe::RequestParams
2725
+ # An arbitrary string attached to the destination payment. Often useful for displaying to users.
2726
+ attr_accessor :description
2727
+ # Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
2728
+ attr_accessor :metadata
2729
+
2730
+ def initialize(description: nil, metadata: nil)
2731
+ @description = description
2732
+ @metadata = metadata
2733
+ end
2734
+ end
2735
+ # The amount that will be transferred automatically when a charge succeeds.
2736
+ attr_accessor :amount
2737
+ # An arbitrary string attached to the transfer. Often useful for displaying to users.
2738
+ attr_accessor :description
2739
+ # Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
2740
+ attr_accessor :metadata
2741
+ # The data with which to populate the destination payment.
2742
+ attr_accessor :payment_data
2743
+
2744
+ def initialize(amount: nil, description: nil, metadata: nil, payment_data: nil)
2745
+ @amount = amount
2746
+ @description = description
2747
+ @metadata = metadata
2748
+ @payment_data = payment_data
2749
+ end
2750
+ end
2751
+ # Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
2752
+ attr_accessor :amount
2753
+ # Provides industry-specific information about the amount.
2754
+ attr_accessor :amount_details
2755
+ # 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 amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
2756
+ attr_accessor :application_fee_amount
2757
+ # Controls when the funds will be captured from the customer's account.
2758
+ attr_accessor :capture_method
2759
+ # 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).
2760
+ attr_accessor :currency
2761
+ # ID of the Customer this PaymentIntent belongs to, if one exists.
2762
+ #
2763
+ # Payment methods attached to other Customers cannot be used with this PaymentIntent.
2764
+ #
2765
+ # If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
2766
+ attr_accessor :customer
2767
+ # ID of the Account representing the customer that this PaymentIntent belongs to, if one exists.
2768
+ #
2769
+ # Payment methods attached to other Accounts cannot be used with this PaymentIntent.
2770
+ #
2771
+ # If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
2772
+ attr_accessor :customer_account
2773
+ # An arbitrary string attached to the object. Often useful for displaying to users.
2774
+ attr_accessor :description
2775
+ # The list of payment method types to exclude from use with this payment.
2776
+ attr_accessor :excluded_payment_method_types
2777
+ # Specifies which fields in the response should be expanded.
2778
+ attr_accessor :expand
2779
+ # Automations to be run during the PaymentIntent lifecycle
2780
+ attr_accessor :hooks
2781
+ # Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2782
+ attr_accessor :metadata
2783
+ # Provides industry-specific information about the charge.
2784
+ attr_accessor :payment_details
2785
+ # ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://docs.stripe.com/payments/payment-methods/transitioning#compatibility) object) to attach to this PaymentIntent. To unset this field to null, pass in an empty string.
2786
+ attr_accessor :payment_method
2787
+ # The ID of the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) to use with this PaymentIntent.
2788
+ attr_accessor :payment_method_configuration
2789
+ # If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear
2790
+ # in the [payment_method](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method)
2791
+ # property on the PaymentIntent.
2792
+ attr_accessor :payment_method_data
2793
+ # Payment-method-specific configuration for this PaymentIntent.
2794
+ attr_accessor :payment_method_options
2795
+ # The list of payment method types (for example, card) that this PaymentIntent can use. Use `automatic_payment_methods` to manage payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods). A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
2796
+ attr_accessor :payment_method_types
2797
+ # 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).
2798
+ attr_accessor :receipt_email
2799
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2800
+ #
2801
+ # 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.
2802
+ #
2803
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2804
+ #
2805
+ # 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).
2806
+ #
2807
+ # 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`.
2808
+ attr_accessor :setup_future_usage
2809
+ # Shipping information for this PaymentIntent.
2810
+ attr_accessor :shipping
2811
+ # 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).
2812
+ #
2813
+ # 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.
2814
+ attr_accessor :statement_descriptor
2815
+ # 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.
2816
+ attr_accessor :statement_descriptor_suffix
2817
+ # Use this parameter to automatically create a Transfer when the payment succeeds. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
2818
+ attr_accessor :transfer_data
2819
+ # A string that identifies the resulting payment as part of a group. You can only provide `transfer_group` if it hasn't been set. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
2820
+ attr_accessor :transfer_group
2821
+
2822
+ def initialize(
2823
+ amount: nil,
2824
+ amount_details: nil,
2825
+ application_fee_amount: nil,
2826
+ capture_method: nil,
2827
+ currency: nil,
2828
+ customer: nil,
2829
+ customer_account: nil,
2830
+ description: nil,
2831
+ excluded_payment_method_types: nil,
2832
+ expand: nil,
2833
+ hooks: nil,
2834
+ metadata: nil,
2835
+ payment_details: nil,
2836
+ payment_method: nil,
2837
+ payment_method_configuration: nil,
2838
+ payment_method_data: nil,
2839
+ payment_method_options: nil,
2840
+ payment_method_types: nil,
2841
+ receipt_email: nil,
2842
+ setup_future_usage: nil,
2843
+ shipping: nil,
2844
+ statement_descriptor: nil,
2845
+ statement_descriptor_suffix: nil,
2846
+ transfer_data: nil,
2847
+ transfer_group: nil
2848
+ )
2849
+ @amount = amount
2850
+ @amount_details = amount_details
2851
+ @application_fee_amount = application_fee_amount
2852
+ @capture_method = capture_method
2853
+ @currency = currency
2854
+ @customer = customer
2855
+ @customer_account = customer_account
2856
+ @description = description
2857
+ @excluded_payment_method_types = excluded_payment_method_types
2858
+ @expand = expand
2859
+ @hooks = hooks
2860
+ @metadata = metadata
2861
+ @payment_details = payment_details
2862
+ @payment_method = payment_method
2863
+ @payment_method_configuration = payment_method_configuration
2864
+ @payment_method_data = payment_method_data
2865
+ @payment_method_options = payment_method_options
2866
+ @payment_method_types = payment_method_types
2867
+ @receipt_email = receipt_email
2868
+ @setup_future_usage = setup_future_usage
2869
+ @shipping = shipping
2870
+ @statement_descriptor = statement_descriptor
2871
+ @statement_descriptor_suffix = statement_descriptor_suffix
2872
+ @transfer_data = transfer_data
2873
+ @transfer_group = transfer_group
2874
+ end
2875
+ end
2876
+ end