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,3456 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ # A PaymentIntent guides you through the process of collecting a payment from your customer.
6
+ # We recommend that you create exactly one PaymentIntent for each order or
7
+ # customer session in your system. You can reference the PaymentIntent later to
8
+ # see the history of payment attempts for a particular session.
9
+ #
10
+ # A PaymentIntent transitions through
11
+ # [multiple statuses](https://docs.stripe.com/payments/paymentintents/lifecycle)
12
+ # throughout its lifetime as it interfaces with Stripe.js to perform
13
+ # authentication flows and ultimately creates at most one successful charge.
14
+ #
15
+ # Related guide: [Payment Intents API](https://docs.stripe.com/payments/payment-intents)
16
+ class PaymentIntent < APIResource
17
+ extend Stripe::APIOperations::Create
18
+ extend Stripe::APIOperations::List
19
+ extend Stripe::APIOperations::NestedResource
20
+ extend Stripe::APIOperations::Search
21
+ include Stripe::APIOperations::Save
22
+
23
+ OBJECT_NAME = "payment_intent"
24
+ def self.object_name
25
+ "payment_intent"
26
+ end
27
+
28
+ nested_resource_class_methods :amount_details_line_item, operations: %i[list]
29
+
30
+ class AmountDetails < ::Stripe::StripeObject
31
+ class Error < ::Stripe::StripeObject
32
+ # The code of the error that occurred when validating the current amount details.
33
+ attr_reader :code
34
+ # A message providing more details about the error.
35
+ attr_reader :message
36
+
37
+ def self.inner_class_types
38
+ @inner_class_types = {}
39
+ end
40
+
41
+ def self.field_remappings
42
+ @field_remappings = {}
43
+ end
44
+ end
45
+
46
+ class Shipping < ::Stripe::StripeObject
47
+ # 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.
48
+ attr_reader :amount
49
+ # 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.
50
+ attr_reader :from_postal_code
51
+ # 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.
52
+ attr_reader :to_postal_code
53
+
54
+ def self.inner_class_types
55
+ @inner_class_types = {}
56
+ end
57
+
58
+ def self.field_remappings
59
+ @field_remappings = {}
60
+ end
61
+ end
62
+
63
+ class Tax < ::Stripe::StripeObject
64
+ # 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.
65
+ #
66
+ # This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
67
+ attr_reader :total_tax_amount
68
+
69
+ def self.inner_class_types
70
+ @inner_class_types = {}
71
+ end
72
+
73
+ def self.field_remappings
74
+ @field_remappings = {}
75
+ end
76
+ end
77
+
78
+ class Tip < ::Stripe::StripeObject
79
+ # Portion of the amount that corresponds to a tip.
80
+ attr_reader :amount
81
+
82
+ def self.inner_class_types
83
+ @inner_class_types = {}
84
+ end
85
+
86
+ def self.field_remappings
87
+ @field_remappings = {}
88
+ end
89
+ end
90
+ # 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.
91
+ #
92
+ # This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
93
+ attr_reader :discount_amount
94
+ # Attribute for field error
95
+ attr_reader :error
96
+ # A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.
97
+ attr_reader :line_items
98
+ # Attribute for field shipping
99
+ attr_reader :shipping
100
+ # Attribute for field tax
101
+ attr_reader :tax
102
+ # Attribute for field tip
103
+ attr_reader :tip
104
+
105
+ def self.inner_class_types
106
+ @inner_class_types = { error: Error, shipping: Shipping, tax: Tax, tip: Tip }
107
+ end
108
+
109
+ def self.field_remappings
110
+ @field_remappings = {}
111
+ end
112
+ end
113
+
114
+ class AutomaticPaymentMethods < ::Stripe::StripeObject
115
+ # Controls whether this PaymentIntent will accept redirect-based payment methods.
116
+ #
117
+ # 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.
118
+ attr_reader :allow_redirects
119
+ # Automatically calculates compatible payment methods
120
+ attr_reader :enabled
121
+
122
+ def self.inner_class_types
123
+ @inner_class_types = {}
124
+ end
125
+
126
+ def self.field_remappings
127
+ @field_remappings = {}
128
+ end
129
+ end
130
+
131
+ class Hooks < ::Stripe::StripeObject
132
+ class Inputs < ::Stripe::StripeObject
133
+ class Tax < ::Stripe::StripeObject
134
+ # The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
135
+ attr_reader :calculation
136
+
137
+ def self.inner_class_types
138
+ @inner_class_types = {}
139
+ end
140
+
141
+ def self.field_remappings
142
+ @field_remappings = {}
143
+ end
144
+ end
145
+ # Attribute for field tax
146
+ attr_reader :tax
147
+
148
+ def self.inner_class_types
149
+ @inner_class_types = { tax: Tax }
150
+ end
151
+
152
+ def self.field_remappings
153
+ @field_remappings = {}
154
+ end
155
+ end
156
+ # Attribute for field inputs
157
+ attr_reader :inputs
158
+
159
+ def self.inner_class_types
160
+ @inner_class_types = { inputs: Inputs }
161
+ end
162
+
163
+ def self.field_remappings
164
+ @field_remappings = {}
165
+ end
166
+ end
167
+
168
+ class LastPaymentError < ::Stripe::StripeObject
169
+ # For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://docs.stripe.com/declines#retrying-issuer-declines) if they provide one.
170
+ attr_reader :advice_code
171
+ # For card errors, the ID of the failed charge.
172
+ attr_reader :charge
173
+ # For some errors that could be handled programmatically, a short string indicating the [error code](https://docs.stripe.com/error-codes) reported.
174
+ attr_reader :code
175
+ # For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://docs.stripe.com/declines#issuer-declines) if they provide one.
176
+ attr_reader :decline_code
177
+ # A URL to more information about the [error code](https://docs.stripe.com/error-codes) reported.
178
+ attr_reader :doc_url
179
+ # A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.
180
+ attr_reader :message
181
+ # For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error.
182
+ attr_reader :network_advice_code
183
+ # For payments declined by the network, an alphanumeric code which indicates the reason the payment failed.
184
+ attr_reader :network_decline_code
185
+ # If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.
186
+ attr_reader :param
187
+ # A PaymentIntent guides you through the process of collecting a payment from your customer.
188
+ # We recommend that you create exactly one PaymentIntent for each order or
189
+ # customer session in your system. You can reference the PaymentIntent later to
190
+ # see the history of payment attempts for a particular session.
191
+ #
192
+ # A PaymentIntent transitions through
193
+ # [multiple statuses](/payments/paymentintents/lifecycle)
194
+ # throughout its lifetime as it interfaces with Stripe.js to perform
195
+ # authentication flows and ultimately creates at most one successful charge.
196
+ #
197
+ # Related guide: [Payment Intents API](https://docs.stripe.com/payments/payment-intents)
198
+ attr_reader :payment_intent
199
+ # PaymentMethod objects represent your customer's payment instruments.
200
+ # You can use them with [PaymentIntents](https://docs.stripe.com/payments/payment-intents) to collect payments or save them to
201
+ # Customer objects to store instrument details for future payments.
202
+ #
203
+ # Related guides: [Payment Methods](https://docs.stripe.com/payments/payment-methods) and [More Payment Scenarios](https://docs.stripe.com/payments/more-payment-scenarios).
204
+ attr_reader :payment_method
205
+ # If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors.
206
+ attr_reader :payment_method_type
207
+ # A URL to the request log entry in your dashboard.
208
+ attr_reader :request_log_url
209
+ # A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments.
210
+ # For example, you can use a SetupIntent to set up and save your customer's card without immediately collecting a payment.
211
+ # Later, you can use [PaymentIntents](https://api.stripe.com#payment_intents) to drive the payment flow.
212
+ #
213
+ # Create a SetupIntent when you're ready to collect your customer's payment credentials.
214
+ # Don't maintain long-lived, unconfirmed SetupIntents because they might not be valid.
215
+ # The SetupIntent transitions through multiple [statuses](https://docs.stripe.com/payments/intents#intent-statuses) as it guides
216
+ # you through the setup process.
217
+ #
218
+ # Successful SetupIntents result in payment credentials that are optimized for future payments.
219
+ # For example, cardholders in [certain regions](https://stripe.com/guides/strong-customer-authentication) might need to be run through
220
+ # [Strong Customer Authentication](https://docs.stripe.com/strong-customer-authentication) during payment method collection
221
+ # to streamline later [off-session payments](https://docs.stripe.com/payments/setup-intents).
222
+ # If you use the SetupIntent with a [Customer](https://api.stripe.com#setup_intent_object-customer),
223
+ # it automatically attaches the resulting payment method to that Customer after successful setup.
224
+ # We recommend using SetupIntents or [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) on
225
+ # PaymentIntents to save payment methods to prevent saving invalid or unoptimized payment methods.
226
+ #
227
+ # By using SetupIntents, you can reduce friction for your customers, even as regulations change over time.
228
+ #
229
+ # Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents)
230
+ attr_reader :setup_intent
231
+ # Attribute for field source
232
+ attr_reader :source
233
+ # The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error`
234
+ attr_reader :type
235
+
236
+ def self.inner_class_types
237
+ @inner_class_types = {}
238
+ end
239
+
240
+ def self.field_remappings
241
+ @field_remappings = {}
242
+ end
243
+ end
244
+
245
+ class ManagedPayments < ::Stripe::StripeObject
246
+ # Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
247
+ attr_reader :enabled
248
+
249
+ def self.inner_class_types
250
+ @inner_class_types = {}
251
+ end
252
+
253
+ def self.field_remappings
254
+ @field_remappings = {}
255
+ end
256
+ end
257
+
258
+ class NextAction < ::Stripe::StripeObject
259
+ class AlipayHandleRedirect < ::Stripe::StripeObject
260
+ # The native data to be used with Alipay SDK you must redirect your customer to in order to authenticate the payment in an Android App.
261
+ attr_reader :native_data
262
+ # The native URL you must redirect your customer to in order to authenticate the payment in an iOS App.
263
+ attr_reader :native_url
264
+ # If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.
265
+ attr_reader :return_url
266
+ # The URL you must redirect your customer to in order to authenticate the payment.
267
+ attr_reader :url
268
+
269
+ def self.inner_class_types
270
+ @inner_class_types = {}
271
+ end
272
+
273
+ def self.field_remappings
274
+ @field_remappings = {}
275
+ end
276
+ end
277
+
278
+ class BlikAuthorize < ::Stripe::StripeObject
279
+ def self.inner_class_types
280
+ @inner_class_types = {}
281
+ end
282
+
283
+ def self.field_remappings
284
+ @field_remappings = {}
285
+ end
286
+ end
287
+
288
+ class BoletoDisplayDetails < ::Stripe::StripeObject
289
+ # The timestamp after which the boleto expires.
290
+ attr_reader :expires_at
291
+ # The URL to the hosted boleto voucher page, which allows customers to view the boleto voucher.
292
+ attr_reader :hosted_voucher_url
293
+ # The boleto number.
294
+ attr_reader :number
295
+ # The URL to the downloadable boleto voucher PDF.
296
+ attr_reader :pdf
297
+
298
+ def self.inner_class_types
299
+ @inner_class_types = {}
300
+ end
301
+
302
+ def self.field_remappings
303
+ @field_remappings = {}
304
+ end
305
+ end
306
+
307
+ class CardAwaitNotification < ::Stripe::StripeObject
308
+ # The time that payment will be attempted. If customer approval is required, they need to provide approval before this time.
309
+ attr_reader :charge_attempt_at
310
+ # For payments greater than INR 15000, the customer must provide explicit approval of the payment with their bank. For payments of lower amount, no customer action is required.
311
+ attr_reader :customer_approval_required
312
+
313
+ def self.inner_class_types
314
+ @inner_class_types = {}
315
+ end
316
+
317
+ def self.field_remappings
318
+ @field_remappings = {}
319
+ end
320
+ end
321
+
322
+ class CashappHandleRedirectOrDisplayQrCode < ::Stripe::StripeObject
323
+ class QrCode < ::Stripe::StripeObject
324
+ # The date (unix timestamp) when the QR code expires.
325
+ attr_reader :expires_at
326
+ # The image_url_png string used to render QR code
327
+ attr_reader :image_url_png
328
+ # The image_url_svg string used to render QR code
329
+ attr_reader :image_url_svg
330
+
331
+ def self.inner_class_types
332
+ @inner_class_types = {}
333
+ end
334
+
335
+ def self.field_remappings
336
+ @field_remappings = {}
337
+ end
338
+ end
339
+ # The URL to the hosted Cash App Pay instructions page, which allows customers to view the QR code, and supports QR code refreshing on expiration.
340
+ attr_reader :hosted_instructions_url
341
+ # The url for mobile redirect based auth
342
+ attr_reader :mobile_auth_url
343
+ # Attribute for field qr_code
344
+ attr_reader :qr_code
345
+
346
+ def self.inner_class_types
347
+ @inner_class_types = { qr_code: QrCode }
348
+ end
349
+
350
+ def self.field_remappings
351
+ @field_remappings = {}
352
+ end
353
+ end
354
+
355
+ class DisplayBankTransferInstructions < ::Stripe::StripeObject
356
+ class FinancialAddress < ::Stripe::StripeObject
357
+ class Aba < ::Stripe::StripeObject
358
+ class AccountHolderAddress < ::Stripe::StripeObject
359
+ # City, district, suburb, town, or village.
360
+ attr_reader :city
361
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
362
+ attr_reader :country
363
+ # Address line 1, such as the street, PO Box, or company name.
364
+ attr_reader :line1
365
+ # Address line 2, such as the apartment, suite, unit, or building.
366
+ attr_reader :line2
367
+ # ZIP or postal code.
368
+ attr_reader :postal_code
369
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
370
+ attr_reader :state
371
+
372
+ def self.inner_class_types
373
+ @inner_class_types = {}
374
+ end
375
+
376
+ def self.field_remappings
377
+ @field_remappings = {}
378
+ end
379
+ end
380
+
381
+ class BankAddress < ::Stripe::StripeObject
382
+ # City, district, suburb, town, or village.
383
+ attr_reader :city
384
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
385
+ attr_reader :country
386
+ # Address line 1, such as the street, PO Box, or company name.
387
+ attr_reader :line1
388
+ # Address line 2, such as the apartment, suite, unit, or building.
389
+ attr_reader :line2
390
+ # ZIP or postal code.
391
+ attr_reader :postal_code
392
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
393
+ attr_reader :state
394
+
395
+ def self.inner_class_types
396
+ @inner_class_types = {}
397
+ end
398
+
399
+ def self.field_remappings
400
+ @field_remappings = {}
401
+ end
402
+ end
403
+ # Attribute for field account_holder_address
404
+ attr_reader :account_holder_address
405
+ # The account holder name
406
+ attr_reader :account_holder_name
407
+ # The ABA account number
408
+ attr_reader :account_number
409
+ # The account type
410
+ attr_reader :account_type
411
+ # Attribute for field bank_address
412
+ attr_reader :bank_address
413
+ # The bank name
414
+ attr_reader :bank_name
415
+ # The ABA routing number
416
+ attr_reader :routing_number
417
+
418
+ def self.inner_class_types
419
+ @inner_class_types = {
420
+ account_holder_address: AccountHolderAddress,
421
+ bank_address: BankAddress,
422
+ }
423
+ end
424
+
425
+ def self.field_remappings
426
+ @field_remappings = {}
427
+ end
428
+ end
429
+
430
+ class Iban < ::Stripe::StripeObject
431
+ class AccountHolderAddress < ::Stripe::StripeObject
432
+ # City, district, suburb, town, or village.
433
+ attr_reader :city
434
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
435
+ attr_reader :country
436
+ # Address line 1, such as the street, PO Box, or company name.
437
+ attr_reader :line1
438
+ # Address line 2, such as the apartment, suite, unit, or building.
439
+ attr_reader :line2
440
+ # ZIP or postal code.
441
+ attr_reader :postal_code
442
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
443
+ attr_reader :state
444
+
445
+ def self.inner_class_types
446
+ @inner_class_types = {}
447
+ end
448
+
449
+ def self.field_remappings
450
+ @field_remappings = {}
451
+ end
452
+ end
453
+
454
+ class BankAddress < ::Stripe::StripeObject
455
+ # City, district, suburb, town, or village.
456
+ attr_reader :city
457
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
458
+ attr_reader :country
459
+ # Address line 1, such as the street, PO Box, or company name.
460
+ attr_reader :line1
461
+ # Address line 2, such as the apartment, suite, unit, or building.
462
+ attr_reader :line2
463
+ # ZIP or postal code.
464
+ attr_reader :postal_code
465
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
466
+ attr_reader :state
467
+
468
+ def self.inner_class_types
469
+ @inner_class_types = {}
470
+ end
471
+
472
+ def self.field_remappings
473
+ @field_remappings = {}
474
+ end
475
+ end
476
+ # Attribute for field account_holder_address
477
+ attr_reader :account_holder_address
478
+ # The name of the person or business that owns the bank account
479
+ attr_reader :account_holder_name
480
+ # Attribute for field bank_address
481
+ attr_reader :bank_address
482
+ # The BIC/SWIFT code of the account.
483
+ attr_reader :bic
484
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
485
+ attr_reader :country
486
+ # The IBAN of the account.
487
+ attr_reader :iban
488
+
489
+ def self.inner_class_types
490
+ @inner_class_types = {
491
+ account_holder_address: AccountHolderAddress,
492
+ bank_address: BankAddress,
493
+ }
494
+ end
495
+
496
+ def self.field_remappings
497
+ @field_remappings = {}
498
+ end
499
+ end
500
+
501
+ class SortCode < ::Stripe::StripeObject
502
+ class AccountHolderAddress < ::Stripe::StripeObject
503
+ # City, district, suburb, town, or village.
504
+ attr_reader :city
505
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
506
+ attr_reader :country
507
+ # Address line 1, such as the street, PO Box, or company name.
508
+ attr_reader :line1
509
+ # Address line 2, such as the apartment, suite, unit, or building.
510
+ attr_reader :line2
511
+ # ZIP or postal code.
512
+ attr_reader :postal_code
513
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
514
+ attr_reader :state
515
+
516
+ def self.inner_class_types
517
+ @inner_class_types = {}
518
+ end
519
+
520
+ def self.field_remappings
521
+ @field_remappings = {}
522
+ end
523
+ end
524
+
525
+ class BankAddress < ::Stripe::StripeObject
526
+ # City, district, suburb, town, or village.
527
+ attr_reader :city
528
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
529
+ attr_reader :country
530
+ # Address line 1, such as the street, PO Box, or company name.
531
+ attr_reader :line1
532
+ # Address line 2, such as the apartment, suite, unit, or building.
533
+ attr_reader :line2
534
+ # ZIP or postal code.
535
+ attr_reader :postal_code
536
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
537
+ attr_reader :state
538
+
539
+ def self.inner_class_types
540
+ @inner_class_types = {}
541
+ end
542
+
543
+ def self.field_remappings
544
+ @field_remappings = {}
545
+ end
546
+ end
547
+ # Attribute for field account_holder_address
548
+ attr_reader :account_holder_address
549
+ # The name of the person or business that owns the bank account
550
+ attr_reader :account_holder_name
551
+ # The account number
552
+ attr_reader :account_number
553
+ # Attribute for field bank_address
554
+ attr_reader :bank_address
555
+ # The six-digit sort code
556
+ attr_reader :sort_code
557
+
558
+ def self.inner_class_types
559
+ @inner_class_types = {
560
+ account_holder_address: AccountHolderAddress,
561
+ bank_address: BankAddress,
562
+ }
563
+ end
564
+
565
+ def self.field_remappings
566
+ @field_remappings = {}
567
+ end
568
+ end
569
+
570
+ class Spei < ::Stripe::StripeObject
571
+ class AccountHolderAddress < ::Stripe::StripeObject
572
+ # City, district, suburb, town, or village.
573
+ attr_reader :city
574
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
575
+ attr_reader :country
576
+ # Address line 1, such as the street, PO Box, or company name.
577
+ attr_reader :line1
578
+ # Address line 2, such as the apartment, suite, unit, or building.
579
+ attr_reader :line2
580
+ # ZIP or postal code.
581
+ attr_reader :postal_code
582
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
583
+ attr_reader :state
584
+
585
+ def self.inner_class_types
586
+ @inner_class_types = {}
587
+ end
588
+
589
+ def self.field_remappings
590
+ @field_remappings = {}
591
+ end
592
+ end
593
+
594
+ class BankAddress < ::Stripe::StripeObject
595
+ # City, district, suburb, town, or village.
596
+ attr_reader :city
597
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
598
+ attr_reader :country
599
+ # Address line 1, such as the street, PO Box, or company name.
600
+ attr_reader :line1
601
+ # Address line 2, such as the apartment, suite, unit, or building.
602
+ attr_reader :line2
603
+ # ZIP or postal code.
604
+ attr_reader :postal_code
605
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
606
+ attr_reader :state
607
+
608
+ def self.inner_class_types
609
+ @inner_class_types = {}
610
+ end
611
+
612
+ def self.field_remappings
613
+ @field_remappings = {}
614
+ end
615
+ end
616
+ # Attribute for field account_holder_address
617
+ attr_reader :account_holder_address
618
+ # The account holder name
619
+ attr_reader :account_holder_name
620
+ # Attribute for field bank_address
621
+ attr_reader :bank_address
622
+ # The three-digit bank code
623
+ attr_reader :bank_code
624
+ # The short banking institution name
625
+ attr_reader :bank_name
626
+ # The CLABE number
627
+ attr_reader :clabe
628
+
629
+ def self.inner_class_types
630
+ @inner_class_types = {
631
+ account_holder_address: AccountHolderAddress,
632
+ bank_address: BankAddress,
633
+ }
634
+ end
635
+
636
+ def self.field_remappings
637
+ @field_remappings = {}
638
+ end
639
+ end
640
+
641
+ class Swift < ::Stripe::StripeObject
642
+ class AccountHolderAddress < ::Stripe::StripeObject
643
+ # City, district, suburb, town, or village.
644
+ attr_reader :city
645
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
646
+ attr_reader :country
647
+ # Address line 1, such as the street, PO Box, or company name.
648
+ attr_reader :line1
649
+ # Address line 2, such as the apartment, suite, unit, or building.
650
+ attr_reader :line2
651
+ # ZIP or postal code.
652
+ attr_reader :postal_code
653
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
654
+ attr_reader :state
655
+
656
+ def self.inner_class_types
657
+ @inner_class_types = {}
658
+ end
659
+
660
+ def self.field_remappings
661
+ @field_remappings = {}
662
+ end
663
+ end
664
+
665
+ class BankAddress < ::Stripe::StripeObject
666
+ # City, district, suburb, town, or village.
667
+ attr_reader :city
668
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
669
+ attr_reader :country
670
+ # Address line 1, such as the street, PO Box, or company name.
671
+ attr_reader :line1
672
+ # Address line 2, such as the apartment, suite, unit, or building.
673
+ attr_reader :line2
674
+ # ZIP or postal code.
675
+ attr_reader :postal_code
676
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
677
+ attr_reader :state
678
+
679
+ def self.inner_class_types
680
+ @inner_class_types = {}
681
+ end
682
+
683
+ def self.field_remappings
684
+ @field_remappings = {}
685
+ end
686
+ end
687
+ # Attribute for field account_holder_address
688
+ attr_reader :account_holder_address
689
+ # The account holder name
690
+ attr_reader :account_holder_name
691
+ # The account number
692
+ attr_reader :account_number
693
+ # The account type
694
+ attr_reader :account_type
695
+ # Attribute for field bank_address
696
+ attr_reader :bank_address
697
+ # The bank name
698
+ attr_reader :bank_name
699
+ # The SWIFT code
700
+ attr_reader :swift_code
701
+
702
+ def self.inner_class_types
703
+ @inner_class_types = {
704
+ account_holder_address: AccountHolderAddress,
705
+ bank_address: BankAddress,
706
+ }
707
+ end
708
+
709
+ def self.field_remappings
710
+ @field_remappings = {}
711
+ end
712
+ end
713
+
714
+ class Zengin < ::Stripe::StripeObject
715
+ class AccountHolderAddress < ::Stripe::StripeObject
716
+ # City, district, suburb, town, or village.
717
+ attr_reader :city
718
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
719
+ attr_reader :country
720
+ # Address line 1, such as the street, PO Box, or company name.
721
+ attr_reader :line1
722
+ # Address line 2, such as the apartment, suite, unit, or building.
723
+ attr_reader :line2
724
+ # ZIP or postal code.
725
+ attr_reader :postal_code
726
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
727
+ attr_reader :state
728
+
729
+ def self.inner_class_types
730
+ @inner_class_types = {}
731
+ end
732
+
733
+ def self.field_remappings
734
+ @field_remappings = {}
735
+ end
736
+ end
737
+
738
+ class BankAddress < ::Stripe::StripeObject
739
+ # City, district, suburb, town, or village.
740
+ attr_reader :city
741
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
742
+ attr_reader :country
743
+ # Address line 1, such as the street, PO Box, or company name.
744
+ attr_reader :line1
745
+ # Address line 2, such as the apartment, suite, unit, or building.
746
+ attr_reader :line2
747
+ # ZIP or postal code.
748
+ attr_reader :postal_code
749
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
750
+ attr_reader :state
751
+
752
+ def self.inner_class_types
753
+ @inner_class_types = {}
754
+ end
755
+
756
+ def self.field_remappings
757
+ @field_remappings = {}
758
+ end
759
+ end
760
+ # Attribute for field account_holder_address
761
+ attr_reader :account_holder_address
762
+ # The account holder name
763
+ attr_reader :account_holder_name
764
+ # The account number
765
+ attr_reader :account_number
766
+ # The bank account type. In Japan, this can only be `futsu` or `toza`.
767
+ attr_reader :account_type
768
+ # Attribute for field bank_address
769
+ attr_reader :bank_address
770
+ # The bank code of the account
771
+ attr_reader :bank_code
772
+ # The bank name of the account
773
+ attr_reader :bank_name
774
+ # The branch code of the account
775
+ attr_reader :branch_code
776
+ # The branch name of the account
777
+ attr_reader :branch_name
778
+
779
+ def self.inner_class_types
780
+ @inner_class_types = {
781
+ account_holder_address: AccountHolderAddress,
782
+ bank_address: BankAddress,
783
+ }
784
+ end
785
+
786
+ def self.field_remappings
787
+ @field_remappings = {}
788
+ end
789
+ end
790
+ # ABA Records contain U.S. bank account details per the ABA format.
791
+ attr_reader :aba
792
+ # Iban Records contain E.U. bank account details per the SEPA format.
793
+ attr_reader :iban
794
+ # Sort Code Records contain U.K. bank account details per the sort code format.
795
+ attr_reader :sort_code
796
+ # SPEI Records contain Mexico bank account details per the SPEI format.
797
+ attr_reader :spei
798
+ # The payment networks supported by this FinancialAddress
799
+ attr_reader :supported_networks
800
+ # SWIFT Records contain U.S. bank account details per the SWIFT format.
801
+ attr_reader :swift
802
+ # The type of financial address
803
+ attr_reader :type
804
+ # Zengin Records contain Japan bank account details per the Zengin format.
805
+ attr_reader :zengin
806
+
807
+ def self.inner_class_types
808
+ @inner_class_types = {
809
+ aba: Aba,
810
+ iban: Iban,
811
+ sort_code: SortCode,
812
+ spei: Spei,
813
+ swift: Swift,
814
+ zengin: Zengin,
815
+ }
816
+ end
817
+
818
+ def self.field_remappings
819
+ @field_remappings = {}
820
+ end
821
+ end
822
+ # The remaining amount that needs to be transferred to complete the payment.
823
+ attr_reader :amount_remaining
824
+ # 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).
825
+ attr_reader :currency
826
+ # A list of financial addresses that can be used to fund the customer balance
827
+ attr_reader :financial_addresses
828
+ # A link to a hosted page that guides your customer through completing the transfer.
829
+ attr_reader :hosted_instructions_url
830
+ # A string identifying this payment. Instruct your customer to include this code in the reference or memo field of their bank transfer.
831
+ attr_reader :reference
832
+ # Type of bank transfer
833
+ attr_reader :type
834
+
835
+ def self.inner_class_types
836
+ @inner_class_types = { financial_addresses: FinancialAddress }
837
+ end
838
+
839
+ def self.field_remappings
840
+ @field_remappings = {}
841
+ end
842
+ end
843
+
844
+ class KlarnaDisplayQrCode < ::Stripe::StripeObject
845
+ # The data being used to generate QR code
846
+ attr_reader :data
847
+ # The timestamp at which the QR code expires.
848
+ attr_reader :expires_at
849
+ # The image_url_png string used to render QR code
850
+ attr_reader :image_url_png
851
+ # The image_url_svg string used to render QR code
852
+ attr_reader :image_url_svg
853
+
854
+ def self.inner_class_types
855
+ @inner_class_types = {}
856
+ end
857
+
858
+ def self.field_remappings
859
+ @field_remappings = {}
860
+ end
861
+ end
862
+
863
+ class KonbiniDisplayDetails < ::Stripe::StripeObject
864
+ class Stores < ::Stripe::StripeObject
865
+ class Familymart < ::Stripe::StripeObject
866
+ # The confirmation number.
867
+ attr_reader :confirmation_number
868
+ # The payment code.
869
+ attr_reader :payment_code
870
+
871
+ def self.inner_class_types
872
+ @inner_class_types = {}
873
+ end
874
+
875
+ def self.field_remappings
876
+ @field_remappings = {}
877
+ end
878
+ end
879
+
880
+ class Lawson < ::Stripe::StripeObject
881
+ # The confirmation number.
882
+ attr_reader :confirmation_number
883
+ # The payment code.
884
+ attr_reader :payment_code
885
+
886
+ def self.inner_class_types
887
+ @inner_class_types = {}
888
+ end
889
+
890
+ def self.field_remappings
891
+ @field_remappings = {}
892
+ end
893
+ end
894
+
895
+ class Ministop < ::Stripe::StripeObject
896
+ # The confirmation number.
897
+ attr_reader :confirmation_number
898
+ # The payment code.
899
+ attr_reader :payment_code
900
+
901
+ def self.inner_class_types
902
+ @inner_class_types = {}
903
+ end
904
+
905
+ def self.field_remappings
906
+ @field_remappings = {}
907
+ end
908
+ end
909
+
910
+ class Seicomart < ::Stripe::StripeObject
911
+ # The confirmation number.
912
+ attr_reader :confirmation_number
913
+ # The payment code.
914
+ attr_reader :payment_code
915
+
916
+ def self.inner_class_types
917
+ @inner_class_types = {}
918
+ end
919
+
920
+ def self.field_remappings
921
+ @field_remappings = {}
922
+ end
923
+ end
924
+ # FamilyMart instruction details.
925
+ attr_reader :familymart
926
+ # Lawson instruction details.
927
+ attr_reader :lawson
928
+ # Ministop instruction details.
929
+ attr_reader :ministop
930
+ # Seicomart instruction details.
931
+ attr_reader :seicomart
932
+
933
+ def self.inner_class_types
934
+ @inner_class_types = {
935
+ familymart: Familymart,
936
+ lawson: Lawson,
937
+ ministop: Ministop,
938
+ seicomart: Seicomart,
939
+ }
940
+ end
941
+
942
+ def self.field_remappings
943
+ @field_remappings = {}
944
+ end
945
+ end
946
+ # The timestamp at which the pending Konbini payment expires.
947
+ attr_reader :expires_at
948
+ # The URL for the Konbini payment instructions page, which allows customers to view and print a Konbini voucher.
949
+ attr_reader :hosted_voucher_url
950
+ # Attribute for field stores
951
+ attr_reader :stores
952
+
953
+ def self.inner_class_types
954
+ @inner_class_types = { stores: Stores }
955
+ end
956
+
957
+ def self.field_remappings
958
+ @field_remappings = {}
959
+ end
960
+ end
961
+
962
+ class MultibancoDisplayDetails < ::Stripe::StripeObject
963
+ # Entity number associated with this Multibanco payment.
964
+ attr_reader :entity
965
+ # The timestamp at which the Multibanco voucher expires.
966
+ attr_reader :expires_at
967
+ # The URL for the hosted Multibanco voucher page, which allows customers to view a Multibanco voucher.
968
+ attr_reader :hosted_voucher_url
969
+ # Reference number associated with this Multibanco payment.
970
+ attr_reader :reference
971
+
972
+ def self.inner_class_types
973
+ @inner_class_types = {}
974
+ end
975
+
976
+ def self.field_remappings
977
+ @field_remappings = {}
978
+ end
979
+ end
980
+
981
+ class OxxoDisplayDetails < ::Stripe::StripeObject
982
+ # The timestamp after which the OXXO voucher expires.
983
+ attr_reader :expires_after
984
+ # The URL for the hosted OXXO voucher page, which allows customers to view and print an OXXO voucher.
985
+ attr_reader :hosted_voucher_url
986
+ # OXXO reference number.
987
+ attr_reader :number
988
+
989
+ def self.inner_class_types
990
+ @inner_class_types = {}
991
+ end
992
+
993
+ def self.field_remappings
994
+ @field_remappings = {}
995
+ end
996
+ end
997
+
998
+ class PaynowDisplayQrCode < ::Stripe::StripeObject
999
+ # The raw data string used to generate QR code, it should be used together with QR code library.
1000
+ attr_reader :data
1001
+ # The URL to the hosted PayNow instructions page, which allows customers to view the PayNow QR code.
1002
+ attr_reader :hosted_instructions_url
1003
+ # The image_url_png string used to render QR code
1004
+ attr_reader :image_url_png
1005
+ # The image_url_svg string used to render QR code
1006
+ attr_reader :image_url_svg
1007
+
1008
+ def self.inner_class_types
1009
+ @inner_class_types = {}
1010
+ end
1011
+
1012
+ def self.field_remappings
1013
+ @field_remappings = {}
1014
+ end
1015
+ end
1016
+
1017
+ class PixDisplayQrCode < ::Stripe::StripeObject
1018
+ # The raw data string used to generate QR code, it should be used together with QR code library.
1019
+ attr_reader :data
1020
+ # The date (unix timestamp) when the PIX expires.
1021
+ attr_reader :expires_at
1022
+ # The URL to the hosted pix instructions page, which allows customers to view the pix QR code.
1023
+ attr_reader :hosted_instructions_url
1024
+ # The image_url_png string used to render png QR code
1025
+ attr_reader :image_url_png
1026
+ # The image_url_svg string used to render svg QR code
1027
+ attr_reader :image_url_svg
1028
+
1029
+ def self.inner_class_types
1030
+ @inner_class_types = {}
1031
+ end
1032
+
1033
+ def self.field_remappings
1034
+ @field_remappings = {}
1035
+ end
1036
+ end
1037
+
1038
+ class PromptpayDisplayQrCode < ::Stripe::StripeObject
1039
+ # The raw data string used to generate QR code, it should be used together with QR code library.
1040
+ attr_reader :data
1041
+ # The URL to the hosted PromptPay instructions page, which allows customers to view the PromptPay QR code.
1042
+ attr_reader :hosted_instructions_url
1043
+ # The PNG path used to render the QR code, can be used as the source in an HTML img tag
1044
+ attr_reader :image_url_png
1045
+ # The SVG path used to render the QR code, can be used as the source in an HTML img tag
1046
+ attr_reader :image_url_svg
1047
+
1048
+ def self.inner_class_types
1049
+ @inner_class_types = {}
1050
+ end
1051
+
1052
+ def self.field_remappings
1053
+ @field_remappings = {}
1054
+ end
1055
+ end
1056
+
1057
+ class RedirectToUrl < ::Stripe::StripeObject
1058
+ # If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.
1059
+ attr_reader :return_url
1060
+ # The URL you must redirect your customer to in order to authenticate the payment.
1061
+ attr_reader :url
1062
+
1063
+ def self.inner_class_types
1064
+ @inner_class_types = {}
1065
+ end
1066
+
1067
+ def self.field_remappings
1068
+ @field_remappings = {}
1069
+ end
1070
+ end
1071
+
1072
+ class SwishHandleRedirectOrDisplayQrCode < ::Stripe::StripeObject
1073
+ class QrCode < ::Stripe::StripeObject
1074
+ # The raw data string used to generate QR code, it should be used together with QR code library.
1075
+ attr_reader :data
1076
+ # The image_url_png string used to render QR code
1077
+ attr_reader :image_url_png
1078
+ # The image_url_svg string used to render QR code
1079
+ attr_reader :image_url_svg
1080
+
1081
+ def self.inner_class_types
1082
+ @inner_class_types = {}
1083
+ end
1084
+
1085
+ def self.field_remappings
1086
+ @field_remappings = {}
1087
+ end
1088
+ end
1089
+ # The URL to the hosted Swish instructions page, which allows customers to view the QR code.
1090
+ attr_reader :hosted_instructions_url
1091
+ # The url for mobile redirect based auth (for internal use only and not typically available in standard API requests).
1092
+ attr_reader :mobile_auth_url
1093
+ # Attribute for field qr_code
1094
+ attr_reader :qr_code
1095
+
1096
+ def self.inner_class_types
1097
+ @inner_class_types = { qr_code: QrCode }
1098
+ end
1099
+
1100
+ def self.field_remappings
1101
+ @field_remappings = {}
1102
+ end
1103
+ end
1104
+
1105
+ class UpiHandleRedirectOrDisplayQrCode < ::Stripe::StripeObject
1106
+ class QrCode < ::Stripe::StripeObject
1107
+ # The date (unix timestamp) when the QR code expires.
1108
+ attr_reader :expires_at
1109
+ # The image_url_png string used to render QR code
1110
+ attr_reader :image_url_png
1111
+ # The image_url_svg string used to render QR code
1112
+ attr_reader :image_url_svg
1113
+
1114
+ def self.inner_class_types
1115
+ @inner_class_types = {}
1116
+ end
1117
+
1118
+ def self.field_remappings
1119
+ @field_remappings = {}
1120
+ end
1121
+ end
1122
+ # The URL to the hosted UPI instructions page, which allows customers to view the QR code.
1123
+ attr_reader :hosted_instructions_url
1124
+ # Attribute for field qr_code
1125
+ attr_reader :qr_code
1126
+
1127
+ def self.inner_class_types
1128
+ @inner_class_types = { qr_code: QrCode }
1129
+ end
1130
+
1131
+ def self.field_remappings
1132
+ @field_remappings = {}
1133
+ end
1134
+ end
1135
+
1136
+ class VerifyWithMicrodeposits < ::Stripe::StripeObject
1137
+ # The timestamp when the microdeposits are expected to land.
1138
+ attr_reader :arrival_date
1139
+ # The URL for the hosted verification page, which allows customers to verify their bank account.
1140
+ attr_reader :hosted_verification_url
1141
+ # The type of the microdeposit sent to the customer. Used to distinguish between different verification methods.
1142
+ attr_reader :microdeposit_type
1143
+
1144
+ def self.inner_class_types
1145
+ @inner_class_types = {}
1146
+ end
1147
+
1148
+ def self.field_remappings
1149
+ @field_remappings = {}
1150
+ end
1151
+ end
1152
+
1153
+ class WechatPayDisplayQrCode < ::Stripe::StripeObject
1154
+ # The data being used to generate QR code
1155
+ attr_reader :data
1156
+ # The URL to the hosted WeChat Pay instructions page, which allows customers to view the WeChat Pay QR code.
1157
+ attr_reader :hosted_instructions_url
1158
+ # The base64 image data for a pre-generated QR code
1159
+ attr_reader :image_data_url
1160
+ # The image_url_png string used to render QR code
1161
+ attr_reader :image_url_png
1162
+ # The image_url_svg string used to render QR code
1163
+ attr_reader :image_url_svg
1164
+
1165
+ def self.inner_class_types
1166
+ @inner_class_types = {}
1167
+ end
1168
+
1169
+ def self.field_remappings
1170
+ @field_remappings = {}
1171
+ end
1172
+ end
1173
+
1174
+ class WechatPayRedirectToAndroidApp < ::Stripe::StripeObject
1175
+ # app_id is the APP ID registered on WeChat open platform
1176
+ attr_reader :app_id
1177
+ # nonce_str is a random string
1178
+ attr_reader :nonce_str
1179
+ # package is static value
1180
+ attr_reader :package
1181
+ # an unique merchant ID assigned by WeChat Pay
1182
+ attr_reader :partner_id
1183
+ # an unique trading ID assigned by WeChat Pay
1184
+ attr_reader :prepay_id
1185
+ # A signature
1186
+ attr_reader :sign
1187
+ # Specifies the current time in epoch format
1188
+ attr_reader :timestamp
1189
+
1190
+ def self.inner_class_types
1191
+ @inner_class_types = {}
1192
+ end
1193
+
1194
+ def self.field_remappings
1195
+ @field_remappings = {}
1196
+ end
1197
+ end
1198
+
1199
+ class WechatPayRedirectToIosApp < ::Stripe::StripeObject
1200
+ # An universal link that redirect to WeChat Pay app
1201
+ attr_reader :native_url
1202
+
1203
+ def self.inner_class_types
1204
+ @inner_class_types = {}
1205
+ end
1206
+
1207
+ def self.field_remappings
1208
+ @field_remappings = {}
1209
+ end
1210
+ end
1211
+ # Attribute for field alipay_handle_redirect
1212
+ attr_reader :alipay_handle_redirect
1213
+ # Attribute for field blik_authorize
1214
+ attr_reader :blik_authorize
1215
+ # Attribute for field boleto_display_details
1216
+ attr_reader :boleto_display_details
1217
+ # Attribute for field card_await_notification
1218
+ attr_reader :card_await_notification
1219
+ # Attribute for field cashapp_handle_redirect_or_display_qr_code
1220
+ attr_reader :cashapp_handle_redirect_or_display_qr_code
1221
+ # Attribute for field display_bank_transfer_instructions
1222
+ attr_reader :display_bank_transfer_instructions
1223
+ # Attribute for field klarna_display_qr_code
1224
+ attr_reader :klarna_display_qr_code
1225
+ # Attribute for field konbini_display_details
1226
+ attr_reader :konbini_display_details
1227
+ # Attribute for field multibanco_display_details
1228
+ attr_reader :multibanco_display_details
1229
+ # Attribute for field oxxo_display_details
1230
+ attr_reader :oxxo_display_details
1231
+ # Attribute for field paynow_display_qr_code
1232
+ attr_reader :paynow_display_qr_code
1233
+ # Attribute for field pix_display_qr_code
1234
+ attr_reader :pix_display_qr_code
1235
+ # Attribute for field promptpay_display_qr_code
1236
+ attr_reader :promptpay_display_qr_code
1237
+ # Attribute for field redirect_to_url
1238
+ attr_reader :redirect_to_url
1239
+ # Attribute for field swish_handle_redirect_or_display_qr_code
1240
+ attr_reader :swish_handle_redirect_or_display_qr_code
1241
+ # Type of the next action to perform. Refer to the other child attributes under `next_action` for available values. Examples include: `redirect_to_url`, `use_stripe_sdk`, `alipay_handle_redirect`, `oxxo_display_details`, or `verify_with_microdeposits`.
1242
+ attr_reader :type
1243
+ # Attribute for field upi_handle_redirect_or_display_qr_code
1244
+ attr_reader :upi_handle_redirect_or_display_qr_code
1245
+ # When confirming a PaymentIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js.
1246
+ attr_reader :use_stripe_sdk
1247
+ # Attribute for field verify_with_microdeposits
1248
+ attr_reader :verify_with_microdeposits
1249
+ # Attribute for field wechat_pay_display_qr_code
1250
+ attr_reader :wechat_pay_display_qr_code
1251
+ # Attribute for field wechat_pay_redirect_to_android_app
1252
+ attr_reader :wechat_pay_redirect_to_android_app
1253
+ # Attribute for field wechat_pay_redirect_to_ios_app
1254
+ attr_reader :wechat_pay_redirect_to_ios_app
1255
+
1256
+ def self.inner_class_types
1257
+ @inner_class_types = {
1258
+ alipay_handle_redirect: AlipayHandleRedirect,
1259
+ blik_authorize: BlikAuthorize,
1260
+ boleto_display_details: BoletoDisplayDetails,
1261
+ card_await_notification: CardAwaitNotification,
1262
+ cashapp_handle_redirect_or_display_qr_code: CashappHandleRedirectOrDisplayQrCode,
1263
+ display_bank_transfer_instructions: DisplayBankTransferInstructions,
1264
+ klarna_display_qr_code: KlarnaDisplayQrCode,
1265
+ konbini_display_details: KonbiniDisplayDetails,
1266
+ multibanco_display_details: MultibancoDisplayDetails,
1267
+ oxxo_display_details: OxxoDisplayDetails,
1268
+ paynow_display_qr_code: PaynowDisplayQrCode,
1269
+ pix_display_qr_code: PixDisplayQrCode,
1270
+ promptpay_display_qr_code: PromptpayDisplayQrCode,
1271
+ redirect_to_url: RedirectToUrl,
1272
+ swish_handle_redirect_or_display_qr_code: SwishHandleRedirectOrDisplayQrCode,
1273
+ upi_handle_redirect_or_display_qr_code: UpiHandleRedirectOrDisplayQrCode,
1274
+ verify_with_microdeposits: VerifyWithMicrodeposits,
1275
+ wechat_pay_display_qr_code: WechatPayDisplayQrCode,
1276
+ wechat_pay_redirect_to_android_app: WechatPayRedirectToAndroidApp,
1277
+ wechat_pay_redirect_to_ios_app: WechatPayRedirectToIosApp,
1278
+ }
1279
+ end
1280
+
1281
+ def self.field_remappings
1282
+ @field_remappings = {}
1283
+ end
1284
+ end
1285
+
1286
+ class PaymentDetails < ::Stripe::StripeObject
1287
+ # A unique value to identify the customer. This field is available only for card payments.
1288
+ #
1289
+ # This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
1290
+ attr_reader :customer_reference
1291
+ # A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
1292
+ #
1293
+ # 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.
1294
+ attr_reader :order_reference
1295
+
1296
+ def self.inner_class_types
1297
+ @inner_class_types = {}
1298
+ end
1299
+
1300
+ def self.field_remappings
1301
+ @field_remappings = {}
1302
+ end
1303
+ end
1304
+
1305
+ class PaymentMethodConfigurationDetails < ::Stripe::StripeObject
1306
+ # ID of the payment method configuration used.
1307
+ attr_reader :id
1308
+ # ID of the parent payment method configuration used.
1309
+ attr_reader :parent
1310
+
1311
+ def self.inner_class_types
1312
+ @inner_class_types = {}
1313
+ end
1314
+
1315
+ def self.field_remappings
1316
+ @field_remappings = {}
1317
+ end
1318
+ end
1319
+
1320
+ class PaymentMethodOptions < ::Stripe::StripeObject
1321
+ class AcssDebit < ::Stripe::StripeObject
1322
+ class MandateOptions < ::Stripe::StripeObject
1323
+ # A URL for custom mandate text
1324
+ attr_reader :custom_mandate_url
1325
+ # Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.
1326
+ attr_reader :interval_description
1327
+ # Payment schedule for the mandate.
1328
+ attr_reader :payment_schedule
1329
+ # Transaction type of the mandate.
1330
+ attr_reader :transaction_type
1331
+
1332
+ def self.inner_class_types
1333
+ @inner_class_types = {}
1334
+ end
1335
+
1336
+ def self.field_remappings
1337
+ @field_remappings = {}
1338
+ end
1339
+ end
1340
+ # Attribute for field mandate_options
1341
+ attr_reader :mandate_options
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
+ attr_reader :setup_future_usage
1350
+ # 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.
1351
+ attr_reader :target_date
1352
+ # Bank account verification method. The default value is `automatic`.
1353
+ attr_reader :verification_method
1354
+
1355
+ def self.inner_class_types
1356
+ @inner_class_types = { mandate_options: MandateOptions }
1357
+ end
1358
+
1359
+ def self.field_remappings
1360
+ @field_remappings = {}
1361
+ end
1362
+ end
1363
+
1364
+ class Affirm < ::Stripe::StripeObject
1365
+ # Controls when the funds will be captured from the customer's account.
1366
+ attr_reader :capture_method
1367
+ # Preferred language of the Affirm authorization page that the customer is redirected to.
1368
+ attr_reader :preferred_locale
1369
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1370
+ #
1371
+ # 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.
1372
+ #
1373
+ # 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.
1374
+ #
1375
+ # 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).
1376
+ attr_reader :setup_future_usage
1377
+
1378
+ def self.inner_class_types
1379
+ @inner_class_types = {}
1380
+ end
1381
+
1382
+ def self.field_remappings
1383
+ @field_remappings = {}
1384
+ end
1385
+ end
1386
+
1387
+ class AfterpayClearpay < ::Stripe::StripeObject
1388
+ # Controls when the funds will be captured from the customer's account.
1389
+ attr_reader :capture_method
1390
+ # 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.
1391
+ # This field differs from the statement descriptor and item name.
1392
+ attr_reader :reference
1393
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1394
+ #
1395
+ # 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.
1396
+ #
1397
+ # 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.
1398
+ #
1399
+ # 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).
1400
+ attr_reader :setup_future_usage
1401
+
1402
+ def self.inner_class_types
1403
+ @inner_class_types = {}
1404
+ end
1405
+
1406
+ def self.field_remappings
1407
+ @field_remappings = {}
1408
+ end
1409
+ end
1410
+
1411
+ class Alipay < ::Stripe::StripeObject
1412
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1413
+ #
1414
+ # 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.
1415
+ #
1416
+ # 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.
1417
+ #
1418
+ # 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).
1419
+ attr_reader :setup_future_usage
1420
+
1421
+ def self.inner_class_types
1422
+ @inner_class_types = {}
1423
+ end
1424
+
1425
+ def self.field_remappings
1426
+ @field_remappings = {}
1427
+ end
1428
+ end
1429
+
1430
+ class Alma < ::Stripe::StripeObject
1431
+ # Controls when the funds will be captured from the customer's account.
1432
+ attr_reader :capture_method
1433
+
1434
+ def self.inner_class_types
1435
+ @inner_class_types = {}
1436
+ end
1437
+
1438
+ def self.field_remappings
1439
+ @field_remappings = {}
1440
+ end
1441
+ end
1442
+
1443
+ class AmazonPay < ::Stripe::StripeObject
1444
+ # Controls when the funds will be captured from the customer's account.
1445
+ attr_reader :capture_method
1446
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1447
+ #
1448
+ # 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.
1449
+ #
1450
+ # 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.
1451
+ #
1452
+ # 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).
1453
+ attr_reader :setup_future_usage
1454
+
1455
+ def self.inner_class_types
1456
+ @inner_class_types = {}
1457
+ end
1458
+
1459
+ def self.field_remappings
1460
+ @field_remappings = {}
1461
+ end
1462
+ end
1463
+
1464
+ class AuBecsDebit < ::Stripe::StripeObject
1465
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1466
+ #
1467
+ # 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.
1468
+ #
1469
+ # 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.
1470
+ #
1471
+ # 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).
1472
+ attr_reader :setup_future_usage
1473
+ # 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.
1474
+ attr_reader :target_date
1475
+
1476
+ def self.inner_class_types
1477
+ @inner_class_types = {}
1478
+ end
1479
+
1480
+ def self.field_remappings
1481
+ @field_remappings = {}
1482
+ end
1483
+ end
1484
+
1485
+ class BacsDebit < ::Stripe::StripeObject
1486
+ class MandateOptions < ::Stripe::StripeObject
1487
+ # 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'.
1488
+ attr_reader :reference_prefix
1489
+
1490
+ def self.inner_class_types
1491
+ @inner_class_types = {}
1492
+ end
1493
+
1494
+ def self.field_remappings
1495
+ @field_remappings = {}
1496
+ end
1497
+ end
1498
+ # Attribute for field mandate_options
1499
+ attr_reader :mandate_options
1500
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1501
+ #
1502
+ # 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.
1503
+ #
1504
+ # 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.
1505
+ #
1506
+ # 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).
1507
+ attr_reader :setup_future_usage
1508
+ # 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.
1509
+ attr_reader :target_date
1510
+
1511
+ def self.inner_class_types
1512
+ @inner_class_types = { mandate_options: MandateOptions }
1513
+ end
1514
+
1515
+ def self.field_remappings
1516
+ @field_remappings = {}
1517
+ end
1518
+ end
1519
+
1520
+ class Bancontact < ::Stripe::StripeObject
1521
+ # Preferred language of the Bancontact authorization page that the customer is redirected to.
1522
+ attr_reader :preferred_language
1523
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1524
+ #
1525
+ # 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.
1526
+ #
1527
+ # 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.
1528
+ #
1529
+ # 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).
1530
+ attr_reader :setup_future_usage
1531
+
1532
+ def self.inner_class_types
1533
+ @inner_class_types = {}
1534
+ end
1535
+
1536
+ def self.field_remappings
1537
+ @field_remappings = {}
1538
+ end
1539
+ end
1540
+
1541
+ class Billie < ::Stripe::StripeObject
1542
+ # Controls when the funds will be captured from the customer's account.
1543
+ attr_reader :capture_method
1544
+
1545
+ def self.inner_class_types
1546
+ @inner_class_types = {}
1547
+ end
1548
+
1549
+ def self.field_remappings
1550
+ @field_remappings = {}
1551
+ end
1552
+ end
1553
+
1554
+ class Bizum < ::Stripe::StripeObject
1555
+ def self.inner_class_types
1556
+ @inner_class_types = {}
1557
+ end
1558
+
1559
+ def self.field_remappings
1560
+ @field_remappings = {}
1561
+ end
1562
+ end
1563
+
1564
+ class Blik < ::Stripe::StripeObject
1565
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1566
+ #
1567
+ # 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.
1568
+ #
1569
+ # 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.
1570
+ #
1571
+ # 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).
1572
+ attr_reader :setup_future_usage
1573
+
1574
+ def self.inner_class_types
1575
+ @inner_class_types = {}
1576
+ end
1577
+
1578
+ def self.field_remappings
1579
+ @field_remappings = {}
1580
+ end
1581
+ end
1582
+
1583
+ class Boleto < ::Stripe::StripeObject
1584
+ # 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 voucher will expire on Wednesday at 23:59 America/Sao_Paulo time.
1585
+ attr_reader :expires_after_days
1586
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1587
+ #
1588
+ # 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.
1589
+ #
1590
+ # 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.
1591
+ #
1592
+ # 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).
1593
+ attr_reader :setup_future_usage
1594
+
1595
+ def self.inner_class_types
1596
+ @inner_class_types = {}
1597
+ end
1598
+
1599
+ def self.field_remappings
1600
+ @field_remappings = {}
1601
+ end
1602
+ end
1603
+
1604
+ class Card < ::Stripe::StripeObject
1605
+ class Installments < ::Stripe::StripeObject
1606
+ class AvailablePlan < ::Stripe::StripeObject
1607
+ # For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.
1608
+ attr_reader :count
1609
+ # For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card.
1610
+ # One of `month`.
1611
+ attr_reader :interval
1612
+ # Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.
1613
+ attr_reader :type
1614
+
1615
+ def self.inner_class_types
1616
+ @inner_class_types = {}
1617
+ end
1618
+
1619
+ def self.field_remappings
1620
+ @field_remappings = {}
1621
+ end
1622
+ end
1623
+
1624
+ class Plan < ::Stripe::StripeObject
1625
+ # For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.
1626
+ attr_reader :count
1627
+ # For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card.
1628
+ # One of `month`.
1629
+ attr_reader :interval
1630
+ # Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.
1631
+ attr_reader :type
1632
+
1633
+ def self.inner_class_types
1634
+ @inner_class_types = {}
1635
+ end
1636
+
1637
+ def self.field_remappings
1638
+ @field_remappings = {}
1639
+ end
1640
+ end
1641
+ # Installment plans that may be selected for this PaymentIntent.
1642
+ attr_reader :available_plans
1643
+ # Whether Installments are enabled for this PaymentIntent.
1644
+ attr_reader :enabled
1645
+ # Installment plan selected for this PaymentIntent.
1646
+ attr_reader :plan
1647
+
1648
+ def self.inner_class_types
1649
+ @inner_class_types = { available_plans: AvailablePlan, plan: Plan }
1650
+ end
1651
+
1652
+ def self.field_remappings
1653
+ @field_remappings = {}
1654
+ end
1655
+ end
1656
+
1657
+ class MandateOptions < ::Stripe::StripeObject
1658
+ # Amount to be charged for future payments, specified in the presentment currency.
1659
+ attr_reader :amount
1660
+ # 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.
1661
+ attr_reader :amount_type
1662
+ # A description of the mandate or subscription that is meant to be displayed to the customer.
1663
+ attr_reader :description
1664
+ # 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.
1665
+ attr_reader :end_date
1666
+ # Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
1667
+ attr_reader :interval
1668
+ # 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`.
1669
+ attr_reader :interval_count
1670
+ # Unique identifier for the mandate or subscription.
1671
+ attr_reader :reference
1672
+ # Start date of the mandate or subscription. Start date should not be lesser than yesterday.
1673
+ attr_reader :start_date
1674
+ # Specifies the type of mandates supported. Possible values are `india`.
1675
+ attr_reader :supported_types
1676
+
1677
+ def self.inner_class_types
1678
+ @inner_class_types = {}
1679
+ end
1680
+
1681
+ def self.field_remappings
1682
+ @field_remappings = {}
1683
+ end
1684
+ end
1685
+ # Controls when the funds will be captured from the customer's account.
1686
+ attr_reader :capture_method
1687
+ # Installment details for this payment.
1688
+ #
1689
+ # For more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).
1690
+ attr_reader :installments
1691
+ # Configuration options for setting up an eMandate for cards issued in India.
1692
+ attr_reader :mandate_options
1693
+ # Selected network to process this payment intent on. Depends on the available networks of the card attached to the payment intent. Can be only set confirm-time.
1694
+ attr_reader :network
1695
+ # Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
1696
+ attr_reader :request_extended_authorization
1697
+ # Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
1698
+ attr_reader :request_incremental_authorization
1699
+ # Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.
1700
+ attr_reader :request_multicapture
1701
+ # Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
1702
+ attr_reader :request_overcapture
1703
+ # 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.
1704
+ attr_reader :request_three_d_secure
1705
+ # 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).
1706
+ attr_reader :require_cvc_recollection
1707
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1708
+ #
1709
+ # 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.
1710
+ #
1711
+ # 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.
1712
+ #
1713
+ # 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).
1714
+ attr_reader :setup_future_usage
1715
+ # 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.
1716
+ attr_reader :statement_descriptor_suffix_kana
1717
+ # 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.
1718
+ attr_reader :statement_descriptor_suffix_kanji
1719
+
1720
+ def self.inner_class_types
1721
+ @inner_class_types = { installments: Installments, mandate_options: MandateOptions }
1722
+ end
1723
+
1724
+ def self.field_remappings
1725
+ @field_remappings = {}
1726
+ end
1727
+ end
1728
+
1729
+ class CardPresent < ::Stripe::StripeObject
1730
+ class Routing < ::Stripe::StripeObject
1731
+ # Requested routing priority
1732
+ attr_reader :requested_priority
1733
+
1734
+ def self.inner_class_types
1735
+ @inner_class_types = {}
1736
+ end
1737
+
1738
+ def self.field_remappings
1739
+ @field_remappings = {}
1740
+ end
1741
+ end
1742
+ # Controls when the funds will be captured from the customer's account.
1743
+ attr_reader :capture_method
1744
+ # Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
1745
+ attr_reader :request_extended_authorization
1746
+ # 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.
1747
+ attr_reader :request_incremental_authorization_support
1748
+ # Attribute for field routing
1749
+ attr_reader :routing
1750
+
1751
+ def self.inner_class_types
1752
+ @inner_class_types = { routing: Routing }
1753
+ end
1754
+
1755
+ def self.field_remappings
1756
+ @field_remappings = {}
1757
+ end
1758
+ end
1759
+
1760
+ class Cashapp < ::Stripe::StripeObject
1761
+ # Controls when the funds will be captured from the customer's account.
1762
+ attr_reader :capture_method
1763
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1764
+ #
1765
+ # 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.
1766
+ #
1767
+ # 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.
1768
+ #
1769
+ # 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).
1770
+ attr_reader :setup_future_usage
1771
+
1772
+ def self.inner_class_types
1773
+ @inner_class_types = {}
1774
+ end
1775
+
1776
+ def self.field_remappings
1777
+ @field_remappings = {}
1778
+ end
1779
+ end
1780
+
1781
+ class Crypto < ::Stripe::StripeObject
1782
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1783
+ #
1784
+ # 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.
1785
+ #
1786
+ # 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.
1787
+ #
1788
+ # 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).
1789
+ attr_reader :setup_future_usage
1790
+
1791
+ def self.inner_class_types
1792
+ @inner_class_types = {}
1793
+ end
1794
+
1795
+ def self.field_remappings
1796
+ @field_remappings = {}
1797
+ end
1798
+ end
1799
+
1800
+ class CustomerBalance < ::Stripe::StripeObject
1801
+ class BankTransfer < ::Stripe::StripeObject
1802
+ class EuBankTransfer < ::Stripe::StripeObject
1803
+ # The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`.
1804
+ attr_reader :country
1805
+
1806
+ def self.inner_class_types
1807
+ @inner_class_types = {}
1808
+ end
1809
+
1810
+ def self.field_remappings
1811
+ @field_remappings = {}
1812
+ end
1813
+ end
1814
+ # Attribute for field eu_bank_transfer
1815
+ attr_reader :eu_bank_transfer
1816
+ # List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.
1817
+ #
1818
+ # Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
1819
+ attr_reader :requested_address_types
1820
+ # The bank transfer type 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`.
1821
+ attr_reader :type
1822
+
1823
+ def self.inner_class_types
1824
+ @inner_class_types = { eu_bank_transfer: EuBankTransfer }
1825
+ end
1826
+
1827
+ def self.field_remappings
1828
+ @field_remappings = {}
1829
+ end
1830
+ end
1831
+ # Attribute for field bank_transfer
1832
+ attr_reader :bank_transfer
1833
+ # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
1834
+ attr_reader :funding_type
1835
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1836
+ #
1837
+ # 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.
1838
+ #
1839
+ # 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.
1840
+ #
1841
+ # 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).
1842
+ attr_reader :setup_future_usage
1843
+
1844
+ def self.inner_class_types
1845
+ @inner_class_types = { bank_transfer: BankTransfer }
1846
+ end
1847
+
1848
+ def self.field_remappings
1849
+ @field_remappings = {}
1850
+ end
1851
+ end
1852
+
1853
+ class Eps < ::Stripe::StripeObject
1854
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1855
+ #
1856
+ # 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.
1857
+ #
1858
+ # 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.
1859
+ #
1860
+ # 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).
1861
+ attr_reader :setup_future_usage
1862
+
1863
+ def self.inner_class_types
1864
+ @inner_class_types = {}
1865
+ end
1866
+
1867
+ def self.field_remappings
1868
+ @field_remappings = {}
1869
+ end
1870
+ end
1871
+
1872
+ class Fpx < ::Stripe::StripeObject
1873
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1874
+ #
1875
+ # 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.
1876
+ #
1877
+ # 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.
1878
+ #
1879
+ # 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).
1880
+ attr_reader :setup_future_usage
1881
+
1882
+ def self.inner_class_types
1883
+ @inner_class_types = {}
1884
+ end
1885
+
1886
+ def self.field_remappings
1887
+ @field_remappings = {}
1888
+ end
1889
+ end
1890
+
1891
+ class Giropay < ::Stripe::StripeObject
1892
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1893
+ #
1894
+ # 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.
1895
+ #
1896
+ # 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.
1897
+ #
1898
+ # 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).
1899
+ attr_reader :setup_future_usage
1900
+
1901
+ def self.inner_class_types
1902
+ @inner_class_types = {}
1903
+ end
1904
+
1905
+ def self.field_remappings
1906
+ @field_remappings = {}
1907
+ end
1908
+ end
1909
+
1910
+ class Grabpay < ::Stripe::StripeObject
1911
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1912
+ #
1913
+ # 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.
1914
+ #
1915
+ # 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.
1916
+ #
1917
+ # 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).
1918
+ attr_reader :setup_future_usage
1919
+
1920
+ def self.inner_class_types
1921
+ @inner_class_types = {}
1922
+ end
1923
+
1924
+ def self.field_remappings
1925
+ @field_remappings = {}
1926
+ end
1927
+ end
1928
+
1929
+ class Ideal < ::Stripe::StripeObject
1930
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1931
+ #
1932
+ # 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.
1933
+ #
1934
+ # 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.
1935
+ #
1936
+ # 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).
1937
+ attr_reader :setup_future_usage
1938
+
1939
+ def self.inner_class_types
1940
+ @inner_class_types = {}
1941
+ end
1942
+
1943
+ def self.field_remappings
1944
+ @field_remappings = {}
1945
+ end
1946
+ end
1947
+
1948
+ class InteracPresent < ::Stripe::StripeObject
1949
+ def self.inner_class_types
1950
+ @inner_class_types = {}
1951
+ end
1952
+
1953
+ def self.field_remappings
1954
+ @field_remappings = {}
1955
+ end
1956
+ end
1957
+
1958
+ class KakaoPay < ::Stripe::StripeObject
1959
+ # Controls when the funds will be captured from the customer's account.
1960
+ attr_reader :capture_method
1961
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1962
+ #
1963
+ # 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.
1964
+ #
1965
+ # 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.
1966
+ #
1967
+ # 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).
1968
+ attr_reader :setup_future_usage
1969
+
1970
+ def self.inner_class_types
1971
+ @inner_class_types = {}
1972
+ end
1973
+
1974
+ def self.field_remappings
1975
+ @field_remappings = {}
1976
+ end
1977
+ end
1978
+
1979
+ class Klarna < ::Stripe::StripeObject
1980
+ # Controls when the funds will be captured from the customer's account.
1981
+ attr_reader :capture_method
1982
+ # Preferred locale of the Klarna checkout page that the customer is redirected to.
1983
+ attr_reader :preferred_locale
1984
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1985
+ #
1986
+ # 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.
1987
+ #
1988
+ # 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.
1989
+ #
1990
+ # 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).
1991
+ attr_reader :setup_future_usage
1992
+
1993
+ def self.inner_class_types
1994
+ @inner_class_types = {}
1995
+ end
1996
+
1997
+ def self.field_remappings
1998
+ @field_remappings = {}
1999
+ end
2000
+ end
2001
+
2002
+ class Konbini < ::Stripe::StripeObject
2003
+ # An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores.
2004
+ attr_reader :confirmation_number
2005
+ # 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.
2006
+ attr_reader :expires_after_days
2007
+ # The timestamp at which the Konbini payment instructions will expire. Only one of `expires_after_days` or `expires_at` may be set.
2008
+ attr_reader :expires_at
2009
+ # A product descriptor of up to 22 characters, which will appear to customers at the convenience store.
2010
+ attr_reader :product_description
2011
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2012
+ #
2013
+ # 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.
2014
+ #
2015
+ # 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.
2016
+ #
2017
+ # 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).
2018
+ attr_reader :setup_future_usage
2019
+
2020
+ def self.inner_class_types
2021
+ @inner_class_types = {}
2022
+ end
2023
+
2024
+ def self.field_remappings
2025
+ @field_remappings = {}
2026
+ end
2027
+ end
2028
+
2029
+ class KrCard < ::Stripe::StripeObject
2030
+ # Controls when the funds will be captured from the customer's account.
2031
+ attr_reader :capture_method
2032
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2033
+ #
2034
+ # 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.
2035
+ #
2036
+ # 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.
2037
+ #
2038
+ # 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).
2039
+ attr_reader :setup_future_usage
2040
+
2041
+ def self.inner_class_types
2042
+ @inner_class_types = {}
2043
+ end
2044
+
2045
+ def self.field_remappings
2046
+ @field_remappings = {}
2047
+ end
2048
+ end
2049
+
2050
+ class Link < ::Stripe::StripeObject
2051
+ # Controls when the funds will be captured from the customer's account.
2052
+ attr_reader :capture_method
2053
+ # [Deprecated] This is a legacy parameter that no longer has any function.
2054
+ attr_reader :persistent_token
2055
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2056
+ #
2057
+ # 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.
2058
+ #
2059
+ # 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.
2060
+ #
2061
+ # 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).
2062
+ attr_reader :setup_future_usage
2063
+
2064
+ def self.inner_class_types
2065
+ @inner_class_types = {}
2066
+ end
2067
+
2068
+ def self.field_remappings
2069
+ @field_remappings = {}
2070
+ end
2071
+ end
2072
+
2073
+ class MbWay < ::Stripe::StripeObject
2074
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2075
+ #
2076
+ # 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.
2077
+ #
2078
+ # 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.
2079
+ #
2080
+ # 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).
2081
+ attr_reader :setup_future_usage
2082
+
2083
+ def self.inner_class_types
2084
+ @inner_class_types = {}
2085
+ end
2086
+
2087
+ def self.field_remappings
2088
+ @field_remappings = {}
2089
+ end
2090
+ end
2091
+
2092
+ class Mobilepay < ::Stripe::StripeObject
2093
+ # Controls when the funds will be captured from the customer's account.
2094
+ attr_reader :capture_method
2095
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2096
+ #
2097
+ # 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.
2098
+ #
2099
+ # 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.
2100
+ #
2101
+ # 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).
2102
+ attr_reader :setup_future_usage
2103
+
2104
+ def self.inner_class_types
2105
+ @inner_class_types = {}
2106
+ end
2107
+
2108
+ def self.field_remappings
2109
+ @field_remappings = {}
2110
+ end
2111
+ end
2112
+
2113
+ class Multibanco < ::Stripe::StripeObject
2114
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2115
+ #
2116
+ # 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.
2117
+ #
2118
+ # 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.
2119
+ #
2120
+ # 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).
2121
+ attr_reader :setup_future_usage
2122
+
2123
+ def self.inner_class_types
2124
+ @inner_class_types = {}
2125
+ end
2126
+
2127
+ def self.field_remappings
2128
+ @field_remappings = {}
2129
+ end
2130
+ end
2131
+
2132
+ class NaverPay < ::Stripe::StripeObject
2133
+ # Controls when the funds will be captured from the customer's account.
2134
+ attr_reader :capture_method
2135
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2136
+ #
2137
+ # 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.
2138
+ #
2139
+ # 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.
2140
+ #
2141
+ # 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).
2142
+ attr_reader :setup_future_usage
2143
+
2144
+ def self.inner_class_types
2145
+ @inner_class_types = {}
2146
+ end
2147
+
2148
+ def self.field_remappings
2149
+ @field_remappings = {}
2150
+ end
2151
+ end
2152
+
2153
+ class NzBankAccount < ::Stripe::StripeObject
2154
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2155
+ #
2156
+ # 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.
2157
+ #
2158
+ # 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.
2159
+ #
2160
+ # 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).
2161
+ attr_reader :setup_future_usage
2162
+ # 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.
2163
+ attr_reader :target_date
2164
+
2165
+ def self.inner_class_types
2166
+ @inner_class_types = {}
2167
+ end
2168
+
2169
+ def self.field_remappings
2170
+ @field_remappings = {}
2171
+ end
2172
+ end
2173
+
2174
+ class Oxxo < ::Stripe::StripeObject
2175
+ # The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
2176
+ attr_reader :expires_after_days
2177
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2178
+ #
2179
+ # 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.
2180
+ #
2181
+ # 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.
2182
+ #
2183
+ # 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).
2184
+ attr_reader :setup_future_usage
2185
+
2186
+ def self.inner_class_types
2187
+ @inner_class_types = {}
2188
+ end
2189
+
2190
+ def self.field_remappings
2191
+ @field_remappings = {}
2192
+ end
2193
+ end
2194
+
2195
+ class P24 < ::Stripe::StripeObject
2196
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2197
+ #
2198
+ # 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.
2199
+ #
2200
+ # 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.
2201
+ #
2202
+ # 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).
2203
+ attr_reader :setup_future_usage
2204
+
2205
+ def self.inner_class_types
2206
+ @inner_class_types = {}
2207
+ end
2208
+
2209
+ def self.field_remappings
2210
+ @field_remappings = {}
2211
+ end
2212
+ end
2213
+
2214
+ class PayByBank < ::Stripe::StripeObject
2215
+ def self.inner_class_types
2216
+ @inner_class_types = {}
2217
+ end
2218
+
2219
+ def self.field_remappings
2220
+ @field_remappings = {}
2221
+ end
2222
+ end
2223
+
2224
+ class Payco < ::Stripe::StripeObject
2225
+ # Controls when the funds will be captured from the customer's account.
2226
+ attr_reader :capture_method
2227
+
2228
+ def self.inner_class_types
2229
+ @inner_class_types = {}
2230
+ end
2231
+
2232
+ def self.field_remappings
2233
+ @field_remappings = {}
2234
+ end
2235
+ end
2236
+
2237
+ class Paynow < ::Stripe::StripeObject
2238
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2239
+ #
2240
+ # 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.
2241
+ #
2242
+ # 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.
2243
+ #
2244
+ # 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).
2245
+ attr_reader :setup_future_usage
2246
+
2247
+ def self.inner_class_types
2248
+ @inner_class_types = {}
2249
+ end
2250
+
2251
+ def self.field_remappings
2252
+ @field_remappings = {}
2253
+ end
2254
+ end
2255
+
2256
+ class Paypal < ::Stripe::StripeObject
2257
+ # Controls when the funds will be captured from the customer's account.
2258
+ attr_reader :capture_method
2259
+ # Preferred locale of the PayPal checkout page that the customer is redirected to.
2260
+ attr_reader :preferred_locale
2261
+ # 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.
2262
+ attr_reader :reference
2263
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2264
+ #
2265
+ # 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.
2266
+ #
2267
+ # 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.
2268
+ #
2269
+ # 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).
2270
+ attr_reader :setup_future_usage
2271
+
2272
+ def self.inner_class_types
2273
+ @inner_class_types = {}
2274
+ end
2275
+
2276
+ def self.field_remappings
2277
+ @field_remappings = {}
2278
+ end
2279
+ end
2280
+
2281
+ class Payto < ::Stripe::StripeObject
2282
+ class MandateOptions < ::Stripe::StripeObject
2283
+ # Amount that will be collected. It is required when `amount_type` is `fixed`.
2284
+ attr_reader :amount
2285
+ # 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`.
2286
+ attr_reader :amount_type
2287
+ # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
2288
+ attr_reader :end_date
2289
+ # The periodicity at which payments will be collected. Defaults to `adhoc`.
2290
+ attr_reader :payment_schedule
2291
+ # 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.
2292
+ attr_reader :payments_per_period
2293
+ # The purpose for which payments are made. Has a default value based on your merchant category code.
2294
+ attr_reader :purpose
2295
+
2296
+ def self.inner_class_types
2297
+ @inner_class_types = {}
2298
+ end
2299
+
2300
+ def self.field_remappings
2301
+ @field_remappings = {}
2302
+ end
2303
+ end
2304
+ # Attribute for field mandate_options
2305
+ attr_reader :mandate_options
2306
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2307
+ #
2308
+ # 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.
2309
+ #
2310
+ # 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.
2311
+ #
2312
+ # 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).
2313
+ attr_reader :setup_future_usage
2314
+
2315
+ def self.inner_class_types
2316
+ @inner_class_types = { mandate_options: MandateOptions }
2317
+ end
2318
+
2319
+ def self.field_remappings
2320
+ @field_remappings = {}
2321
+ end
2322
+ end
2323
+
2324
+ class Pix < ::Stripe::StripeObject
2325
+ class MandateOptions < ::Stripe::StripeObject
2326
+ # Amount to be charged for future payments.
2327
+ attr_reader :amount
2328
+ # Determines if the amount includes the IOF tax.
2329
+ attr_reader :amount_includes_iof
2330
+ # Type of amount.
2331
+ attr_reader :amount_type
2332
+ # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.
2333
+ attr_reader :currency
2334
+ # Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.
2335
+ attr_reader :end_date
2336
+ # Schedule at which the future payments will be charged.
2337
+ attr_reader :payment_schedule
2338
+ # Subscription name displayed to buyers in their bank app.
2339
+ attr_reader :reference
2340
+ # Start date of the mandate, in `YYYY-MM-DD`.
2341
+ attr_reader :start_date
2342
+
2343
+ def self.inner_class_types
2344
+ @inner_class_types = {}
2345
+ end
2346
+
2347
+ def self.field_remappings
2348
+ @field_remappings = {}
2349
+ end
2350
+ end
2351
+ # Determines if the amount includes the IOF tax.
2352
+ attr_reader :amount_includes_iof
2353
+ # The number of seconds (between 10 and 1209600) after which Pix payment will expire.
2354
+ attr_reader :expires_after_seconds
2355
+ # The timestamp at which the Pix expires.
2356
+ attr_reader :expires_at
2357
+ # Attribute for field mandate_options
2358
+ attr_reader :mandate_options
2359
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2360
+ #
2361
+ # 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.
2362
+ #
2363
+ # 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.
2364
+ #
2365
+ # 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).
2366
+ attr_reader :setup_future_usage
2367
+
2368
+ def self.inner_class_types
2369
+ @inner_class_types = { mandate_options: MandateOptions }
2370
+ end
2371
+
2372
+ def self.field_remappings
2373
+ @field_remappings = {}
2374
+ end
2375
+ end
2376
+
2377
+ class Promptpay < ::Stripe::StripeObject
2378
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2379
+ #
2380
+ # 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.
2381
+ #
2382
+ # 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.
2383
+ #
2384
+ # 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).
2385
+ attr_reader :setup_future_usage
2386
+
2387
+ def self.inner_class_types
2388
+ @inner_class_types = {}
2389
+ end
2390
+
2391
+ def self.field_remappings
2392
+ @field_remappings = {}
2393
+ end
2394
+ end
2395
+
2396
+ class RevolutPay < ::Stripe::StripeObject
2397
+ # Controls when the funds will be captured from the customer's account.
2398
+ attr_reader :capture_method
2399
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2400
+ #
2401
+ # 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.
2402
+ #
2403
+ # 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.
2404
+ #
2405
+ # 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).
2406
+ attr_reader :setup_future_usage
2407
+
2408
+ def self.inner_class_types
2409
+ @inner_class_types = {}
2410
+ end
2411
+
2412
+ def self.field_remappings
2413
+ @field_remappings = {}
2414
+ end
2415
+ end
2416
+
2417
+ class SamsungPay < ::Stripe::StripeObject
2418
+ # Controls when the funds will be captured from the customer's account.
2419
+ attr_reader :capture_method
2420
+
2421
+ def self.inner_class_types
2422
+ @inner_class_types = {}
2423
+ end
2424
+
2425
+ def self.field_remappings
2426
+ @field_remappings = {}
2427
+ end
2428
+ end
2429
+
2430
+ class Satispay < ::Stripe::StripeObject
2431
+ # Controls when the funds will be captured from the customer's account.
2432
+ attr_reader :capture_method
2433
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2434
+ #
2435
+ # 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.
2436
+ #
2437
+ # 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.
2438
+ #
2439
+ # 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).
2440
+ attr_reader :setup_future_usage
2441
+
2442
+ def self.inner_class_types
2443
+ @inner_class_types = {}
2444
+ end
2445
+
2446
+ def self.field_remappings
2447
+ @field_remappings = {}
2448
+ end
2449
+ end
2450
+
2451
+ class Scalapay < ::Stripe::StripeObject
2452
+ # Controls when the funds will be captured from the customer's account.
2453
+ attr_reader :capture_method
2454
+
2455
+ def self.inner_class_types
2456
+ @inner_class_types = {}
2457
+ end
2458
+
2459
+ def self.field_remappings
2460
+ @field_remappings = {}
2461
+ end
2462
+ end
2463
+
2464
+ class SepaDebit < ::Stripe::StripeObject
2465
+ class MandateOptions < ::Stripe::StripeObject
2466
+ # 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'.
2467
+ attr_reader :reference_prefix
2468
+
2469
+ def self.inner_class_types
2470
+ @inner_class_types = {}
2471
+ end
2472
+
2473
+ def self.field_remappings
2474
+ @field_remappings = {}
2475
+ end
2476
+ end
2477
+ # Attribute for field mandate_options
2478
+ attr_reader :mandate_options
2479
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2480
+ #
2481
+ # 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.
2482
+ #
2483
+ # 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.
2484
+ #
2485
+ # 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).
2486
+ attr_reader :setup_future_usage
2487
+ # 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.
2488
+ attr_reader :target_date
2489
+
2490
+ def self.inner_class_types
2491
+ @inner_class_types = { mandate_options: MandateOptions }
2492
+ end
2493
+
2494
+ def self.field_remappings
2495
+ @field_remappings = {}
2496
+ end
2497
+ end
2498
+
2499
+ class Sofort < ::Stripe::StripeObject
2500
+ # Preferred language of the SOFORT authorization page that the customer is redirected to.
2501
+ attr_reader :preferred_language
2502
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2503
+ #
2504
+ # 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.
2505
+ #
2506
+ # 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.
2507
+ #
2508
+ # 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).
2509
+ attr_reader :setup_future_usage
2510
+
2511
+ def self.inner_class_types
2512
+ @inner_class_types = {}
2513
+ end
2514
+
2515
+ def self.field_remappings
2516
+ @field_remappings = {}
2517
+ end
2518
+ end
2519
+
2520
+ class Sunbit < ::Stripe::StripeObject
2521
+ # Controls when the funds will be captured from the customer's account.
2522
+ attr_reader :capture_method
2523
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2524
+ #
2525
+ # 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.
2526
+ #
2527
+ # 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.
2528
+ #
2529
+ # 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).
2530
+ attr_reader :setup_future_usage
2531
+
2532
+ def self.inner_class_types
2533
+ @inner_class_types = {}
2534
+ end
2535
+
2536
+ def self.field_remappings
2537
+ @field_remappings = {}
2538
+ end
2539
+ end
2540
+
2541
+ class Swish < ::Stripe::StripeObject
2542
+ # A reference for this payment to be displayed in the Swish app.
2543
+ attr_reader :reference
2544
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2545
+ #
2546
+ # 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.
2547
+ #
2548
+ # 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.
2549
+ #
2550
+ # 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).
2551
+ attr_reader :setup_future_usage
2552
+
2553
+ def self.inner_class_types
2554
+ @inner_class_types = {}
2555
+ end
2556
+
2557
+ def self.field_remappings
2558
+ @field_remappings = {}
2559
+ end
2560
+ end
2561
+
2562
+ class Twint < ::Stripe::StripeObject
2563
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2564
+ #
2565
+ # 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.
2566
+ #
2567
+ # 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.
2568
+ #
2569
+ # 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).
2570
+ attr_reader :setup_future_usage
2571
+
2572
+ def self.inner_class_types
2573
+ @inner_class_types = {}
2574
+ end
2575
+
2576
+ def self.field_remappings
2577
+ @field_remappings = {}
2578
+ end
2579
+ end
2580
+
2581
+ class Upi < ::Stripe::StripeObject
2582
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2583
+ #
2584
+ # 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.
2585
+ #
2586
+ # 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.
2587
+ #
2588
+ # 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).
2589
+ attr_reader :setup_future_usage
2590
+
2591
+ def self.inner_class_types
2592
+ @inner_class_types = {}
2593
+ end
2594
+
2595
+ def self.field_remappings
2596
+ @field_remappings = {}
2597
+ end
2598
+ end
2599
+
2600
+ class UsBankAccount < ::Stripe::StripeObject
2601
+ class FinancialConnections < ::Stripe::StripeObject
2602
+ class Filters < ::Stripe::StripeObject
2603
+ # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
2604
+ attr_reader :account_subcategories
2605
+
2606
+ def self.inner_class_types
2607
+ @inner_class_types = {}
2608
+ end
2609
+
2610
+ def self.field_remappings
2611
+ @field_remappings = {}
2612
+ end
2613
+ end
2614
+ # Attribute for field filters
2615
+ attr_reader :filters
2616
+ # The list of permissions to request. The `payment_method` permission must be included.
2617
+ attr_reader :permissions
2618
+ # Data features requested to be retrieved upon account creation.
2619
+ attr_reader :prefetch
2620
+ # 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.
2621
+ attr_reader :return_url
2622
+
2623
+ def self.inner_class_types
2624
+ @inner_class_types = { filters: Filters }
2625
+ end
2626
+
2627
+ def self.field_remappings
2628
+ @field_remappings = {}
2629
+ end
2630
+ end
2631
+
2632
+ class MandateOptions < ::Stripe::StripeObject
2633
+ # Mandate collection method
2634
+ attr_reader :collection_method
2635
+
2636
+ def self.inner_class_types
2637
+ @inner_class_types = {}
2638
+ end
2639
+
2640
+ def self.field_remappings
2641
+ @field_remappings = {}
2642
+ end
2643
+ end
2644
+ # Attribute for field financial_connections
2645
+ attr_reader :financial_connections
2646
+ # Attribute for field mandate_options
2647
+ attr_reader :mandate_options
2648
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2649
+ #
2650
+ # 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.
2651
+ #
2652
+ # 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.
2653
+ #
2654
+ # 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).
2655
+ attr_reader :setup_future_usage
2656
+ # 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.
2657
+ attr_reader :target_date
2658
+ # The purpose of the transaction.
2659
+ attr_reader :transaction_purpose
2660
+ # Bank account verification method. The default value is `automatic`.
2661
+ attr_reader :verification_method
2662
+
2663
+ def self.inner_class_types
2664
+ @inner_class_types = {
2665
+ financial_connections: FinancialConnections,
2666
+ mandate_options: MandateOptions,
2667
+ }
2668
+ end
2669
+
2670
+ def self.field_remappings
2671
+ @field_remappings = {}
2672
+ end
2673
+ end
2674
+
2675
+ class WechatPay < ::Stripe::StripeObject
2676
+ # The app ID registered with WeChat Pay. Only required when client is ios, android, or mini_program.
2677
+ attr_reader :app_id
2678
+ # The client type that the end customer will pay from
2679
+ attr_reader :client
2680
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2681
+ #
2682
+ # 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.
2683
+ #
2684
+ # 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.
2685
+ #
2686
+ # 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).
2687
+ attr_reader :setup_future_usage
2688
+
2689
+ def self.inner_class_types
2690
+ @inner_class_types = {}
2691
+ end
2692
+
2693
+ def self.field_remappings
2694
+ @field_remappings = {}
2695
+ end
2696
+ end
2697
+
2698
+ class Zip < ::Stripe::StripeObject
2699
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2700
+ #
2701
+ # 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.
2702
+ #
2703
+ # 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.
2704
+ #
2705
+ # 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).
2706
+ attr_reader :setup_future_usage
2707
+
2708
+ def self.inner_class_types
2709
+ @inner_class_types = {}
2710
+ end
2711
+
2712
+ def self.field_remappings
2713
+ @field_remappings = {}
2714
+ end
2715
+ end
2716
+ # Attribute for field acss_debit
2717
+ attr_reader :acss_debit
2718
+ # Attribute for field affirm
2719
+ attr_reader :affirm
2720
+ # Attribute for field afterpay_clearpay
2721
+ attr_reader :afterpay_clearpay
2722
+ # Attribute for field alipay
2723
+ attr_reader :alipay
2724
+ # Attribute for field alma
2725
+ attr_reader :alma
2726
+ # Attribute for field amazon_pay
2727
+ attr_reader :amazon_pay
2728
+ # Attribute for field au_becs_debit
2729
+ attr_reader :au_becs_debit
2730
+ # Attribute for field bacs_debit
2731
+ attr_reader :bacs_debit
2732
+ # Attribute for field bancontact
2733
+ attr_reader :bancontact
2734
+ # Attribute for field billie
2735
+ attr_reader :billie
2736
+ # Attribute for field bizum
2737
+ attr_reader :bizum
2738
+ # Attribute for field blik
2739
+ attr_reader :blik
2740
+ # Attribute for field boleto
2741
+ attr_reader :boleto
2742
+ # Attribute for field card
2743
+ attr_reader :card
2744
+ # Attribute for field card_present
2745
+ attr_reader :card_present
2746
+ # Attribute for field cashapp
2747
+ attr_reader :cashapp
2748
+ # Attribute for field crypto
2749
+ attr_reader :crypto
2750
+ # Attribute for field customer_balance
2751
+ attr_reader :customer_balance
2752
+ # Attribute for field eps
2753
+ attr_reader :eps
2754
+ # Attribute for field fpx
2755
+ attr_reader :fpx
2756
+ # Attribute for field giropay
2757
+ attr_reader :giropay
2758
+ # Attribute for field grabpay
2759
+ attr_reader :grabpay
2760
+ # Attribute for field ideal
2761
+ attr_reader :ideal
2762
+ # Attribute for field interac_present
2763
+ attr_reader :interac_present
2764
+ # Attribute for field kakao_pay
2765
+ attr_reader :kakao_pay
2766
+ # Attribute for field klarna
2767
+ attr_reader :klarna
2768
+ # Attribute for field konbini
2769
+ attr_reader :konbini
2770
+ # Attribute for field kr_card
2771
+ attr_reader :kr_card
2772
+ # Attribute for field link
2773
+ attr_reader :link
2774
+ # Attribute for field mb_way
2775
+ attr_reader :mb_way
2776
+ # Attribute for field mobilepay
2777
+ attr_reader :mobilepay
2778
+ # Attribute for field multibanco
2779
+ attr_reader :multibanco
2780
+ # Attribute for field naver_pay
2781
+ attr_reader :naver_pay
2782
+ # Attribute for field nz_bank_account
2783
+ attr_reader :nz_bank_account
2784
+ # Attribute for field oxxo
2785
+ attr_reader :oxxo
2786
+ # Attribute for field p24
2787
+ attr_reader :p24
2788
+ # Attribute for field pay_by_bank
2789
+ attr_reader :pay_by_bank
2790
+ # Attribute for field payco
2791
+ attr_reader :payco
2792
+ # Attribute for field paynow
2793
+ attr_reader :paynow
2794
+ # Attribute for field paypal
2795
+ attr_reader :paypal
2796
+ # Attribute for field payto
2797
+ attr_reader :payto
2798
+ # Attribute for field pix
2799
+ attr_reader :pix
2800
+ # Attribute for field promptpay
2801
+ attr_reader :promptpay
2802
+ # Attribute for field revolut_pay
2803
+ attr_reader :revolut_pay
2804
+ # Attribute for field samsung_pay
2805
+ attr_reader :samsung_pay
2806
+ # Attribute for field satispay
2807
+ attr_reader :satispay
2808
+ # Attribute for field scalapay
2809
+ attr_reader :scalapay
2810
+ # Attribute for field sepa_debit
2811
+ attr_reader :sepa_debit
2812
+ # Attribute for field sofort
2813
+ attr_reader :sofort
2814
+ # Attribute for field sunbit
2815
+ attr_reader :sunbit
2816
+ # Attribute for field swish
2817
+ attr_reader :swish
2818
+ # Attribute for field twint
2819
+ attr_reader :twint
2820
+ # Attribute for field upi
2821
+ attr_reader :upi
2822
+ # Attribute for field us_bank_account
2823
+ attr_reader :us_bank_account
2824
+ # Attribute for field wechat_pay
2825
+ attr_reader :wechat_pay
2826
+ # Attribute for field zip
2827
+ attr_reader :zip
2828
+
2829
+ def self.inner_class_types
2830
+ @inner_class_types = {
2831
+ acss_debit: AcssDebit,
2832
+ affirm: Affirm,
2833
+ afterpay_clearpay: AfterpayClearpay,
2834
+ alipay: Alipay,
2835
+ alma: Alma,
2836
+ amazon_pay: AmazonPay,
2837
+ au_becs_debit: AuBecsDebit,
2838
+ bacs_debit: BacsDebit,
2839
+ bancontact: Bancontact,
2840
+ billie: Billie,
2841
+ bizum: Bizum,
2842
+ blik: Blik,
2843
+ boleto: Boleto,
2844
+ card: Card,
2845
+ card_present: CardPresent,
2846
+ cashapp: Cashapp,
2847
+ crypto: Crypto,
2848
+ customer_balance: CustomerBalance,
2849
+ eps: Eps,
2850
+ fpx: Fpx,
2851
+ giropay: Giropay,
2852
+ grabpay: Grabpay,
2853
+ ideal: Ideal,
2854
+ interac_present: InteracPresent,
2855
+ kakao_pay: KakaoPay,
2856
+ klarna: Klarna,
2857
+ konbini: Konbini,
2858
+ kr_card: KrCard,
2859
+ link: Link,
2860
+ mb_way: MbWay,
2861
+ mobilepay: Mobilepay,
2862
+ multibanco: Multibanco,
2863
+ naver_pay: NaverPay,
2864
+ nz_bank_account: NzBankAccount,
2865
+ oxxo: Oxxo,
2866
+ p24: P24,
2867
+ pay_by_bank: PayByBank,
2868
+ payco: Payco,
2869
+ paynow: Paynow,
2870
+ paypal: Paypal,
2871
+ payto: Payto,
2872
+ pix: Pix,
2873
+ promptpay: Promptpay,
2874
+ revolut_pay: RevolutPay,
2875
+ samsung_pay: SamsungPay,
2876
+ satispay: Satispay,
2877
+ scalapay: Scalapay,
2878
+ sepa_debit: SepaDebit,
2879
+ sofort: Sofort,
2880
+ sunbit: Sunbit,
2881
+ swish: Swish,
2882
+ twint: Twint,
2883
+ upi: Upi,
2884
+ us_bank_account: UsBankAccount,
2885
+ wechat_pay: WechatPay,
2886
+ zip: Zip,
2887
+ }
2888
+ end
2889
+
2890
+ def self.field_remappings
2891
+ @field_remappings = {}
2892
+ end
2893
+ end
2894
+
2895
+ class PresentmentDetails < ::Stripe::StripeObject
2896
+ # Amount intended to be collected by this payment, denominated in `presentment_currency`.
2897
+ attr_reader :presentment_amount
2898
+ # Currency presented to the customer during payment.
2899
+ attr_reader :presentment_currency
2900
+
2901
+ def self.inner_class_types
2902
+ @inner_class_types = {}
2903
+ end
2904
+
2905
+ def self.field_remappings
2906
+ @field_remappings = {}
2907
+ end
2908
+ end
2909
+
2910
+ class Processing < ::Stripe::StripeObject
2911
+ class Card < ::Stripe::StripeObject
2912
+ class CustomerNotification < ::Stripe::StripeObject
2913
+ # Whether customer approval has been requested for this payment. For payments greater than INR 15000 or mandate amount, the customer must provide explicit approval of the payment with their bank.
2914
+ attr_reader :approval_requested
2915
+ # If customer approval is required, they need to provide approval before this time.
2916
+ attr_reader :completes_at
2917
+
2918
+ def self.inner_class_types
2919
+ @inner_class_types = {}
2920
+ end
2921
+
2922
+ def self.field_remappings
2923
+ @field_remappings = {}
2924
+ end
2925
+ end
2926
+ # Attribute for field customer_notification
2927
+ attr_reader :customer_notification
2928
+
2929
+ def self.inner_class_types
2930
+ @inner_class_types = { customer_notification: CustomerNotification }
2931
+ end
2932
+
2933
+ def self.field_remappings
2934
+ @field_remappings = {}
2935
+ end
2936
+ end
2937
+ # Attribute for field card
2938
+ attr_reader :card
2939
+ # Type of the payment method for which payment is in `processing` state, one of `card`.
2940
+ attr_reader :type
2941
+
2942
+ def self.inner_class_types
2943
+ @inner_class_types = { card: Card }
2944
+ end
2945
+
2946
+ def self.field_remappings
2947
+ @field_remappings = {}
2948
+ end
2949
+ end
2950
+
2951
+ class Shipping < ::Stripe::StripeObject
2952
+ class Address < ::Stripe::StripeObject
2953
+ # City, district, suburb, town, or village.
2954
+ attr_reader :city
2955
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2956
+ attr_reader :country
2957
+ # Address line 1, such as the street, PO Box, or company name.
2958
+ attr_reader :line1
2959
+ # Address line 2, such as the apartment, suite, unit, or building.
2960
+ attr_reader :line2
2961
+ # ZIP or postal code.
2962
+ attr_reader :postal_code
2963
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
2964
+ attr_reader :state
2965
+
2966
+ def self.inner_class_types
2967
+ @inner_class_types = {}
2968
+ end
2969
+
2970
+ def self.field_remappings
2971
+ @field_remappings = {}
2972
+ end
2973
+ end
2974
+ # Attribute for field address
2975
+ attr_reader :address
2976
+ # The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
2977
+ attr_reader :carrier
2978
+ # Recipient name.
2979
+ attr_reader :name
2980
+ # Recipient phone (including extension).
2981
+ attr_reader :phone
2982
+ # 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.
2983
+ attr_reader :tracking_number
2984
+
2985
+ def self.inner_class_types
2986
+ @inner_class_types = { address: Address }
2987
+ end
2988
+
2989
+ def self.field_remappings
2990
+ @field_remappings = {}
2991
+ end
2992
+ end
2993
+
2994
+ class TransferData < ::Stripe::StripeObject
2995
+ class PaymentData < ::Stripe::StripeObject
2996
+ # An arbitrary string attached to the destination payment. Often useful for displaying to users.
2997
+ attr_reader :description
2998
+ # 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.
2999
+ attr_reader :metadata
3000
+
3001
+ def self.inner_class_types
3002
+ @inner_class_types = {}
3003
+ end
3004
+
3005
+ def self.field_remappings
3006
+ @field_remappings = {}
3007
+ end
3008
+ end
3009
+ # The amount transferred to the destination account. This transfer will occur automatically after the payment succeeds. If no amount is specified, by default the entire payment amount is transferred to the destination account.
3010
+ # The amount must be less than or equal to the [amount](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-amount), and must be a positive integer
3011
+ # representing how much to transfer in the smallest currency unit (e.g., 100 cents to charge $1.00).
3012
+ attr_reader :amount
3013
+ # An arbitrary string attached to the transfer. Often useful for displaying to users.
3014
+ attr_reader :description
3015
+ # The account (if any) that the payment is attributed to for tax reporting, and where funds from the payment are transferred to after payment success.
3016
+ attr_reader :destination
3017
+ # 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.
3018
+ attr_reader :metadata
3019
+ # Attribute for field payment_data
3020
+ attr_reader :payment_data
3021
+
3022
+ def self.inner_class_types
3023
+ @inner_class_types = { payment_data: PaymentData }
3024
+ end
3025
+
3026
+ def self.field_remappings
3027
+ @field_remappings = {}
3028
+ end
3029
+ end
3030
+ # 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).
3031
+ attr_reader :amount
3032
+ # Amount that can be captured from this PaymentIntent.
3033
+ attr_reader :amount_capturable
3034
+ # Attribute for field amount_details
3035
+ attr_reader :amount_details
3036
+ # Amount that this PaymentIntent collects.
3037
+ attr_reader :amount_received
3038
+ # ID of the Connect application that created the PaymentIntent.
3039
+ attr_reader :application
3040
+ # 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).
3041
+ attr_reader :application_fee_amount
3042
+ # Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)
3043
+ attr_reader :automatic_payment_methods
3044
+ # Populated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.
3045
+ attr_reader :canceled_at
3046
+ # Reason for cancellation of this PaymentIntent, either user-provided (`duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned`) or generated by Stripe internally (`failed_invoice`, `void_invoice`, `automatic`, or `expired`).
3047
+ attr_reader :cancellation_reason
3048
+ # Controls when the funds will be captured from the customer's account.
3049
+ attr_reader :capture_method
3050
+ # The client secret of this PaymentIntent. Used for client-side retrieval using a publishable key.
3051
+ #
3052
+ # The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
3053
+ #
3054
+ # Refer to our docs to [accept a payment](https://docs.stripe.com/payments/accept-a-payment?ui=elements) and learn about how `client_secret` should be handled.
3055
+ attr_reader :client_secret
3056
+ # Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment.
3057
+ attr_reader :confirmation_method
3058
+ # Time at which the object was created. Measured in seconds since the Unix epoch.
3059
+ attr_reader :created
3060
+ # 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).
3061
+ attr_reader :currency
3062
+ # ID of the Customer this PaymentIntent belongs to, if one exists.
3063
+ #
3064
+ # Payment methods attached to other Customers cannot be used with this PaymentIntent.
3065
+ #
3066
+ # 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.
3067
+ attr_reader :customer
3068
+ # ID of the Account representing the customer that this PaymentIntent belongs to, if one exists.
3069
+ #
3070
+ # Payment methods attached to other Accounts cannot be used with this PaymentIntent.
3071
+ #
3072
+ # 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.
3073
+ attr_reader :customer_account
3074
+ # An arbitrary string attached to the object. Often useful for displaying to users.
3075
+ attr_reader :description
3076
+ # The list of payment method types to exclude from use with this payment.
3077
+ attr_reader :excluded_payment_method_types
3078
+ # Attribute for field hooks
3079
+ attr_reader :hooks
3080
+ # Unique identifier for the object.
3081
+ attr_reader :id
3082
+ # The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason.
3083
+ attr_reader :last_payment_error
3084
+ # ID of the latest [Charge object](https://docs.stripe.com/api/charges) created by this PaymentIntent. This property is `null` until PaymentIntent confirmation is attempted.
3085
+ attr_reader :latest_charge
3086
+ # If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
3087
+ attr_reader :livemode
3088
+ # Settings for Managed Payments.
3089
+ attr_reader :managed_payments
3090
+ # 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. Learn more about [storing information in metadata](https://docs.stripe.com/payments/payment-intents/creating-payment-intents#storing-information-in-metadata).
3091
+ attr_reader :metadata
3092
+ # If present, this property tells you what actions you need to take in order for your customer to fulfill a payment using the provided source.
3093
+ attr_reader :next_action
3094
+ # String representing the object's type. Objects of the same type share the same value.
3095
+ attr_reader :object
3096
+ # You can specify the settlement merchant as the
3097
+ # connected account using the `on_behalf_of` attribute on the charge. See the PaymentIntents [use case for connected accounts](/payments/connected-accounts) for details.
3098
+ attr_reader :on_behalf_of
3099
+ # Attribute for field payment_details
3100
+ attr_reader :payment_details
3101
+ # ID of the payment method used in this PaymentIntent.
3102
+ attr_reader :payment_method
3103
+ # Information about the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) used for this PaymentIntent.
3104
+ attr_reader :payment_method_configuration_details
3105
+ # Payment-method-specific configuration for this PaymentIntent.
3106
+ attr_reader :payment_method_options
3107
+ # The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. A comprehensive list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
3108
+ attr_reader :payment_method_types
3109
+ # Attribute for field presentment_details
3110
+ attr_reader :presentment_details
3111
+ # If present, this property tells you about the processing state of the payment.
3112
+ attr_reader :processing
3113
+ # Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
3114
+ attr_reader :receipt_email
3115
+ # ID of the review associated with this PaymentIntent, if any.
3116
+ attr_reader :review
3117
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3118
+ #
3119
+ # 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.
3120
+ #
3121
+ # 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.
3122
+ #
3123
+ # 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).
3124
+ attr_reader :setup_future_usage
3125
+ # Shipping information for this PaymentIntent.
3126
+ attr_reader :shipping
3127
+ # This is a legacy field that will be removed in the future. It is the ID of the Source object that is associated with this PaymentIntent, if one was supplied.
3128
+ attr_reader :source
3129
+ # 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).
3130
+ #
3131
+ # 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.
3132
+ attr_reader :statement_descriptor
3133
+ # 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.
3134
+ attr_reader :statement_descriptor_suffix
3135
+ # Status of this PaymentIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `requires_capture`, `canceled`, or `succeeded`. Read more about each PaymentIntent [status](https://docs.stripe.com/payments/intents#intent-statuses).
3136
+ attr_reader :status
3137
+ # The data that automatically creates a Transfer after the payment finalizes. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
3138
+ attr_reader :transfer_data
3139
+ # 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).
3140
+ attr_reader :transfer_group
3141
+
3142
+ # Manually reconcile the remaining amount for a customer_balance PaymentIntent.
3143
+ def apply_customer_balance(params = {}, opts = {})
3144
+ request_stripe_object(
3145
+ method: :post,
3146
+ path: format("/v1/payment_intents/%<intent>s/apply_customer_balance", { intent: CGI.escape(self["id"]) }),
3147
+ params: params,
3148
+ opts: opts
3149
+ )
3150
+ end
3151
+
3152
+ # Manually reconcile the remaining amount for a customer_balance PaymentIntent.
3153
+ def self.apply_customer_balance(intent, params = {}, opts = {})
3154
+ request_stripe_object(
3155
+ method: :post,
3156
+ path: format("/v1/payment_intents/%<intent>s/apply_customer_balance", { intent: CGI.escape(intent) }),
3157
+ params: params,
3158
+ opts: opts
3159
+ )
3160
+ end
3161
+
3162
+ # You can cancel a PaymentIntent object when it's in one of these statuses: requires_payment_method, requires_capture, requires_confirmation, requires_action or, [in rare cases](https://docs.stripe.com/docs/payments/intents), processing.
3163
+ #
3164
+ # After it's canceled, no additional charges are made by the PaymentIntent and any operations on the PaymentIntent fail with an error. For PaymentIntents with a status of requires_capture, the remaining amount_capturable is automatically refunded.
3165
+ #
3166
+ # You can directly cancel the PaymentIntent for a Checkout Session only when the PaymentIntent has a status of requires_capture. Otherwise, you must [expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire).
3167
+ def cancel(params = {}, opts = {})
3168
+ request_stripe_object(
3169
+ method: :post,
3170
+ path: format("/v1/payment_intents/%<intent>s/cancel", { intent: CGI.escape(self["id"]) }),
3171
+ params: params,
3172
+ opts: opts
3173
+ )
3174
+ end
3175
+
3176
+ # You can cancel a PaymentIntent object when it's in one of these statuses: requires_payment_method, requires_capture, requires_confirmation, requires_action or, [in rare cases](https://docs.stripe.com/docs/payments/intents), processing.
3177
+ #
3178
+ # After it's canceled, no additional charges are made by the PaymentIntent and any operations on the PaymentIntent fail with an error. For PaymentIntents with a status of requires_capture, the remaining amount_capturable is automatically refunded.
3179
+ #
3180
+ # You can directly cancel the PaymentIntent for a Checkout Session only when the PaymentIntent has a status of requires_capture. Otherwise, you must [expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire).
3181
+ def self.cancel(intent, params = {}, opts = {})
3182
+ request_stripe_object(
3183
+ method: :post,
3184
+ path: format("/v1/payment_intents/%<intent>s/cancel", { intent: CGI.escape(intent) }),
3185
+ params: params,
3186
+ opts: opts
3187
+ )
3188
+ end
3189
+
3190
+ # Capture the funds of an existing uncaptured PaymentIntent when its status is requires_capture.
3191
+ #
3192
+ # Uncaptured PaymentIntents are cancelled a set number of days (7 by default) after their creation.
3193
+ #
3194
+ # Learn more about [separate authorization and capture](https://docs.stripe.com/docs/payments/capture-later).
3195
+ def capture(params = {}, opts = {})
3196
+ request_stripe_object(
3197
+ method: :post,
3198
+ path: format("/v1/payment_intents/%<intent>s/capture", { intent: CGI.escape(self["id"]) }),
3199
+ params: params,
3200
+ opts: opts
3201
+ )
3202
+ end
3203
+
3204
+ # Capture the funds of an existing uncaptured PaymentIntent when its status is requires_capture.
3205
+ #
3206
+ # Uncaptured PaymentIntents are cancelled a set number of days (7 by default) after their creation.
3207
+ #
3208
+ # Learn more about [separate authorization and capture](https://docs.stripe.com/docs/payments/capture-later).
3209
+ def self.capture(intent, params = {}, opts = {})
3210
+ request_stripe_object(
3211
+ method: :post,
3212
+ path: format("/v1/payment_intents/%<intent>s/capture", { intent: CGI.escape(intent) }),
3213
+ params: params,
3214
+ opts: opts
3215
+ )
3216
+ end
3217
+
3218
+ # Confirm that your customer intends to pay with current or provided
3219
+ # payment method. Upon confirmation, the PaymentIntent will attempt to initiate
3220
+ # a payment.
3221
+ #
3222
+ # If the selected payment method requires additional authentication steps, the
3223
+ # PaymentIntent will transition to the requires_action status and
3224
+ # suggest additional actions via next_action. If payment fails,
3225
+ # the PaymentIntent transitions to the requires_payment_method status or the
3226
+ # canceled status if the confirmation limit is reached. If
3227
+ # payment succeeds, the PaymentIntent will transition to the succeeded
3228
+ # status (or requires_capture, if capture_method is set to manual).
3229
+ #
3230
+ # If the confirmation_method is automatic, payment may be attempted
3231
+ # using our [client SDKs](https://docs.stripe.com/docs/stripe-js/reference#stripe-handle-card-payment)
3232
+ # and the PaymentIntent's [client_secret](https://docs.stripe.com/api#payment_intent_object-client_secret).
3233
+ # After next_actions are handled by the client, no additional
3234
+ # confirmation is required to complete the payment.
3235
+ #
3236
+ # If the confirmation_method is manual, all payment attempts must be
3237
+ # initiated using a secret key.
3238
+ #
3239
+ # If any actions are required for the payment, the PaymentIntent will
3240
+ # return to the requires_confirmation state
3241
+ # after those actions are completed. Your server needs to then
3242
+ # explicitly re-confirm the PaymentIntent to initiate the next payment
3243
+ # attempt.
3244
+ #
3245
+ # There is a variable upper limit on how many times a PaymentIntent can be confirmed.
3246
+ # After this limit is reached, any further calls to this endpoint will
3247
+ # transition the PaymentIntent to the canceled state.
3248
+ def confirm(params = {}, opts = {})
3249
+ request_stripe_object(
3250
+ method: :post,
3251
+ path: format("/v1/payment_intents/%<intent>s/confirm", { intent: CGI.escape(self["id"]) }),
3252
+ params: params,
3253
+ opts: opts
3254
+ )
3255
+ end
3256
+
3257
+ # Confirm that your customer intends to pay with current or provided
3258
+ # payment method. Upon confirmation, the PaymentIntent will attempt to initiate
3259
+ # a payment.
3260
+ #
3261
+ # If the selected payment method requires additional authentication steps, the
3262
+ # PaymentIntent will transition to the requires_action status and
3263
+ # suggest additional actions via next_action. If payment fails,
3264
+ # the PaymentIntent transitions to the requires_payment_method status or the
3265
+ # canceled status if the confirmation limit is reached. If
3266
+ # payment succeeds, the PaymentIntent will transition to the succeeded
3267
+ # status (or requires_capture, if capture_method is set to manual).
3268
+ #
3269
+ # If the confirmation_method is automatic, payment may be attempted
3270
+ # using our [client SDKs](https://docs.stripe.com/docs/stripe-js/reference#stripe-handle-card-payment)
3271
+ # and the PaymentIntent's [client_secret](https://docs.stripe.com/api#payment_intent_object-client_secret).
3272
+ # After next_actions are handled by the client, no additional
3273
+ # confirmation is required to complete the payment.
3274
+ #
3275
+ # If the confirmation_method is manual, all payment attempts must be
3276
+ # initiated using a secret key.
3277
+ #
3278
+ # If any actions are required for the payment, the PaymentIntent will
3279
+ # return to the requires_confirmation state
3280
+ # after those actions are completed. Your server needs to then
3281
+ # explicitly re-confirm the PaymentIntent to initiate the next payment
3282
+ # attempt.
3283
+ #
3284
+ # There is a variable upper limit on how many times a PaymentIntent can be confirmed.
3285
+ # After this limit is reached, any further calls to this endpoint will
3286
+ # transition the PaymentIntent to the canceled state.
3287
+ def self.confirm(intent, params = {}, opts = {})
3288
+ request_stripe_object(
3289
+ method: :post,
3290
+ path: format("/v1/payment_intents/%<intent>s/confirm", { intent: CGI.escape(intent) }),
3291
+ params: params,
3292
+ opts: opts
3293
+ )
3294
+ end
3295
+
3296
+ # Creates a PaymentIntent object.
3297
+ #
3298
+ # After the PaymentIntent is created, attach a payment method and [confirm](https://docs.stripe.com/docs/api/payment_intents/confirm)
3299
+ # to continue the payment. Learn more about <a href="/docs/payments/payment-intents">the available payment flows
3300
+ # with the Payment Intents API.
3301
+ #
3302
+ # When you use confirm=true during creation, it's equivalent to creating
3303
+ # and confirming the PaymentIntent in the same call. You can use any parameters
3304
+ # available in the [confirm API](https://docs.stripe.com/docs/api/payment_intents/confirm) when you supply
3305
+ # confirm=true.
3306
+ def self.create(params = {}, opts = {})
3307
+ request_stripe_object(method: :post, path: "/v1/payment_intents", params: params, opts: opts)
3308
+ end
3309
+
3310
+ # Perform an incremental authorization on an eligible
3311
+ # [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
3312
+ # PaymentIntent's status must be requires_capture and
3313
+ # [incremental_authorization_supported](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported)
3314
+ # must be true.
3315
+ #
3316
+ # Incremental authorizations attempt to increase the authorized amount on
3317
+ # your customer's card to the new, higher amount provided. Similar to the
3318
+ # initial authorization, incremental authorizations can be declined. A
3319
+ # single PaymentIntent can call this endpoint multiple times to further
3320
+ # increase the authorized amount.
3321
+ #
3322
+ # If the incremental authorization succeeds, the PaymentIntent object
3323
+ # returns with the updated
3324
+ # [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
3325
+ # If the incremental authorization fails, a
3326
+ # [card_declined](https://docs.stripe.com/docs/error-codes#card-declined) error returns, and no other
3327
+ # fields on the PaymentIntent or Charge update. The PaymentIntent
3328
+ # object remains capturable for the previously authorized amount.
3329
+ #
3330
+ # Each PaymentIntent can have a maximum of 10 incremental authorization attempts, including declines.
3331
+ # After it's captured, a PaymentIntent can no longer be incremented.
3332
+ #
3333
+ # Learn more about incremental authorizations with
3334
+ # [in-person payments](https://docs.stripe.com/docs/terminal/features/incremental-authorizations) and
3335
+ # [online payments](https://docs.stripe.com/docs/payments/incremental-authorization?platform=web&ui=elements).
3336
+ def increment_authorization(params = {}, opts = {})
3337
+ request_stripe_object(
3338
+ method: :post,
3339
+ path: format("/v1/payment_intents/%<intent>s/increment_authorization", { intent: CGI.escape(self["id"]) }),
3340
+ params: params,
3341
+ opts: opts
3342
+ )
3343
+ end
3344
+
3345
+ # Perform an incremental authorization on an eligible
3346
+ # [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
3347
+ # PaymentIntent's status must be requires_capture and
3348
+ # [incremental_authorization_supported](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported)
3349
+ # must be true.
3350
+ #
3351
+ # Incremental authorizations attempt to increase the authorized amount on
3352
+ # your customer's card to the new, higher amount provided. Similar to the
3353
+ # initial authorization, incremental authorizations can be declined. A
3354
+ # single PaymentIntent can call this endpoint multiple times to further
3355
+ # increase the authorized amount.
3356
+ #
3357
+ # If the incremental authorization succeeds, the PaymentIntent object
3358
+ # returns with the updated
3359
+ # [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
3360
+ # If the incremental authorization fails, a
3361
+ # [card_declined](https://docs.stripe.com/docs/error-codes#card-declined) error returns, and no other
3362
+ # fields on the PaymentIntent or Charge update. The PaymentIntent
3363
+ # object remains capturable for the previously authorized amount.
3364
+ #
3365
+ # Each PaymentIntent can have a maximum of 10 incremental authorization attempts, including declines.
3366
+ # After it's captured, a PaymentIntent can no longer be incremented.
3367
+ #
3368
+ # Learn more about incremental authorizations with
3369
+ # [in-person payments](https://docs.stripe.com/docs/terminal/features/incremental-authorizations) and
3370
+ # [online payments](https://docs.stripe.com/docs/payments/incremental-authorization?platform=web&ui=elements).
3371
+ def self.increment_authorization(intent, params = {}, opts = {})
3372
+ request_stripe_object(
3373
+ method: :post,
3374
+ path: format("/v1/payment_intents/%<intent>s/increment_authorization", { intent: CGI.escape(intent) }),
3375
+ params: params,
3376
+ opts: opts
3377
+ )
3378
+ end
3379
+
3380
+ # Returns a list of PaymentIntents.
3381
+ def self.list(params = {}, opts = {})
3382
+ request_stripe_object(method: :get, path: "/v1/payment_intents", params: params, opts: opts)
3383
+ end
3384
+
3385
+ def self.search(params = {}, opts = {})
3386
+ request_stripe_object(
3387
+ method: :get,
3388
+ path: "/v1/payment_intents/search",
3389
+ params: params,
3390
+ opts: opts
3391
+ )
3392
+ end
3393
+
3394
+ def self.search_auto_paging_each(params = {}, opts = {}, &blk)
3395
+ search(params, opts).auto_paging_each(&blk)
3396
+ end
3397
+
3398
+ # Updates properties on a PaymentIntent object without confirming.
3399
+ #
3400
+ # Depending on which properties you update, you might need to confirm the
3401
+ # PaymentIntent again. For example, updating the payment_method
3402
+ # always requires you to confirm the PaymentIntent again. If you prefer to
3403
+ # update and confirm at the same time, we recommend updating properties through
3404
+ # the [confirm API](https://docs.stripe.com/docs/api/payment_intents/confirm) instead.
3405
+ def self.update(intent, params = {}, opts = {})
3406
+ request_stripe_object(
3407
+ method: :post,
3408
+ path: format("/v1/payment_intents/%<intent>s", { intent: CGI.escape(intent) }),
3409
+ params: params,
3410
+ opts: opts
3411
+ )
3412
+ end
3413
+
3414
+ # Verifies microdeposits on a PaymentIntent object.
3415
+ def verify_microdeposits(params = {}, opts = {})
3416
+ request_stripe_object(
3417
+ method: :post,
3418
+ path: format("/v1/payment_intents/%<intent>s/verify_microdeposits", { intent: CGI.escape(self["id"]) }),
3419
+ params: params,
3420
+ opts: opts
3421
+ )
3422
+ end
3423
+
3424
+ # Verifies microdeposits on a PaymentIntent object.
3425
+ def self.verify_microdeposits(intent, params = {}, opts = {})
3426
+ request_stripe_object(
3427
+ method: :post,
3428
+ path: format("/v1/payment_intents/%<intent>s/verify_microdeposits", { intent: CGI.escape(intent) }),
3429
+ params: params,
3430
+ opts: opts
3431
+ )
3432
+ end
3433
+
3434
+ def self.inner_class_types
3435
+ @inner_class_types = {
3436
+ amount_details: AmountDetails,
3437
+ automatic_payment_methods: AutomaticPaymentMethods,
3438
+ hooks: Hooks,
3439
+ last_payment_error: LastPaymentError,
3440
+ managed_payments: ManagedPayments,
3441
+ next_action: NextAction,
3442
+ payment_details: PaymentDetails,
3443
+ payment_method_configuration_details: PaymentMethodConfigurationDetails,
3444
+ payment_method_options: PaymentMethodOptions,
3445
+ presentment_details: PresentmentDetails,
3446
+ processing: Processing,
3447
+ shipping: Shipping,
3448
+ transfer_data: TransferData,
3449
+ }
3450
+ end
3451
+
3452
+ def self.field_remappings
3453
+ @field_remappings = {}
3454
+ end
3455
+ end
3456
+ end