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,3009 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ class PaymentIntentCreateParams < ::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 AutomaticPaymentMethods < ::Stripe::RequestParams
191
+ # Controls whether this PaymentIntent will accept redirect-based payment methods.
192
+ #
193
+ # Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://docs.stripe.com/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment.
194
+ attr_accessor :allow_redirects
195
+ # Whether this feature is enabled.
196
+ attr_accessor :enabled
197
+
198
+ def initialize(allow_redirects: nil, enabled: nil)
199
+ @allow_redirects = allow_redirects
200
+ @enabled = enabled
201
+ end
202
+ end
203
+
204
+ class Hooks < ::Stripe::RequestParams
205
+ class Inputs < ::Stripe::RequestParams
206
+ class Tax < ::Stripe::RequestParams
207
+ # The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
208
+ attr_accessor :calculation
209
+
210
+ def initialize(calculation: nil)
211
+ @calculation = calculation
212
+ end
213
+ end
214
+ # Tax arguments for automations
215
+ attr_accessor :tax
216
+
217
+ def initialize(tax: nil)
218
+ @tax = tax
219
+ end
220
+ end
221
+ # Arguments passed in automations
222
+ attr_accessor :inputs
223
+
224
+ def initialize(inputs: nil)
225
+ @inputs = inputs
226
+ end
227
+ end
228
+
229
+ class MandateData < ::Stripe::RequestParams
230
+ class CustomerAcceptance < ::Stripe::RequestParams
231
+ class Offline < ::Stripe::RequestParams; end
232
+
233
+ class Online < ::Stripe::RequestParams
234
+ # The IP address from which the Mandate was accepted by the customer.
235
+ attr_accessor :ip_address
236
+ # The user agent of the browser from which the Mandate was accepted by the customer.
237
+ attr_accessor :user_agent
238
+
239
+ def initialize(ip_address: nil, user_agent: nil)
240
+ @ip_address = ip_address
241
+ @user_agent = user_agent
242
+ end
243
+ end
244
+ # The time at which the customer accepted the Mandate.
245
+ attr_accessor :accepted_at
246
+ # If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
247
+ attr_accessor :offline
248
+ # If this is a Mandate accepted online, this hash contains details about the online acceptance.
249
+ attr_accessor :online
250
+ # The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
251
+ attr_accessor :type
252
+
253
+ def initialize(accepted_at: nil, offline: nil, online: nil, type: nil)
254
+ @accepted_at = accepted_at
255
+ @offline = offline
256
+ @online = online
257
+ @type = type
258
+ end
259
+ end
260
+ # This hash contains details about the customer acceptance of the Mandate.
261
+ attr_accessor :customer_acceptance
262
+
263
+ def initialize(customer_acceptance: nil)
264
+ @customer_acceptance = customer_acceptance
265
+ end
266
+ end
267
+
268
+ class PaymentDetails < ::Stripe::RequestParams
269
+ # A unique value to identify the customer. This field is available only for card payments.
270
+ #
271
+ # This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
272
+ attr_accessor :customer_reference
273
+ # A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
274
+ #
275
+ # 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.
276
+ attr_accessor :order_reference
277
+
278
+ def initialize(customer_reference: nil, order_reference: nil)
279
+ @customer_reference = customer_reference
280
+ @order_reference = order_reference
281
+ end
282
+ end
283
+
284
+ class PaymentMethodData < ::Stripe::RequestParams
285
+ class AcssDebit < ::Stripe::RequestParams
286
+ # Customer's bank account number.
287
+ attr_accessor :account_number
288
+ # Institution number of the customer's bank.
289
+ attr_accessor :institution_number
290
+ # Transit number of the customer's bank.
291
+ attr_accessor :transit_number
292
+
293
+ def initialize(account_number: nil, institution_number: nil, transit_number: nil)
294
+ @account_number = account_number
295
+ @institution_number = institution_number
296
+ @transit_number = transit_number
297
+ end
298
+ end
299
+
300
+ class Affirm < ::Stripe::RequestParams; end
301
+ class AfterpayClearpay < ::Stripe::RequestParams; end
302
+ class Alipay < ::Stripe::RequestParams; end
303
+ class Alma < ::Stripe::RequestParams; end
304
+ class AmazonPay < ::Stripe::RequestParams; end
305
+
306
+ class AuBecsDebit < ::Stripe::RequestParams
307
+ # The account number for the bank account.
308
+ attr_accessor :account_number
309
+ # Bank-State-Branch number of the bank account.
310
+ attr_accessor :bsb_number
311
+
312
+ def initialize(account_number: nil, bsb_number: nil)
313
+ @account_number = account_number
314
+ @bsb_number = bsb_number
315
+ end
316
+ end
317
+
318
+ class BacsDebit < ::Stripe::RequestParams
319
+ # Account number of the bank account that the funds will be debited from.
320
+ attr_accessor :account_number
321
+ # Sort code of the bank account. (e.g., `10-20-30`)
322
+ attr_accessor :sort_code
323
+
324
+ def initialize(account_number: nil, sort_code: nil)
325
+ @account_number = account_number
326
+ @sort_code = sort_code
327
+ end
328
+ end
329
+
330
+ class Bancontact < ::Stripe::RequestParams; end
331
+ class Billie < ::Stripe::RequestParams; end
332
+
333
+ class BillingDetails < ::Stripe::RequestParams
334
+ class Address < ::Stripe::RequestParams
335
+ # City, district, suburb, town, or village.
336
+ attr_accessor :city
337
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
338
+ attr_accessor :country
339
+ # Address line 1, such as the street, PO Box, or company name.
340
+ attr_accessor :line1
341
+ # Address line 2, such as the apartment, suite, unit, or building.
342
+ attr_accessor :line2
343
+ # ZIP or postal code.
344
+ attr_accessor :postal_code
345
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
346
+ attr_accessor :state
347
+
348
+ def initialize(
349
+ city: nil,
350
+ country: nil,
351
+ line1: nil,
352
+ line2: nil,
353
+ postal_code: nil,
354
+ state: nil
355
+ )
356
+ @city = city
357
+ @country = country
358
+ @line1 = line1
359
+ @line2 = line2
360
+ @postal_code = postal_code
361
+ @state = state
362
+ end
363
+ end
364
+ # Billing address.
365
+ attr_accessor :address
366
+ # Email address.
367
+ attr_accessor :email
368
+ # Full name.
369
+ attr_accessor :name
370
+ # Billing phone number (including extension).
371
+ attr_accessor :phone
372
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
373
+ attr_accessor :tax_id
374
+
375
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil)
376
+ @address = address
377
+ @email = email
378
+ @name = name
379
+ @phone = phone
380
+ @tax_id = tax_id
381
+ end
382
+ end
383
+
384
+ class Bizum < ::Stripe::RequestParams; end
385
+ class Blik < ::Stripe::RequestParams; end
386
+
387
+ class Boleto < ::Stripe::RequestParams
388
+ # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
389
+ attr_accessor :tax_id
390
+
391
+ def initialize(tax_id: nil)
392
+ @tax_id = tax_id
393
+ end
394
+ end
395
+
396
+ class Cashapp < ::Stripe::RequestParams; end
397
+ class Crypto < ::Stripe::RequestParams; end
398
+ class CustomerBalance < ::Stripe::RequestParams; end
399
+
400
+ class Eps < ::Stripe::RequestParams
401
+ # The customer's bank.
402
+ attr_accessor :bank
403
+
404
+ def initialize(bank: nil)
405
+ @bank = bank
406
+ end
407
+ end
408
+
409
+ class Fpx < ::Stripe::RequestParams
410
+ # Account holder type for FPX transaction
411
+ attr_accessor :account_holder_type
412
+ # The customer's bank.
413
+ attr_accessor :bank
414
+
415
+ def initialize(account_holder_type: nil, bank: nil)
416
+ @account_holder_type = account_holder_type
417
+ @bank = bank
418
+ end
419
+ end
420
+
421
+ class Giropay < ::Stripe::RequestParams; end
422
+ class Grabpay < ::Stripe::RequestParams; end
423
+
424
+ class Ideal < ::Stripe::RequestParams
425
+ # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
426
+ attr_accessor :bank
427
+
428
+ def initialize(bank: nil)
429
+ @bank = bank
430
+ end
431
+ end
432
+
433
+ class InteracPresent < ::Stripe::RequestParams; end
434
+ class KakaoPay < ::Stripe::RequestParams; end
435
+
436
+ class Klarna < ::Stripe::RequestParams
437
+ class Dob < ::Stripe::RequestParams
438
+ # The day of birth, between 1 and 31.
439
+ attr_accessor :day
440
+ # The month of birth, between 1 and 12.
441
+ attr_accessor :month
442
+ # The four-digit year of birth.
443
+ attr_accessor :year
444
+
445
+ def initialize(day: nil, month: nil, year: nil)
446
+ @day = day
447
+ @month = month
448
+ @year = year
449
+ end
450
+ end
451
+ # Customer's date of birth
452
+ attr_accessor :dob
453
+
454
+ def initialize(dob: nil)
455
+ @dob = dob
456
+ end
457
+ end
458
+
459
+ class Konbini < ::Stripe::RequestParams; end
460
+ class KrCard < ::Stripe::RequestParams; end
461
+ class Link < ::Stripe::RequestParams; end
462
+ class MbWay < ::Stripe::RequestParams; end
463
+ class Mobilepay < ::Stripe::RequestParams; end
464
+ class Multibanco < ::Stripe::RequestParams; end
465
+
466
+ class NaverPay < ::Stripe::RequestParams
467
+ # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
468
+ attr_accessor :funding
469
+
470
+ def initialize(funding: nil)
471
+ @funding = funding
472
+ end
473
+ end
474
+
475
+ class NzBankAccount < ::Stripe::RequestParams
476
+ # 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.
477
+ attr_accessor :account_holder_name
478
+ # The account number for the bank account.
479
+ attr_accessor :account_number
480
+ # The numeric code for the bank account's bank.
481
+ attr_accessor :bank_code
482
+ # The numeric code for the bank account's bank branch.
483
+ attr_accessor :branch_code
484
+ # Attribute for param field reference
485
+ attr_accessor :reference
486
+ # The suffix of the bank account number.
487
+ attr_accessor :suffix
488
+
489
+ def initialize(
490
+ account_holder_name: nil,
491
+ account_number: nil,
492
+ bank_code: nil,
493
+ branch_code: nil,
494
+ reference: nil,
495
+ suffix: nil
496
+ )
497
+ @account_holder_name = account_holder_name
498
+ @account_number = account_number
499
+ @bank_code = bank_code
500
+ @branch_code = branch_code
501
+ @reference = reference
502
+ @suffix = suffix
503
+ end
504
+ end
505
+
506
+ class Oxxo < ::Stripe::RequestParams; end
507
+
508
+ class P24 < ::Stripe::RequestParams
509
+ # The customer's bank.
510
+ attr_accessor :bank
511
+
512
+ def initialize(bank: nil)
513
+ @bank = bank
514
+ end
515
+ end
516
+
517
+ class PayByBank < ::Stripe::RequestParams; end
518
+ class Payco < ::Stripe::RequestParams; end
519
+ class Paynow < ::Stripe::RequestParams; end
520
+ class Paypal < ::Stripe::RequestParams; end
521
+
522
+ class Payto < ::Stripe::RequestParams
523
+ # The account number for the bank account.
524
+ attr_accessor :account_number
525
+ # Bank-State-Branch number of the bank account.
526
+ attr_accessor :bsb_number
527
+ # The PayID alias for the bank account.
528
+ attr_accessor :pay_id
529
+
530
+ def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
531
+ @account_number = account_number
532
+ @bsb_number = bsb_number
533
+ @pay_id = pay_id
534
+ end
535
+ end
536
+
537
+ class Pix < ::Stripe::RequestParams; end
538
+ class Promptpay < ::Stripe::RequestParams; end
539
+
540
+ class RadarOptions < ::Stripe::RequestParams
541
+ # 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.
542
+ attr_accessor :session
543
+
544
+ def initialize(session: nil)
545
+ @session = session
546
+ end
547
+ end
548
+
549
+ class RevolutPay < ::Stripe::RequestParams; end
550
+ class SamsungPay < ::Stripe::RequestParams; end
551
+ class Satispay < ::Stripe::RequestParams; end
552
+ class Scalapay < ::Stripe::RequestParams; end
553
+
554
+ class SepaDebit < ::Stripe::RequestParams
555
+ # IBAN of the bank account.
556
+ attr_accessor :iban
557
+
558
+ def initialize(iban: nil)
559
+ @iban = iban
560
+ end
561
+ end
562
+
563
+ class Sofort < ::Stripe::RequestParams
564
+ # Two-letter ISO code representing the country the bank account is located in.
565
+ attr_accessor :country
566
+
567
+ def initialize(country: nil)
568
+ @country = country
569
+ end
570
+ end
571
+
572
+ class Sunbit < ::Stripe::RequestParams; end
573
+ class Swish < ::Stripe::RequestParams; end
574
+ class Twint < ::Stripe::RequestParams; end
575
+
576
+ class Upi < ::Stripe::RequestParams
577
+ class MandateOptions < ::Stripe::RequestParams
578
+ # Amount to be charged for future payments.
579
+ attr_accessor :amount
580
+ # 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.
581
+ attr_accessor :amount_type
582
+ # A description of the mandate or subscription that is meant to be displayed to the customer.
583
+ attr_accessor :description
584
+ # End date of the mandate or subscription.
585
+ attr_accessor :end_date
586
+
587
+ def initialize(amount: nil, amount_type: nil, description: nil, end_date: nil)
588
+ @amount = amount
589
+ @amount_type = amount_type
590
+ @description = description
591
+ @end_date = end_date
592
+ end
593
+ end
594
+ # Configuration options for setting up an eMandate
595
+ attr_accessor :mandate_options
596
+
597
+ def initialize(mandate_options: nil)
598
+ @mandate_options = mandate_options
599
+ end
600
+ end
601
+
602
+ class UsBankAccount < ::Stripe::RequestParams
603
+ # Account holder type: individual or company.
604
+ attr_accessor :account_holder_type
605
+ # Account number of the bank account.
606
+ attr_accessor :account_number
607
+ # Account type: checkings or savings. Defaults to checking if omitted.
608
+ attr_accessor :account_type
609
+ # The ID of a Financial Connections Account to use as a payment method.
610
+ attr_accessor :financial_connections_account
611
+ # Routing number of the bank account.
612
+ attr_accessor :routing_number
613
+
614
+ def initialize(
615
+ account_holder_type: nil,
616
+ account_number: nil,
617
+ account_type: nil,
618
+ financial_connections_account: nil,
619
+ routing_number: nil
620
+ )
621
+ @account_holder_type = account_holder_type
622
+ @account_number = account_number
623
+ @account_type = account_type
624
+ @financial_connections_account = financial_connections_account
625
+ @routing_number = routing_number
626
+ end
627
+ end
628
+
629
+ class WechatPay < ::Stripe::RequestParams; end
630
+ class Zip < ::Stripe::RequestParams; end
631
+ # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
632
+ attr_accessor :acss_debit
633
+ # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
634
+ attr_accessor :affirm
635
+ # If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
636
+ attr_accessor :afterpay_clearpay
637
+ # If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
638
+ attr_accessor :alipay
639
+ # 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`.
640
+ attr_accessor :allow_redisplay
641
+ # If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
642
+ attr_accessor :alma
643
+ # If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
644
+ attr_accessor :amazon_pay
645
+ # If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
646
+ attr_accessor :au_becs_debit
647
+ # If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
648
+ attr_accessor :bacs_debit
649
+ # If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
650
+ attr_accessor :bancontact
651
+ # If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
652
+ attr_accessor :billie
653
+ # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
654
+ attr_accessor :billing_details
655
+ # If this is a `bizum` PaymentMethod, this hash contains details about the Bizum payment method.
656
+ attr_accessor :bizum
657
+ # If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
658
+ attr_accessor :blik
659
+ # If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
660
+ attr_accessor :boleto
661
+ # If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
662
+ attr_accessor :cashapp
663
+ # If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method.
664
+ attr_accessor :crypto
665
+ # If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
666
+ attr_accessor :customer_balance
667
+ # If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
668
+ attr_accessor :eps
669
+ # If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
670
+ attr_accessor :fpx
671
+ # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
672
+ attr_accessor :giropay
673
+ # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
674
+ attr_accessor :grabpay
675
+ # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
676
+ attr_accessor :ideal
677
+ # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
678
+ attr_accessor :interac_present
679
+ # If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
680
+ attr_accessor :kakao_pay
681
+ # If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
682
+ attr_accessor :klarna
683
+ # If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
684
+ attr_accessor :konbini
685
+ # If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
686
+ attr_accessor :kr_card
687
+ # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method (Link is also known as Onelink in the UK).
688
+ attr_accessor :link
689
+ # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
690
+ attr_accessor :mb_way
691
+ # 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`.
692
+ attr_accessor :metadata
693
+ # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
694
+ attr_accessor :mobilepay
695
+ # If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
696
+ attr_accessor :multibanco
697
+ # If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
698
+ attr_accessor :naver_pay
699
+ # If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.
700
+ attr_accessor :nz_bank_account
701
+ # If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
702
+ attr_accessor :oxxo
703
+ # If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
704
+ attr_accessor :p24
705
+ # If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
706
+ attr_accessor :pay_by_bank
707
+ # If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
708
+ attr_accessor :payco
709
+ # If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
710
+ attr_accessor :paynow
711
+ # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
712
+ attr_accessor :paypal
713
+ # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
714
+ attr_accessor :payto
715
+ # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
716
+ attr_accessor :pix
717
+ # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
718
+ attr_accessor :promptpay
719
+ # Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
720
+ attr_accessor :radar_options
721
+ # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
722
+ attr_accessor :revolut_pay
723
+ # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
724
+ attr_accessor :samsung_pay
725
+ # If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
726
+ attr_accessor :satispay
727
+ # If this is a Scalapay PaymentMethod, this hash contains details about the Scalapay payment method.
728
+ attr_accessor :scalapay
729
+ # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
730
+ attr_accessor :sepa_debit
731
+ # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
732
+ attr_accessor :sofort
733
+ # If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
734
+ attr_accessor :sunbit
735
+ # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
736
+ attr_accessor :swish
737
+ # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
738
+ attr_accessor :twint
739
+ # 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.
740
+ attr_accessor :type
741
+ # If this is a `upi` PaymentMethod, this hash contains details about the UPI payment method.
742
+ attr_accessor :upi
743
+ # If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
744
+ attr_accessor :us_bank_account
745
+ # If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
746
+ attr_accessor :wechat_pay
747
+ # If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
748
+ attr_accessor :zip
749
+
750
+ def initialize(
751
+ acss_debit: nil,
752
+ affirm: nil,
753
+ afterpay_clearpay: nil,
754
+ alipay: nil,
755
+ allow_redisplay: nil,
756
+ alma: nil,
757
+ amazon_pay: nil,
758
+ au_becs_debit: nil,
759
+ bacs_debit: nil,
760
+ bancontact: nil,
761
+ billie: nil,
762
+ billing_details: nil,
763
+ bizum: nil,
764
+ blik: nil,
765
+ boleto: nil,
766
+ cashapp: nil,
767
+ crypto: nil,
768
+ customer_balance: nil,
769
+ eps: nil,
770
+ fpx: nil,
771
+ giropay: nil,
772
+ grabpay: nil,
773
+ ideal: nil,
774
+ interac_present: nil,
775
+ kakao_pay: nil,
776
+ klarna: nil,
777
+ konbini: nil,
778
+ kr_card: nil,
779
+ link: nil,
780
+ mb_way: nil,
781
+ metadata: nil,
782
+ mobilepay: nil,
783
+ multibanco: nil,
784
+ naver_pay: nil,
785
+ nz_bank_account: nil,
786
+ oxxo: nil,
787
+ p24: nil,
788
+ pay_by_bank: nil,
789
+ payco: nil,
790
+ paynow: nil,
791
+ paypal: nil,
792
+ payto: nil,
793
+ pix: nil,
794
+ promptpay: nil,
795
+ radar_options: nil,
796
+ revolut_pay: nil,
797
+ samsung_pay: nil,
798
+ satispay: nil,
799
+ scalapay: nil,
800
+ sepa_debit: nil,
801
+ sofort: nil,
802
+ sunbit: nil,
803
+ swish: nil,
804
+ twint: nil,
805
+ type: nil,
806
+ upi: nil,
807
+ us_bank_account: nil,
808
+ wechat_pay: nil,
809
+ zip: nil
810
+ )
811
+ @acss_debit = acss_debit
812
+ @affirm = affirm
813
+ @afterpay_clearpay = afterpay_clearpay
814
+ @alipay = alipay
815
+ @allow_redisplay = allow_redisplay
816
+ @alma = alma
817
+ @amazon_pay = amazon_pay
818
+ @au_becs_debit = au_becs_debit
819
+ @bacs_debit = bacs_debit
820
+ @bancontact = bancontact
821
+ @billie = billie
822
+ @billing_details = billing_details
823
+ @bizum = bizum
824
+ @blik = blik
825
+ @boleto = boleto
826
+ @cashapp = cashapp
827
+ @crypto = crypto
828
+ @customer_balance = customer_balance
829
+ @eps = eps
830
+ @fpx = fpx
831
+ @giropay = giropay
832
+ @grabpay = grabpay
833
+ @ideal = ideal
834
+ @interac_present = interac_present
835
+ @kakao_pay = kakao_pay
836
+ @klarna = klarna
837
+ @konbini = konbini
838
+ @kr_card = kr_card
839
+ @link = link
840
+ @mb_way = mb_way
841
+ @metadata = metadata
842
+ @mobilepay = mobilepay
843
+ @multibanco = multibanco
844
+ @naver_pay = naver_pay
845
+ @nz_bank_account = nz_bank_account
846
+ @oxxo = oxxo
847
+ @p24 = p24
848
+ @pay_by_bank = pay_by_bank
849
+ @payco = payco
850
+ @paynow = paynow
851
+ @paypal = paypal
852
+ @payto = payto
853
+ @pix = pix
854
+ @promptpay = promptpay
855
+ @radar_options = radar_options
856
+ @revolut_pay = revolut_pay
857
+ @samsung_pay = samsung_pay
858
+ @satispay = satispay
859
+ @scalapay = scalapay
860
+ @sepa_debit = sepa_debit
861
+ @sofort = sofort
862
+ @sunbit = sunbit
863
+ @swish = swish
864
+ @twint = twint
865
+ @type = type
866
+ @upi = upi
867
+ @us_bank_account = us_bank_account
868
+ @wechat_pay = wechat_pay
869
+ @zip = zip
870
+ end
871
+ end
872
+
873
+ class PaymentMethodOptions < ::Stripe::RequestParams
874
+ class AcssDebit < ::Stripe::RequestParams
875
+ class MandateOptions < ::Stripe::RequestParams
876
+ # A URL for custom mandate text to render during confirmation step.
877
+ # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
878
+ # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
879
+ attr_accessor :custom_mandate_url
880
+ # Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
881
+ attr_accessor :interval_description
882
+ # Payment schedule for the mandate.
883
+ attr_accessor :payment_schedule
884
+ # Transaction type of the mandate.
885
+ attr_accessor :transaction_type
886
+
887
+ def initialize(
888
+ custom_mandate_url: nil,
889
+ interval_description: nil,
890
+ payment_schedule: nil,
891
+ transaction_type: nil
892
+ )
893
+ @custom_mandate_url = custom_mandate_url
894
+ @interval_description = interval_description
895
+ @payment_schedule = payment_schedule
896
+ @transaction_type = transaction_type
897
+ end
898
+ end
899
+ # Additional fields for Mandate creation
900
+ attr_accessor :mandate_options
901
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
902
+ #
903
+ # 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.
904
+ #
905
+ # 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.
906
+ #
907
+ # 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).
908
+ #
909
+ # 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`.
910
+ attr_accessor :setup_future_usage
911
+ # 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.
912
+ attr_accessor :target_date
913
+ # Bank account verification method. The default value is `automatic`.
914
+ attr_accessor :verification_method
915
+
916
+ def initialize(
917
+ mandate_options: nil,
918
+ setup_future_usage: nil,
919
+ target_date: nil,
920
+ verification_method: nil
921
+ )
922
+ @mandate_options = mandate_options
923
+ @setup_future_usage = setup_future_usage
924
+ @target_date = target_date
925
+ @verification_method = verification_method
926
+ end
927
+ end
928
+
929
+ class Affirm < ::Stripe::RequestParams
930
+ # Controls when the funds are captured from the customer's account.
931
+ #
932
+ # 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.
933
+ #
934
+ # 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.
935
+ attr_accessor :capture_method
936
+ # Preferred language of the Affirm authorization page that the customer is redirected to.
937
+ attr_accessor :preferred_locale
938
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
939
+ #
940
+ # 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.
941
+ #
942
+ # 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.
943
+ #
944
+ # 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).
945
+ #
946
+ # 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`.
947
+ attr_accessor :setup_future_usage
948
+
949
+ def initialize(capture_method: nil, preferred_locale: nil, setup_future_usage: nil)
950
+ @capture_method = capture_method
951
+ @preferred_locale = preferred_locale
952
+ @setup_future_usage = setup_future_usage
953
+ end
954
+ end
955
+
956
+ class AfterpayClearpay < ::Stripe::RequestParams
957
+ # Controls when the funds are captured from the customer's account.
958
+ #
959
+ # 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.
960
+ #
961
+ # 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.
962
+ attr_accessor :capture_method
963
+ # 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.
964
+ # This field differs from the statement descriptor and item name.
965
+ attr_accessor :reference
966
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
967
+ #
968
+ # 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.
969
+ #
970
+ # 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.
971
+ #
972
+ # 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).
973
+ #
974
+ # 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`.
975
+ attr_accessor :setup_future_usage
976
+
977
+ def initialize(capture_method: nil, reference: nil, setup_future_usage: nil)
978
+ @capture_method = capture_method
979
+ @reference = reference
980
+ @setup_future_usage = setup_future_usage
981
+ end
982
+ end
983
+
984
+ class Alipay < ::Stripe::RequestParams
985
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
986
+ #
987
+ # 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.
988
+ #
989
+ # 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.
990
+ #
991
+ # 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).
992
+ #
993
+ # 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`.
994
+ attr_accessor :setup_future_usage
995
+
996
+ def initialize(setup_future_usage: nil)
997
+ @setup_future_usage = setup_future_usage
998
+ end
999
+ end
1000
+
1001
+ class Alma < ::Stripe::RequestParams
1002
+ # Controls when the funds are captured from the customer's account.
1003
+ #
1004
+ # 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.
1005
+ #
1006
+ # 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.
1007
+ attr_accessor :capture_method
1008
+
1009
+ def initialize(capture_method: nil)
1010
+ @capture_method = capture_method
1011
+ end
1012
+ end
1013
+
1014
+ class AmazonPay < ::Stripe::RequestParams
1015
+ # Controls when the funds are captured from the customer's account.
1016
+ #
1017
+ # 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.
1018
+ #
1019
+ # 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.
1020
+ attr_accessor :capture_method
1021
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1022
+ #
1023
+ # 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.
1024
+ #
1025
+ # 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.
1026
+ #
1027
+ # 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).
1028
+ attr_accessor :setup_future_usage
1029
+
1030
+ def initialize(capture_method: nil, setup_future_usage: nil)
1031
+ @capture_method = capture_method
1032
+ @setup_future_usage = setup_future_usage
1033
+ end
1034
+ end
1035
+
1036
+ class AuBecsDebit < ::Stripe::RequestParams
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
+ # 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.
1048
+ attr_accessor :target_date
1049
+
1050
+ def initialize(setup_future_usage: nil, target_date: nil)
1051
+ @setup_future_usage = setup_future_usage
1052
+ @target_date = target_date
1053
+ end
1054
+ end
1055
+
1056
+ class BacsDebit < ::Stripe::RequestParams
1057
+ class MandateOptions < ::Stripe::RequestParams
1058
+ # 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'.
1059
+ attr_accessor :reference_prefix
1060
+
1061
+ def initialize(reference_prefix: nil)
1062
+ @reference_prefix = reference_prefix
1063
+ end
1064
+ end
1065
+ # Additional fields for Mandate creation
1066
+ attr_accessor :mandate_options
1067
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1068
+ #
1069
+ # 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.
1070
+ #
1071
+ # 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.
1072
+ #
1073
+ # 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).
1074
+ #
1075
+ # 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`.
1076
+ attr_accessor :setup_future_usage
1077
+ # 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.
1078
+ attr_accessor :target_date
1079
+
1080
+ def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil)
1081
+ @mandate_options = mandate_options
1082
+ @setup_future_usage = setup_future_usage
1083
+ @target_date = target_date
1084
+ end
1085
+ end
1086
+
1087
+ class Bancontact < ::Stripe::RequestParams
1088
+ # Preferred language of the Bancontact authorization page that the customer is redirected to.
1089
+ attr_accessor :preferred_language
1090
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1091
+ #
1092
+ # 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.
1093
+ #
1094
+ # 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.
1095
+ #
1096
+ # 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).
1097
+ #
1098
+ # 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`.
1099
+ attr_accessor :setup_future_usage
1100
+
1101
+ def initialize(preferred_language: nil, setup_future_usage: nil)
1102
+ @preferred_language = preferred_language
1103
+ @setup_future_usage = setup_future_usage
1104
+ end
1105
+ end
1106
+
1107
+ class Billie < ::Stripe::RequestParams
1108
+ # Controls when the funds are captured from the customer's account.
1109
+ #
1110
+ # 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.
1111
+ #
1112
+ # 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.
1113
+ attr_accessor :capture_method
1114
+
1115
+ def initialize(capture_method: nil)
1116
+ @capture_method = capture_method
1117
+ end
1118
+ end
1119
+
1120
+ class Bizum < ::Stripe::RequestParams; end
1121
+
1122
+ class Blik < ::Stripe::RequestParams
1123
+ # The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation.
1124
+ attr_accessor :code
1125
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1126
+ #
1127
+ # 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.
1128
+ #
1129
+ # 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.
1130
+ #
1131
+ # 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).
1132
+ #
1133
+ # 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`.
1134
+ attr_accessor :setup_future_usage
1135
+
1136
+ def initialize(code: nil, setup_future_usage: nil)
1137
+ @code = code
1138
+ @setup_future_usage = setup_future_usage
1139
+ end
1140
+ end
1141
+
1142
+ class Boleto < ::Stripe::RequestParams
1143
+ # 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.
1144
+ attr_accessor :expires_after_days
1145
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1146
+ #
1147
+ # 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.
1148
+ #
1149
+ # 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.
1150
+ #
1151
+ # 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).
1152
+ #
1153
+ # 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`.
1154
+ attr_accessor :setup_future_usage
1155
+
1156
+ def initialize(expires_after_days: nil, setup_future_usage: nil)
1157
+ @expires_after_days = expires_after_days
1158
+ @setup_future_usage = setup_future_usage
1159
+ end
1160
+ end
1161
+
1162
+ class Card < ::Stripe::RequestParams
1163
+ class Installments < ::Stripe::RequestParams
1164
+ class Plan < ::Stripe::RequestParams
1165
+ # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.
1166
+ attr_accessor :count
1167
+ # For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card.
1168
+ # One of `month`.
1169
+ attr_accessor :interval
1170
+ # Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.
1171
+ attr_accessor :type
1172
+
1173
+ def initialize(count: nil, interval: nil, type: nil)
1174
+ @count = count
1175
+ @interval = interval
1176
+ @type = type
1177
+ end
1178
+ end
1179
+ # Setting to true enables installments for this PaymentIntent.
1180
+ # This will cause the response to contain a list of available installment plans.
1181
+ # Setting to false will prevent any selected plan from applying to a charge.
1182
+ attr_accessor :enabled
1183
+ # The selected installment plan to use for this payment attempt.
1184
+ # This parameter can only be provided during confirmation.
1185
+ attr_accessor :plan
1186
+
1187
+ def initialize(enabled: nil, plan: nil)
1188
+ @enabled = enabled
1189
+ @plan = plan
1190
+ end
1191
+ end
1192
+
1193
+ class MandateOptions < ::Stripe::RequestParams
1194
+ # Amount to be charged for future payments, specified in the presentment currency.
1195
+ attr_accessor :amount
1196
+ # 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.
1197
+ attr_accessor :amount_type
1198
+ # A description of the mandate or subscription that is meant to be displayed to the customer.
1199
+ attr_accessor :description
1200
+ # 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.
1201
+ attr_accessor :end_date
1202
+ # Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
1203
+ attr_accessor :interval
1204
+ # 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`.
1205
+ attr_accessor :interval_count
1206
+ # Unique identifier for the mandate or subscription.
1207
+ attr_accessor :reference
1208
+ # Start date of the mandate or subscription. Start date should not be lesser than yesterday.
1209
+ attr_accessor :start_date
1210
+ # Specifies the type of mandates supported. Possible values are `india`.
1211
+ attr_accessor :supported_types
1212
+
1213
+ def initialize(
1214
+ amount: nil,
1215
+ amount_type: nil,
1216
+ description: nil,
1217
+ end_date: nil,
1218
+ interval: nil,
1219
+ interval_count: nil,
1220
+ reference: nil,
1221
+ start_date: nil,
1222
+ supported_types: nil
1223
+ )
1224
+ @amount = amount
1225
+ @amount_type = amount_type
1226
+ @description = description
1227
+ @end_date = end_date
1228
+ @interval = interval
1229
+ @interval_count = interval_count
1230
+ @reference = reference
1231
+ @start_date = start_date
1232
+ @supported_types = supported_types
1233
+ end
1234
+ end
1235
+
1236
+ class ThreeDSecure < ::Stripe::RequestParams
1237
+ class NetworkOptions < ::Stripe::RequestParams
1238
+ class CartesBancaires < ::Stripe::RequestParams
1239
+ # The cryptogram calculation algorithm used by the card Issuer's ACS
1240
+ # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
1241
+ # messageExtension: CB-AVALGO
1242
+ attr_accessor :cb_avalgo
1243
+ # The exemption indicator returned from Cartes Bancaires in the ARes.
1244
+ # message extension: CB-EXEMPTION; string (4 characters)
1245
+ # This is a 3 byte bitmap (low significant byte first and most significant
1246
+ # bit first) that has been Base64 encoded
1247
+ attr_accessor :cb_exemption
1248
+ # The risk score returned from Cartes Bancaires in the ARes.
1249
+ # message extension: CB-SCORE; numeric value 0-99
1250
+ attr_accessor :cb_score
1251
+
1252
+ def initialize(cb_avalgo: nil, cb_exemption: nil, cb_score: nil)
1253
+ @cb_avalgo = cb_avalgo
1254
+ @cb_exemption = cb_exemption
1255
+ @cb_score = cb_score
1256
+ end
1257
+ end
1258
+ # Cartes Bancaires-specific 3DS fields.
1259
+ attr_accessor :cartes_bancaires
1260
+
1261
+ def initialize(cartes_bancaires: nil)
1262
+ @cartes_bancaires = cartes_bancaires
1263
+ end
1264
+ end
1265
+ # The `transStatus` returned from the card Issuer’s ACS in the ARes.
1266
+ attr_accessor :ares_trans_status
1267
+ # The cryptogram, also known as the "authentication value" (AAV, CAVV or
1268
+ # AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
1269
+ # (Most 3D Secure providers will return the base64-encoded version, which
1270
+ # is what you should specify here.)
1271
+ attr_accessor :cryptogram
1272
+ # The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
1273
+ # provider and indicates what degree of authentication was performed.
1274
+ attr_accessor :electronic_commerce_indicator
1275
+ # The exemption requested via 3DS and accepted by the issuer at authentication time.
1276
+ attr_accessor :exemption_indicator
1277
+ # Network specific 3DS fields. Network specific arguments require an
1278
+ # explicit card brand choice. The parameter `payment_method_options.card.network``
1279
+ # must be populated accordingly
1280
+ attr_accessor :network_options
1281
+ # The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
1282
+ # AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
1283
+ attr_accessor :requestor_challenge_indicator
1284
+ # For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
1285
+ # Transaction ID (dsTransID).
1286
+ attr_accessor :transaction_id
1287
+ # The version of 3D Secure that was performed.
1288
+ attr_accessor :version
1289
+
1290
+ def initialize(
1291
+ ares_trans_status: nil,
1292
+ cryptogram: nil,
1293
+ electronic_commerce_indicator: nil,
1294
+ exemption_indicator: nil,
1295
+ network_options: nil,
1296
+ requestor_challenge_indicator: nil,
1297
+ transaction_id: nil,
1298
+ version: nil
1299
+ )
1300
+ @ares_trans_status = ares_trans_status
1301
+ @cryptogram = cryptogram
1302
+ @electronic_commerce_indicator = electronic_commerce_indicator
1303
+ @exemption_indicator = exemption_indicator
1304
+ @network_options = network_options
1305
+ @requestor_challenge_indicator = requestor_challenge_indicator
1306
+ @transaction_id = transaction_id
1307
+ @version = version
1308
+ end
1309
+ end
1310
+ # Controls when the funds are captured from the customer's account.
1311
+ #
1312
+ # 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.
1313
+ #
1314
+ # 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.
1315
+ attr_accessor :capture_method
1316
+ # 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.
1317
+ attr_accessor :cvc_token
1318
+ # Installment configuration for payments attempted on this PaymentIntent.
1319
+ #
1320
+ # For more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).
1321
+ attr_accessor :installments
1322
+ # Configuration options for setting up an eMandate for cards issued in India.
1323
+ attr_accessor :mandate_options
1324
+ # When specified, this parameter indicates that a transaction will be marked
1325
+ # as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
1326
+ # parameter can only be provided during confirmation.
1327
+ attr_accessor :moto
1328
+ # 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.
1329
+ attr_accessor :network
1330
+ # Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
1331
+ attr_accessor :request_extended_authorization
1332
+ # Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
1333
+ attr_accessor :request_incremental_authorization
1334
+ # Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.
1335
+ attr_accessor :request_multicapture
1336
+ # Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
1337
+ attr_accessor :request_overcapture
1338
+ # 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.
1339
+ attr_accessor :request_three_d_secure
1340
+ # 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).
1341
+ attr_accessor :require_cvc_recollection
1342
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1343
+ #
1344
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1345
+ #
1346
+ # 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.
1347
+ #
1348
+ # 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).
1349
+ #
1350
+ # 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`.
1351
+ attr_accessor :setup_future_usage
1352
+ # 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.
1353
+ attr_accessor :statement_descriptor_suffix_kana
1354
+ # 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.
1355
+ attr_accessor :statement_descriptor_suffix_kanji
1356
+ # If 3D Secure authentication was performed with a third-party provider,
1357
+ # the authentication details to use for this payment.
1358
+ attr_accessor :three_d_secure
1359
+
1360
+ def initialize(
1361
+ capture_method: nil,
1362
+ cvc_token: nil,
1363
+ installments: nil,
1364
+ mandate_options: nil,
1365
+ moto: nil,
1366
+ network: nil,
1367
+ request_extended_authorization: nil,
1368
+ request_incremental_authorization: nil,
1369
+ request_multicapture: nil,
1370
+ request_overcapture: nil,
1371
+ request_three_d_secure: nil,
1372
+ require_cvc_recollection: nil,
1373
+ setup_future_usage: nil,
1374
+ statement_descriptor_suffix_kana: nil,
1375
+ statement_descriptor_suffix_kanji: nil,
1376
+ three_d_secure: nil
1377
+ )
1378
+ @capture_method = capture_method
1379
+ @cvc_token = cvc_token
1380
+ @installments = installments
1381
+ @mandate_options = mandate_options
1382
+ @moto = moto
1383
+ @network = network
1384
+ @request_extended_authorization = request_extended_authorization
1385
+ @request_incremental_authorization = request_incremental_authorization
1386
+ @request_multicapture = request_multicapture
1387
+ @request_overcapture = request_overcapture
1388
+ @request_three_d_secure = request_three_d_secure
1389
+ @require_cvc_recollection = require_cvc_recollection
1390
+ @setup_future_usage = setup_future_usage
1391
+ @statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
1392
+ @statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
1393
+ @three_d_secure = three_d_secure
1394
+ end
1395
+ end
1396
+
1397
+ class CardPresent < ::Stripe::RequestParams
1398
+ class Routing < ::Stripe::RequestParams
1399
+ # Routing requested priority
1400
+ attr_accessor :requested_priority
1401
+
1402
+ def initialize(requested_priority: nil)
1403
+ @requested_priority = requested_priority
1404
+ end
1405
+ end
1406
+ # Controls when the funds are captured from the customer's account.
1407
+ #
1408
+ # 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.
1409
+ #
1410
+ # 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.
1411
+ attr_accessor :capture_method
1412
+ # Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
1413
+ attr_accessor :request_extended_authorization
1414
+ # 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.
1415
+ attr_accessor :request_incremental_authorization_support
1416
+ # Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
1417
+ attr_accessor :routing
1418
+
1419
+ def initialize(
1420
+ capture_method: nil,
1421
+ request_extended_authorization: nil,
1422
+ request_incremental_authorization_support: nil,
1423
+ routing: nil
1424
+ )
1425
+ @capture_method = capture_method
1426
+ @request_extended_authorization = request_extended_authorization
1427
+ @request_incremental_authorization_support = request_incremental_authorization_support
1428
+ @routing = routing
1429
+ end
1430
+ end
1431
+
1432
+ class Cashapp < ::Stripe::RequestParams
1433
+ # Controls when the funds are captured from the customer's account.
1434
+ #
1435
+ # 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.
1436
+ #
1437
+ # 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.
1438
+ attr_accessor :capture_method
1439
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1440
+ #
1441
+ # 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.
1442
+ #
1443
+ # 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.
1444
+ #
1445
+ # 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).
1446
+ #
1447
+ # 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`.
1448
+ attr_accessor :setup_future_usage
1449
+
1450
+ def initialize(capture_method: nil, setup_future_usage: nil)
1451
+ @capture_method = capture_method
1452
+ @setup_future_usage = setup_future_usage
1453
+ end
1454
+ end
1455
+
1456
+ class Crypto < ::Stripe::RequestParams
1457
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1458
+ #
1459
+ # 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.
1460
+ #
1461
+ # 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.
1462
+ #
1463
+ # 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).
1464
+ #
1465
+ # 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`.
1466
+ attr_accessor :setup_future_usage
1467
+
1468
+ def initialize(setup_future_usage: nil)
1469
+ @setup_future_usage = setup_future_usage
1470
+ end
1471
+ end
1472
+
1473
+ class CustomerBalance < ::Stripe::RequestParams
1474
+ class BankTransfer < ::Stripe::RequestParams
1475
+ class EuBankTransfer < ::Stripe::RequestParams
1476
+ # The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`.
1477
+ attr_accessor :country
1478
+
1479
+ def initialize(country: nil)
1480
+ @country = country
1481
+ end
1482
+ end
1483
+ # Configuration for the eu_bank_transfer funding type.
1484
+ attr_accessor :eu_bank_transfer
1485
+ # List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.
1486
+ #
1487
+ # Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
1488
+ attr_accessor :requested_address_types
1489
+ # 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`.
1490
+ attr_accessor :type
1491
+
1492
+ def initialize(eu_bank_transfer: nil, requested_address_types: nil, type: nil)
1493
+ @eu_bank_transfer = eu_bank_transfer
1494
+ @requested_address_types = requested_address_types
1495
+ @type = type
1496
+ end
1497
+ end
1498
+ # Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
1499
+ attr_accessor :bank_transfer
1500
+ # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
1501
+ attr_accessor :funding_type
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(bank_transfer: nil, funding_type: nil, setup_future_usage: nil)
1514
+ @bank_transfer = bank_transfer
1515
+ @funding_type = funding_type
1516
+ @setup_future_usage = setup_future_usage
1517
+ end
1518
+ end
1519
+
1520
+ class Eps < ::Stripe::RequestParams
1521
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1522
+ #
1523
+ # 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.
1524
+ #
1525
+ # 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.
1526
+ #
1527
+ # 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).
1528
+ #
1529
+ # 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`.
1530
+ attr_accessor :setup_future_usage
1531
+
1532
+ def initialize(setup_future_usage: nil)
1533
+ @setup_future_usage = setup_future_usage
1534
+ end
1535
+ end
1536
+
1537
+ class Fpx < ::Stripe::RequestParams
1538
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1539
+ #
1540
+ # 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.
1541
+ #
1542
+ # 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.
1543
+ #
1544
+ # 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).
1545
+ #
1546
+ # 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`.
1547
+ attr_accessor :setup_future_usage
1548
+
1549
+ def initialize(setup_future_usage: nil)
1550
+ @setup_future_usage = setup_future_usage
1551
+ end
1552
+ end
1553
+
1554
+ class Giropay < ::Stripe::RequestParams
1555
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1556
+ #
1557
+ # 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.
1558
+ #
1559
+ # 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.
1560
+ #
1561
+ # 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).
1562
+ #
1563
+ # 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`.
1564
+ attr_accessor :setup_future_usage
1565
+
1566
+ def initialize(setup_future_usage: nil)
1567
+ @setup_future_usage = setup_future_usage
1568
+ end
1569
+ end
1570
+
1571
+ class Grabpay < ::Stripe::RequestParams
1572
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1573
+ #
1574
+ # 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.
1575
+ #
1576
+ # 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.
1577
+ #
1578
+ # 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).
1579
+ #
1580
+ # 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`.
1581
+ attr_accessor :setup_future_usage
1582
+
1583
+ def initialize(setup_future_usage: nil)
1584
+ @setup_future_usage = setup_future_usage
1585
+ end
1586
+ end
1587
+
1588
+ class Ideal < ::Stripe::RequestParams
1589
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1590
+ #
1591
+ # 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.
1592
+ #
1593
+ # 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.
1594
+ #
1595
+ # 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).
1596
+ #
1597
+ # 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`.
1598
+ attr_accessor :setup_future_usage
1599
+
1600
+ def initialize(setup_future_usage: nil)
1601
+ @setup_future_usage = setup_future_usage
1602
+ end
1603
+ end
1604
+
1605
+ class InteracPresent < ::Stripe::RequestParams; end
1606
+
1607
+ class KakaoPay < ::Stripe::RequestParams
1608
+ # Controls when the funds are captured from the customer's account.
1609
+ #
1610
+ # 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.
1611
+ #
1612
+ # 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.
1613
+ attr_accessor :capture_method
1614
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1615
+ #
1616
+ # 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.
1617
+ #
1618
+ # 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.
1619
+ #
1620
+ # 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).
1621
+ attr_accessor :setup_future_usage
1622
+
1623
+ def initialize(capture_method: nil, setup_future_usage: nil)
1624
+ @capture_method = capture_method
1625
+ @setup_future_usage = setup_future_usage
1626
+ end
1627
+ end
1628
+
1629
+ class Klarna < ::Stripe::RequestParams
1630
+ class OnDemand < ::Stripe::RequestParams
1631
+ # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc.
1632
+ attr_accessor :average_amount
1633
+ # 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.
1634
+ attr_accessor :maximum_amount
1635
+ # 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.
1636
+ attr_accessor :minimum_amount
1637
+ # Interval at which the customer is making purchases
1638
+ attr_accessor :purchase_interval
1639
+ # The number of `purchase_interval` between charges
1640
+ attr_accessor :purchase_interval_count
1641
+
1642
+ def initialize(
1643
+ average_amount: nil,
1644
+ maximum_amount: nil,
1645
+ minimum_amount: nil,
1646
+ purchase_interval: nil,
1647
+ purchase_interval_count: nil
1648
+ )
1649
+ @average_amount = average_amount
1650
+ @maximum_amount = maximum_amount
1651
+ @minimum_amount = minimum_amount
1652
+ @purchase_interval = purchase_interval
1653
+ @purchase_interval_count = purchase_interval_count
1654
+ end
1655
+ end
1656
+
1657
+ class Subscription < ::Stripe::RequestParams
1658
+ class NextBilling < ::Stripe::RequestParams
1659
+ # The amount of the next charge for the subscription.
1660
+ attr_accessor :amount
1661
+ # The date of the next charge for the subscription in YYYY-MM-DD format.
1662
+ attr_accessor :date
1663
+
1664
+ def initialize(amount: nil, date: nil)
1665
+ @amount = amount
1666
+ @date = date
1667
+ end
1668
+ end
1669
+ # Unit of time between subscription charges.
1670
+ attr_accessor :interval
1671
+ # The number of intervals (specified in the `interval` attribute) between subscription charges. For example, `interval=month` and `interval_count=3` charges every 3 months.
1672
+ attr_accessor :interval_count
1673
+ # Name for subscription.
1674
+ attr_accessor :name
1675
+ # Describes the upcoming charge for this subscription.
1676
+ attr_accessor :next_billing
1677
+ # A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges.
1678
+ attr_accessor :reference
1679
+
1680
+ def initialize(
1681
+ interval: nil,
1682
+ interval_count: nil,
1683
+ name: nil,
1684
+ next_billing: nil,
1685
+ reference: nil
1686
+ )
1687
+ @interval = interval
1688
+ @interval_count = interval_count
1689
+ @name = name
1690
+ @next_billing = next_billing
1691
+ @reference = reference
1692
+ end
1693
+ end
1694
+ # Controls when the funds are captured from the customer's account.
1695
+ #
1696
+ # 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.
1697
+ #
1698
+ # 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.
1699
+ attr_accessor :capture_method
1700
+ # On-demand details if setting up or charging an on-demand payment.
1701
+ attr_accessor :on_demand
1702
+ # Preferred language of the Klarna authorization page that the customer is redirected to
1703
+ attr_accessor :preferred_locale
1704
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1705
+ #
1706
+ # 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.
1707
+ #
1708
+ # 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.
1709
+ #
1710
+ # 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).
1711
+ #
1712
+ # 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`.
1713
+ attr_accessor :setup_future_usage
1714
+ # Subscription details if setting up or charging a subscription.
1715
+ attr_accessor :subscriptions
1716
+
1717
+ def initialize(
1718
+ capture_method: nil,
1719
+ on_demand: nil,
1720
+ preferred_locale: nil,
1721
+ setup_future_usage: nil,
1722
+ subscriptions: nil
1723
+ )
1724
+ @capture_method = capture_method
1725
+ @on_demand = on_demand
1726
+ @preferred_locale = preferred_locale
1727
+ @setup_future_usage = setup_future_usage
1728
+ @subscriptions = subscriptions
1729
+ end
1730
+ end
1731
+
1732
+ class Konbini < ::Stripe::RequestParams
1733
+ # 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.
1734
+ attr_accessor :confirmation_number
1735
+ # 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.
1736
+ attr_accessor :expires_after_days
1737
+ # The timestamp at which the Konbini payment instructions will expire. Only one of `expires_after_days` or `expires_at` may be set.
1738
+ attr_accessor :expires_at
1739
+ # A product descriptor of up to 22 characters, which will appear to customers at the convenience store.
1740
+ attr_accessor :product_description
1741
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1742
+ #
1743
+ # 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.
1744
+ #
1745
+ # 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.
1746
+ #
1747
+ # 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).
1748
+ #
1749
+ # 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`.
1750
+ attr_accessor :setup_future_usage
1751
+
1752
+ def initialize(
1753
+ confirmation_number: nil,
1754
+ expires_after_days: nil,
1755
+ expires_at: nil,
1756
+ product_description: nil,
1757
+ setup_future_usage: nil
1758
+ )
1759
+ @confirmation_number = confirmation_number
1760
+ @expires_after_days = expires_after_days
1761
+ @expires_at = expires_at
1762
+ @product_description = product_description
1763
+ @setup_future_usage = setup_future_usage
1764
+ end
1765
+ end
1766
+
1767
+ class KrCard < ::Stripe::RequestParams
1768
+ # Controls when the funds are captured from the customer's account.
1769
+ #
1770
+ # 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.
1771
+ #
1772
+ # 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.
1773
+ attr_accessor :capture_method
1774
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1775
+ #
1776
+ # 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.
1777
+ #
1778
+ # 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.
1779
+ #
1780
+ # 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).
1781
+ attr_accessor :setup_future_usage
1782
+
1783
+ def initialize(capture_method: nil, setup_future_usage: nil)
1784
+ @capture_method = capture_method
1785
+ @setup_future_usage = setup_future_usage
1786
+ end
1787
+ end
1788
+
1789
+ class Link < ::Stripe::RequestParams
1790
+ # Controls when the funds are captured from the customer's account.
1791
+ #
1792
+ # 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.
1793
+ #
1794
+ # 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.
1795
+ attr_accessor :capture_method
1796
+ # [Deprecated] This is a legacy parameter that no longer has any function.
1797
+ attr_accessor :persistent_token
1798
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1799
+ #
1800
+ # 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.
1801
+ #
1802
+ # 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.
1803
+ #
1804
+ # 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).
1805
+ #
1806
+ # 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`.
1807
+ attr_accessor :setup_future_usage
1808
+
1809
+ def initialize(capture_method: nil, persistent_token: nil, setup_future_usage: nil)
1810
+ @capture_method = capture_method
1811
+ @persistent_token = persistent_token
1812
+ @setup_future_usage = setup_future_usage
1813
+ end
1814
+ end
1815
+
1816
+ class MbWay < ::Stripe::RequestParams
1817
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1818
+ #
1819
+ # 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.
1820
+ #
1821
+ # 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.
1822
+ #
1823
+ # 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).
1824
+ #
1825
+ # 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`.
1826
+ attr_accessor :setup_future_usage
1827
+
1828
+ def initialize(setup_future_usage: nil)
1829
+ @setup_future_usage = setup_future_usage
1830
+ end
1831
+ end
1832
+
1833
+ class Mobilepay < ::Stripe::RequestParams
1834
+ # Controls when the funds are captured from the customer's account.
1835
+ #
1836
+ # 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.
1837
+ #
1838
+ # 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.
1839
+ attr_accessor :capture_method
1840
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1841
+ #
1842
+ # 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.
1843
+ #
1844
+ # 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.
1845
+ #
1846
+ # 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).
1847
+ #
1848
+ # 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`.
1849
+ attr_accessor :setup_future_usage
1850
+
1851
+ def initialize(capture_method: nil, setup_future_usage: nil)
1852
+ @capture_method = capture_method
1853
+ @setup_future_usage = setup_future_usage
1854
+ end
1855
+ end
1856
+
1857
+ class Multibanco < ::Stripe::RequestParams
1858
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1859
+ #
1860
+ # 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.
1861
+ #
1862
+ # 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.
1863
+ #
1864
+ # 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).
1865
+ #
1866
+ # 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`.
1867
+ attr_accessor :setup_future_usage
1868
+
1869
+ def initialize(setup_future_usage: nil)
1870
+ @setup_future_usage = setup_future_usage
1871
+ end
1872
+ end
1873
+
1874
+ class NaverPay < ::Stripe::RequestParams
1875
+ # Controls when the funds are captured from the customer's account.
1876
+ #
1877
+ # 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.
1878
+ #
1879
+ # 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.
1880
+ attr_accessor :capture_method
1881
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1882
+ #
1883
+ # 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.
1884
+ #
1885
+ # 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.
1886
+ #
1887
+ # 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).
1888
+ attr_accessor :setup_future_usage
1889
+
1890
+ def initialize(capture_method: nil, setup_future_usage: nil)
1891
+ @capture_method = capture_method
1892
+ @setup_future_usage = setup_future_usage
1893
+ end
1894
+ end
1895
+
1896
+ class NzBankAccount < ::Stripe::RequestParams
1897
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1898
+ #
1899
+ # 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.
1900
+ #
1901
+ # 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.
1902
+ #
1903
+ # 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).
1904
+ #
1905
+ # 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`.
1906
+ attr_accessor :setup_future_usage
1907
+ # 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.
1908
+ attr_accessor :target_date
1909
+
1910
+ def initialize(setup_future_usage: nil, target_date: nil)
1911
+ @setup_future_usage = setup_future_usage
1912
+ @target_date = target_date
1913
+ end
1914
+ end
1915
+
1916
+ class Oxxo < ::Stripe::RequestParams
1917
+ # 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.
1918
+ attr_accessor :expires_after_days
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(expires_after_days: nil, setup_future_usage: nil)
1931
+ @expires_after_days = expires_after_days
1932
+ @setup_future_usage = setup_future_usage
1933
+ end
1934
+ end
1935
+
1936
+ class P24 < ::Stripe::RequestParams
1937
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1938
+ #
1939
+ # 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.
1940
+ #
1941
+ # 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.
1942
+ #
1943
+ # 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).
1944
+ #
1945
+ # 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`.
1946
+ attr_accessor :setup_future_usage
1947
+ # Confirm that the payer has accepted the P24 terms and conditions.
1948
+ attr_accessor :tos_shown_and_accepted
1949
+
1950
+ def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil)
1951
+ @setup_future_usage = setup_future_usage
1952
+ @tos_shown_and_accepted = tos_shown_and_accepted
1953
+ end
1954
+ end
1955
+
1956
+ class PayByBank < ::Stripe::RequestParams; end
1957
+
1958
+ class Payco < ::Stripe::RequestParams
1959
+ # Controls when the funds are captured from the customer's account.
1960
+ #
1961
+ # 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.
1962
+ #
1963
+ # 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.
1964
+ attr_accessor :capture_method
1965
+
1966
+ def initialize(capture_method: nil)
1967
+ @capture_method = capture_method
1968
+ end
1969
+ end
1970
+
1971
+ class Paynow < ::Stripe::RequestParams
1972
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1973
+ #
1974
+ # 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.
1975
+ #
1976
+ # 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.
1977
+ #
1978
+ # 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).
1979
+ #
1980
+ # 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`.
1981
+ attr_accessor :setup_future_usage
1982
+
1983
+ def initialize(setup_future_usage: nil)
1984
+ @setup_future_usage = setup_future_usage
1985
+ end
1986
+ end
1987
+
1988
+ class Paypal < ::Stripe::RequestParams
1989
+ # Controls when the funds will be captured from the customer's account.
1990
+ attr_accessor :capture_method
1991
+ # [Preferred locale](https://docs.stripe.com/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
1992
+ attr_accessor :preferred_locale
1993
+ # 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.
1994
+ attr_accessor :reference
1995
+ # The risk correlation ID for an on-session payment using a saved PayPal payment method.
1996
+ attr_accessor :risk_correlation_id
1997
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1998
+ #
1999
+ # 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.
2000
+ #
2001
+ # 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.
2002
+ #
2003
+ # 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).
2004
+ #
2005
+ # 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`.
2006
+ attr_accessor :setup_future_usage
2007
+
2008
+ def initialize(
2009
+ capture_method: nil,
2010
+ preferred_locale: nil,
2011
+ reference: nil,
2012
+ risk_correlation_id: nil,
2013
+ setup_future_usage: nil
2014
+ )
2015
+ @capture_method = capture_method
2016
+ @preferred_locale = preferred_locale
2017
+ @reference = reference
2018
+ @risk_correlation_id = risk_correlation_id
2019
+ @setup_future_usage = setup_future_usage
2020
+ end
2021
+ end
2022
+
2023
+ class Payto < ::Stripe::RequestParams
2024
+ class MandateOptions < ::Stripe::RequestParams
2025
+ # Amount that will be collected. It is required when `amount_type` is `fixed`.
2026
+ attr_accessor :amount
2027
+ # 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`.
2028
+ attr_accessor :amount_type
2029
+ # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
2030
+ attr_accessor :end_date
2031
+ # The periodicity at which payments will be collected. Defaults to `adhoc`.
2032
+ attr_accessor :payment_schedule
2033
+ # 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.
2034
+ attr_accessor :payments_per_period
2035
+ # The purpose for which payments are made. Has a default value based on your merchant category code.
2036
+ attr_accessor :purpose
2037
+
2038
+ def initialize(
2039
+ amount: nil,
2040
+ amount_type: nil,
2041
+ end_date: nil,
2042
+ payment_schedule: nil,
2043
+ payments_per_period: nil,
2044
+ purpose: nil
2045
+ )
2046
+ @amount = amount
2047
+ @amount_type = amount_type
2048
+ @end_date = end_date
2049
+ @payment_schedule = payment_schedule
2050
+ @payments_per_period = payments_per_period
2051
+ @purpose = purpose
2052
+ end
2053
+ end
2054
+ # 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`
2055
+ attr_accessor :mandate_options
2056
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2057
+ #
2058
+ # 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.
2059
+ #
2060
+ # 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.
2061
+ #
2062
+ # 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).
2063
+ #
2064
+ # 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`.
2065
+ attr_accessor :setup_future_usage
2066
+
2067
+ def initialize(mandate_options: nil, setup_future_usage: nil)
2068
+ @mandate_options = mandate_options
2069
+ @setup_future_usage = setup_future_usage
2070
+ end
2071
+ end
2072
+
2073
+ class Pix < ::Stripe::RequestParams
2074
+ class MandateOptions < ::Stripe::RequestParams
2075
+ # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
2076
+ attr_accessor :amount
2077
+ # Determines if the amount includes the IOF tax. Defaults to `never`.
2078
+ attr_accessor :amount_includes_iof
2079
+ # Type of amount. Defaults to `maximum`.
2080
+ attr_accessor :amount_type
2081
+ # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
2082
+ attr_accessor :currency
2083
+ # 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.
2084
+ attr_accessor :end_date
2085
+ # Schedule at which the future payments will be charged. Defaults to `monthly`.
2086
+ attr_accessor :payment_schedule
2087
+ # Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
2088
+ attr_accessor :reference
2089
+ # 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.
2090
+ attr_accessor :start_date
2091
+
2092
+ def initialize(
2093
+ amount: nil,
2094
+ amount_includes_iof: nil,
2095
+ amount_type: nil,
2096
+ currency: nil,
2097
+ end_date: nil,
2098
+ payment_schedule: nil,
2099
+ reference: nil,
2100
+ start_date: nil
2101
+ )
2102
+ @amount = amount
2103
+ @amount_includes_iof = amount_includes_iof
2104
+ @amount_type = amount_type
2105
+ @currency = currency
2106
+ @end_date = end_date
2107
+ @payment_schedule = payment_schedule
2108
+ @reference = reference
2109
+ @start_date = start_date
2110
+ end
2111
+ end
2112
+ # Determines if the amount includes the IOF tax. Defaults to `never`.
2113
+ attr_accessor :amount_includes_iof
2114
+ # The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
2115
+ attr_accessor :expires_after_seconds
2116
+ # The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
2117
+ attr_accessor :expires_at
2118
+ # Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
2119
+ attr_accessor :mandate_options
2120
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2121
+ #
2122
+ # 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.
2123
+ #
2124
+ # 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.
2125
+ #
2126
+ # 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).
2127
+ attr_accessor :setup_future_usage
2128
+
2129
+ def initialize(
2130
+ amount_includes_iof: nil,
2131
+ expires_after_seconds: nil,
2132
+ expires_at: nil,
2133
+ mandate_options: nil,
2134
+ setup_future_usage: nil
2135
+ )
2136
+ @amount_includes_iof = amount_includes_iof
2137
+ @expires_after_seconds = expires_after_seconds
2138
+ @expires_at = expires_at
2139
+ @mandate_options = mandate_options
2140
+ @setup_future_usage = setup_future_usage
2141
+ end
2142
+ end
2143
+
2144
+ class Promptpay < ::Stripe::RequestParams
2145
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2146
+ #
2147
+ # 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.
2148
+ #
2149
+ # 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.
2150
+ #
2151
+ # 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).
2152
+ #
2153
+ # 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`.
2154
+ attr_accessor :setup_future_usage
2155
+
2156
+ def initialize(setup_future_usage: nil)
2157
+ @setup_future_usage = setup_future_usage
2158
+ end
2159
+ end
2160
+
2161
+ class RevolutPay < ::Stripe::RequestParams
2162
+ # Controls when the funds are captured from the customer's account.
2163
+ #
2164
+ # 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.
2165
+ #
2166
+ # 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.
2167
+ attr_accessor :capture_method
2168
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2169
+ #
2170
+ # 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.
2171
+ #
2172
+ # 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.
2173
+ #
2174
+ # 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).
2175
+ attr_accessor :setup_future_usage
2176
+
2177
+ def initialize(capture_method: nil, setup_future_usage: nil)
2178
+ @capture_method = capture_method
2179
+ @setup_future_usage = setup_future_usage
2180
+ end
2181
+ end
2182
+
2183
+ class SamsungPay < ::Stripe::RequestParams
2184
+ # Controls when the funds are captured from the customer's account.
2185
+ #
2186
+ # 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.
2187
+ #
2188
+ # 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.
2189
+ attr_accessor :capture_method
2190
+
2191
+ def initialize(capture_method: nil)
2192
+ @capture_method = capture_method
2193
+ end
2194
+ end
2195
+
2196
+ class Satispay < ::Stripe::RequestParams
2197
+ # Controls when the funds are captured from the customer's account.
2198
+ #
2199
+ # 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.
2200
+ #
2201
+ # 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.
2202
+ attr_accessor :capture_method
2203
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2204
+ #
2205
+ # 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.
2206
+ #
2207
+ # 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.
2208
+ #
2209
+ # 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).
2210
+ attr_accessor :setup_future_usage
2211
+
2212
+ def initialize(capture_method: nil, setup_future_usage: nil)
2213
+ @capture_method = capture_method
2214
+ @setup_future_usage = setup_future_usage
2215
+ end
2216
+ end
2217
+
2218
+ class Scalapay < ::Stripe::RequestParams
2219
+ # Controls when the funds are captured from the customer's account.
2220
+ #
2221
+ # 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.
2222
+ #
2223
+ # 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.
2224
+ attr_accessor :capture_method
2225
+
2226
+ def initialize(capture_method: nil)
2227
+ @capture_method = capture_method
2228
+ end
2229
+ end
2230
+
2231
+ class SepaDebit < ::Stripe::RequestParams
2232
+ class MandateOptions < ::Stripe::RequestParams
2233
+ # 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'.
2234
+ attr_accessor :reference_prefix
2235
+
2236
+ def initialize(reference_prefix: nil)
2237
+ @reference_prefix = reference_prefix
2238
+ end
2239
+ end
2240
+ # Additional fields for Mandate creation
2241
+ attr_accessor :mandate_options
2242
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2243
+ #
2244
+ # 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.
2245
+ #
2246
+ # 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.
2247
+ #
2248
+ # 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).
2249
+ #
2250
+ # 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`.
2251
+ attr_accessor :setup_future_usage
2252
+ # 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.
2253
+ attr_accessor :target_date
2254
+
2255
+ def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil)
2256
+ @mandate_options = mandate_options
2257
+ @setup_future_usage = setup_future_usage
2258
+ @target_date = target_date
2259
+ end
2260
+ end
2261
+
2262
+ class Sofort < ::Stripe::RequestParams
2263
+ # Language shown to the payer on redirect.
2264
+ attr_accessor :preferred_language
2265
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2266
+ #
2267
+ # 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.
2268
+ #
2269
+ # 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.
2270
+ #
2271
+ # 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).
2272
+ #
2273
+ # 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`.
2274
+ attr_accessor :setup_future_usage
2275
+
2276
+ def initialize(preferred_language: nil, setup_future_usage: nil)
2277
+ @preferred_language = preferred_language
2278
+ @setup_future_usage = setup_future_usage
2279
+ end
2280
+ end
2281
+
2282
+ class Sunbit < ::Stripe::RequestParams
2283
+ # Controls when the funds are captured from the customer's account.
2284
+ #
2285
+ # 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.
2286
+ #
2287
+ # 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.
2288
+ attr_accessor :capture_method
2289
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2290
+ #
2291
+ # 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.
2292
+ #
2293
+ # 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.
2294
+ #
2295
+ # 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).
2296
+ attr_accessor :setup_future_usage
2297
+
2298
+ def initialize(capture_method: nil, setup_future_usage: nil)
2299
+ @capture_method = capture_method
2300
+ @setup_future_usage = setup_future_usage
2301
+ end
2302
+ end
2303
+
2304
+ class Swish < ::Stripe::RequestParams
2305
+ # A reference for this payment to be displayed in the Swish app.
2306
+ attr_accessor :reference
2307
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2308
+ #
2309
+ # 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.
2310
+ #
2311
+ # 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.
2312
+ #
2313
+ # 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).
2314
+ #
2315
+ # 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`.
2316
+ attr_accessor :setup_future_usage
2317
+
2318
+ def initialize(reference: nil, setup_future_usage: nil)
2319
+ @reference = reference
2320
+ @setup_future_usage = setup_future_usage
2321
+ end
2322
+ end
2323
+
2324
+ class Twint < ::Stripe::RequestParams
2325
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2326
+ #
2327
+ # 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.
2328
+ #
2329
+ # 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.
2330
+ #
2331
+ # 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).
2332
+ #
2333
+ # 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`.
2334
+ attr_accessor :setup_future_usage
2335
+
2336
+ def initialize(setup_future_usage: nil)
2337
+ @setup_future_usage = setup_future_usage
2338
+ end
2339
+ end
2340
+
2341
+ class Upi < ::Stripe::RequestParams
2342
+ class MandateOptions < ::Stripe::RequestParams
2343
+ # Amount to be charged for future payments.
2344
+ attr_accessor :amount
2345
+ # 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.
2346
+ attr_accessor :amount_type
2347
+ # A description of the mandate or subscription that is meant to be displayed to the customer.
2348
+ attr_accessor :description
2349
+ # End date of the mandate or subscription.
2350
+ attr_accessor :end_date
2351
+
2352
+ def initialize(amount: nil, amount_type: nil, description: nil, end_date: nil)
2353
+ @amount = amount
2354
+ @amount_type = amount_type
2355
+ @description = description
2356
+ @end_date = end_date
2357
+ end
2358
+ end
2359
+ # Configuration options for setting up an eMandate
2360
+ attr_accessor :mandate_options
2361
+ # Attribute for param field setup_future_usage
2362
+ attr_accessor :setup_future_usage
2363
+
2364
+ def initialize(mandate_options: nil, setup_future_usage: nil)
2365
+ @mandate_options = mandate_options
2366
+ @setup_future_usage = setup_future_usage
2367
+ end
2368
+ end
2369
+
2370
+ class UsBankAccount < ::Stripe::RequestParams
2371
+ class FinancialConnections < ::Stripe::RequestParams
2372
+ class Filters < ::Stripe::RequestParams
2373
+ # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
2374
+ attr_accessor :account_subcategories
2375
+
2376
+ def initialize(account_subcategories: nil)
2377
+ @account_subcategories = account_subcategories
2378
+ end
2379
+ end
2380
+ # Provide filters for the linked accounts that the customer can select for the payment method.
2381
+ attr_accessor :filters
2382
+ # 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`.
2383
+ attr_accessor :permissions
2384
+ # List of data features that you would like to retrieve upon account creation.
2385
+ attr_accessor :prefetch
2386
+ # 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.
2387
+ attr_accessor :return_url
2388
+
2389
+ def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
2390
+ @filters = filters
2391
+ @permissions = permissions
2392
+ @prefetch = prefetch
2393
+ @return_url = return_url
2394
+ end
2395
+ end
2396
+
2397
+ class MandateOptions < ::Stripe::RequestParams
2398
+ # The method used to collect offline mandate customer acceptance.
2399
+ attr_accessor :collection_method
2400
+
2401
+ def initialize(collection_method: nil)
2402
+ @collection_method = collection_method
2403
+ end
2404
+ end
2405
+
2406
+ class Networks < ::Stripe::RequestParams
2407
+ # Triggers validations to run across the selected networks
2408
+ attr_accessor :requested
2409
+
2410
+ def initialize(requested: nil)
2411
+ @requested = requested
2412
+ end
2413
+ end
2414
+ # Additional fields for Financial Connections Session creation
2415
+ attr_accessor :financial_connections
2416
+ # Additional fields for Mandate creation
2417
+ attr_accessor :mandate_options
2418
+ # Additional fields for network related functions
2419
+ attr_accessor :networks
2420
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2421
+ #
2422
+ # 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.
2423
+ #
2424
+ # 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.
2425
+ #
2426
+ # 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).
2427
+ #
2428
+ # 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`.
2429
+ attr_accessor :setup_future_usage
2430
+ # 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.
2431
+ attr_accessor :target_date
2432
+ # The purpose of the transaction.
2433
+ attr_accessor :transaction_purpose
2434
+ # Bank account verification method. The default value is `automatic`.
2435
+ attr_accessor :verification_method
2436
+
2437
+ def initialize(
2438
+ financial_connections: nil,
2439
+ mandate_options: nil,
2440
+ networks: nil,
2441
+ setup_future_usage: nil,
2442
+ target_date: nil,
2443
+ transaction_purpose: nil,
2444
+ verification_method: nil
2445
+ )
2446
+ @financial_connections = financial_connections
2447
+ @mandate_options = mandate_options
2448
+ @networks = networks
2449
+ @setup_future_usage = setup_future_usage
2450
+ @target_date = target_date
2451
+ @transaction_purpose = transaction_purpose
2452
+ @verification_method = verification_method
2453
+ end
2454
+ end
2455
+
2456
+ class WechatPay < ::Stripe::RequestParams
2457
+ # The app ID registered with WeChat Pay. Only required when client is ios, android, or mini_program.
2458
+ attr_accessor :app_id
2459
+ # The client type that the end customer will pay from
2460
+ attr_accessor :client
2461
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2462
+ #
2463
+ # 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.
2464
+ #
2465
+ # 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.
2466
+ #
2467
+ # 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).
2468
+ #
2469
+ # 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`.
2470
+ attr_accessor :setup_future_usage
2471
+
2472
+ def initialize(app_id: nil, client: nil, setup_future_usage: nil)
2473
+ @app_id = app_id
2474
+ @client = client
2475
+ @setup_future_usage = setup_future_usage
2476
+ end
2477
+ end
2478
+
2479
+ class Zip < ::Stripe::RequestParams
2480
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2481
+ #
2482
+ # 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.
2483
+ #
2484
+ # 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.
2485
+ #
2486
+ # 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).
2487
+ #
2488
+ # 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`.
2489
+ attr_accessor :setup_future_usage
2490
+
2491
+ def initialize(setup_future_usage: nil)
2492
+ @setup_future_usage = setup_future_usage
2493
+ end
2494
+ end
2495
+ # If this is a `acss_debit` PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.
2496
+ attr_accessor :acss_debit
2497
+ # If this is an `affirm` PaymentMethod, this sub-hash contains details about the Affirm payment method options.
2498
+ attr_accessor :affirm
2499
+ # If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.
2500
+ attr_accessor :afterpay_clearpay
2501
+ # If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options.
2502
+ attr_accessor :alipay
2503
+ # If this is a `alma` PaymentMethod, this sub-hash contains details about the Alma payment method options.
2504
+ attr_accessor :alma
2505
+ # If this is a `amazon_pay` PaymentMethod, this sub-hash contains details about the Amazon Pay payment method options.
2506
+ attr_accessor :amazon_pay
2507
+ # If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.
2508
+ attr_accessor :au_becs_debit
2509
+ # If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options.
2510
+ attr_accessor :bacs_debit
2511
+ # If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
2512
+ attr_accessor :bancontact
2513
+ # If this is a `billie` PaymentMethod, this sub-hash contains details about the Billie payment method options.
2514
+ attr_accessor :billie
2515
+ # If this is a `bizum` PaymentMethod, this sub-hash contains details about the Bizum payment method options.
2516
+ attr_accessor :bizum
2517
+ # If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options.
2518
+ attr_accessor :blik
2519
+ # If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options.
2520
+ attr_accessor :boleto
2521
+ # Configuration for any card payments attempted on this PaymentIntent.
2522
+ attr_accessor :card
2523
+ # If this is a `card_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
2524
+ attr_accessor :card_present
2525
+ # If this is a `cashapp` PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options.
2526
+ attr_accessor :cashapp
2527
+ # If this is a `crypto` PaymentMethod, this sub-hash contains details about the Crypto payment method options.
2528
+ attr_accessor :crypto
2529
+ # If this is a `customer balance` PaymentMethod, this sub-hash contains details about the customer balance payment method options.
2530
+ attr_accessor :customer_balance
2531
+ # If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options.
2532
+ attr_accessor :eps
2533
+ # If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.
2534
+ attr_accessor :fpx
2535
+ # If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
2536
+ attr_accessor :giropay
2537
+ # If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
2538
+ attr_accessor :grabpay
2539
+ # If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
2540
+ attr_accessor :ideal
2541
+ # If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
2542
+ attr_accessor :interac_present
2543
+ # If this is a `kakao_pay` PaymentMethod, this sub-hash contains details about the Kakao Pay payment method options.
2544
+ attr_accessor :kakao_pay
2545
+ # If this is a `klarna` PaymentMethod, this sub-hash contains details about the Klarna payment method options.
2546
+ attr_accessor :klarna
2547
+ # If this is a `konbini` PaymentMethod, this sub-hash contains details about the Konbini payment method options.
2548
+ attr_accessor :konbini
2549
+ # If this is a `kr_card` PaymentMethod, this sub-hash contains details about the KR Card payment method options.
2550
+ attr_accessor :kr_card
2551
+ # 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).
2552
+ attr_accessor :link
2553
+ # If this is a `mb_way` PaymentMethod, this sub-hash contains details about the MB WAY payment method options.
2554
+ attr_accessor :mb_way
2555
+ # If this is a `MobilePay` PaymentMethod, this sub-hash contains details about the MobilePay payment method options.
2556
+ attr_accessor :mobilepay
2557
+ # If this is a `multibanco` PaymentMethod, this sub-hash contains details about the Multibanco payment method options.
2558
+ attr_accessor :multibanco
2559
+ # If this is a `naver_pay` PaymentMethod, this sub-hash contains details about the Naver Pay payment method options.
2560
+ attr_accessor :naver_pay
2561
+ # If this is a `nz_bank_account` PaymentMethod, this sub-hash contains details about the NZ BECS Direct Debit payment method options.
2562
+ attr_accessor :nz_bank_account
2563
+ # If this is a `oxxo` PaymentMethod, this sub-hash contains details about the OXXO payment method options.
2564
+ attr_accessor :oxxo
2565
+ # If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.
2566
+ attr_accessor :p24
2567
+ # If this is a `pay_by_bank` PaymentMethod, this sub-hash contains details about the PayByBank payment method options.
2568
+ attr_accessor :pay_by_bank
2569
+ # If this is a `payco` PaymentMethod, this sub-hash contains details about the PAYCO payment method options.
2570
+ attr_accessor :payco
2571
+ # If this is a `paynow` PaymentMethod, this sub-hash contains details about the PayNow payment method options.
2572
+ attr_accessor :paynow
2573
+ # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
2574
+ attr_accessor :paypal
2575
+ # If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
2576
+ attr_accessor :payto
2577
+ # If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
2578
+ attr_accessor :pix
2579
+ # If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
2580
+ attr_accessor :promptpay
2581
+ # If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
2582
+ attr_accessor :revolut_pay
2583
+ # If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
2584
+ attr_accessor :samsung_pay
2585
+ # If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options.
2586
+ attr_accessor :satispay
2587
+ # If this is a `scalapay` PaymentMethod, this sub-hash contains details about the ScalaPay payment method options.
2588
+ attr_accessor :scalapay
2589
+ # If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
2590
+ attr_accessor :sepa_debit
2591
+ # If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
2592
+ attr_accessor :sofort
2593
+ # If this is a `sunbit` PaymentMethod, this sub-hash contains details about the Sunbit payment method options.
2594
+ attr_accessor :sunbit
2595
+ # If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
2596
+ attr_accessor :swish
2597
+ # If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
2598
+ attr_accessor :twint
2599
+ # If this is a `upi` PaymentIntent, this sub-hash contains details about the UPI payment method options.
2600
+ attr_accessor :upi
2601
+ # If this is a `us_bank_account` PaymentMethod, this sub-hash contains details about the US bank account payment method options.
2602
+ attr_accessor :us_bank_account
2603
+ # If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options.
2604
+ attr_accessor :wechat_pay
2605
+ # If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options.
2606
+ attr_accessor :zip
2607
+
2608
+ def initialize(
2609
+ acss_debit: nil,
2610
+ affirm: nil,
2611
+ afterpay_clearpay: nil,
2612
+ alipay: nil,
2613
+ alma: nil,
2614
+ amazon_pay: nil,
2615
+ au_becs_debit: nil,
2616
+ bacs_debit: nil,
2617
+ bancontact: nil,
2618
+ billie: nil,
2619
+ bizum: nil,
2620
+ blik: nil,
2621
+ boleto: nil,
2622
+ card: nil,
2623
+ card_present: nil,
2624
+ cashapp: nil,
2625
+ crypto: nil,
2626
+ customer_balance: nil,
2627
+ eps: nil,
2628
+ fpx: nil,
2629
+ giropay: nil,
2630
+ grabpay: nil,
2631
+ ideal: nil,
2632
+ interac_present: nil,
2633
+ kakao_pay: nil,
2634
+ klarna: nil,
2635
+ konbini: nil,
2636
+ kr_card: nil,
2637
+ link: nil,
2638
+ mb_way: nil,
2639
+ mobilepay: nil,
2640
+ multibanco: nil,
2641
+ naver_pay: nil,
2642
+ nz_bank_account: nil,
2643
+ oxxo: nil,
2644
+ p24: nil,
2645
+ pay_by_bank: nil,
2646
+ payco: nil,
2647
+ paynow: nil,
2648
+ paypal: nil,
2649
+ payto: nil,
2650
+ pix: nil,
2651
+ promptpay: nil,
2652
+ revolut_pay: nil,
2653
+ samsung_pay: nil,
2654
+ satispay: nil,
2655
+ scalapay: nil,
2656
+ sepa_debit: nil,
2657
+ sofort: nil,
2658
+ sunbit: nil,
2659
+ swish: nil,
2660
+ twint: nil,
2661
+ upi: nil,
2662
+ us_bank_account: nil,
2663
+ wechat_pay: nil,
2664
+ zip: nil
2665
+ )
2666
+ @acss_debit = acss_debit
2667
+ @affirm = affirm
2668
+ @afterpay_clearpay = afterpay_clearpay
2669
+ @alipay = alipay
2670
+ @alma = alma
2671
+ @amazon_pay = amazon_pay
2672
+ @au_becs_debit = au_becs_debit
2673
+ @bacs_debit = bacs_debit
2674
+ @bancontact = bancontact
2675
+ @billie = billie
2676
+ @bizum = bizum
2677
+ @blik = blik
2678
+ @boleto = boleto
2679
+ @card = card
2680
+ @card_present = card_present
2681
+ @cashapp = cashapp
2682
+ @crypto = crypto
2683
+ @customer_balance = customer_balance
2684
+ @eps = eps
2685
+ @fpx = fpx
2686
+ @giropay = giropay
2687
+ @grabpay = grabpay
2688
+ @ideal = ideal
2689
+ @interac_present = interac_present
2690
+ @kakao_pay = kakao_pay
2691
+ @klarna = klarna
2692
+ @konbini = konbini
2693
+ @kr_card = kr_card
2694
+ @link = link
2695
+ @mb_way = mb_way
2696
+ @mobilepay = mobilepay
2697
+ @multibanco = multibanco
2698
+ @naver_pay = naver_pay
2699
+ @nz_bank_account = nz_bank_account
2700
+ @oxxo = oxxo
2701
+ @p24 = p24
2702
+ @pay_by_bank = pay_by_bank
2703
+ @payco = payco
2704
+ @paynow = paynow
2705
+ @paypal = paypal
2706
+ @payto = payto
2707
+ @pix = pix
2708
+ @promptpay = promptpay
2709
+ @revolut_pay = revolut_pay
2710
+ @samsung_pay = samsung_pay
2711
+ @satispay = satispay
2712
+ @scalapay = scalapay
2713
+ @sepa_debit = sepa_debit
2714
+ @sofort = sofort
2715
+ @sunbit = sunbit
2716
+ @swish = swish
2717
+ @twint = twint
2718
+ @upi = upi
2719
+ @us_bank_account = us_bank_account
2720
+ @wechat_pay = wechat_pay
2721
+ @zip = zip
2722
+ end
2723
+ end
2724
+
2725
+ class RadarOptions < ::Stripe::RequestParams
2726
+ # 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.
2727
+ attr_accessor :session
2728
+
2729
+ def initialize(session: nil)
2730
+ @session = session
2731
+ end
2732
+ end
2733
+
2734
+ class Shipping < ::Stripe::RequestParams
2735
+ class Address < ::Stripe::RequestParams
2736
+ # City, district, suburb, town, or village.
2737
+ attr_accessor :city
2738
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2739
+ attr_accessor :country
2740
+ # Address line 1, such as the street, PO Box, or company name.
2741
+ attr_accessor :line1
2742
+ # Address line 2, such as the apartment, suite, unit, or building.
2743
+ attr_accessor :line2
2744
+ # ZIP or postal code.
2745
+ attr_accessor :postal_code
2746
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
2747
+ attr_accessor :state
2748
+
2749
+ def initialize(
2750
+ city: nil,
2751
+ country: nil,
2752
+ line1: nil,
2753
+ line2: nil,
2754
+ postal_code: nil,
2755
+ state: nil
2756
+ )
2757
+ @city = city
2758
+ @country = country
2759
+ @line1 = line1
2760
+ @line2 = line2
2761
+ @postal_code = postal_code
2762
+ @state = state
2763
+ end
2764
+ end
2765
+ # Shipping address.
2766
+ attr_accessor :address
2767
+ # The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
2768
+ attr_accessor :carrier
2769
+ # Recipient name.
2770
+ attr_accessor :name
2771
+ # Recipient phone (including extension).
2772
+ attr_accessor :phone
2773
+ # 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.
2774
+ attr_accessor :tracking_number
2775
+
2776
+ def initialize(address: nil, carrier: nil, name: nil, phone: nil, tracking_number: nil)
2777
+ @address = address
2778
+ @carrier = carrier
2779
+ @name = name
2780
+ @phone = phone
2781
+ @tracking_number = tracking_number
2782
+ end
2783
+ end
2784
+
2785
+ class TransferData < ::Stripe::RequestParams
2786
+ class PaymentData < ::Stripe::RequestParams
2787
+ # An arbitrary string attached to the destination payment. Often useful for displaying to users.
2788
+ attr_accessor :description
2789
+ # 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.
2790
+ attr_accessor :metadata
2791
+
2792
+ def initialize(description: nil, metadata: nil)
2793
+ @description = description
2794
+ @metadata = metadata
2795
+ end
2796
+ end
2797
+ # The amount that will be transferred automatically when a charge succeeds.
2798
+ # The amount is capped at the total transaction amount and if no amount is set,
2799
+ # the full amount is transferred.
2800
+ #
2801
+ # If you intend to collect a fee and you need a more robust reporting experience, using
2802
+ # [application_fee_amount](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-application_fee_amount)
2803
+ # might be a better fit for your integration.
2804
+ attr_accessor :amount
2805
+ # An arbitrary string attached to the transfer. Often useful for displaying to users.
2806
+ attr_accessor :description
2807
+ # If specified, successful charges will be attributed to the destination
2808
+ # account for tax reporting, and the funds from charges will be transferred
2809
+ # to the destination account. The ID of the resulting transfer will be
2810
+ # returned on the successful charge's `transfer` field.
2811
+ attr_accessor :destination
2812
+ # 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.
2813
+ attr_accessor :metadata
2814
+ # The data with which to populate the destination payment.
2815
+ attr_accessor :payment_data
2816
+
2817
+ def initialize(
2818
+ amount: nil,
2819
+ description: nil,
2820
+ destination: nil,
2821
+ metadata: nil,
2822
+ payment_data: nil
2823
+ )
2824
+ @amount = amount
2825
+ @description = description
2826
+ @destination = destination
2827
+ @metadata = metadata
2828
+ @payment_data = payment_data
2829
+ end
2830
+ end
2831
+ # 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).
2832
+ attr_accessor :amount
2833
+ # Provides industry-specific information about the amount.
2834
+ attr_accessor :amount_details
2835
+ # 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).
2836
+ attr_accessor :application_fee_amount
2837
+ # When you enable this parameter, this PaymentIntent accepts payment methods that you enable in the Dashboard and that are compatible with this PaymentIntent's other parameters.
2838
+ attr_accessor :automatic_payment_methods
2839
+ # Controls when the funds will be captured from the customer's account.
2840
+ attr_accessor :capture_method
2841
+ # Set to `true` to attempt to [confirm this PaymentIntent](https://docs.stripe.com/api/payment_intents/confirm) immediately. This parameter defaults to `false`. When creating and confirming a PaymentIntent at the same time, you can also provide the parameters available in the [Confirm API](https://docs.stripe.com/api/payment_intents/confirm).
2842
+ attr_accessor :confirm
2843
+ # Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment.
2844
+ attr_accessor :confirmation_method
2845
+ # ID of the ConfirmationToken used to confirm this PaymentIntent.
2846
+ #
2847
+ # If the provided ConfirmationToken contains properties that are also being provided in this request, such as `payment_method`, then the values in this request will take precedence.
2848
+ attr_accessor :confirmation_token
2849
+ # 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).
2850
+ attr_accessor :currency
2851
+ # ID of the Customer this PaymentIntent belongs to, if one exists.
2852
+ #
2853
+ # Payment methods attached to other Customers cannot be used with this PaymentIntent.
2854
+ #
2855
+ # 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.
2856
+ attr_accessor :customer
2857
+ # ID of the Account representing the customer that this PaymentIntent belongs to, if one exists.
2858
+ #
2859
+ # Payment methods attached to other Accounts cannot be used with this PaymentIntent.
2860
+ #
2861
+ # 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.
2862
+ attr_accessor :customer_account
2863
+ # An arbitrary string attached to the object. Often useful for displaying to users.
2864
+ attr_accessor :description
2865
+ # Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. Use this parameter for simpler integrations that don't handle customer actions, such as [saving cards without authentication](https://docs.stripe.com/payments/save-card-without-authentication). This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
2866
+ attr_accessor :error_on_requires_action
2867
+ # The list of payment method types to exclude from use with this payment.
2868
+ attr_accessor :excluded_payment_method_types
2869
+ # Specifies which fields in the response should be expanded.
2870
+ attr_accessor :expand
2871
+ # Automations to be run during the PaymentIntent lifecycle
2872
+ attr_accessor :hooks
2873
+ # ID of the mandate that's used for this payment. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
2874
+ attr_accessor :mandate
2875
+ # This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
2876
+ attr_accessor :mandate_data
2877
+ # 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`.
2878
+ attr_accessor :metadata
2879
+ # Set to `true` to indicate that the customer isn't in your checkout flow during this payment attempt and can't authenticate. Use this parameter in scenarios where you collect payment method details and [charge them later](https://docs.stripe.com/payments/save-during-payment). This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
2880
+ attr_accessor :off_session
2881
+ # The Stripe account ID that these funds are intended for. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
2882
+ attr_accessor :on_behalf_of
2883
+ # Provides industry-specific information about the charge.
2884
+ attr_accessor :payment_details
2885
+ # ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://docs.stripe.com/payments/payment-methods#compatibility) object) to attach to this PaymentIntent.
2886
+ #
2887
+ # If you don't provide the `payment_method` parameter or the `source` parameter with `confirm=true`, `source` automatically populates with `customer.default_source` to improve migration for users of the Charges API. We recommend that you explicitly provide the `payment_method` moving forward.
2888
+ # If the payment method is attached to a Customer, you must also provide the ID of that Customer as the [customer](https://api.stripe.com#create_payment_intent-customer) parameter of this PaymentIntent.
2889
+ # end
2890
+ attr_accessor :payment_method
2891
+ # The ID of the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) to use with this PaymentIntent.
2892
+ attr_accessor :payment_method_configuration
2893
+ # If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear
2894
+ # in the [payment_method](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method)
2895
+ # property on the PaymentIntent.
2896
+ attr_accessor :payment_method_data
2897
+ # Payment method-specific configuration for this PaymentIntent.
2898
+ attr_accessor :payment_method_options
2899
+ # The list of payment method types (for example, a card) that this PaymentIntent can use. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](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).
2900
+ attr_accessor :payment_method_types
2901
+ # Options to configure Radar. Learn more about [Radar Sessions](https://docs.stripe.com/radar/radar-session).
2902
+ attr_accessor :radar_options
2903
+ # Email address to send the receipt to. If you specify `receipt_email` for a payment in live mode, you send a receipt regardless of your [email settings](https://dashboard.stripe.com/account/emails).
2904
+ attr_accessor :receipt_email
2905
+ # The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
2906
+ attr_accessor :return_url
2907
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2908
+ #
2909
+ # 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.
2910
+ #
2911
+ # 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.
2912
+ #
2913
+ # 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).
2914
+ attr_accessor :setup_future_usage
2915
+ # Shipping information for this PaymentIntent.
2916
+ attr_accessor :shipping
2917
+ # 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).
2918
+ #
2919
+ # 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.
2920
+ attr_accessor :statement_descriptor
2921
+ # 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.
2922
+ attr_accessor :statement_descriptor_suffix
2923
+ # The parameters that you can use to automatically create a Transfer.
2924
+ # Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
2925
+ attr_accessor :transfer_data
2926
+ # A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers).
2927
+ attr_accessor :transfer_group
2928
+ # Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
2929
+ attr_accessor :use_stripe_sdk
2930
+
2931
+ def initialize(
2932
+ amount: nil,
2933
+ amount_details: nil,
2934
+ application_fee_amount: nil,
2935
+ automatic_payment_methods: nil,
2936
+ capture_method: nil,
2937
+ confirm: nil,
2938
+ confirmation_method: nil,
2939
+ confirmation_token: nil,
2940
+ currency: nil,
2941
+ customer: nil,
2942
+ customer_account: nil,
2943
+ description: nil,
2944
+ error_on_requires_action: nil,
2945
+ excluded_payment_method_types: nil,
2946
+ expand: nil,
2947
+ hooks: nil,
2948
+ mandate: nil,
2949
+ mandate_data: nil,
2950
+ metadata: nil,
2951
+ off_session: nil,
2952
+ on_behalf_of: nil,
2953
+ payment_details: nil,
2954
+ payment_method: nil,
2955
+ payment_method_configuration: nil,
2956
+ payment_method_data: nil,
2957
+ payment_method_options: nil,
2958
+ payment_method_types: nil,
2959
+ radar_options: nil,
2960
+ receipt_email: nil,
2961
+ return_url: nil,
2962
+ setup_future_usage: nil,
2963
+ shipping: nil,
2964
+ statement_descriptor: nil,
2965
+ statement_descriptor_suffix: nil,
2966
+ transfer_data: nil,
2967
+ transfer_group: nil,
2968
+ use_stripe_sdk: nil
2969
+ )
2970
+ @amount = amount
2971
+ @amount_details = amount_details
2972
+ @application_fee_amount = application_fee_amount
2973
+ @automatic_payment_methods = automatic_payment_methods
2974
+ @capture_method = capture_method
2975
+ @confirm = confirm
2976
+ @confirmation_method = confirmation_method
2977
+ @confirmation_token = confirmation_token
2978
+ @currency = currency
2979
+ @customer = customer
2980
+ @customer_account = customer_account
2981
+ @description = description
2982
+ @error_on_requires_action = error_on_requires_action
2983
+ @excluded_payment_method_types = excluded_payment_method_types
2984
+ @expand = expand
2985
+ @hooks = hooks
2986
+ @mandate = mandate
2987
+ @mandate_data = mandate_data
2988
+ @metadata = metadata
2989
+ @off_session = off_session
2990
+ @on_behalf_of = on_behalf_of
2991
+ @payment_details = payment_details
2992
+ @payment_method = payment_method
2993
+ @payment_method_configuration = payment_method_configuration
2994
+ @payment_method_data = payment_method_data
2995
+ @payment_method_options = payment_method_options
2996
+ @payment_method_types = payment_method_types
2997
+ @radar_options = radar_options
2998
+ @receipt_email = receipt_email
2999
+ @return_url = return_url
3000
+ @setup_future_usage = setup_future_usage
3001
+ @shipping = shipping
3002
+ @statement_descriptor = statement_descriptor
3003
+ @statement_descriptor_suffix = statement_descriptor_suffix
3004
+ @transfer_data = transfer_data
3005
+ @transfer_group = transfer_group
3006
+ @use_stripe_sdk = use_stripe_sdk
3007
+ end
3008
+ end
3009
+ end