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,2541 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Checkout
6
+ # A Checkout Session represents your customer's session as they pay for
7
+ # one-time purchases or subscriptions through [Checkout](https://docs.stripe.com/payments/checkout)
8
+ # or [Payment Links](https://docs.stripe.com/payments/payment-links). We recommend creating a
9
+ # new Session each time your customer attempts to pay.
10
+ #
11
+ # Once payment is successful, the Checkout Session will contain a reference
12
+ # to the [Customer](https://docs.stripe.com/api/customers), and either the successful
13
+ # [PaymentIntent](https://docs.stripe.com/api/payment_intents) or an active
14
+ # [Subscription](https://docs.stripe.com/api/subscriptions).
15
+ #
16
+ # You can create a Checkout Session on your server and redirect to its URL
17
+ # to begin Checkout.
18
+ #
19
+ # Related guide: [Checkout quickstart](https://docs.stripe.com/checkout/quickstart)
20
+ class Session < APIResource
21
+ extend Stripe::APIOperations::Create
22
+ extend Stripe::APIOperations::List
23
+ include Stripe::APIOperations::Save
24
+
25
+ OBJECT_NAME = "checkout.session"
26
+ def self.object_name
27
+ "checkout.session"
28
+ end
29
+
30
+ class AdaptivePricing < ::Stripe::StripeObject
31
+ # If enabled, Adaptive Pricing is available on [eligible sessions](https://docs.stripe.com/payments/currencies/localize-prices/adaptive-pricing?payment-ui=stripe-hosted#restrictions).
32
+ attr_reader :enabled
33
+
34
+ def self.inner_class_types
35
+ @inner_class_types = {}
36
+ end
37
+
38
+ def self.field_remappings
39
+ @field_remappings = {}
40
+ end
41
+ end
42
+
43
+ class AfterExpiration < ::Stripe::StripeObject
44
+ class Recovery < ::Stripe::StripeObject
45
+ # Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to `false`
46
+ attr_reader :allow_promotion_codes
47
+ # If `true`, a recovery url will be generated to recover this Checkout Session if it
48
+ # expires before a transaction is completed. It will be attached to the
49
+ # Checkout Session object upon expiration.
50
+ attr_reader :enabled
51
+ # The timestamp at which the recovery URL will expire.
52
+ attr_reader :expires_at
53
+ # URL that creates a new Checkout Session when clicked that is a copy of this expired Checkout Session
54
+ attr_reader :url
55
+
56
+ def self.inner_class_types
57
+ @inner_class_types = {}
58
+ end
59
+
60
+ def self.field_remappings
61
+ @field_remappings = {}
62
+ end
63
+ end
64
+ # When set, configuration used to recover the Checkout Session on expiry.
65
+ attr_reader :recovery
66
+
67
+ def self.inner_class_types
68
+ @inner_class_types = { recovery: Recovery }
69
+ end
70
+
71
+ def self.field_remappings
72
+ @field_remappings = {}
73
+ end
74
+ end
75
+
76
+ class AutomaticTax < ::Stripe::StripeObject
77
+ class Liability < ::Stripe::StripeObject
78
+ # The connected account being referenced when `type` is `account`.
79
+ attr_reader :account
80
+ # Type of the account referenced.
81
+ attr_reader :type
82
+
83
+ def self.inner_class_types
84
+ @inner_class_types = {}
85
+ end
86
+
87
+ def self.field_remappings
88
+ @field_remappings = {}
89
+ end
90
+ end
91
+ # Indicates whether automatic tax is enabled for the session
92
+ attr_reader :enabled
93
+ # The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
94
+ attr_reader :liability
95
+ # The tax provider powering automatic tax.
96
+ attr_reader :provider
97
+ # The status of the most recent automated tax calculation for this session.
98
+ attr_reader :status
99
+
100
+ def self.inner_class_types
101
+ @inner_class_types = { liability: Liability }
102
+ end
103
+
104
+ def self.field_remappings
105
+ @field_remappings = {}
106
+ end
107
+ end
108
+
109
+ class BrandingSettings < ::Stripe::StripeObject
110
+ class Icon < ::Stripe::StripeObject
111
+ # The ID of a [File upload](https://stripe.com/docs/api/files) representing the icon. Purpose must be `business_icon`. Required if `type` is `file` and disallowed otherwise.
112
+ attr_reader :file
113
+ # The type of image for the icon. Must be one of `file` or `url`.
114
+ attr_reader :type
115
+ # The URL of the image. Present when `type` is `url`.
116
+ attr_reader :url
117
+
118
+ def self.inner_class_types
119
+ @inner_class_types = {}
120
+ end
121
+
122
+ def self.field_remappings
123
+ @field_remappings = {}
124
+ end
125
+ end
126
+
127
+ class Logo < ::Stripe::StripeObject
128
+ # The ID of a [File upload](https://stripe.com/docs/api/files) representing the logo. Purpose must be `business_logo`. Required if `type` is `file` and disallowed otherwise.
129
+ attr_reader :file
130
+ # The type of image for the logo. Must be one of `file` or `url`.
131
+ attr_reader :type
132
+ # The URL of the image. Present when `type` is `url`.
133
+ attr_reader :url
134
+
135
+ def self.inner_class_types
136
+ @inner_class_types = {}
137
+ end
138
+
139
+ def self.field_remappings
140
+ @field_remappings = {}
141
+ end
142
+ end
143
+ # A hex color value starting with `#` representing the background color for the Checkout Session.
144
+ attr_reader :background_color
145
+ # The border style for the Checkout Session. Must be one of `rounded`, `rectangular`, or `pill`.
146
+ attr_reader :border_style
147
+ # A hex color value starting with `#` representing the button color for the Checkout Session.
148
+ attr_reader :button_color
149
+ # The display name shown on the Checkout Session.
150
+ attr_reader :display_name
151
+ # The font family for the Checkout Session. Must be one of the [supported font families](https://docs.stripe.com/payments/checkout/customization/appearance?payment-ui=stripe-hosted#font-compatibility).
152
+ attr_reader :font_family
153
+ # The icon for the Checkout Session. You cannot set both `logo` and `icon`.
154
+ attr_reader :icon
155
+ # The logo for the Checkout Session. You cannot set both `logo` and `icon`.
156
+ attr_reader :logo
157
+
158
+ def self.inner_class_types
159
+ @inner_class_types = { icon: Icon, logo: Logo }
160
+ end
161
+
162
+ def self.field_remappings
163
+ @field_remappings = {}
164
+ end
165
+ end
166
+
167
+ class CollectedInformation < ::Stripe::StripeObject
168
+ class ShippingDetails < ::Stripe::StripeObject
169
+ class Address < ::Stripe::StripeObject
170
+ # City, district, suburb, town, or village.
171
+ attr_reader :city
172
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
173
+ attr_reader :country
174
+ # Address line 1, such as the street, PO Box, or company name.
175
+ attr_reader :line1
176
+ # Address line 2, such as the apartment, suite, unit, or building.
177
+ attr_reader :line2
178
+ # ZIP or postal code.
179
+ attr_reader :postal_code
180
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
181
+ attr_reader :state
182
+
183
+ def self.inner_class_types
184
+ @inner_class_types = {}
185
+ end
186
+
187
+ def self.field_remappings
188
+ @field_remappings = {}
189
+ end
190
+ end
191
+ # Attribute for field address
192
+ attr_reader :address
193
+ # Customer name.
194
+ attr_reader :name
195
+
196
+ def self.inner_class_types
197
+ @inner_class_types = { address: Address }
198
+ end
199
+
200
+ def self.field_remappings
201
+ @field_remappings = {}
202
+ end
203
+ end
204
+ # Customer’s business name for this Checkout Session
205
+ attr_reader :business_name
206
+ # Customer’s individual name for this Checkout Session
207
+ attr_reader :individual_name
208
+ # Shipping information for this Checkout Session.
209
+ attr_reader :shipping_details
210
+
211
+ def self.inner_class_types
212
+ @inner_class_types = { shipping_details: ShippingDetails }
213
+ end
214
+
215
+ def self.field_remappings
216
+ @field_remappings = {}
217
+ end
218
+ end
219
+
220
+ class Consent < ::Stripe::StripeObject
221
+ # If `opt_in`, the customer consents to receiving promotional communications
222
+ # from the merchant about this Checkout Session.
223
+ attr_reader :promotions
224
+ # If `accepted`, the customer in this Checkout Session has agreed to the merchant's terms of service.
225
+ attr_reader :terms_of_service
226
+
227
+ def self.inner_class_types
228
+ @inner_class_types = {}
229
+ end
230
+
231
+ def self.field_remappings
232
+ @field_remappings = {}
233
+ end
234
+ end
235
+
236
+ class ConsentCollection < ::Stripe::StripeObject
237
+ class PaymentMethodReuseAgreement < ::Stripe::StripeObject
238
+ # Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's defaults will be used.
239
+ #
240
+ # When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI.
241
+ attr_reader :position
242
+
243
+ def self.inner_class_types
244
+ @inner_class_types = {}
245
+ end
246
+
247
+ def self.field_remappings
248
+ @field_remappings = {}
249
+ end
250
+ end
251
+ # If set to `hidden`, it will hide legal text related to the reuse of a payment method.
252
+ attr_reader :payment_method_reuse_agreement
253
+ # If set to `auto`, enables the collection of customer consent for promotional communications. The Checkout
254
+ # Session will determine whether to display an option to opt into promotional communication
255
+ # from the merchant depending on the customer's locale. Only available to US merchants and US customers.
256
+ attr_reader :promotions
257
+ # If set to `required`, it requires customers to accept the terms of service before being able to pay.
258
+ attr_reader :terms_of_service
259
+
260
+ def self.inner_class_types
261
+ @inner_class_types = { payment_method_reuse_agreement: PaymentMethodReuseAgreement }
262
+ end
263
+
264
+ def self.field_remappings
265
+ @field_remappings = {}
266
+ end
267
+ end
268
+
269
+ class CurrencyConversion < ::Stripe::StripeObject
270
+ # Total of all items in source currency before discounts or taxes are applied.
271
+ attr_reader :amount_subtotal
272
+ # Total of all items in source currency after discounts and taxes are applied.
273
+ attr_reader :amount_total
274
+ # Exchange rate used to convert source currency amounts to customer currency amounts
275
+ attr_reader :fx_rate
276
+ # Creation currency of the CheckoutSession before localization
277
+ attr_reader :source_currency
278
+
279
+ def self.inner_class_types
280
+ @inner_class_types = {}
281
+ end
282
+
283
+ def self.field_remappings
284
+ @field_remappings = {}
285
+ end
286
+
287
+ def self.field_encodings
288
+ @field_encodings = { fx_rate: :decimal_string }
289
+ end
290
+ end
291
+
292
+ class CustomField < ::Stripe::StripeObject
293
+ class Dropdown < ::Stripe::StripeObject
294
+ class Option < ::Stripe::StripeObject
295
+ # The label for the option, displayed to the customer. Up to 100 characters.
296
+ attr_reader :label
297
+ # The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters.
298
+ attr_reader :value
299
+
300
+ def self.inner_class_types
301
+ @inner_class_types = {}
302
+ end
303
+
304
+ def self.field_remappings
305
+ @field_remappings = {}
306
+ end
307
+ end
308
+ # The value that pre-fills on the payment page.
309
+ attr_reader :default_value
310
+ # The options available for the customer to select. Up to 200 options allowed.
311
+ attr_reader :options
312
+ # The option selected by the customer. This will be the `value` for the option.
313
+ attr_reader :value
314
+
315
+ def self.inner_class_types
316
+ @inner_class_types = { options: Option }
317
+ end
318
+
319
+ def self.field_remappings
320
+ @field_remappings = {}
321
+ end
322
+ end
323
+
324
+ class Label < ::Stripe::StripeObject
325
+ # Custom text for the label, displayed to the customer. Up to 50 characters.
326
+ attr_reader :custom
327
+ # The type of the label.
328
+ attr_reader :type
329
+
330
+ def self.inner_class_types
331
+ @inner_class_types = {}
332
+ end
333
+
334
+ def self.field_remappings
335
+ @field_remappings = {}
336
+ end
337
+ end
338
+
339
+ class Numeric < ::Stripe::StripeObject
340
+ # The value that pre-fills the field on the payment page.
341
+ attr_reader :default_value
342
+ # The maximum character length constraint for the customer's input.
343
+ attr_reader :maximum_length
344
+ # The minimum character length requirement for the customer's input.
345
+ attr_reader :minimum_length
346
+ # The value entered by the customer, containing only digits.
347
+ attr_reader :value
348
+
349
+ def self.inner_class_types
350
+ @inner_class_types = {}
351
+ end
352
+
353
+ def self.field_remappings
354
+ @field_remappings = {}
355
+ end
356
+ end
357
+
358
+ class Text < ::Stripe::StripeObject
359
+ # The value that pre-fills the field on the payment page.
360
+ attr_reader :default_value
361
+ # The maximum character length constraint for the customer's input.
362
+ attr_reader :maximum_length
363
+ # The minimum character length requirement for the customer's input.
364
+ attr_reader :minimum_length
365
+ # The value entered by the customer.
366
+ attr_reader :value
367
+
368
+ def self.inner_class_types
369
+ @inner_class_types = {}
370
+ end
371
+
372
+ def self.field_remappings
373
+ @field_remappings = {}
374
+ end
375
+ end
376
+ # Attribute for field dropdown
377
+ attr_reader :dropdown
378
+ # String of your choice that your integration can use to reconcile this field. Must be unique to this field, alphanumeric, and up to 200 characters.
379
+ attr_reader :key
380
+ # Attribute for field label
381
+ attr_reader :label
382
+ # Attribute for field numeric
383
+ attr_reader :numeric
384
+ # Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`.
385
+ attr_reader :optional
386
+ # Attribute for field text
387
+ attr_reader :text
388
+ # The type of the field.
389
+ attr_reader :type
390
+
391
+ def self.inner_class_types
392
+ @inner_class_types = { dropdown: Dropdown, label: Label, numeric: Numeric, text: Text }
393
+ end
394
+
395
+ def self.field_remappings
396
+ @field_remappings = {}
397
+ end
398
+ end
399
+
400
+ class CustomText < ::Stripe::StripeObject
401
+ class AfterSubmit < ::Stripe::StripeObject
402
+ # Text can be up to 1200 characters in length.
403
+ attr_reader :message
404
+
405
+ def self.inner_class_types
406
+ @inner_class_types = {}
407
+ end
408
+
409
+ def self.field_remappings
410
+ @field_remappings = {}
411
+ end
412
+ end
413
+
414
+ class ShippingAddress < ::Stripe::StripeObject
415
+ # Text can be up to 1200 characters in length.
416
+ attr_reader :message
417
+
418
+ def self.inner_class_types
419
+ @inner_class_types = {}
420
+ end
421
+
422
+ def self.field_remappings
423
+ @field_remappings = {}
424
+ end
425
+ end
426
+
427
+ class Submit < ::Stripe::StripeObject
428
+ # Text can be up to 1200 characters in length.
429
+ attr_reader :message
430
+
431
+ def self.inner_class_types
432
+ @inner_class_types = {}
433
+ end
434
+
435
+ def self.field_remappings
436
+ @field_remappings = {}
437
+ end
438
+ end
439
+
440
+ class TermsOfServiceAcceptance < ::Stripe::StripeObject
441
+ # Text can be up to 1200 characters in length.
442
+ attr_reader :message
443
+
444
+ def self.inner_class_types
445
+ @inner_class_types = {}
446
+ end
447
+
448
+ def self.field_remappings
449
+ @field_remappings = {}
450
+ end
451
+ end
452
+ # Custom text that should be displayed after the payment confirmation button.
453
+ attr_reader :after_submit
454
+ # Custom text that should be displayed alongside shipping address collection.
455
+ attr_reader :shipping_address
456
+ # Custom text that should be displayed alongside the payment confirmation button.
457
+ attr_reader :submit
458
+ # Custom text that should be displayed in place of the default terms of service agreement text.
459
+ attr_reader :terms_of_service_acceptance
460
+
461
+ def self.inner_class_types
462
+ @inner_class_types = {
463
+ after_submit: AfterSubmit,
464
+ shipping_address: ShippingAddress,
465
+ submit: Submit,
466
+ terms_of_service_acceptance: TermsOfServiceAcceptance,
467
+ }
468
+ end
469
+
470
+ def self.field_remappings
471
+ @field_remappings = {}
472
+ end
473
+ end
474
+
475
+ class CustomerDetails < ::Stripe::StripeObject
476
+ class Address < ::Stripe::StripeObject
477
+ # City, district, suburb, town, or village.
478
+ attr_reader :city
479
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
480
+ attr_reader :country
481
+ # Address line 1, such as the street, PO Box, or company name.
482
+ attr_reader :line1
483
+ # Address line 2, such as the apartment, suite, unit, or building.
484
+ attr_reader :line2
485
+ # ZIP or postal code.
486
+ attr_reader :postal_code
487
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
488
+ attr_reader :state
489
+
490
+ def self.inner_class_types
491
+ @inner_class_types = {}
492
+ end
493
+
494
+ def self.field_remappings
495
+ @field_remappings = {}
496
+ end
497
+ end
498
+
499
+ class TaxId < ::Stripe::StripeObject
500
+ # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
501
+ attr_reader :type
502
+ # The value of the tax ID.
503
+ attr_reader :value
504
+
505
+ def self.inner_class_types
506
+ @inner_class_types = {}
507
+ end
508
+
509
+ def self.field_remappings
510
+ @field_remappings = {}
511
+ end
512
+ end
513
+ # The customer's address after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022.
514
+ attr_reader :address
515
+ # The customer's business name after a completed Checkout Session.
516
+ attr_reader :business_name
517
+ # The email associated with the Customer, if one exists, on the Checkout Session after a completed Checkout Session or at time of session expiry.
518
+ # Otherwise, if the customer has consented to promotional content, this value is the most recent valid email provided by the customer on the Checkout form.
519
+ attr_reader :email
520
+ # The customer's individual name after a completed Checkout Session.
521
+ attr_reader :individual_name
522
+ # The customer's name after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022.
523
+ attr_reader :name
524
+ # The customer's phone number after a completed Checkout Session.
525
+ attr_reader :phone
526
+ # The customer’s tax exempt status after a completed Checkout Session.
527
+ attr_reader :tax_exempt
528
+ # The customer’s tax IDs after a completed Checkout Session.
529
+ attr_reader :tax_ids
530
+
531
+ def self.inner_class_types
532
+ @inner_class_types = { address: Address, tax_ids: TaxId }
533
+ end
534
+
535
+ def self.field_remappings
536
+ @field_remappings = {}
537
+ end
538
+ end
539
+
540
+ class Discount < ::Stripe::StripeObject
541
+ # Coupon attached to the Checkout Session.
542
+ attr_reader :coupon
543
+ # Promotion code attached to the Checkout Session.
544
+ attr_reader :promotion_code
545
+
546
+ def self.inner_class_types
547
+ @inner_class_types = {}
548
+ end
549
+
550
+ def self.field_remappings
551
+ @field_remappings = {}
552
+ end
553
+ end
554
+
555
+ class InvoiceCreation < ::Stripe::StripeObject
556
+ class InvoiceData < ::Stripe::StripeObject
557
+ class CustomField < ::Stripe::StripeObject
558
+ # The name of the custom field.
559
+ attr_reader :name
560
+ # The value of the custom field.
561
+ attr_reader :value
562
+
563
+ def self.inner_class_types
564
+ @inner_class_types = {}
565
+ end
566
+
567
+ def self.field_remappings
568
+ @field_remappings = {}
569
+ end
570
+ end
571
+
572
+ class Issuer < ::Stripe::StripeObject
573
+ # The connected account being referenced when `type` is `account`.
574
+ attr_reader :account
575
+ # Type of the account referenced.
576
+ attr_reader :type
577
+
578
+ def self.inner_class_types
579
+ @inner_class_types = {}
580
+ end
581
+
582
+ def self.field_remappings
583
+ @field_remappings = {}
584
+ end
585
+ end
586
+
587
+ class RenderingOptions < ::Stripe::StripeObject
588
+ # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.
589
+ attr_reader :amount_tax_display
590
+ # ID of the invoice rendering template to be used for the generated invoice.
591
+ attr_reader :template
592
+
593
+ def self.inner_class_types
594
+ @inner_class_types = {}
595
+ end
596
+
597
+ def self.field_remappings
598
+ @field_remappings = {}
599
+ end
600
+ end
601
+ # The account tax IDs associated with the invoice.
602
+ attr_reader :account_tax_ids
603
+ # Custom fields displayed on the invoice.
604
+ attr_reader :custom_fields
605
+ # An arbitrary string attached to the object. Often useful for displaying to users.
606
+ attr_reader :description
607
+ # Footer displayed on the invoice.
608
+ attr_reader :footer
609
+ # The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
610
+ attr_reader :issuer
611
+ # 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.
612
+ attr_reader :metadata
613
+ # Options for invoice PDF rendering.
614
+ attr_reader :rendering_options
615
+
616
+ def self.inner_class_types
617
+ @inner_class_types = {
618
+ custom_fields: CustomField,
619
+ issuer: Issuer,
620
+ rendering_options: RenderingOptions,
621
+ }
622
+ end
623
+
624
+ def self.field_remappings
625
+ @field_remappings = {}
626
+ end
627
+ end
628
+ # Indicates whether invoice creation is enabled for the Checkout Session.
629
+ attr_reader :enabled
630
+ # Attribute for field invoice_data
631
+ attr_reader :invoice_data
632
+
633
+ def self.inner_class_types
634
+ @inner_class_types = { invoice_data: InvoiceData }
635
+ end
636
+
637
+ def self.field_remappings
638
+ @field_remappings = {}
639
+ end
640
+ end
641
+
642
+ class ManagedPayments < ::Stripe::StripeObject
643
+ # Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
644
+ attr_reader :enabled
645
+
646
+ def self.inner_class_types
647
+ @inner_class_types = {}
648
+ end
649
+
650
+ def self.field_remappings
651
+ @field_remappings = {}
652
+ end
653
+ end
654
+
655
+ class NameCollection < ::Stripe::StripeObject
656
+ class Business < ::Stripe::StripeObject
657
+ # Indicates whether business name collection is enabled for the session
658
+ attr_reader :enabled
659
+ # Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`.
660
+ attr_reader :optional
661
+
662
+ def self.inner_class_types
663
+ @inner_class_types = {}
664
+ end
665
+
666
+ def self.field_remappings
667
+ @field_remappings = {}
668
+ end
669
+ end
670
+
671
+ class Individual < ::Stripe::StripeObject
672
+ # Indicates whether individual name collection is enabled for the session
673
+ attr_reader :enabled
674
+ # Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`.
675
+ attr_reader :optional
676
+
677
+ def self.inner_class_types
678
+ @inner_class_types = {}
679
+ end
680
+
681
+ def self.field_remappings
682
+ @field_remappings = {}
683
+ end
684
+ end
685
+ # Attribute for field business
686
+ attr_reader :business
687
+ # Attribute for field individual
688
+ attr_reader :individual
689
+
690
+ def self.inner_class_types
691
+ @inner_class_types = { business: Business, individual: Individual }
692
+ end
693
+
694
+ def self.field_remappings
695
+ @field_remappings = {}
696
+ end
697
+ end
698
+
699
+ class OptionalItem < ::Stripe::StripeObject
700
+ class AdjustableQuantity < ::Stripe::StripeObject
701
+ # Set to true if the quantity can be adjusted to any non-negative integer.
702
+ attr_reader :enabled
703
+ # The maximum quantity of this item the customer can purchase. By default this value is 99. You can specify a value up to 999999.
704
+ attr_reader :maximum
705
+ # The minimum quantity of this item the customer must purchase, if they choose to purchase it. Because this item is optional, the customer will always be able to remove it from their order, even if the `minimum` configured here is greater than 0. By default this value is 0.
706
+ attr_reader :minimum
707
+
708
+ def self.inner_class_types
709
+ @inner_class_types = {}
710
+ end
711
+
712
+ def self.field_remappings
713
+ @field_remappings = {}
714
+ end
715
+ end
716
+ # Attribute for field adjustable_quantity
717
+ attr_reader :adjustable_quantity
718
+ # Attribute for field price
719
+ attr_reader :price
720
+ # Attribute for field quantity
721
+ attr_reader :quantity
722
+
723
+ def self.inner_class_types
724
+ @inner_class_types = { adjustable_quantity: AdjustableQuantity }
725
+ end
726
+
727
+ def self.field_remappings
728
+ @field_remappings = {}
729
+ end
730
+ end
731
+
732
+ class PaymentMethodConfigurationDetails < ::Stripe::StripeObject
733
+ # ID of the payment method configuration used.
734
+ attr_reader :id
735
+ # ID of the parent payment method configuration used.
736
+ attr_reader :parent
737
+
738
+ def self.inner_class_types
739
+ @inner_class_types = {}
740
+ end
741
+
742
+ def self.field_remappings
743
+ @field_remappings = {}
744
+ end
745
+ end
746
+
747
+ class PaymentMethodOptions < ::Stripe::StripeObject
748
+ class AcssDebit < ::Stripe::StripeObject
749
+ class MandateOptions < ::Stripe::StripeObject
750
+ # A URL for custom mandate text
751
+ attr_reader :custom_mandate_url
752
+ # List of Stripe products where this mandate can be selected automatically. Returned when the Session is in `setup` mode.
753
+ attr_reader :default_for
754
+ # Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.
755
+ attr_reader :interval_description
756
+ # Payment schedule for the mandate.
757
+ attr_reader :payment_schedule
758
+ # Transaction type of the mandate.
759
+ attr_reader :transaction_type
760
+
761
+ def self.inner_class_types
762
+ @inner_class_types = {}
763
+ end
764
+
765
+ def self.field_remappings
766
+ @field_remappings = {}
767
+ end
768
+ end
769
+ # Currency supported by the bank account. Returned when the Session is in `setup` mode.
770
+ attr_reader :currency
771
+ # Attribute for field mandate_options
772
+ attr_reader :mandate_options
773
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
774
+ #
775
+ # 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.
776
+ #
777
+ # 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.
778
+ #
779
+ # 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).
780
+ attr_reader :setup_future_usage
781
+ # 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.
782
+ attr_reader :target_date
783
+ # Bank account verification method. The default value is `automatic`.
784
+ attr_reader :verification_method
785
+
786
+ def self.inner_class_types
787
+ @inner_class_types = { mandate_options: MandateOptions }
788
+ end
789
+
790
+ def self.field_remappings
791
+ @field_remappings = {}
792
+ end
793
+ end
794
+
795
+ class Affirm < ::Stripe::StripeObject
796
+ # Controls when the funds will be captured from the customer's account.
797
+ attr_reader :capture_method
798
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
799
+ #
800
+ # 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.
801
+ #
802
+ # 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.
803
+ #
804
+ # 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).
805
+ attr_reader :setup_future_usage
806
+
807
+ def self.inner_class_types
808
+ @inner_class_types = {}
809
+ end
810
+
811
+ def self.field_remappings
812
+ @field_remappings = {}
813
+ end
814
+ end
815
+
816
+ class AfterpayClearpay < ::Stripe::StripeObject
817
+ # Controls when the funds will be captured from the customer's account.
818
+ attr_reader :capture_method
819
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
820
+ #
821
+ # 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.
822
+ #
823
+ # 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.
824
+ #
825
+ # 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).
826
+ attr_reader :setup_future_usage
827
+
828
+ def self.inner_class_types
829
+ @inner_class_types = {}
830
+ end
831
+
832
+ def self.field_remappings
833
+ @field_remappings = {}
834
+ end
835
+ end
836
+
837
+ class Alipay < ::Stripe::StripeObject
838
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
839
+ #
840
+ # 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.
841
+ #
842
+ # 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.
843
+ #
844
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
845
+ attr_reader :setup_future_usage
846
+
847
+ def self.inner_class_types
848
+ @inner_class_types = {}
849
+ end
850
+
851
+ def self.field_remappings
852
+ @field_remappings = {}
853
+ end
854
+ end
855
+
856
+ class Alma < ::Stripe::StripeObject
857
+ # Controls when the funds will be captured from the customer's account.
858
+ attr_reader :capture_method
859
+
860
+ def self.inner_class_types
861
+ @inner_class_types = {}
862
+ end
863
+
864
+ def self.field_remappings
865
+ @field_remappings = {}
866
+ end
867
+ end
868
+
869
+ class AmazonPay < ::Stripe::StripeObject
870
+ # Controls when the funds will be captured from the customer's account.
871
+ attr_reader :capture_method
872
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
873
+ #
874
+ # 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.
875
+ #
876
+ # 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.
877
+ #
878
+ # 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).
879
+ attr_reader :setup_future_usage
880
+
881
+ def self.inner_class_types
882
+ @inner_class_types = {}
883
+ end
884
+
885
+ def self.field_remappings
886
+ @field_remappings = {}
887
+ end
888
+ end
889
+
890
+ class AuBecsDebit < ::Stripe::StripeObject
891
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
892
+ #
893
+ # 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.
894
+ #
895
+ # 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.
896
+ #
897
+ # 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).
898
+ attr_reader :setup_future_usage
899
+ # 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.
900
+ attr_reader :target_date
901
+
902
+ def self.inner_class_types
903
+ @inner_class_types = {}
904
+ end
905
+
906
+ def self.field_remappings
907
+ @field_remappings = {}
908
+ end
909
+ end
910
+
911
+ class BacsDebit < ::Stripe::StripeObject
912
+ class MandateOptions < ::Stripe::StripeObject
913
+ # 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'.
914
+ attr_reader :reference_prefix
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
+ # Attribute for field mandate_options
925
+ attr_reader :mandate_options
926
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
927
+ #
928
+ # 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.
929
+ #
930
+ # 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.
931
+ #
932
+ # 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).
933
+ attr_reader :setup_future_usage
934
+ # 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.
935
+ attr_reader :target_date
936
+
937
+ def self.inner_class_types
938
+ @inner_class_types = { mandate_options: MandateOptions }
939
+ end
940
+
941
+ def self.field_remappings
942
+ @field_remappings = {}
943
+ end
944
+ end
945
+
946
+ class Bancontact < ::Stripe::StripeObject
947
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
948
+ #
949
+ # 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.
950
+ #
951
+ # 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.
952
+ #
953
+ # 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).
954
+ attr_reader :setup_future_usage
955
+
956
+ def self.inner_class_types
957
+ @inner_class_types = {}
958
+ end
959
+
960
+ def self.field_remappings
961
+ @field_remappings = {}
962
+ end
963
+ end
964
+
965
+ class Billie < ::Stripe::StripeObject
966
+ # Controls when the funds will be captured from the customer's account.
967
+ attr_reader :capture_method
968
+
969
+ def self.inner_class_types
970
+ @inner_class_types = {}
971
+ end
972
+
973
+ def self.field_remappings
974
+ @field_remappings = {}
975
+ end
976
+ end
977
+
978
+ class Boleto < ::Stripe::StripeObject
979
+ # 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.
980
+ attr_reader :expires_after_days
981
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
982
+ #
983
+ # 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.
984
+ #
985
+ # 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.
986
+ #
987
+ # 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).
988
+ attr_reader :setup_future_usage
989
+
990
+ def self.inner_class_types
991
+ @inner_class_types = {}
992
+ end
993
+
994
+ def self.field_remappings
995
+ @field_remappings = {}
996
+ end
997
+ end
998
+
999
+ class Card < ::Stripe::StripeObject
1000
+ class Installments < ::Stripe::StripeObject
1001
+ # Indicates if installments are enabled
1002
+ attr_reader :enabled
1003
+
1004
+ def self.inner_class_types
1005
+ @inner_class_types = {}
1006
+ end
1007
+
1008
+ def self.field_remappings
1009
+ @field_remappings = {}
1010
+ end
1011
+ end
1012
+
1013
+ class Restrictions < ::Stripe::StripeObject
1014
+ # The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment.
1015
+ attr_reader :brands_blocked
1016
+
1017
+ def self.inner_class_types
1018
+ @inner_class_types = {}
1019
+ end
1020
+
1021
+ def self.field_remappings
1022
+ @field_remappings = {}
1023
+ end
1024
+ end
1025
+ # Controls when the funds will be captured from the customer's account.
1026
+ attr_reader :capture_method
1027
+ # Attribute for field installments
1028
+ attr_reader :installments
1029
+ # Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
1030
+ attr_reader :request_extended_authorization
1031
+ # Request ability to [increment the authorization](/payments/incremental-authorization) for this CheckoutSession.
1032
+ attr_reader :request_incremental_authorization
1033
+ # Request ability to make [multiple captures](/payments/multicapture) for this CheckoutSession.
1034
+ attr_reader :request_multicapture
1035
+ # Request ability to [overcapture](/payments/overcapture) for this CheckoutSession.
1036
+ attr_reader :request_overcapture
1037
+ # 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.
1038
+ attr_reader :request_three_d_secure
1039
+ # Attribute for field restrictions
1040
+ attr_reader :restrictions
1041
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1042
+ #
1043
+ # 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.
1044
+ #
1045
+ # 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.
1046
+ #
1047
+ # 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).
1048
+ attr_reader :setup_future_usage
1049
+ # 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.
1050
+ attr_reader :statement_descriptor_suffix_kana
1051
+ # 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.
1052
+ attr_reader :statement_descriptor_suffix_kanji
1053
+
1054
+ def self.inner_class_types
1055
+ @inner_class_types = { installments: Installments, restrictions: Restrictions }
1056
+ end
1057
+
1058
+ def self.field_remappings
1059
+ @field_remappings = {}
1060
+ end
1061
+ end
1062
+
1063
+ class Cashapp < ::Stripe::StripeObject
1064
+ # Controls when the funds will be captured from the customer's account.
1065
+ attr_reader :capture_method
1066
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1067
+ #
1068
+ # 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.
1069
+ #
1070
+ # 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.
1071
+ #
1072
+ # 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).
1073
+ attr_reader :setup_future_usage
1074
+
1075
+ def self.inner_class_types
1076
+ @inner_class_types = {}
1077
+ end
1078
+
1079
+ def self.field_remappings
1080
+ @field_remappings = {}
1081
+ end
1082
+ end
1083
+
1084
+ class CustomerBalance < ::Stripe::StripeObject
1085
+ class BankTransfer < ::Stripe::StripeObject
1086
+ class EuBankTransfer < ::Stripe::StripeObject
1087
+ # The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`.
1088
+ attr_reader :country
1089
+
1090
+ def self.inner_class_types
1091
+ @inner_class_types = {}
1092
+ end
1093
+
1094
+ def self.field_remappings
1095
+ @field_remappings = {}
1096
+ end
1097
+ end
1098
+ # Attribute for field eu_bank_transfer
1099
+ attr_reader :eu_bank_transfer
1100
+ # List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.
1101
+ #
1102
+ # Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
1103
+ attr_reader :requested_address_types
1104
+ # 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`.
1105
+ attr_reader :type
1106
+
1107
+ def self.inner_class_types
1108
+ @inner_class_types = { eu_bank_transfer: EuBankTransfer }
1109
+ end
1110
+
1111
+ def self.field_remappings
1112
+ @field_remappings = {}
1113
+ end
1114
+ end
1115
+ # Attribute for field bank_transfer
1116
+ attr_reader :bank_transfer
1117
+ # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
1118
+ attr_reader :funding_type
1119
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1120
+ #
1121
+ # 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.
1122
+ #
1123
+ # 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.
1124
+ #
1125
+ # 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).
1126
+ attr_reader :setup_future_usage
1127
+
1128
+ def self.inner_class_types
1129
+ @inner_class_types = { bank_transfer: BankTransfer }
1130
+ end
1131
+
1132
+ def self.field_remappings
1133
+ @field_remappings = {}
1134
+ end
1135
+ end
1136
+
1137
+ class Eps < ::Stripe::StripeObject
1138
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1139
+ #
1140
+ # 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.
1141
+ #
1142
+ # 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.
1143
+ #
1144
+ # 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).
1145
+ attr_reader :setup_future_usage
1146
+
1147
+ def self.inner_class_types
1148
+ @inner_class_types = {}
1149
+ end
1150
+
1151
+ def self.field_remappings
1152
+ @field_remappings = {}
1153
+ end
1154
+ end
1155
+
1156
+ class Fpx < ::Stripe::StripeObject
1157
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1158
+ #
1159
+ # 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.
1160
+ #
1161
+ # 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.
1162
+ #
1163
+ # 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).
1164
+ attr_reader :setup_future_usage
1165
+
1166
+ def self.inner_class_types
1167
+ @inner_class_types = {}
1168
+ end
1169
+
1170
+ def self.field_remappings
1171
+ @field_remappings = {}
1172
+ end
1173
+ end
1174
+
1175
+ class Giropay < ::Stripe::StripeObject
1176
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1177
+ #
1178
+ # 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.
1179
+ #
1180
+ # 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.
1181
+ #
1182
+ # 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).
1183
+ attr_reader :setup_future_usage
1184
+
1185
+ def self.inner_class_types
1186
+ @inner_class_types = {}
1187
+ end
1188
+
1189
+ def self.field_remappings
1190
+ @field_remappings = {}
1191
+ end
1192
+ end
1193
+
1194
+ class Grabpay < ::Stripe::StripeObject
1195
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1196
+ #
1197
+ # 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.
1198
+ #
1199
+ # 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.
1200
+ #
1201
+ # 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).
1202
+ attr_reader :setup_future_usage
1203
+
1204
+ def self.inner_class_types
1205
+ @inner_class_types = {}
1206
+ end
1207
+
1208
+ def self.field_remappings
1209
+ @field_remappings = {}
1210
+ end
1211
+ end
1212
+
1213
+ class Ideal < ::Stripe::StripeObject
1214
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1215
+ #
1216
+ # 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.
1217
+ #
1218
+ # 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.
1219
+ #
1220
+ # 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).
1221
+ attr_reader :setup_future_usage
1222
+
1223
+ def self.inner_class_types
1224
+ @inner_class_types = {}
1225
+ end
1226
+
1227
+ def self.field_remappings
1228
+ @field_remappings = {}
1229
+ end
1230
+ end
1231
+
1232
+ class KakaoPay < ::Stripe::StripeObject
1233
+ # Controls when the funds will be captured from the customer's account.
1234
+ attr_reader :capture_method
1235
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1236
+ #
1237
+ # 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.
1238
+ #
1239
+ # 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.
1240
+ #
1241
+ # 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).
1242
+ attr_reader :setup_future_usage
1243
+
1244
+ def self.inner_class_types
1245
+ @inner_class_types = {}
1246
+ end
1247
+
1248
+ def self.field_remappings
1249
+ @field_remappings = {}
1250
+ end
1251
+ end
1252
+
1253
+ class Klarna < ::Stripe::StripeObject
1254
+ # Controls when the funds will be captured from the customer's account.
1255
+ attr_reader :capture_method
1256
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1257
+ #
1258
+ # 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.
1259
+ #
1260
+ # 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.
1261
+ #
1262
+ # 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).
1263
+ attr_reader :setup_future_usage
1264
+
1265
+ def self.inner_class_types
1266
+ @inner_class_types = {}
1267
+ end
1268
+
1269
+ def self.field_remappings
1270
+ @field_remappings = {}
1271
+ end
1272
+ end
1273
+
1274
+ class Konbini < ::Stripe::StripeObject
1275
+ # 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.
1276
+ attr_reader :expires_after_days
1277
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1278
+ #
1279
+ # 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.
1280
+ #
1281
+ # 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.
1282
+ #
1283
+ # 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).
1284
+ attr_reader :setup_future_usage
1285
+
1286
+ def self.inner_class_types
1287
+ @inner_class_types = {}
1288
+ end
1289
+
1290
+ def self.field_remappings
1291
+ @field_remappings = {}
1292
+ end
1293
+ end
1294
+
1295
+ class KrCard < ::Stripe::StripeObject
1296
+ # Controls when the funds will be captured from the customer's account.
1297
+ attr_reader :capture_method
1298
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1299
+ #
1300
+ # 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.
1301
+ #
1302
+ # 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.
1303
+ #
1304
+ # 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).
1305
+ attr_reader :setup_future_usage
1306
+
1307
+ def self.inner_class_types
1308
+ @inner_class_types = {}
1309
+ end
1310
+
1311
+ def self.field_remappings
1312
+ @field_remappings = {}
1313
+ end
1314
+ end
1315
+
1316
+ class Link < ::Stripe::StripeObject
1317
+ # Controls when the funds will be captured from the customer's account.
1318
+ attr_reader :capture_method
1319
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1320
+ #
1321
+ # 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.
1322
+ #
1323
+ # 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.
1324
+ #
1325
+ # 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).
1326
+ attr_reader :setup_future_usage
1327
+
1328
+ def self.inner_class_types
1329
+ @inner_class_types = {}
1330
+ end
1331
+
1332
+ def self.field_remappings
1333
+ @field_remappings = {}
1334
+ end
1335
+ end
1336
+
1337
+ class Mobilepay < ::Stripe::StripeObject
1338
+ # Controls when the funds will be captured from the customer's account.
1339
+ attr_reader :capture_method
1340
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1341
+ #
1342
+ # 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.
1343
+ #
1344
+ # 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.
1345
+ #
1346
+ # 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).
1347
+ attr_reader :setup_future_usage
1348
+
1349
+ def self.inner_class_types
1350
+ @inner_class_types = {}
1351
+ end
1352
+
1353
+ def self.field_remappings
1354
+ @field_remappings = {}
1355
+ end
1356
+ end
1357
+
1358
+ class Multibanco < ::Stripe::StripeObject
1359
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1360
+ #
1361
+ # 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.
1362
+ #
1363
+ # 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.
1364
+ #
1365
+ # 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).
1366
+ attr_reader :setup_future_usage
1367
+
1368
+ def self.inner_class_types
1369
+ @inner_class_types = {}
1370
+ end
1371
+
1372
+ def self.field_remappings
1373
+ @field_remappings = {}
1374
+ end
1375
+ end
1376
+
1377
+ class NaverPay < ::Stripe::StripeObject
1378
+ # Controls when the funds will be captured from the customer's account.
1379
+ attr_reader :capture_method
1380
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1381
+ #
1382
+ # 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.
1383
+ #
1384
+ # 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.
1385
+ #
1386
+ # 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).
1387
+ attr_reader :setup_future_usage
1388
+
1389
+ def self.inner_class_types
1390
+ @inner_class_types = {}
1391
+ end
1392
+
1393
+ def self.field_remappings
1394
+ @field_remappings = {}
1395
+ end
1396
+ end
1397
+
1398
+ class Oxxo < ::Stripe::StripeObject
1399
+ # 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.
1400
+ attr_reader :expires_after_days
1401
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1402
+ #
1403
+ # 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.
1404
+ #
1405
+ # 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.
1406
+ #
1407
+ # 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).
1408
+ attr_reader :setup_future_usage
1409
+
1410
+ def self.inner_class_types
1411
+ @inner_class_types = {}
1412
+ end
1413
+
1414
+ def self.field_remappings
1415
+ @field_remappings = {}
1416
+ end
1417
+ end
1418
+
1419
+ class P24 < ::Stripe::StripeObject
1420
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1421
+ #
1422
+ # 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.
1423
+ #
1424
+ # 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.
1425
+ #
1426
+ # 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).
1427
+ attr_reader :setup_future_usage
1428
+
1429
+ def self.inner_class_types
1430
+ @inner_class_types = {}
1431
+ end
1432
+
1433
+ def self.field_remappings
1434
+ @field_remappings = {}
1435
+ end
1436
+ end
1437
+
1438
+ class Payco < ::Stripe::StripeObject
1439
+ # Controls when the funds will be captured from the customer's account.
1440
+ attr_reader :capture_method
1441
+
1442
+ def self.inner_class_types
1443
+ @inner_class_types = {}
1444
+ end
1445
+
1446
+ def self.field_remappings
1447
+ @field_remappings = {}
1448
+ end
1449
+ end
1450
+
1451
+ class Paynow < ::Stripe::StripeObject
1452
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1453
+ #
1454
+ # 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.
1455
+ #
1456
+ # 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.
1457
+ #
1458
+ # 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).
1459
+ attr_reader :setup_future_usage
1460
+
1461
+ def self.inner_class_types
1462
+ @inner_class_types = {}
1463
+ end
1464
+
1465
+ def self.field_remappings
1466
+ @field_remappings = {}
1467
+ end
1468
+ end
1469
+
1470
+ class Paypal < ::Stripe::StripeObject
1471
+ # Controls when the funds will be captured from the customer's account.
1472
+ attr_reader :capture_method
1473
+ # Preferred locale of the PayPal checkout page that the customer is redirected to.
1474
+ attr_reader :preferred_locale
1475
+ # 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.
1476
+ attr_reader :reference
1477
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1478
+ #
1479
+ # 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.
1480
+ #
1481
+ # 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.
1482
+ #
1483
+ # 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).
1484
+ attr_reader :setup_future_usage
1485
+
1486
+ def self.inner_class_types
1487
+ @inner_class_types = {}
1488
+ end
1489
+
1490
+ def self.field_remappings
1491
+ @field_remappings = {}
1492
+ end
1493
+ end
1494
+
1495
+ class Payto < ::Stripe::StripeObject
1496
+ class MandateOptions < ::Stripe::StripeObject
1497
+ # Amount that will be collected. It is required when `amount_type` is `fixed`.
1498
+ attr_reader :amount
1499
+ # 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`.
1500
+ attr_reader :amount_type
1501
+ # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
1502
+ attr_reader :end_date
1503
+ # The periodicity at which payments will be collected. Defaults to `adhoc`.
1504
+ attr_reader :payment_schedule
1505
+ # 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.
1506
+ attr_reader :payments_per_period
1507
+ # The purpose for which payments are made. Has a default value based on your merchant category code.
1508
+ attr_reader :purpose
1509
+ # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
1510
+ attr_reader :start_date
1511
+
1512
+ def self.inner_class_types
1513
+ @inner_class_types = {}
1514
+ end
1515
+
1516
+ def self.field_remappings
1517
+ @field_remappings = {}
1518
+ end
1519
+ end
1520
+ # Attribute for field mandate_options
1521
+ attr_reader :mandate_options
1522
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1523
+ #
1524
+ # 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.
1525
+ #
1526
+ # 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.
1527
+ #
1528
+ # 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).
1529
+ attr_reader :setup_future_usage
1530
+
1531
+ def self.inner_class_types
1532
+ @inner_class_types = { mandate_options: MandateOptions }
1533
+ end
1534
+
1535
+ def self.field_remappings
1536
+ @field_remappings = {}
1537
+ end
1538
+ end
1539
+
1540
+ class Pix < ::Stripe::StripeObject
1541
+ class MandateOptions < ::Stripe::StripeObject
1542
+ # Amount to be charged for future payments.
1543
+ attr_reader :amount
1544
+ # Determines if the amount includes the IOF tax.
1545
+ attr_reader :amount_includes_iof
1546
+ # Type of amount.
1547
+ attr_reader :amount_type
1548
+ # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.
1549
+ attr_reader :currency
1550
+ # Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.
1551
+ attr_reader :end_date
1552
+ # Schedule at which the future payments will be charged.
1553
+ attr_reader :payment_schedule
1554
+ # Subscription name displayed to buyers in their bank app.
1555
+ attr_reader :reference
1556
+ # Start date of the mandate, in `YYYY-MM-DD`.
1557
+ attr_reader :start_date
1558
+
1559
+ def self.inner_class_types
1560
+ @inner_class_types = {}
1561
+ end
1562
+
1563
+ def self.field_remappings
1564
+ @field_remappings = {}
1565
+ end
1566
+ end
1567
+ # Determines if the amount includes the IOF tax.
1568
+ attr_reader :amount_includes_iof
1569
+ # The number of seconds after which Pix payment will expire.
1570
+ attr_reader :expires_after_seconds
1571
+ # Attribute for field mandate_options
1572
+ attr_reader :mandate_options
1573
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1574
+ #
1575
+ # 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.
1576
+ #
1577
+ # 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.
1578
+ #
1579
+ # 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).
1580
+ attr_reader :setup_future_usage
1581
+
1582
+ def self.inner_class_types
1583
+ @inner_class_types = { mandate_options: MandateOptions }
1584
+ end
1585
+
1586
+ def self.field_remappings
1587
+ @field_remappings = {}
1588
+ end
1589
+ end
1590
+
1591
+ class RevolutPay < ::Stripe::StripeObject
1592
+ # Controls when the funds will be captured from the customer's account.
1593
+ attr_reader :capture_method
1594
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1595
+ #
1596
+ # 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.
1597
+ #
1598
+ # 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.
1599
+ #
1600
+ # 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).
1601
+ attr_reader :setup_future_usage
1602
+
1603
+ def self.inner_class_types
1604
+ @inner_class_types = {}
1605
+ end
1606
+
1607
+ def self.field_remappings
1608
+ @field_remappings = {}
1609
+ end
1610
+ end
1611
+
1612
+ class SamsungPay < ::Stripe::StripeObject
1613
+ # Controls when the funds will be captured from the customer's account.
1614
+ attr_reader :capture_method
1615
+
1616
+ def self.inner_class_types
1617
+ @inner_class_types = {}
1618
+ end
1619
+
1620
+ def self.field_remappings
1621
+ @field_remappings = {}
1622
+ end
1623
+ end
1624
+
1625
+ class Satispay < ::Stripe::StripeObject
1626
+ # Controls when the funds will be captured from the customer's account.
1627
+ attr_reader :capture_method
1628
+
1629
+ def self.inner_class_types
1630
+ @inner_class_types = {}
1631
+ end
1632
+
1633
+ def self.field_remappings
1634
+ @field_remappings = {}
1635
+ end
1636
+ end
1637
+
1638
+ class Scalapay < ::Stripe::StripeObject
1639
+ # Controls when the funds will be captured from the customer's account.
1640
+ attr_reader :capture_method
1641
+
1642
+ def self.inner_class_types
1643
+ @inner_class_types = {}
1644
+ end
1645
+
1646
+ def self.field_remappings
1647
+ @field_remappings = {}
1648
+ end
1649
+ end
1650
+
1651
+ class SepaDebit < ::Stripe::StripeObject
1652
+ class MandateOptions < ::Stripe::StripeObject
1653
+ # 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'.
1654
+ attr_reader :reference_prefix
1655
+
1656
+ def self.inner_class_types
1657
+ @inner_class_types = {}
1658
+ end
1659
+
1660
+ def self.field_remappings
1661
+ @field_remappings = {}
1662
+ end
1663
+ end
1664
+ # Attribute for field mandate_options
1665
+ attr_reader :mandate_options
1666
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1667
+ #
1668
+ # 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.
1669
+ #
1670
+ # 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.
1671
+ #
1672
+ # 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).
1673
+ attr_reader :setup_future_usage
1674
+ # 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.
1675
+ attr_reader :target_date
1676
+
1677
+ def self.inner_class_types
1678
+ @inner_class_types = { mandate_options: MandateOptions }
1679
+ end
1680
+
1681
+ def self.field_remappings
1682
+ @field_remappings = {}
1683
+ end
1684
+ end
1685
+
1686
+ class Sofort < ::Stripe::StripeObject
1687
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1688
+ #
1689
+ # 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.
1690
+ #
1691
+ # 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.
1692
+ #
1693
+ # 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).
1694
+ attr_reader :setup_future_usage
1695
+
1696
+ def self.inner_class_types
1697
+ @inner_class_types = {}
1698
+ end
1699
+
1700
+ def self.field_remappings
1701
+ @field_remappings = {}
1702
+ end
1703
+ end
1704
+
1705
+ class Sunbit < ::Stripe::StripeObject
1706
+ # Controls when the funds will be captured from the customer's account.
1707
+ attr_reader :capture_method
1708
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1709
+ #
1710
+ # 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.
1711
+ #
1712
+ # 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.
1713
+ #
1714
+ # 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).
1715
+ attr_reader :setup_future_usage
1716
+
1717
+ def self.inner_class_types
1718
+ @inner_class_types = {}
1719
+ end
1720
+
1721
+ def self.field_remappings
1722
+ @field_remappings = {}
1723
+ end
1724
+ end
1725
+
1726
+ class Swish < ::Stripe::StripeObject
1727
+ # The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent.
1728
+ attr_reader :reference
1729
+
1730
+ def self.inner_class_types
1731
+ @inner_class_types = {}
1732
+ end
1733
+
1734
+ def self.field_remappings
1735
+ @field_remappings = {}
1736
+ end
1737
+ end
1738
+
1739
+ class Twint < ::Stripe::StripeObject
1740
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1741
+ #
1742
+ # 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.
1743
+ #
1744
+ # 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.
1745
+ #
1746
+ # 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).
1747
+ attr_reader :setup_future_usage
1748
+
1749
+ def self.inner_class_types
1750
+ @inner_class_types = {}
1751
+ end
1752
+
1753
+ def self.field_remappings
1754
+ @field_remappings = {}
1755
+ end
1756
+ end
1757
+
1758
+ class Upi < ::Stripe::StripeObject
1759
+ class MandateOptions < ::Stripe::StripeObject
1760
+ # Amount to be charged for future payments.
1761
+ attr_reader :amount
1762
+ # 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.
1763
+ attr_reader :amount_type
1764
+ # A description of the mandate or subscription that is meant to be displayed to the customer.
1765
+ attr_reader :description
1766
+ # End date of the mandate or subscription.
1767
+ attr_reader :end_date
1768
+
1769
+ def self.inner_class_types
1770
+ @inner_class_types = {}
1771
+ end
1772
+
1773
+ def self.field_remappings
1774
+ @field_remappings = {}
1775
+ end
1776
+ end
1777
+ # Attribute for field mandate_options
1778
+ attr_reader :mandate_options
1779
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1780
+ #
1781
+ # 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.
1782
+ #
1783
+ # 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.
1784
+ #
1785
+ # 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).
1786
+ attr_reader :setup_future_usage
1787
+
1788
+ def self.inner_class_types
1789
+ @inner_class_types = { mandate_options: MandateOptions }
1790
+ end
1791
+
1792
+ def self.field_remappings
1793
+ @field_remappings = {}
1794
+ end
1795
+ end
1796
+
1797
+ class UsBankAccount < ::Stripe::StripeObject
1798
+ class FinancialConnections < ::Stripe::StripeObject
1799
+ class Filters < ::Stripe::StripeObject
1800
+ # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
1801
+ attr_reader :account_subcategories
1802
+
1803
+ def self.inner_class_types
1804
+ @inner_class_types = {}
1805
+ end
1806
+
1807
+ def self.field_remappings
1808
+ @field_remappings = {}
1809
+ end
1810
+ end
1811
+ # Attribute for field filters
1812
+ attr_reader :filters
1813
+ # The list of permissions to request. The `payment_method` permission must be included.
1814
+ attr_reader :permissions
1815
+ # Data features requested to be retrieved upon account creation.
1816
+ attr_reader :prefetch
1817
+ # 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.
1818
+ attr_reader :return_url
1819
+
1820
+ def self.inner_class_types
1821
+ @inner_class_types = { filters: Filters }
1822
+ end
1823
+
1824
+ def self.field_remappings
1825
+ @field_remappings = {}
1826
+ end
1827
+ end
1828
+ # Attribute for field financial_connections
1829
+ attr_reader :financial_connections
1830
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1831
+ #
1832
+ # 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.
1833
+ #
1834
+ # 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.
1835
+ #
1836
+ # 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).
1837
+ attr_reader :setup_future_usage
1838
+ # 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.
1839
+ attr_reader :target_date
1840
+ # Bank account verification method. The default value is `automatic`.
1841
+ attr_reader :verification_method
1842
+
1843
+ def self.inner_class_types
1844
+ @inner_class_types = { financial_connections: FinancialConnections }
1845
+ end
1846
+
1847
+ def self.field_remappings
1848
+ @field_remappings = {}
1849
+ end
1850
+ end
1851
+
1852
+ class WechatPay < ::Stripe::StripeObject
1853
+ # The app ID registered with WeChat Pay. Only required when client is iOS or Android.
1854
+ attr_reader :app_id
1855
+ # The client type that the end customer will pay from
1856
+ attr_reader :client
1857
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1858
+ #
1859
+ # 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.
1860
+ #
1861
+ # 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.
1862
+ #
1863
+ # 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).
1864
+ attr_reader :setup_future_usage
1865
+
1866
+ def self.inner_class_types
1867
+ @inner_class_types = {}
1868
+ end
1869
+
1870
+ def self.field_remappings
1871
+ @field_remappings = {}
1872
+ end
1873
+ end
1874
+ # Attribute for field acss_debit
1875
+ attr_reader :acss_debit
1876
+ # Attribute for field affirm
1877
+ attr_reader :affirm
1878
+ # Attribute for field afterpay_clearpay
1879
+ attr_reader :afterpay_clearpay
1880
+ # Attribute for field alipay
1881
+ attr_reader :alipay
1882
+ # Attribute for field alma
1883
+ attr_reader :alma
1884
+ # Attribute for field amazon_pay
1885
+ attr_reader :amazon_pay
1886
+ # Attribute for field au_becs_debit
1887
+ attr_reader :au_becs_debit
1888
+ # Attribute for field bacs_debit
1889
+ attr_reader :bacs_debit
1890
+ # Attribute for field bancontact
1891
+ attr_reader :bancontact
1892
+ # Attribute for field billie
1893
+ attr_reader :billie
1894
+ # Attribute for field boleto
1895
+ attr_reader :boleto
1896
+ # Attribute for field card
1897
+ attr_reader :card
1898
+ # Attribute for field cashapp
1899
+ attr_reader :cashapp
1900
+ # Attribute for field customer_balance
1901
+ attr_reader :customer_balance
1902
+ # Attribute for field eps
1903
+ attr_reader :eps
1904
+ # Attribute for field fpx
1905
+ attr_reader :fpx
1906
+ # Attribute for field giropay
1907
+ attr_reader :giropay
1908
+ # Attribute for field grabpay
1909
+ attr_reader :grabpay
1910
+ # Attribute for field ideal
1911
+ attr_reader :ideal
1912
+ # Attribute for field kakao_pay
1913
+ attr_reader :kakao_pay
1914
+ # Attribute for field klarna
1915
+ attr_reader :klarna
1916
+ # Attribute for field konbini
1917
+ attr_reader :konbini
1918
+ # Attribute for field kr_card
1919
+ attr_reader :kr_card
1920
+ # Attribute for field link
1921
+ attr_reader :link
1922
+ # Attribute for field mobilepay
1923
+ attr_reader :mobilepay
1924
+ # Attribute for field multibanco
1925
+ attr_reader :multibanco
1926
+ # Attribute for field naver_pay
1927
+ attr_reader :naver_pay
1928
+ # Attribute for field oxxo
1929
+ attr_reader :oxxo
1930
+ # Attribute for field p24
1931
+ attr_reader :p24
1932
+ # Attribute for field payco
1933
+ attr_reader :payco
1934
+ # Attribute for field paynow
1935
+ attr_reader :paynow
1936
+ # Attribute for field paypal
1937
+ attr_reader :paypal
1938
+ # Attribute for field payto
1939
+ attr_reader :payto
1940
+ # Attribute for field pix
1941
+ attr_reader :pix
1942
+ # Attribute for field revolut_pay
1943
+ attr_reader :revolut_pay
1944
+ # Attribute for field samsung_pay
1945
+ attr_reader :samsung_pay
1946
+ # Attribute for field satispay
1947
+ attr_reader :satispay
1948
+ # Attribute for field scalapay
1949
+ attr_reader :scalapay
1950
+ # Attribute for field sepa_debit
1951
+ attr_reader :sepa_debit
1952
+ # Attribute for field sofort
1953
+ attr_reader :sofort
1954
+ # Attribute for field sunbit
1955
+ attr_reader :sunbit
1956
+ # Attribute for field swish
1957
+ attr_reader :swish
1958
+ # Attribute for field twint
1959
+ attr_reader :twint
1960
+ # Attribute for field upi
1961
+ attr_reader :upi
1962
+ # Attribute for field us_bank_account
1963
+ attr_reader :us_bank_account
1964
+ # Attribute for field wechat_pay
1965
+ attr_reader :wechat_pay
1966
+
1967
+ def self.inner_class_types
1968
+ @inner_class_types = {
1969
+ acss_debit: AcssDebit,
1970
+ affirm: Affirm,
1971
+ afterpay_clearpay: AfterpayClearpay,
1972
+ alipay: Alipay,
1973
+ alma: Alma,
1974
+ amazon_pay: AmazonPay,
1975
+ au_becs_debit: AuBecsDebit,
1976
+ bacs_debit: BacsDebit,
1977
+ bancontact: Bancontact,
1978
+ billie: Billie,
1979
+ boleto: Boleto,
1980
+ card: Card,
1981
+ cashapp: Cashapp,
1982
+ customer_balance: CustomerBalance,
1983
+ eps: Eps,
1984
+ fpx: Fpx,
1985
+ giropay: Giropay,
1986
+ grabpay: Grabpay,
1987
+ ideal: Ideal,
1988
+ kakao_pay: KakaoPay,
1989
+ klarna: Klarna,
1990
+ konbini: Konbini,
1991
+ kr_card: KrCard,
1992
+ link: Link,
1993
+ mobilepay: Mobilepay,
1994
+ multibanco: Multibanco,
1995
+ naver_pay: NaverPay,
1996
+ oxxo: Oxxo,
1997
+ p24: P24,
1998
+ payco: Payco,
1999
+ paynow: Paynow,
2000
+ paypal: Paypal,
2001
+ payto: Payto,
2002
+ pix: Pix,
2003
+ revolut_pay: RevolutPay,
2004
+ samsung_pay: SamsungPay,
2005
+ satispay: Satispay,
2006
+ scalapay: Scalapay,
2007
+ sepa_debit: SepaDebit,
2008
+ sofort: Sofort,
2009
+ sunbit: Sunbit,
2010
+ swish: Swish,
2011
+ twint: Twint,
2012
+ upi: Upi,
2013
+ us_bank_account: UsBankAccount,
2014
+ wechat_pay: WechatPay,
2015
+ }
2016
+ end
2017
+
2018
+ def self.field_remappings
2019
+ @field_remappings = {}
2020
+ end
2021
+ end
2022
+
2023
+ class Permissions < ::Stripe::StripeObject
2024
+ # Determines which entity is allowed to update the shipping details.
2025
+ #
2026
+ # Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
2027
+ #
2028
+ # When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
2029
+ attr_reader :update_shipping_details
2030
+
2031
+ def self.inner_class_types
2032
+ @inner_class_types = {}
2033
+ end
2034
+
2035
+ def self.field_remappings
2036
+ @field_remappings = {}
2037
+ end
2038
+ end
2039
+
2040
+ class PhoneNumberCollection < ::Stripe::StripeObject
2041
+ # Indicates whether phone number collection is enabled for the session
2042
+ attr_reader :enabled
2043
+
2044
+ def self.inner_class_types
2045
+ @inner_class_types = {}
2046
+ end
2047
+
2048
+ def self.field_remappings
2049
+ @field_remappings = {}
2050
+ end
2051
+ end
2052
+
2053
+ class PresentmentDetails < ::Stripe::StripeObject
2054
+ # Amount intended to be collected by this payment, denominated in `presentment_currency`.
2055
+ attr_reader :presentment_amount
2056
+ # Currency presented to the customer during payment.
2057
+ attr_reader :presentment_currency
2058
+
2059
+ def self.inner_class_types
2060
+ @inner_class_types = {}
2061
+ end
2062
+
2063
+ def self.field_remappings
2064
+ @field_remappings = {}
2065
+ end
2066
+ end
2067
+
2068
+ class SavedPaymentMethodOptions < ::Stripe::StripeObject
2069
+ # Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with ’allow_redisplay: ‘always’ are shown in Checkout.
2070
+ attr_reader :allow_redisplay_filters
2071
+ # Enable customers to choose if they wish to remove their saved payment methods. Disabled by default.
2072
+ attr_reader :payment_method_remove
2073
+ # Enable customers to choose if they wish to save their payment method for future use. Disabled by default.
2074
+ attr_reader :payment_method_save
2075
+
2076
+ def self.inner_class_types
2077
+ @inner_class_types = {}
2078
+ end
2079
+
2080
+ def self.field_remappings
2081
+ @field_remappings = {}
2082
+ end
2083
+ end
2084
+
2085
+ class ShippingAddressCollection < ::Stripe::StripeObject
2086
+ # An array of two-letter ISO country codes representing which countries Checkout should provide as options for
2087
+ # shipping locations. Unsupported country codes: `AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SY, UM, VI`.
2088
+ attr_reader :allowed_countries
2089
+
2090
+ def self.inner_class_types
2091
+ @inner_class_types = {}
2092
+ end
2093
+
2094
+ def self.field_remappings
2095
+ @field_remappings = {}
2096
+ end
2097
+ end
2098
+
2099
+ class ShippingCost < ::Stripe::StripeObject
2100
+ class Tax < ::Stripe::StripeObject
2101
+ # Amount of tax applied for this rate.
2102
+ attr_reader :amount
2103
+ # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax.
2104
+ #
2105
+ # Related guide: [Tax rates](/billing/taxes/tax-rates)
2106
+ attr_reader :rate
2107
+ # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported.
2108
+ attr_reader :taxability_reason
2109
+ # The amount on which tax is calculated, in cents (or local equivalent).
2110
+ attr_reader :taxable_amount
2111
+
2112
+ def self.inner_class_types
2113
+ @inner_class_types = {}
2114
+ end
2115
+
2116
+ def self.field_remappings
2117
+ @field_remappings = {}
2118
+ end
2119
+ end
2120
+ # Total shipping cost before any discounts or taxes are applied.
2121
+ attr_reader :amount_subtotal
2122
+ # Total tax amount applied due to shipping costs. If no tax was applied, defaults to 0.
2123
+ attr_reader :amount_tax
2124
+ # Total shipping cost after discounts and taxes are applied.
2125
+ attr_reader :amount_total
2126
+ # The ID of the ShippingRate for this order.
2127
+ attr_reader :shipping_rate
2128
+ # The taxes applied to the shipping rate.
2129
+ attr_reader :taxes
2130
+
2131
+ def self.inner_class_types
2132
+ @inner_class_types = { taxes: Tax }
2133
+ end
2134
+
2135
+ def self.field_remappings
2136
+ @field_remappings = {}
2137
+ end
2138
+ end
2139
+
2140
+ class ShippingOption < ::Stripe::StripeObject
2141
+ # A non-negative integer in cents representing how much to charge.
2142
+ attr_reader :shipping_amount
2143
+ # The shipping rate.
2144
+ attr_reader :shipping_rate
2145
+
2146
+ def self.inner_class_types
2147
+ @inner_class_types = {}
2148
+ end
2149
+
2150
+ def self.field_remappings
2151
+ @field_remappings = {}
2152
+ end
2153
+ end
2154
+
2155
+ class TaxIdCollection < ::Stripe::StripeObject
2156
+ # Indicates whether tax ID collection is enabled for the session
2157
+ attr_reader :enabled
2158
+ # Indicates whether a tax ID is required on the payment page
2159
+ attr_reader :required
2160
+
2161
+ def self.inner_class_types
2162
+ @inner_class_types = {}
2163
+ end
2164
+
2165
+ def self.field_remappings
2166
+ @field_remappings = {}
2167
+ end
2168
+ end
2169
+
2170
+ class TotalDetails < ::Stripe::StripeObject
2171
+ class Breakdown < ::Stripe::StripeObject
2172
+ class Discount < ::Stripe::StripeObject
2173
+ # The amount discounted.
2174
+ attr_reader :amount
2175
+ # A discount represents the actual application of a [coupon](https://api.stripe.com#coupons) or [promotion code](https://api.stripe.com#promotion_codes).
2176
+ # It contains information about when the discount began, when it will end, and what it is applied to.
2177
+ #
2178
+ # Related guide: [Applying discounts to subscriptions](https://docs.stripe.com/billing/subscriptions/discounts)
2179
+ attr_reader :discount
2180
+
2181
+ def self.inner_class_types
2182
+ @inner_class_types = {}
2183
+ end
2184
+
2185
+ def self.field_remappings
2186
+ @field_remappings = {}
2187
+ end
2188
+ end
2189
+
2190
+ class Tax < ::Stripe::StripeObject
2191
+ # Amount of tax applied for this rate.
2192
+ attr_reader :amount
2193
+ # Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax.
2194
+ #
2195
+ # Related guide: [Tax rates](/billing/taxes/tax-rates)
2196
+ attr_reader :rate
2197
+ # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported.
2198
+ attr_reader :taxability_reason
2199
+ # The amount on which tax is calculated, in cents (or local equivalent).
2200
+ attr_reader :taxable_amount
2201
+
2202
+ def self.inner_class_types
2203
+ @inner_class_types = {}
2204
+ end
2205
+
2206
+ def self.field_remappings
2207
+ @field_remappings = {}
2208
+ end
2209
+ end
2210
+ # The aggregated discounts.
2211
+ attr_reader :discounts
2212
+ # The aggregated tax amounts by rate.
2213
+ attr_reader :taxes
2214
+
2215
+ def self.inner_class_types
2216
+ @inner_class_types = { discounts: Discount, taxes: Tax }
2217
+ end
2218
+
2219
+ def self.field_remappings
2220
+ @field_remappings = {}
2221
+ end
2222
+ end
2223
+ # This is the sum of all the discounts.
2224
+ attr_reader :amount_discount
2225
+ # This is the sum of all the shipping amounts.
2226
+ attr_reader :amount_shipping
2227
+ # This is the sum of all the tax amounts.
2228
+ attr_reader :amount_tax
2229
+ # Attribute for field breakdown
2230
+ attr_reader :breakdown
2231
+
2232
+ def self.inner_class_types
2233
+ @inner_class_types = { breakdown: Breakdown }
2234
+ end
2235
+
2236
+ def self.field_remappings
2237
+ @field_remappings = {}
2238
+ end
2239
+ end
2240
+
2241
+ class WalletOptions < ::Stripe::StripeObject
2242
+ class Link < ::Stripe::StripeObject
2243
+ # Describes whether Checkout should display Link. Defaults to `auto`.
2244
+ attr_reader :display
2245
+
2246
+ def self.inner_class_types
2247
+ @inner_class_types = {}
2248
+ end
2249
+
2250
+ def self.field_remappings
2251
+ @field_remappings = {}
2252
+ end
2253
+ end
2254
+ # Attribute for field link
2255
+ attr_reader :link
2256
+
2257
+ def self.inner_class_types
2258
+ @inner_class_types = { link: Link }
2259
+ end
2260
+
2261
+ def self.field_remappings
2262
+ @field_remappings = {}
2263
+ end
2264
+ end
2265
+ # Settings for price localization with [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing).
2266
+ attr_reader :adaptive_pricing
2267
+ # When set, provides configuration for actions to take if this Checkout Session expires.
2268
+ attr_reader :after_expiration
2269
+ # Enables user redeemable promotion codes.
2270
+ attr_reader :allow_promotion_codes
2271
+ # Total of all items before discounts or taxes are applied.
2272
+ attr_reader :amount_subtotal
2273
+ # Total of all items after discounts and taxes are applied.
2274
+ attr_reader :amount_total
2275
+ # Attribute for field automatic_tax
2276
+ attr_reader :automatic_tax
2277
+ # Describes whether Checkout should collect the customer's billing address. Defaults to `auto`.
2278
+ attr_reader :billing_address_collection
2279
+ # Attribute for field branding_settings
2280
+ attr_reader :branding_settings
2281
+ # If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website.
2282
+ attr_reader :cancel_url
2283
+ # A unique string to reference the Checkout Session. This can be a
2284
+ # customer ID, a cart ID, or similar, and can be used to reconcile the
2285
+ # Session with your internal systems.
2286
+ attr_reader :client_reference_id
2287
+ # The client secret of your Checkout Session. Applies to Checkout Sessions with `ui_mode: embedded_page` or `ui_mode: elements`. For `ui_mode: embedded_page`, the client secret is to be used when initializing Stripe.js embedded checkout.
2288
+ # For `ui_mode: elements`, use the client secret with [initCheckout](https://docs.stripe.com/js/custom_checkout/init) on your front end.
2289
+ attr_reader :client_secret
2290
+ # Information about the customer collected within the Checkout Session.
2291
+ attr_reader :collected_information
2292
+ # Results of `consent_collection` for this session.
2293
+ attr_reader :consent
2294
+ # When set, provides configuration for the Checkout Session to gather active consent from customers.
2295
+ attr_reader :consent_collection
2296
+ # Time at which the object was created. Measured in seconds since the Unix epoch.
2297
+ attr_reader :created
2298
+ # 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).
2299
+ attr_reader :currency
2300
+ # Currency conversion details for [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing) sessions created before 2025-03-31.
2301
+ attr_reader :currency_conversion
2302
+ # Collect additional information from your customer using custom fields. Up to 3 fields are supported. You can't set this parameter if `ui_mode` is `custom`.
2303
+ attr_reader :custom_fields
2304
+ # Attribute for field custom_text
2305
+ attr_reader :custom_text
2306
+ # The ID of the customer for this Session.
2307
+ # For Checkout Sessions in `subscription` mode or Checkout Sessions with `customer_creation` set as `always` in `payment` mode, Checkout
2308
+ # will create a new customer object based on information provided
2309
+ # during the payment flow unless an existing customer was provided when
2310
+ # the Session was created.
2311
+ attr_reader :customer
2312
+ # The ID of the account for this Session.
2313
+ attr_reader :customer_account
2314
+ # Configure whether a Checkout Session creates a Customer when the Checkout Session completes.
2315
+ attr_reader :customer_creation
2316
+ # The customer details including the customer's tax exempt status and the customer's tax IDs. Customer's address details are not present on Sessions in `setup` mode.
2317
+ attr_reader :customer_details
2318
+ # If provided, this value will be used when the Customer object is created.
2319
+ # If not provided, customers will be asked to enter their email address.
2320
+ # Use this parameter to prefill customer data if you already have an email
2321
+ # on file. To access information about the customer once the payment flow is
2322
+ # complete, use the `customer` attribute.
2323
+ attr_reader :customer_email
2324
+ # List of coupons and promotion codes attached to the Checkout Session.
2325
+ attr_reader :discounts
2326
+ # A list of the types of payment methods (e.g., `card`) that should be excluded from this Checkout Session. This should only be used when payment methods for this Checkout Session are managed through the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).
2327
+ attr_reader :excluded_payment_method_types
2328
+ # The timestamp at which the Checkout Session will expire.
2329
+ attr_reader :expires_at
2330
+ # Unique identifier for the object.
2331
+ attr_reader :id
2332
+ # The integration identifier for this Checkout Session. Multiple Checkout Sessions can have the same integration identifier.
2333
+ attr_reader :integration_identifier
2334
+ # ID of the invoice created by the Checkout Session, if it exists.
2335
+ attr_reader :invoice
2336
+ # Details on the state of invoice creation for the Checkout Session.
2337
+ attr_reader :invoice_creation
2338
+ # The line items purchased by the customer.
2339
+ attr_reader :line_items
2340
+ # If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
2341
+ attr_reader :livemode
2342
+ # The IETF language tag of the locale Checkout is displayed in. If blank or `auto`, the browser's locale is used.
2343
+ attr_reader :locale
2344
+ # Settings for Managed Payments for this Checkout Session and resulting [PaymentIntents](/api/payment_intents/object), [Invoices](/api/invoices/object), and [Subscriptions](/api/subscriptions/object).
2345
+ attr_reader :managed_payments
2346
+ # 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.
2347
+ attr_reader :metadata
2348
+ # The mode of the Checkout Session.
2349
+ attr_reader :mode
2350
+ # Attribute for field name_collection
2351
+ attr_reader :name_collection
2352
+ # String representing the object's type. Objects of the same type share the same value.
2353
+ attr_reader :object
2354
+ # The optional items presented to the customer at checkout.
2355
+ attr_reader :optional_items
2356
+ # Where the user is coming from. This informs the optimizations that are applied to the session.
2357
+ attr_reader :origin_context
2358
+ # The ID of the PaymentIntent for Checkout Sessions in `payment` mode. You can't confirm or cancel the PaymentIntent for a Checkout Session. To cancel, [expire the Checkout Session](https://docs.stripe.com/api/checkout/sessions/expire) instead.
2359
+ attr_reader :payment_intent
2360
+ # The ID of the Payment Link that created this Session.
2361
+ attr_reader :payment_link
2362
+ # Configure whether a Checkout Session should collect a payment method. Defaults to `always`.
2363
+ attr_reader :payment_method_collection
2364
+ # Information about the payment method configuration used for this Checkout session if using dynamic payment methods.
2365
+ attr_reader :payment_method_configuration_details
2366
+ # Payment-method-specific configuration for the PaymentIntent or SetupIntent of this CheckoutSession.
2367
+ attr_reader :payment_method_options
2368
+ # A list of the types of payment methods (e.g. card) this Checkout
2369
+ # Session is allowed to accept.
2370
+ attr_reader :payment_method_types
2371
+ # The payment status of the Checkout Session, one of `paid`, `unpaid`, or `no_payment_required`.
2372
+ # You can use this value to decide when to fulfill your customer's order.
2373
+ attr_reader :payment_status
2374
+ # This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object.
2375
+ #
2376
+ # For specific permissions, please refer to their dedicated subsections, such as `permissions.update_shipping_details`.
2377
+ attr_reader :permissions
2378
+ # Attribute for field phone_number_collection
2379
+ attr_reader :phone_number_collection
2380
+ # Attribute for field presentment_details
2381
+ attr_reader :presentment_details
2382
+ # The ID of the original expired Checkout Session that triggered the recovery flow.
2383
+ attr_reader :recovered_from
2384
+ # This parameter applies to `ui_mode: embedded_page`. Learn more about the [redirect behavior](https://docs.stripe.com/payments/checkout/custom-success-page?payment-ui=embedded-form) of embedded sessions. Defaults to `always`.
2385
+ attr_reader :redirect_on_completion
2386
+ # Applies to Checkout Sessions with `ui_mode: embedded_page` or `ui_mode: elements`. The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site.
2387
+ attr_reader :return_url
2388
+ # Controls saved payment method settings for the session. Only available in `payment` and `subscription` mode.
2389
+ attr_reader :saved_payment_method_options
2390
+ # The ID of the SetupIntent for Checkout Sessions in `setup` mode. You can't confirm or cancel the SetupIntent for a Checkout Session. To cancel, [expire the Checkout Session](https://docs.stripe.com/api/checkout/sessions/expire) instead.
2391
+ attr_reader :setup_intent
2392
+ # When set, provides configuration for Checkout to collect a shipping address from a customer.
2393
+ attr_reader :shipping_address_collection
2394
+ # The details of the customer cost of shipping, including the customer chosen ShippingRate.
2395
+ attr_reader :shipping_cost
2396
+ # The shipping rate options applied to this Session.
2397
+ attr_reader :shipping_options
2398
+ # The status of the Checkout Session, one of `open`, `complete`, or `expired`.
2399
+ attr_reader :status
2400
+ # Describes the type of transaction being performed by Checkout in order to customize
2401
+ # relevant text on the page, such as the submit button. `submit_type` can only be
2402
+ # specified on Checkout Sessions in `payment` mode. If blank or `auto`, `pay` is used.
2403
+ attr_reader :submit_type
2404
+ # The ID of the [Subscription](https://docs.stripe.com/api/subscriptions) for Checkout Sessions in `subscription` mode.
2405
+ attr_reader :subscription
2406
+ # The URL the customer will be directed to after the payment or
2407
+ # subscription creation is successful.
2408
+ attr_reader :success_url
2409
+ # Attribute for field tax_id_collection
2410
+ attr_reader :tax_id_collection
2411
+ # Tax and discount details for the computed total amount.
2412
+ attr_reader :total_details
2413
+ # The UI mode of the Session. Defaults to `hosted_page`.
2414
+ attr_reader :ui_mode
2415
+ # The URL to the Checkout Session. Applies to Checkout Sessions with `ui_mode: hosted_page`. Redirect customers to this URL to take them to Checkout. If you’re using [Custom Domains](https://docs.stripe.com/payments/checkout/custom-domains), the URL will use your subdomain. Otherwise, it’ll use `checkout.stripe.com.`
2416
+ # This value is only present when the session is active.
2417
+ attr_reader :url
2418
+ # Wallet-specific configuration for this Checkout Session.
2419
+ attr_reader :wallet_options
2420
+
2421
+ # Creates a Checkout Session object.
2422
+ def self.create(params = {}, opts = {})
2423
+ request_stripe_object(
2424
+ method: :post,
2425
+ path: "/v1/checkout/sessions",
2426
+ params: params,
2427
+ opts: opts
2428
+ )
2429
+ end
2430
+
2431
+ # A Checkout Session can be expired when it is in one of these statuses: open
2432
+ #
2433
+ # After it expires, a customer can't complete a Checkout Session and customers loading the Checkout Session see a message saying the Checkout Session is expired.
2434
+ def expire(params = {}, opts = {})
2435
+ request_stripe_object(
2436
+ method: :post,
2437
+ path: format("/v1/checkout/sessions/%<session>s/expire", { session: CGI.escape(self["id"]) }),
2438
+ params: params,
2439
+ opts: opts
2440
+ )
2441
+ end
2442
+
2443
+ # A Checkout Session can be expired when it is in one of these statuses: open
2444
+ #
2445
+ # After it expires, a customer can't complete a Checkout Session and customers loading the Checkout Session see a message saying the Checkout Session is expired.
2446
+ def self.expire(session, params = {}, opts = {})
2447
+ request_stripe_object(
2448
+ method: :post,
2449
+ path: format("/v1/checkout/sessions/%<session>s/expire", { session: CGI.escape(session) }),
2450
+ params: params,
2451
+ opts: opts
2452
+ )
2453
+ end
2454
+
2455
+ # Returns a list of Checkout Sessions.
2456
+ def self.list(params = {}, opts = {})
2457
+ request_stripe_object(
2458
+ method: :get,
2459
+ path: "/v1/checkout/sessions",
2460
+ params: params,
2461
+ opts: opts
2462
+ )
2463
+ end
2464
+
2465
+ # When retrieving a Checkout Session, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
2466
+ def list_line_items(params = {}, opts = {})
2467
+ request_stripe_object(
2468
+ method: :get,
2469
+ path: format("/v1/checkout/sessions/%<session>s/line_items", { session: CGI.escape(self["id"]) }),
2470
+ params: params,
2471
+ opts: opts
2472
+ )
2473
+ end
2474
+
2475
+ # When retrieving a Checkout Session, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
2476
+ def self.list_line_items(session, params = {}, opts = {})
2477
+ request_stripe_object(
2478
+ method: :get,
2479
+ path: format("/v1/checkout/sessions/%<session>s/line_items", { session: CGI.escape(session) }),
2480
+ params: params,
2481
+ opts: opts
2482
+ )
2483
+ end
2484
+
2485
+ # Updates a Checkout Session object.
2486
+ #
2487
+ # Related guide: [Dynamically update a Checkout Session](https://docs.stripe.com/payments/advanced/dynamic-updates)
2488
+ def self.update(session, params = {}, opts = {})
2489
+ request_stripe_object(
2490
+ method: :post,
2491
+ path: format("/v1/checkout/sessions/%<session>s", { session: CGI.escape(session) }),
2492
+ params: params,
2493
+ opts: opts
2494
+ )
2495
+ end
2496
+
2497
+ def self.inner_class_types
2498
+ @inner_class_types = {
2499
+ adaptive_pricing: AdaptivePricing,
2500
+ after_expiration: AfterExpiration,
2501
+ automatic_tax: AutomaticTax,
2502
+ branding_settings: BrandingSettings,
2503
+ collected_information: CollectedInformation,
2504
+ consent: Consent,
2505
+ consent_collection: ConsentCollection,
2506
+ currency_conversion: CurrencyConversion,
2507
+ custom_fields: CustomField,
2508
+ custom_text: CustomText,
2509
+ customer_details: CustomerDetails,
2510
+ discounts: Discount,
2511
+ invoice_creation: InvoiceCreation,
2512
+ managed_payments: ManagedPayments,
2513
+ name_collection: NameCollection,
2514
+ optional_items: OptionalItem,
2515
+ payment_method_configuration_details: PaymentMethodConfigurationDetails,
2516
+ payment_method_options: PaymentMethodOptions,
2517
+ permissions: Permissions,
2518
+ phone_number_collection: PhoneNumberCollection,
2519
+ presentment_details: PresentmentDetails,
2520
+ saved_payment_method_options: SavedPaymentMethodOptions,
2521
+ shipping_address_collection: ShippingAddressCollection,
2522
+ shipping_cost: ShippingCost,
2523
+ shipping_options: ShippingOption,
2524
+ tax_id_collection: TaxIdCollection,
2525
+ total_details: TotalDetails,
2526
+ wallet_options: WalletOptions,
2527
+ }
2528
+ end
2529
+
2530
+ def self.field_remappings
2531
+ @field_remappings = {}
2532
+ end
2533
+
2534
+ def self.field_encodings
2535
+ @field_encodings = {
2536
+ currency_conversion: { kind: :object, fields: { fx_rate: :decimal_string } },
2537
+ }
2538
+ end
2539
+ end
2540
+ end
2541
+ end