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,2242 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module V2
6
+ module Core
7
+ class AccountUpdateParams < ::Stripe::RequestParams
8
+ class Configuration < ::Stripe::RequestParams
9
+ class Customer < ::Stripe::RequestParams
10
+ class AutomaticIndirectTax < ::Stripe::RequestParams
11
+ # The customer account's tax exemption status: `none`, `exempt`, or `reverse`. When `reverse`, invoice and receipt PDFs include "Reverse charge".
12
+ attr_accessor :exempt
13
+ # A recent IP address of the customer used for tax reporting and tax location inference.
14
+ attr_accessor :ip_address
15
+ # A per-request flag that indicates when Stripe should validate the customer tax location - defaults to `auto`.
16
+ attr_accessor :validate_location
17
+
18
+ def initialize(exempt: nil, ip_address: nil, validate_location: nil)
19
+ @exempt = exempt
20
+ @ip_address = ip_address
21
+ @validate_location = validate_location
22
+ end
23
+ end
24
+
25
+ class Billing < ::Stripe::RequestParams
26
+ class Invoice < ::Stripe::RequestParams
27
+ class CustomField < ::Stripe::RequestParams
28
+ # The name of the custom field. This may be up to 40 characters.
29
+ attr_accessor :name
30
+ # The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values.
31
+ attr_accessor :value
32
+
33
+ def initialize(name: nil, value: nil)
34
+ @name = name
35
+ @value = value
36
+ end
37
+ end
38
+
39
+ class Rendering < ::Stripe::RequestParams
40
+ # Indicates whether displayed line item prices and amounts on invoice PDFs include inclusive tax amounts. Must be either `include_inclusive_tax` or `exclude_tax`.
41
+ attr_accessor :amount_tax_display
42
+ # ID of the invoice rendering template to use for future invoices.
43
+ attr_accessor :template
44
+
45
+ def initialize(amount_tax_display: nil, template: nil)
46
+ @amount_tax_display = amount_tax_display
47
+ @template = template
48
+ end
49
+ end
50
+ # The list of up to 4 default custom fields to be displayed on invoices for this customer.
51
+ attr_accessor :custom_fields
52
+ # Default invoice footer.
53
+ attr_accessor :footer
54
+ # Sequence number to use on the customer account's next invoice. Defaults to 1.
55
+ attr_accessor :next_sequence
56
+ # Prefix used to generate unique invoice numbers. Must be 3-12 uppercase letters or numbers.
57
+ attr_accessor :prefix
58
+ # Default invoice PDF rendering options.
59
+ attr_accessor :rendering
60
+
61
+ def initialize(
62
+ custom_fields: nil,
63
+ footer: nil,
64
+ next_sequence: nil,
65
+ prefix: nil,
66
+ rendering: nil
67
+ )
68
+ @custom_fields = custom_fields
69
+ @footer = footer
70
+ @next_sequence = next_sequence
71
+ @prefix = prefix
72
+ @rendering = rendering
73
+ end
74
+ end
75
+ # The ID of a `PaymentMethod` attached to this Account's `customer` configuration, used as the default payment method for invoices and subscriptions.
76
+ attr_accessor :default_payment_method
77
+ # Default invoice settings for the customer account.
78
+ attr_accessor :invoice
79
+
80
+ def initialize(default_payment_method: nil, invoice: nil)
81
+ @default_payment_method = default_payment_method
82
+ @invoice = invoice
83
+ end
84
+ end
85
+
86
+ class Capabilities < ::Stripe::RequestParams
87
+ class AutomaticIndirectTax < ::Stripe::RequestParams
88
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
89
+ attr_accessor :requested
90
+
91
+ def initialize(requested: nil)
92
+ @requested = requested
93
+ end
94
+ end
95
+ # Generates requirements for enabling automatic indirect tax calculation on this customer's invoices or subscriptions. Recommended to request this capability if planning to enable automatic tax calculation on this customer's invoices or subscriptions.
96
+ attr_accessor :automatic_indirect_tax
97
+
98
+ def initialize(automatic_indirect_tax: nil)
99
+ @automatic_indirect_tax = automatic_indirect_tax
100
+ end
101
+ end
102
+
103
+ class Shipping < ::Stripe::RequestParams
104
+ class Address < ::Stripe::RequestParams
105
+ # City, district, suburb, town, or village.
106
+ attr_accessor :city
107
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
108
+ attr_accessor :country
109
+ # Address line 1 (e.g., street, PO Box, or company name).
110
+ attr_accessor :line1
111
+ # Address line 2 (e.g., apartment, suite, unit, or building).
112
+ attr_accessor :line2
113
+ # ZIP or postal code.
114
+ attr_accessor :postal_code
115
+ # State, county, province, or region.
116
+ attr_accessor :state
117
+
118
+ def initialize(
119
+ city: nil,
120
+ country: nil,
121
+ line1: nil,
122
+ line2: nil,
123
+ postal_code: nil,
124
+ state: nil
125
+ )
126
+ @city = city
127
+ @country = country
128
+ @line1 = line1
129
+ @line2 = line2
130
+ @postal_code = postal_code
131
+ @state = state
132
+ end
133
+ end
134
+ # Customer shipping address.
135
+ attr_accessor :address
136
+ # Customer name.
137
+ attr_accessor :name
138
+ # Customer phone (including extension).
139
+ attr_accessor :phone
140
+
141
+ def initialize(address: nil, name: nil, phone: nil)
142
+ @address = address
143
+ @name = name
144
+ @phone = phone
145
+ end
146
+ end
147
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
148
+ attr_accessor :applied
149
+ # Automatic indirect tax settings to be used when automatic tax calculation is enabled on the customer's invoices, subscriptions, checkout sessions, or payment links. Surfaces if automatic tax calculation is possible given the current customer location information.
150
+ attr_accessor :automatic_indirect_tax
151
+ # Billing settings - default settings used for this customer in Billing flows such as Invoices and Subscriptions.
152
+ attr_accessor :billing
153
+ # Capabilities that have been requested on the Customer Configuration.
154
+ attr_accessor :capabilities
155
+ # The customer's shipping information. Appears on invoices emailed to this customer.
156
+ attr_accessor :shipping
157
+ # ID of the test clock to attach to the customer. Can only be set on testmode Accounts, and when the Customer Configuration is first set on an Account.
158
+ attr_accessor :test_clock
159
+
160
+ def initialize(
161
+ applied: nil,
162
+ automatic_indirect_tax: nil,
163
+ billing: nil,
164
+ capabilities: nil,
165
+ shipping: nil,
166
+ test_clock: nil
167
+ )
168
+ @applied = applied
169
+ @automatic_indirect_tax = automatic_indirect_tax
170
+ @billing = billing
171
+ @capabilities = capabilities
172
+ @shipping = shipping
173
+ @test_clock = test_clock
174
+ end
175
+ end
176
+
177
+ class Merchant < ::Stripe::RequestParams
178
+ class BacsDebitPayments < ::Stripe::RequestParams
179
+ # Display name for Bacs Direct Debit payments.
180
+ attr_accessor :display_name
181
+
182
+ def initialize(display_name: nil)
183
+ @display_name = display_name
184
+ end
185
+ end
186
+
187
+ class Branding < ::Stripe::RequestParams
188
+ # ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px.
189
+ attr_accessor :icon
190
+ # ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): A logo for the merchant that will be used in Checkout instead of the icon and without the merchant's name next to it if provided. Must be at least 128px x 128px.
191
+ attr_accessor :logo
192
+ # A CSS hex color value representing the primary branding color for the merchant.
193
+ attr_accessor :primary_color
194
+ # A CSS hex color value representing the secondary branding color for the merchant.
195
+ attr_accessor :secondary_color
196
+
197
+ def initialize(icon: nil, logo: nil, primary_color: nil, secondary_color: nil)
198
+ @icon = icon
199
+ @logo = logo
200
+ @primary_color = primary_color
201
+ @secondary_color = secondary_color
202
+ end
203
+ end
204
+
205
+ class Capabilities < ::Stripe::RequestParams
206
+ class AchDebitPayments < ::Stripe::RequestParams
207
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
208
+ attr_accessor :requested
209
+
210
+ def initialize(requested: nil)
211
+ @requested = requested
212
+ end
213
+ end
214
+
215
+ class AcssDebitPayments < ::Stripe::RequestParams
216
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
217
+ attr_accessor :requested
218
+
219
+ def initialize(requested: nil)
220
+ @requested = requested
221
+ end
222
+ end
223
+
224
+ class AffirmPayments < ::Stripe::RequestParams
225
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
226
+ attr_accessor :requested
227
+
228
+ def initialize(requested: nil)
229
+ @requested = requested
230
+ end
231
+ end
232
+
233
+ class AfterpayClearpayPayments < ::Stripe::RequestParams
234
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
235
+ attr_accessor :requested
236
+
237
+ def initialize(requested: nil)
238
+ @requested = requested
239
+ end
240
+ end
241
+
242
+ class AlmaPayments < ::Stripe::RequestParams
243
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
244
+ attr_accessor :requested
245
+
246
+ def initialize(requested: nil)
247
+ @requested = requested
248
+ end
249
+ end
250
+
251
+ class AmazonPayPayments < ::Stripe::RequestParams
252
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
253
+ attr_accessor :requested
254
+
255
+ def initialize(requested: nil)
256
+ @requested = requested
257
+ end
258
+ end
259
+
260
+ class AuBecsDebitPayments < ::Stripe::RequestParams
261
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
262
+ attr_accessor :requested
263
+
264
+ def initialize(requested: nil)
265
+ @requested = requested
266
+ end
267
+ end
268
+
269
+ class BacsDebitPayments < ::Stripe::RequestParams
270
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
271
+ attr_accessor :requested
272
+
273
+ def initialize(requested: nil)
274
+ @requested = requested
275
+ end
276
+ end
277
+
278
+ class BancontactPayments < ::Stripe::RequestParams
279
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
280
+ attr_accessor :requested
281
+
282
+ def initialize(requested: nil)
283
+ @requested = requested
284
+ end
285
+ end
286
+
287
+ class BlikPayments < ::Stripe::RequestParams
288
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
289
+ attr_accessor :requested
290
+
291
+ def initialize(requested: nil)
292
+ @requested = requested
293
+ end
294
+ end
295
+
296
+ class BoletoPayments < ::Stripe::RequestParams
297
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
298
+ attr_accessor :requested
299
+
300
+ def initialize(requested: nil)
301
+ @requested = requested
302
+ end
303
+ end
304
+
305
+ class CardPayments < ::Stripe::RequestParams
306
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
307
+ attr_accessor :requested
308
+
309
+ def initialize(requested: nil)
310
+ @requested = requested
311
+ end
312
+ end
313
+
314
+ class CartesBancairesPayments < ::Stripe::RequestParams
315
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
316
+ attr_accessor :requested
317
+
318
+ def initialize(requested: nil)
319
+ @requested = requested
320
+ end
321
+ end
322
+
323
+ class CashappPayments < ::Stripe::RequestParams
324
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
325
+ attr_accessor :requested
326
+
327
+ def initialize(requested: nil)
328
+ @requested = requested
329
+ end
330
+ end
331
+
332
+ class EpsPayments < ::Stripe::RequestParams
333
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
334
+ attr_accessor :requested
335
+
336
+ def initialize(requested: nil)
337
+ @requested = requested
338
+ end
339
+ end
340
+
341
+ class FpxPayments < ::Stripe::RequestParams
342
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
343
+ attr_accessor :requested
344
+
345
+ def initialize(requested: nil)
346
+ @requested = requested
347
+ end
348
+ end
349
+
350
+ class GbBankTransferPayments < ::Stripe::RequestParams
351
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
352
+ attr_accessor :requested
353
+
354
+ def initialize(requested: nil)
355
+ @requested = requested
356
+ end
357
+ end
358
+
359
+ class GrabpayPayments < ::Stripe::RequestParams
360
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
361
+ attr_accessor :requested
362
+
363
+ def initialize(requested: nil)
364
+ @requested = requested
365
+ end
366
+ end
367
+
368
+ class IdealPayments < ::Stripe::RequestParams
369
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
370
+ attr_accessor :requested
371
+
372
+ def initialize(requested: nil)
373
+ @requested = requested
374
+ end
375
+ end
376
+
377
+ class JcbPayments < ::Stripe::RequestParams
378
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
379
+ attr_accessor :requested
380
+
381
+ def initialize(requested: nil)
382
+ @requested = requested
383
+ end
384
+ end
385
+
386
+ class JpBankTransferPayments < ::Stripe::RequestParams
387
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
388
+ attr_accessor :requested
389
+
390
+ def initialize(requested: nil)
391
+ @requested = requested
392
+ end
393
+ end
394
+
395
+ class KakaoPayPayments < ::Stripe::RequestParams
396
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
397
+ attr_accessor :requested
398
+
399
+ def initialize(requested: nil)
400
+ @requested = requested
401
+ end
402
+ end
403
+
404
+ class KlarnaPayments < ::Stripe::RequestParams
405
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
406
+ attr_accessor :requested
407
+
408
+ def initialize(requested: nil)
409
+ @requested = requested
410
+ end
411
+ end
412
+
413
+ class KonbiniPayments < ::Stripe::RequestParams
414
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
415
+ attr_accessor :requested
416
+
417
+ def initialize(requested: nil)
418
+ @requested = requested
419
+ end
420
+ end
421
+
422
+ class KrCardPayments < ::Stripe::RequestParams
423
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
424
+ attr_accessor :requested
425
+
426
+ def initialize(requested: nil)
427
+ @requested = requested
428
+ end
429
+ end
430
+
431
+ class LinkPayments < ::Stripe::RequestParams
432
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
433
+ attr_accessor :requested
434
+
435
+ def initialize(requested: nil)
436
+ @requested = requested
437
+ end
438
+ end
439
+
440
+ class MobilepayPayments < ::Stripe::RequestParams
441
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
442
+ attr_accessor :requested
443
+
444
+ def initialize(requested: nil)
445
+ @requested = requested
446
+ end
447
+ end
448
+
449
+ class MultibancoPayments < ::Stripe::RequestParams
450
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
451
+ attr_accessor :requested
452
+
453
+ def initialize(requested: nil)
454
+ @requested = requested
455
+ end
456
+ end
457
+
458
+ class MxBankTransferPayments < ::Stripe::RequestParams
459
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
460
+ attr_accessor :requested
461
+
462
+ def initialize(requested: nil)
463
+ @requested = requested
464
+ end
465
+ end
466
+
467
+ class NaverPayPayments < ::Stripe::RequestParams
468
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
469
+ attr_accessor :requested
470
+
471
+ def initialize(requested: nil)
472
+ @requested = requested
473
+ end
474
+ end
475
+
476
+ class OxxoPayments < ::Stripe::RequestParams
477
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
478
+ attr_accessor :requested
479
+
480
+ def initialize(requested: nil)
481
+ @requested = requested
482
+ end
483
+ end
484
+
485
+ class P24Payments < ::Stripe::RequestParams
486
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
487
+ attr_accessor :requested
488
+
489
+ def initialize(requested: nil)
490
+ @requested = requested
491
+ end
492
+ end
493
+
494
+ class PayByBankPayments < ::Stripe::RequestParams
495
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
496
+ attr_accessor :requested
497
+
498
+ def initialize(requested: nil)
499
+ @requested = requested
500
+ end
501
+ end
502
+
503
+ class PaycoPayments < ::Stripe::RequestParams
504
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
505
+ attr_accessor :requested
506
+
507
+ def initialize(requested: nil)
508
+ @requested = requested
509
+ end
510
+ end
511
+
512
+ class PaynowPayments < ::Stripe::RequestParams
513
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
514
+ attr_accessor :requested
515
+
516
+ def initialize(requested: nil)
517
+ @requested = requested
518
+ end
519
+ end
520
+
521
+ class PromptpayPayments < ::Stripe::RequestParams
522
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
523
+ attr_accessor :requested
524
+
525
+ def initialize(requested: nil)
526
+ @requested = requested
527
+ end
528
+ end
529
+
530
+ class RevolutPayPayments < ::Stripe::RequestParams
531
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
532
+ attr_accessor :requested
533
+
534
+ def initialize(requested: nil)
535
+ @requested = requested
536
+ end
537
+ end
538
+
539
+ class SamsungPayPayments < ::Stripe::RequestParams
540
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
541
+ attr_accessor :requested
542
+
543
+ def initialize(requested: nil)
544
+ @requested = requested
545
+ end
546
+ end
547
+
548
+ class SepaBankTransferPayments < ::Stripe::RequestParams
549
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
550
+ attr_accessor :requested
551
+
552
+ def initialize(requested: nil)
553
+ @requested = requested
554
+ end
555
+ end
556
+
557
+ class SepaDebitPayments < ::Stripe::RequestParams
558
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
559
+ attr_accessor :requested
560
+
561
+ def initialize(requested: nil)
562
+ @requested = requested
563
+ end
564
+ end
565
+
566
+ class SunbitPayments < ::Stripe::RequestParams
567
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
568
+ attr_accessor :requested
569
+
570
+ def initialize(requested: nil)
571
+ @requested = requested
572
+ end
573
+ end
574
+
575
+ class SwishPayments < ::Stripe::RequestParams
576
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
577
+ attr_accessor :requested
578
+
579
+ def initialize(requested: nil)
580
+ @requested = requested
581
+ end
582
+ end
583
+
584
+ class TwintPayments < ::Stripe::RequestParams
585
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
586
+ attr_accessor :requested
587
+
588
+ def initialize(requested: nil)
589
+ @requested = requested
590
+ end
591
+ end
592
+
593
+ class UsBankTransferPayments < ::Stripe::RequestParams
594
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
595
+ attr_accessor :requested
596
+
597
+ def initialize(requested: nil)
598
+ @requested = requested
599
+ end
600
+ end
601
+
602
+ class ZipPayments < ::Stripe::RequestParams
603
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
604
+ attr_accessor :requested
605
+
606
+ def initialize(requested: nil)
607
+ @requested = requested
608
+ end
609
+ end
610
+ # Allow the merchant to process ACH debit payments.
611
+ attr_accessor :ach_debit_payments
612
+ # Allow the merchant to process ACSS debit payments.
613
+ attr_accessor :acss_debit_payments
614
+ # Allow the merchant to process Affirm payments.
615
+ attr_accessor :affirm_payments
616
+ # Allow the merchant to process Afterpay/Clearpay payments.
617
+ attr_accessor :afterpay_clearpay_payments
618
+ # Allow the merchant to process Alma payments.
619
+ attr_accessor :alma_payments
620
+ # Allow the merchant to process Amazon Pay payments.
621
+ attr_accessor :amazon_pay_payments
622
+ # Allow the merchant to process Australian BECS Direct Debit payments.
623
+ attr_accessor :au_becs_debit_payments
624
+ # Allow the merchant to process BACS Direct Debit payments.
625
+ attr_accessor :bacs_debit_payments
626
+ # Allow the merchant to process Bancontact payments.
627
+ attr_accessor :bancontact_payments
628
+ # Allow the merchant to process BLIK payments.
629
+ attr_accessor :blik_payments
630
+ # Allow the merchant to process Boleto payments.
631
+ attr_accessor :boleto_payments
632
+ # Allow the merchant to collect card payments.
633
+ attr_accessor :card_payments
634
+ # Allow the merchant to process Cartes Bancaires payments.
635
+ attr_accessor :cartes_bancaires_payments
636
+ # Allow the merchant to process Cash App payments.
637
+ attr_accessor :cashapp_payments
638
+ # Allow the merchant to process EPS payments.
639
+ attr_accessor :eps_payments
640
+ # Allow the merchant to process FPX payments.
641
+ attr_accessor :fpx_payments
642
+ # Allow the merchant to process UK bank transfer payments.
643
+ attr_accessor :gb_bank_transfer_payments
644
+ # Allow the merchant to process GrabPay payments.
645
+ attr_accessor :grabpay_payments
646
+ # Allow the merchant to process iDEAL payments.
647
+ attr_accessor :ideal_payments
648
+ # Allow the merchant to process JCB card payments.
649
+ attr_accessor :jcb_payments
650
+ # Allow the merchant to process Japanese bank transfer payments.
651
+ attr_accessor :jp_bank_transfer_payments
652
+ # Allow the merchant to process Kakao Pay payments.
653
+ attr_accessor :kakao_pay_payments
654
+ # Allow the merchant to process Klarna payments.
655
+ attr_accessor :klarna_payments
656
+ # Allow the merchant to process Konbini convenience store payments.
657
+ attr_accessor :konbini_payments
658
+ # Allow the merchant to process Korean card payments.
659
+ attr_accessor :kr_card_payments
660
+ # Allow the merchant to process Link payments.
661
+ attr_accessor :link_payments
662
+ # Allow the merchant to process MobilePay payments.
663
+ attr_accessor :mobilepay_payments
664
+ # Allow the merchant to process Multibanco payments.
665
+ attr_accessor :multibanco_payments
666
+ # Allow the merchant to process Mexican bank transfer payments.
667
+ attr_accessor :mx_bank_transfer_payments
668
+ # Allow the merchant to process Naver Pay payments.
669
+ attr_accessor :naver_pay_payments
670
+ # Allow the merchant to process OXXO payments.
671
+ attr_accessor :oxxo_payments
672
+ # Allow the merchant to process Przelewy24 (P24) payments.
673
+ attr_accessor :p24_payments
674
+ # Allow the merchant to process Pay by Bank payments.
675
+ attr_accessor :pay_by_bank_payments
676
+ # Allow the merchant to process PAYCO payments.
677
+ attr_accessor :payco_payments
678
+ # Allow the merchant to process PayNow payments.
679
+ attr_accessor :paynow_payments
680
+ # Allow the merchant to process PromptPay payments.
681
+ attr_accessor :promptpay_payments
682
+ # Allow the merchant to process Revolut Pay payments.
683
+ attr_accessor :revolut_pay_payments
684
+ # Allow the merchant to process Samsung Pay payments.
685
+ attr_accessor :samsung_pay_payments
686
+ # Allow the merchant to process SEPA bank transfer payments.
687
+ attr_accessor :sepa_bank_transfer_payments
688
+ # Allow the merchant to process SEPA Direct Debit payments.
689
+ attr_accessor :sepa_debit_payments
690
+ # Allow the merchant to process Sunbit payments.
691
+ attr_accessor :sunbit_payments
692
+ # Allow the merchant to process Swish payments.
693
+ attr_accessor :swish_payments
694
+ # Allow the merchant to process TWINT payments.
695
+ attr_accessor :twint_payments
696
+ # Allow the merchant to process US bank transfer payments.
697
+ attr_accessor :us_bank_transfer_payments
698
+ # Allow the merchant to process Zip payments.
699
+ attr_accessor :zip_payments
700
+
701
+ def initialize(
702
+ ach_debit_payments: nil,
703
+ acss_debit_payments: nil,
704
+ affirm_payments: nil,
705
+ afterpay_clearpay_payments: nil,
706
+ alma_payments: nil,
707
+ amazon_pay_payments: nil,
708
+ au_becs_debit_payments: nil,
709
+ bacs_debit_payments: nil,
710
+ bancontact_payments: nil,
711
+ blik_payments: nil,
712
+ boleto_payments: nil,
713
+ card_payments: nil,
714
+ cartes_bancaires_payments: nil,
715
+ cashapp_payments: nil,
716
+ eps_payments: nil,
717
+ fpx_payments: nil,
718
+ gb_bank_transfer_payments: nil,
719
+ grabpay_payments: nil,
720
+ ideal_payments: nil,
721
+ jcb_payments: nil,
722
+ jp_bank_transfer_payments: nil,
723
+ kakao_pay_payments: nil,
724
+ klarna_payments: nil,
725
+ konbini_payments: nil,
726
+ kr_card_payments: nil,
727
+ link_payments: nil,
728
+ mobilepay_payments: nil,
729
+ multibanco_payments: nil,
730
+ mx_bank_transfer_payments: nil,
731
+ naver_pay_payments: nil,
732
+ oxxo_payments: nil,
733
+ p24_payments: nil,
734
+ pay_by_bank_payments: nil,
735
+ payco_payments: nil,
736
+ paynow_payments: nil,
737
+ promptpay_payments: nil,
738
+ revolut_pay_payments: nil,
739
+ samsung_pay_payments: nil,
740
+ sepa_bank_transfer_payments: nil,
741
+ sepa_debit_payments: nil,
742
+ sunbit_payments: nil,
743
+ swish_payments: nil,
744
+ twint_payments: nil,
745
+ us_bank_transfer_payments: nil,
746
+ zip_payments: nil
747
+ )
748
+ @ach_debit_payments = ach_debit_payments
749
+ @acss_debit_payments = acss_debit_payments
750
+ @affirm_payments = affirm_payments
751
+ @afterpay_clearpay_payments = afterpay_clearpay_payments
752
+ @alma_payments = alma_payments
753
+ @amazon_pay_payments = amazon_pay_payments
754
+ @au_becs_debit_payments = au_becs_debit_payments
755
+ @bacs_debit_payments = bacs_debit_payments
756
+ @bancontact_payments = bancontact_payments
757
+ @blik_payments = blik_payments
758
+ @boleto_payments = boleto_payments
759
+ @card_payments = card_payments
760
+ @cartes_bancaires_payments = cartes_bancaires_payments
761
+ @cashapp_payments = cashapp_payments
762
+ @eps_payments = eps_payments
763
+ @fpx_payments = fpx_payments
764
+ @gb_bank_transfer_payments = gb_bank_transfer_payments
765
+ @grabpay_payments = grabpay_payments
766
+ @ideal_payments = ideal_payments
767
+ @jcb_payments = jcb_payments
768
+ @jp_bank_transfer_payments = jp_bank_transfer_payments
769
+ @kakao_pay_payments = kakao_pay_payments
770
+ @klarna_payments = klarna_payments
771
+ @konbini_payments = konbini_payments
772
+ @kr_card_payments = kr_card_payments
773
+ @link_payments = link_payments
774
+ @mobilepay_payments = mobilepay_payments
775
+ @multibanco_payments = multibanco_payments
776
+ @mx_bank_transfer_payments = mx_bank_transfer_payments
777
+ @naver_pay_payments = naver_pay_payments
778
+ @oxxo_payments = oxxo_payments
779
+ @p24_payments = p24_payments
780
+ @pay_by_bank_payments = pay_by_bank_payments
781
+ @payco_payments = payco_payments
782
+ @paynow_payments = paynow_payments
783
+ @promptpay_payments = promptpay_payments
784
+ @revolut_pay_payments = revolut_pay_payments
785
+ @samsung_pay_payments = samsung_pay_payments
786
+ @sepa_bank_transfer_payments = sepa_bank_transfer_payments
787
+ @sepa_debit_payments = sepa_debit_payments
788
+ @sunbit_payments = sunbit_payments
789
+ @swish_payments = swish_payments
790
+ @twint_payments = twint_payments
791
+ @us_bank_transfer_payments = us_bank_transfer_payments
792
+ @zip_payments = zip_payments
793
+ end
794
+ end
795
+
796
+ class CardPayments < ::Stripe::RequestParams
797
+ class DeclineOn < ::Stripe::RequestParams
798
+ # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification.
799
+ attr_accessor :avs_failure
800
+ # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
801
+ attr_accessor :cvc_failure
802
+
803
+ def initialize(avs_failure: nil, cvc_failure: nil)
804
+ @avs_failure = avs_failure
805
+ @cvc_failure = cvc_failure
806
+ end
807
+ end
808
+ # Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
809
+ attr_accessor :decline_on
810
+
811
+ def initialize(decline_on: nil)
812
+ @decline_on = decline_on
813
+ end
814
+ end
815
+
816
+ class KonbiniPayments < ::Stripe::RequestParams
817
+ class Support < ::Stripe::RequestParams
818
+ class Hours < ::Stripe::RequestParams
819
+ # Support hours end time (JST time of day) for in `HH:MM` format.
820
+ attr_accessor :end_time
821
+ # Support hours start time (JST time of day) for in `HH:MM` format.
822
+ attr_accessor :start_time
823
+
824
+ def initialize(end_time: nil, start_time: nil)
825
+ @end_time = end_time
826
+ @start_time = start_time
827
+ end
828
+ end
829
+ # Support email address for Konbini payments.
830
+ attr_accessor :email
831
+ # Support hours for Konbini payments.
832
+ attr_accessor :hours
833
+ # Support phone number for Konbini payments.
834
+ attr_accessor :phone
835
+
836
+ def initialize(email: nil, hours: nil, phone: nil)
837
+ @email = email
838
+ @hours = hours
839
+ @phone = phone
840
+ end
841
+ end
842
+ # Support for Konbini payments.
843
+ attr_accessor :support
844
+
845
+ def initialize(support: nil)
846
+ @support = support
847
+ end
848
+ end
849
+
850
+ class ScriptStatementDescriptor < ::Stripe::RequestParams
851
+ class Kana < ::Stripe::RequestParams
852
+ # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don’t set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
853
+ attr_accessor :descriptor
854
+ # Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don’t specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
855
+ attr_accessor :prefix
856
+
857
+ def initialize(descriptor: nil, prefix: nil)
858
+ @descriptor = descriptor
859
+ @prefix = prefix
860
+ end
861
+ end
862
+
863
+ class Kanji < ::Stripe::RequestParams
864
+ # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don’t set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
865
+ attr_accessor :descriptor
866
+ # Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don’t specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
867
+ attr_accessor :prefix
868
+
869
+ def initialize(descriptor: nil, prefix: nil)
870
+ @descriptor = descriptor
871
+ @prefix = prefix
872
+ end
873
+ end
874
+ # The Kana variation of statement_descriptor used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
875
+ attr_accessor :kana
876
+ # The Kanji variation of statement_descriptor used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
877
+ attr_accessor :kanji
878
+
879
+ def initialize(kana: nil, kanji: nil)
880
+ @kana = kana
881
+ @kanji = kanji
882
+ end
883
+ end
884
+
885
+ class StatementDescriptor < ::Stripe::RequestParams
886
+ # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don’t set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
887
+ attr_accessor :descriptor
888
+ # Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don’t specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
889
+ attr_accessor :prefix
890
+
891
+ def initialize(descriptor: nil, prefix: nil)
892
+ @descriptor = descriptor
893
+ @prefix = prefix
894
+ end
895
+ end
896
+
897
+ class Support < ::Stripe::RequestParams
898
+ class Address < ::Stripe::RequestParams
899
+ # City, district, suburb, town, or village.
900
+ attr_accessor :city
901
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
902
+ attr_accessor :country
903
+ # Address line 1 (e.g., street, PO Box, or company name).
904
+ attr_accessor :line1
905
+ # Address line 2 (e.g., apartment, suite, unit, or building).
906
+ attr_accessor :line2
907
+ # ZIP or postal code.
908
+ attr_accessor :postal_code
909
+ # State, county, province, or region.
910
+ attr_accessor :state
911
+ # Town or district.
912
+ attr_accessor :town
913
+
914
+ def initialize(
915
+ city: nil,
916
+ country: nil,
917
+ line1: nil,
918
+ line2: nil,
919
+ postal_code: nil,
920
+ state: nil,
921
+ town: nil
922
+ )
923
+ @city = city
924
+ @country = country
925
+ @line1 = line1
926
+ @line2 = line2
927
+ @postal_code = postal_code
928
+ @state = state
929
+ @town = town
930
+ end
931
+ end
932
+ # A publicly available mailing address for sending support issues to.
933
+ attr_accessor :address
934
+ # A publicly available email address for sending support issues to.
935
+ attr_accessor :email
936
+ # A publicly available phone number to call with support issues.
937
+ attr_accessor :phone
938
+ # A publicly available website for handling support issues.
939
+ attr_accessor :url
940
+
941
+ def initialize(address: nil, email: nil, phone: nil, url: nil)
942
+ @address = address
943
+ @email = email
944
+ @phone = phone
945
+ @url = url
946
+ end
947
+ end
948
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
949
+ attr_accessor :applied
950
+ # Settings for Bacs Direct Debit payments.
951
+ attr_accessor :bacs_debit_payments
952
+ # Settings used to apply the merchant's branding to email receipts, invoices, Checkout, and other products.
953
+ attr_accessor :branding
954
+ # Capabilities to request on the Merchant Configuration.
955
+ attr_accessor :capabilities
956
+ # Card payments settings.
957
+ attr_accessor :card_payments
958
+ # Settings specific to Konbini payments on the account.
959
+ attr_accessor :konbini_payments
960
+ # The Merchant Category Code (MCC) for the merchant. MCCs classify businesses based on the goods or services they provide.
961
+ attr_accessor :mcc
962
+ # Settings for the default text that appears on statements for language variations.
963
+ attr_accessor :script_statement_descriptor
964
+ # Settings for the default [statement descriptor](/connect/statement-descriptors) text.
965
+ attr_accessor :statement_descriptor
966
+ # Publicly available contact information for sending support issues to.
967
+ attr_accessor :support
968
+
969
+ def initialize(
970
+ applied: nil,
971
+ bacs_debit_payments: nil,
972
+ branding: nil,
973
+ capabilities: nil,
974
+ card_payments: nil,
975
+ konbini_payments: nil,
976
+ mcc: nil,
977
+ script_statement_descriptor: nil,
978
+ statement_descriptor: nil,
979
+ support: nil
980
+ )
981
+ @applied = applied
982
+ @bacs_debit_payments = bacs_debit_payments
983
+ @branding = branding
984
+ @capabilities = capabilities
985
+ @card_payments = card_payments
986
+ @konbini_payments = konbini_payments
987
+ @mcc = mcc
988
+ @script_statement_descriptor = script_statement_descriptor
989
+ @statement_descriptor = statement_descriptor
990
+ @support = support
991
+ end
992
+ end
993
+
994
+ class Recipient < ::Stripe::RequestParams
995
+ class Capabilities < ::Stripe::RequestParams
996
+ class StripeBalance < ::Stripe::RequestParams
997
+ class StripeTransfers < ::Stripe::RequestParams
998
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
999
+ attr_accessor :requested
1000
+
1001
+ def initialize(requested: nil)
1002
+ @requested = requested
1003
+ end
1004
+ end
1005
+ # Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
1006
+ attr_accessor :stripe_transfers
1007
+
1008
+ def initialize(stripe_transfers: nil)
1009
+ @stripe_transfers = stripe_transfers
1010
+ end
1011
+ end
1012
+ # Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
1013
+ attr_accessor :stripe_balance
1014
+
1015
+ def initialize(stripe_balance: nil)
1016
+ @stripe_balance = stripe_balance
1017
+ end
1018
+ end
1019
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
1020
+ attr_accessor :applied
1021
+ # Capabilities to request on the Recipient Configuration.
1022
+ attr_accessor :capabilities
1023
+
1024
+ def initialize(applied: nil, capabilities: nil)
1025
+ @applied = applied
1026
+ @capabilities = capabilities
1027
+ end
1028
+ end
1029
+ # The Customer Configuration allows the Account to be charged.
1030
+ attr_accessor :customer
1031
+ # Enables the Account to act as a connected account and collect payments facilitated by a Connect platform. You must onboard your platform to Connect before you can add this configuration to your connected accounts. Utilize this configuration when the Account will be the Merchant of Record, like with Direct charges or Destination Charges with on_behalf_of set.
1032
+ attr_accessor :merchant
1033
+ # The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set.
1034
+ attr_accessor :recipient
1035
+
1036
+ def initialize(customer: nil, merchant: nil, recipient: nil)
1037
+ @customer = customer
1038
+ @merchant = merchant
1039
+ @recipient = recipient
1040
+ end
1041
+ end
1042
+
1043
+ class Defaults < ::Stripe::RequestParams
1044
+ class Profile < ::Stripe::RequestParams
1045
+ # The business's publicly-available website.
1046
+ attr_accessor :business_url
1047
+ # The name which is used by the business.
1048
+ attr_accessor :doing_business_as
1049
+ # Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes.
1050
+ attr_accessor :product_description
1051
+
1052
+ def initialize(business_url: nil, doing_business_as: nil, product_description: nil)
1053
+ @business_url = business_url
1054
+ @doing_business_as = doing_business_as
1055
+ @product_description = product_description
1056
+ end
1057
+ end
1058
+
1059
+ class Responsibilities < ::Stripe::RequestParams
1060
+ # A value indicating the party responsible for collecting fees from this account.
1061
+ attr_accessor :fees_collector
1062
+ # A value indicating who is responsible for losses when this Account can’t pay back negative balances from payments.
1063
+ attr_accessor :losses_collector
1064
+
1065
+ def initialize(fees_collector: nil, losses_collector: nil)
1066
+ @fees_collector = fees_collector
1067
+ @losses_collector = losses_collector
1068
+ end
1069
+ end
1070
+ # 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).
1071
+ attr_accessor :currency
1072
+ # The Account's preferred locales (languages), ordered by preference.
1073
+ attr_accessor :locales
1074
+ # Account profile information.
1075
+ attr_accessor :profile
1076
+ # Default responsibilities held by either Stripe or the platform.
1077
+ attr_accessor :responsibilities
1078
+
1079
+ def initialize(currency: nil, locales: nil, profile: nil, responsibilities: nil)
1080
+ @currency = currency
1081
+ @locales = locales
1082
+ @profile = profile
1083
+ @responsibilities = responsibilities
1084
+ end
1085
+ end
1086
+
1087
+ class Identity < ::Stripe::RequestParams
1088
+ class Attestations < ::Stripe::RequestParams
1089
+ class DirectorshipDeclaration < ::Stripe::RequestParams
1090
+ # The time marking when the director attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1091
+ attr_accessor :date
1092
+ # The IP address from which the director attestation was made.
1093
+ attr_accessor :ip
1094
+ # The user agent of the browser from which the director attestation was made.
1095
+ attr_accessor :user_agent
1096
+
1097
+ def initialize(date: nil, ip: nil, user_agent: nil)
1098
+ @date = date
1099
+ @ip = ip
1100
+ @user_agent = user_agent
1101
+ end
1102
+ end
1103
+
1104
+ class OwnershipDeclaration < ::Stripe::RequestParams
1105
+ # The time marking when the beneficial owner attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1106
+ attr_accessor :date
1107
+ # The IP address from which the beneficial owner attestation was made.
1108
+ attr_accessor :ip
1109
+ # The user agent of the browser from which the beneficial owner attestation was made.
1110
+ attr_accessor :user_agent
1111
+
1112
+ def initialize(date: nil, ip: nil, user_agent: nil)
1113
+ @date = date
1114
+ @ip = ip
1115
+ @user_agent = user_agent
1116
+ end
1117
+ end
1118
+
1119
+ class PersonsProvided < ::Stripe::RequestParams
1120
+ # Whether the company’s directors have been provided. Set this Boolean to true after creating all the company’s directors with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson).
1121
+ attr_accessor :directors
1122
+ # Whether the company’s executives have been provided. Set this Boolean to true after creating all the company’s executives with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson).
1123
+ attr_accessor :executives
1124
+ # Whether the company’s owners have been provided. Set this Boolean to true after creating all the company’s owners with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson).
1125
+ attr_accessor :owners
1126
+ # Reason for why the company is exempt from providing ownership information.
1127
+ attr_accessor :ownership_exemption_reason
1128
+
1129
+ def initialize(
1130
+ directors: nil,
1131
+ executives: nil,
1132
+ owners: nil,
1133
+ ownership_exemption_reason: nil
1134
+ )
1135
+ @directors = directors
1136
+ @executives = executives
1137
+ @owners = owners
1138
+ @ownership_exemption_reason = ownership_exemption_reason
1139
+ end
1140
+ end
1141
+
1142
+ class RepresentativeDeclaration < ::Stripe::RequestParams
1143
+ # The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1144
+ attr_accessor :date
1145
+ # The IP address from which the representative attestation was made.
1146
+ attr_accessor :ip
1147
+ # The user agent of the browser from which the representative attestation was made.
1148
+ attr_accessor :user_agent
1149
+
1150
+ def initialize(date: nil, ip: nil, user_agent: nil)
1151
+ @date = date
1152
+ @ip = ip
1153
+ @user_agent = user_agent
1154
+ end
1155
+ end
1156
+
1157
+ class TermsOfService < ::Stripe::RequestParams
1158
+ class Account < ::Stripe::RequestParams
1159
+ # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1160
+ attr_accessor :date
1161
+ # The IP address from which the Account's representative accepted the terms of service.
1162
+ attr_accessor :ip
1163
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
1164
+ attr_accessor :user_agent
1165
+
1166
+ def initialize(date: nil, ip: nil, user_agent: nil)
1167
+ @date = date
1168
+ @ip = ip
1169
+ @user_agent = user_agent
1170
+ end
1171
+ end
1172
+
1173
+ class CryptoMoneyManager < ::Stripe::RequestParams
1174
+ # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1175
+ attr_accessor :date
1176
+ # The IP address from which the Account's representative accepted the terms of service.
1177
+ attr_accessor :ip
1178
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
1179
+ attr_accessor :user_agent
1180
+
1181
+ def initialize(date: nil, ip: nil, user_agent: nil)
1182
+ @date = date
1183
+ @ip = ip
1184
+ @user_agent = user_agent
1185
+ end
1186
+ end
1187
+
1188
+ class MoneyManager < ::Stripe::RequestParams
1189
+ # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1190
+ attr_accessor :date
1191
+ # The IP address from which the Account's representative accepted the terms of service.
1192
+ attr_accessor :ip
1193
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
1194
+ attr_accessor :user_agent
1195
+
1196
+ def initialize(date: nil, ip: nil, user_agent: nil)
1197
+ @date = date
1198
+ @ip = ip
1199
+ @user_agent = user_agent
1200
+ end
1201
+ end
1202
+ # Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
1203
+ attr_accessor :account
1204
+ # Details on the Account's acceptance of Crypto-specific terms of service.
1205
+ attr_accessor :crypto_money_manager
1206
+ # Details on the Account's acceptance of Treasury-specific terms of service.
1207
+ attr_accessor :money_manager
1208
+
1209
+ def initialize(account: nil, crypto_money_manager: nil, money_manager: nil)
1210
+ @account = account
1211
+ @crypto_money_manager = crypto_money_manager
1212
+ @money_manager = money_manager
1213
+ end
1214
+ end
1215
+ # This hash is used to attest that the directors information provided to Stripe is both current and correct.
1216
+ attr_accessor :directorship_declaration
1217
+ # This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
1218
+ attr_accessor :ownership_declaration
1219
+ # Attestation that all Persons with a specific Relationship value have been provided.
1220
+ attr_accessor :persons_provided
1221
+ # This hash is used to attest that the representative is authorized to act as the representative of their legal entity.
1222
+ attr_accessor :representative_declaration
1223
+ # Attestations of accepted terms of service agreements.
1224
+ attr_accessor :terms_of_service
1225
+
1226
+ def initialize(
1227
+ directorship_declaration: nil,
1228
+ ownership_declaration: nil,
1229
+ persons_provided: nil,
1230
+ representative_declaration: nil,
1231
+ terms_of_service: nil
1232
+ )
1233
+ @directorship_declaration = directorship_declaration
1234
+ @ownership_declaration = ownership_declaration
1235
+ @persons_provided = persons_provided
1236
+ @representative_declaration = representative_declaration
1237
+ @terms_of_service = terms_of_service
1238
+ end
1239
+ end
1240
+
1241
+ class BusinessDetails < ::Stripe::RequestParams
1242
+ class Address < ::Stripe::RequestParams
1243
+ # City, district, suburb, town, or village.
1244
+ attr_accessor :city
1245
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1246
+ attr_accessor :country
1247
+ # Address line 1 (e.g., street, PO Box, or company name).
1248
+ attr_accessor :line1
1249
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1250
+ attr_accessor :line2
1251
+ # ZIP or postal code.
1252
+ attr_accessor :postal_code
1253
+ # State, county, province, or region.
1254
+ attr_accessor :state
1255
+ # Town or district.
1256
+ attr_accessor :town
1257
+
1258
+ def initialize(
1259
+ city: nil,
1260
+ country: nil,
1261
+ line1: nil,
1262
+ line2: nil,
1263
+ postal_code: nil,
1264
+ state: nil,
1265
+ town: nil
1266
+ )
1267
+ @city = city
1268
+ @country = country
1269
+ @line1 = line1
1270
+ @line2 = line2
1271
+ @postal_code = postal_code
1272
+ @state = state
1273
+ @town = town
1274
+ end
1275
+ end
1276
+
1277
+ class AnnualRevenue < ::Stripe::RequestParams
1278
+ # A non-negative integer representing the amount in the smallest currency unit.
1279
+ attr_accessor :amount
1280
+ # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
1281
+ attr_accessor :fiscal_year_end
1282
+
1283
+ def initialize(amount: nil, fiscal_year_end: nil)
1284
+ @amount = amount
1285
+ @fiscal_year_end = fiscal_year_end
1286
+ end
1287
+ end
1288
+
1289
+ class Documents < ::Stripe::RequestParams
1290
+ class BankAccountOwnershipVerification < ::Stripe::RequestParams
1291
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1292
+ attr_accessor :files
1293
+ # The format of the document. Currently supports `files` only.
1294
+ attr_accessor :type
1295
+
1296
+ def initialize(files: nil, type: nil)
1297
+ @files = files
1298
+ @type = type
1299
+ end
1300
+ end
1301
+
1302
+ class CompanyLicense < ::Stripe::RequestParams
1303
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1304
+ attr_accessor :files
1305
+ # The format of the document. Currently supports `files` only.
1306
+ attr_accessor :type
1307
+
1308
+ def initialize(files: nil, type: nil)
1309
+ @files = files
1310
+ @type = type
1311
+ end
1312
+ end
1313
+
1314
+ class CompanyMemorandumOfAssociation < ::Stripe::RequestParams
1315
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1316
+ attr_accessor :files
1317
+ # The format of the document. Currently supports `files` only.
1318
+ attr_accessor :type
1319
+
1320
+ def initialize(files: nil, type: nil)
1321
+ @files = files
1322
+ @type = type
1323
+ end
1324
+ end
1325
+
1326
+ class CompanyMinisterialDecree < ::Stripe::RequestParams
1327
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1328
+ attr_accessor :files
1329
+ # The format of the document. Currently supports `files` only.
1330
+ attr_accessor :type
1331
+
1332
+ def initialize(files: nil, type: nil)
1333
+ @files = files
1334
+ @type = type
1335
+ end
1336
+ end
1337
+
1338
+ class CompanyRegistrationVerification < ::Stripe::RequestParams
1339
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1340
+ attr_accessor :files
1341
+ # The format of the document. Currently supports `files` only.
1342
+ attr_accessor :type
1343
+
1344
+ def initialize(files: nil, type: nil)
1345
+ @files = files
1346
+ @type = type
1347
+ end
1348
+ end
1349
+
1350
+ class CompanyTaxIdVerification < ::Stripe::RequestParams
1351
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1352
+ attr_accessor :files
1353
+ # The format of the document. Currently supports `files` only.
1354
+ attr_accessor :type
1355
+
1356
+ def initialize(files: nil, type: nil)
1357
+ @files = files
1358
+ @type = type
1359
+ end
1360
+ end
1361
+
1362
+ class PrimaryVerification < ::Stripe::RequestParams
1363
+ class FrontBack < ::Stripe::RequestParams
1364
+ # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1365
+ attr_accessor :back
1366
+ # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1367
+ attr_accessor :front
1368
+
1369
+ def initialize(back: nil, front: nil)
1370
+ @back = back
1371
+ @front = front
1372
+ end
1373
+ end
1374
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document.
1375
+ attr_accessor :front_back
1376
+ # The format of the verification document. Currently supports `front_back` only.
1377
+ attr_accessor :type
1378
+
1379
+ def initialize(front_back: nil, type: nil)
1380
+ @front_back = front_back
1381
+ @type = type
1382
+ end
1383
+ end
1384
+
1385
+ class ProofOfAddress < ::Stripe::RequestParams
1386
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1387
+ attr_accessor :files
1388
+ # The format of the document. Currently supports `files` only.
1389
+ attr_accessor :type
1390
+
1391
+ def initialize(files: nil, type: nil)
1392
+ @files = files
1393
+ @type = type
1394
+ end
1395
+ end
1396
+
1397
+ class ProofOfRegistration < ::Stripe::RequestParams
1398
+ class Signer < ::Stripe::RequestParams
1399
+ # Person signing the document.
1400
+ attr_accessor :person
1401
+
1402
+ def initialize(person: nil)
1403
+ @person = person
1404
+ end
1405
+ end
1406
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1407
+ attr_accessor :files
1408
+ # Person that is signing the document.
1409
+ attr_accessor :signer
1410
+ # The format of the document. Currently supports `files` only.
1411
+ attr_accessor :type
1412
+
1413
+ def initialize(files: nil, signer: nil, type: nil)
1414
+ @files = files
1415
+ @signer = signer
1416
+ @type = type
1417
+ end
1418
+ end
1419
+
1420
+ class ProofOfUltimateBeneficialOwnership < ::Stripe::RequestParams
1421
+ class Signer < ::Stripe::RequestParams
1422
+ # Person signing the document.
1423
+ attr_accessor :person
1424
+
1425
+ def initialize(person: nil)
1426
+ @person = person
1427
+ end
1428
+ end
1429
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1430
+ attr_accessor :files
1431
+ # Person that is signing the document.
1432
+ attr_accessor :signer
1433
+ # The format of the document. Currently supports `files` only.
1434
+ attr_accessor :type
1435
+
1436
+ def initialize(files: nil, signer: nil, type: nil)
1437
+ @files = files
1438
+ @signer = signer
1439
+ @type = type
1440
+ end
1441
+ end
1442
+ # One or more documents that support the bank account ownership verification requirement. Must be a document associated with the account’s primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
1443
+ attr_accessor :bank_account_ownership_verification
1444
+ # One or more documents that demonstrate proof of a company’s license to operate.
1445
+ attr_accessor :company_license
1446
+ # One or more documents showing the company’s Memorandum of Association.
1447
+ attr_accessor :company_memorandum_of_association
1448
+ # Certain countries only: One or more documents showing the ministerial decree legalizing the company’s establishment.
1449
+ attr_accessor :company_ministerial_decree
1450
+ # One or more documents that demonstrate proof of a company’s registration with the appropriate local authorities.
1451
+ attr_accessor :company_registration_verification
1452
+ # One or more documents that demonstrate proof of a company’s tax ID.
1453
+ attr_accessor :company_tax_id_verification
1454
+ # A document verifying the business.
1455
+ attr_accessor :primary_verification
1456
+ # One or more documents that demonstrate proof of address.
1457
+ attr_accessor :proof_of_address
1458
+ # One or more documents that demonstrate proof of ultimate beneficial ownership.
1459
+ attr_accessor :proof_of_registration
1460
+ # One or more documents that demonstrate proof of ultimate beneficial ownership.
1461
+ attr_accessor :proof_of_ultimate_beneficial_ownership
1462
+
1463
+ def initialize(
1464
+ bank_account_ownership_verification: nil,
1465
+ company_license: nil,
1466
+ company_memorandum_of_association: nil,
1467
+ company_ministerial_decree: nil,
1468
+ company_registration_verification: nil,
1469
+ company_tax_id_verification: nil,
1470
+ primary_verification: nil,
1471
+ proof_of_address: nil,
1472
+ proof_of_registration: nil,
1473
+ proof_of_ultimate_beneficial_ownership: nil
1474
+ )
1475
+ @bank_account_ownership_verification = bank_account_ownership_verification
1476
+ @company_license = company_license
1477
+ @company_memorandum_of_association = company_memorandum_of_association
1478
+ @company_ministerial_decree = company_ministerial_decree
1479
+ @company_registration_verification = company_registration_verification
1480
+ @company_tax_id_verification = company_tax_id_verification
1481
+ @primary_verification = primary_verification
1482
+ @proof_of_address = proof_of_address
1483
+ @proof_of_registration = proof_of_registration
1484
+ @proof_of_ultimate_beneficial_ownership = proof_of_ultimate_beneficial_ownership
1485
+ end
1486
+ end
1487
+
1488
+ class IdNumber < ::Stripe::RequestParams
1489
+ # The registrar of the ID number (Only valid for DE ID number types).
1490
+ attr_accessor :registrar
1491
+ # Open Enum. The ID number type of a business entity.
1492
+ attr_accessor :type
1493
+ # The value of the ID number.
1494
+ attr_accessor :value
1495
+
1496
+ def initialize(registrar: nil, type: nil, value: nil)
1497
+ @registrar = registrar
1498
+ @type = type
1499
+ @value = value
1500
+ end
1501
+ end
1502
+
1503
+ class MonthlyEstimatedRevenue < ::Stripe::RequestParams
1504
+ # A non-negative integer representing the amount in the smallest currency unit.
1505
+ attr_accessor :amount
1506
+
1507
+ def initialize(amount: nil)
1508
+ @amount = amount
1509
+ end
1510
+ end
1511
+
1512
+ class RegistrationDate < ::Stripe::RequestParams
1513
+ # The day of registration, between 1 and 31.
1514
+ attr_accessor :day
1515
+ # The month of registration, between 1 and 12.
1516
+ attr_accessor :month
1517
+ # The four-digit year of registration.
1518
+ attr_accessor :year
1519
+
1520
+ def initialize(day: nil, month: nil, year: nil)
1521
+ @day = day
1522
+ @month = month
1523
+ @year = year
1524
+ end
1525
+ end
1526
+
1527
+ class ScriptAddresses < ::Stripe::RequestParams
1528
+ class Kana < ::Stripe::RequestParams
1529
+ # City, district, suburb, town, or village.
1530
+ attr_accessor :city
1531
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1532
+ attr_accessor :country
1533
+ # Address line 1 (e.g., street, PO Box, or company name).
1534
+ attr_accessor :line1
1535
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1536
+ attr_accessor :line2
1537
+ # ZIP or postal code.
1538
+ attr_accessor :postal_code
1539
+ # State, county, province, or region.
1540
+ attr_accessor :state
1541
+ # Town or district.
1542
+ attr_accessor :town
1543
+
1544
+ def initialize(
1545
+ city: nil,
1546
+ country: nil,
1547
+ line1: nil,
1548
+ line2: nil,
1549
+ postal_code: nil,
1550
+ state: nil,
1551
+ town: nil
1552
+ )
1553
+ @city = city
1554
+ @country = country
1555
+ @line1 = line1
1556
+ @line2 = line2
1557
+ @postal_code = postal_code
1558
+ @state = state
1559
+ @town = town
1560
+ end
1561
+ end
1562
+
1563
+ class Kanji < ::Stripe::RequestParams
1564
+ # City, district, suburb, town, or village.
1565
+ attr_accessor :city
1566
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1567
+ attr_accessor :country
1568
+ # Address line 1 (e.g., street, PO Box, or company name).
1569
+ attr_accessor :line1
1570
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1571
+ attr_accessor :line2
1572
+ # ZIP or postal code.
1573
+ attr_accessor :postal_code
1574
+ # State, county, province, or region.
1575
+ attr_accessor :state
1576
+ # Town or district.
1577
+ attr_accessor :town
1578
+
1579
+ def initialize(
1580
+ city: nil,
1581
+ country: nil,
1582
+ line1: nil,
1583
+ line2: nil,
1584
+ postal_code: nil,
1585
+ state: nil,
1586
+ town: nil
1587
+ )
1588
+ @city = city
1589
+ @country = country
1590
+ @line1 = line1
1591
+ @line2 = line2
1592
+ @postal_code = postal_code
1593
+ @state = state
1594
+ @town = town
1595
+ end
1596
+ end
1597
+ # Kana Address.
1598
+ attr_accessor :kana
1599
+ # Kanji Address.
1600
+ attr_accessor :kanji
1601
+
1602
+ def initialize(kana: nil, kanji: nil)
1603
+ @kana = kana
1604
+ @kanji = kanji
1605
+ end
1606
+ end
1607
+
1608
+ class ScriptNames < ::Stripe::RequestParams
1609
+ class Kana < ::Stripe::RequestParams
1610
+ # Registered name of the business.
1611
+ attr_accessor :registered_name
1612
+
1613
+ def initialize(registered_name: nil)
1614
+ @registered_name = registered_name
1615
+ end
1616
+ end
1617
+
1618
+ class Kanji < ::Stripe::RequestParams
1619
+ # Registered name of the business.
1620
+ attr_accessor :registered_name
1621
+
1622
+ def initialize(registered_name: nil)
1623
+ @registered_name = registered_name
1624
+ end
1625
+ end
1626
+ # Kana name.
1627
+ attr_accessor :kana
1628
+ # Kanji name.
1629
+ attr_accessor :kanji
1630
+
1631
+ def initialize(kana: nil, kanji: nil)
1632
+ @kana = kana
1633
+ @kanji = kanji
1634
+ end
1635
+ end
1636
+ # The business registration address of the business entity.
1637
+ attr_accessor :address
1638
+ # The business gross annual revenue for its preceding fiscal year.
1639
+ attr_accessor :annual_revenue
1640
+ # A document verifying the business.
1641
+ attr_accessor :documents
1642
+ # Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors).
1643
+ attr_accessor :estimated_worker_count
1644
+ # The ID numbers of a business entity.
1645
+ attr_accessor :id_numbers
1646
+ # An estimate of the monthly revenue of the business.
1647
+ attr_accessor :monthly_estimated_revenue
1648
+ # The phone number of the Business Entity.
1649
+ attr_accessor :phone
1650
+ # The business legal name.
1651
+ attr_accessor :registered_name
1652
+ # When the business was incorporated or registered.
1653
+ attr_accessor :registration_date
1654
+ # The business registration address of the business entity in non latin script.
1655
+ attr_accessor :script_addresses
1656
+ # The business legal name in non latin script.
1657
+ attr_accessor :script_names
1658
+ # The category identifying the legal structure of the business.
1659
+ attr_accessor :structure
1660
+
1661
+ def initialize(
1662
+ address: nil,
1663
+ annual_revenue: nil,
1664
+ documents: nil,
1665
+ estimated_worker_count: nil,
1666
+ id_numbers: nil,
1667
+ monthly_estimated_revenue: nil,
1668
+ phone: nil,
1669
+ registered_name: nil,
1670
+ registration_date: nil,
1671
+ script_addresses: nil,
1672
+ script_names: nil,
1673
+ structure: nil
1674
+ )
1675
+ @address = address
1676
+ @annual_revenue = annual_revenue
1677
+ @documents = documents
1678
+ @estimated_worker_count = estimated_worker_count
1679
+ @id_numbers = id_numbers
1680
+ @monthly_estimated_revenue = monthly_estimated_revenue
1681
+ @phone = phone
1682
+ @registered_name = registered_name
1683
+ @registration_date = registration_date
1684
+ @script_addresses = script_addresses
1685
+ @script_names = script_names
1686
+ @structure = structure
1687
+ end
1688
+ end
1689
+
1690
+ class Individual < ::Stripe::RequestParams
1691
+ class AdditionalAddress < ::Stripe::RequestParams
1692
+ # City, district, suburb, town, or village.
1693
+ attr_accessor :city
1694
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1695
+ attr_accessor :country
1696
+ # Address line 1 (e.g., street, PO Box, or company name).
1697
+ attr_accessor :line1
1698
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1699
+ attr_accessor :line2
1700
+ # ZIP or postal code.
1701
+ attr_accessor :postal_code
1702
+ # Purpose of additional address.
1703
+ attr_accessor :purpose
1704
+ # State, county, province, or region.
1705
+ attr_accessor :state
1706
+ # Town or district.
1707
+ attr_accessor :town
1708
+
1709
+ def initialize(
1710
+ city: nil,
1711
+ country: nil,
1712
+ line1: nil,
1713
+ line2: nil,
1714
+ postal_code: nil,
1715
+ purpose: nil,
1716
+ state: nil,
1717
+ town: nil
1718
+ )
1719
+ @city = city
1720
+ @country = country
1721
+ @line1 = line1
1722
+ @line2 = line2
1723
+ @postal_code = postal_code
1724
+ @purpose = purpose
1725
+ @state = state
1726
+ @town = town
1727
+ end
1728
+ end
1729
+
1730
+ class AdditionalName < ::Stripe::RequestParams
1731
+ # The person's full name.
1732
+ attr_accessor :full_name
1733
+ # The person's first or given name.
1734
+ attr_accessor :given_name
1735
+ # The purpose or type of the additional name.
1736
+ attr_accessor :purpose
1737
+ # The person's last or family name.
1738
+ attr_accessor :surname
1739
+
1740
+ def initialize(full_name: nil, given_name: nil, purpose: nil, surname: nil)
1741
+ @full_name = full_name
1742
+ @given_name = given_name
1743
+ @purpose = purpose
1744
+ @surname = surname
1745
+ end
1746
+ end
1747
+
1748
+ class Address < ::Stripe::RequestParams
1749
+ # City, district, suburb, town, or village.
1750
+ attr_accessor :city
1751
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1752
+ attr_accessor :country
1753
+ # Address line 1 (e.g., street, PO Box, or company name).
1754
+ attr_accessor :line1
1755
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1756
+ attr_accessor :line2
1757
+ # ZIP or postal code.
1758
+ attr_accessor :postal_code
1759
+ # State, county, province, or region.
1760
+ attr_accessor :state
1761
+ # Town or district.
1762
+ attr_accessor :town
1763
+
1764
+ def initialize(
1765
+ city: nil,
1766
+ country: nil,
1767
+ line1: nil,
1768
+ line2: nil,
1769
+ postal_code: nil,
1770
+ state: nil,
1771
+ town: nil
1772
+ )
1773
+ @city = city
1774
+ @country = country
1775
+ @line1 = line1
1776
+ @line2 = line2
1777
+ @postal_code = postal_code
1778
+ @state = state
1779
+ @town = town
1780
+ end
1781
+ end
1782
+
1783
+ class DateOfBirth < ::Stripe::RequestParams
1784
+ # The day of the birth.
1785
+ attr_accessor :day
1786
+ # The month of birth.
1787
+ attr_accessor :month
1788
+ # The year of birth.
1789
+ attr_accessor :year
1790
+
1791
+ def initialize(day: nil, month: nil, year: nil)
1792
+ @day = day
1793
+ @month = month
1794
+ @year = year
1795
+ end
1796
+ end
1797
+
1798
+ class Documents < ::Stripe::RequestParams
1799
+ class CompanyAuthorization < ::Stripe::RequestParams
1800
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1801
+ attr_accessor :files
1802
+ # The format of the document. Currently supports `files` only.
1803
+ attr_accessor :type
1804
+
1805
+ def initialize(files: nil, type: nil)
1806
+ @files = files
1807
+ @type = type
1808
+ end
1809
+ end
1810
+
1811
+ class Passport < ::Stripe::RequestParams
1812
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1813
+ attr_accessor :files
1814
+ # The format of the document. Currently supports `files` only.
1815
+ attr_accessor :type
1816
+
1817
+ def initialize(files: nil, type: nil)
1818
+ @files = files
1819
+ @type = type
1820
+ end
1821
+ end
1822
+
1823
+ class PrimaryVerification < ::Stripe::RequestParams
1824
+ class FrontBack < ::Stripe::RequestParams
1825
+ # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1826
+ attr_accessor :back
1827
+ # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1828
+ attr_accessor :front
1829
+
1830
+ def initialize(back: nil, front: nil)
1831
+ @back = back
1832
+ @front = front
1833
+ end
1834
+ end
1835
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document.
1836
+ attr_accessor :front_back
1837
+ # The format of the verification document. Currently supports `front_back` only.
1838
+ attr_accessor :type
1839
+
1840
+ def initialize(front_back: nil, type: nil)
1841
+ @front_back = front_back
1842
+ @type = type
1843
+ end
1844
+ end
1845
+
1846
+ class SecondaryVerification < ::Stripe::RequestParams
1847
+ class FrontBack < ::Stripe::RequestParams
1848
+ # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1849
+ attr_accessor :back
1850
+ # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1851
+ attr_accessor :front
1852
+
1853
+ def initialize(back: nil, front: nil)
1854
+ @back = back
1855
+ @front = front
1856
+ end
1857
+ end
1858
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document.
1859
+ attr_accessor :front_back
1860
+ # The format of the verification document. Currently supports `front_back` only.
1861
+ attr_accessor :type
1862
+
1863
+ def initialize(front_back: nil, type: nil)
1864
+ @front_back = front_back
1865
+ @type = type
1866
+ end
1867
+ end
1868
+
1869
+ class Visa < ::Stripe::RequestParams
1870
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1871
+ attr_accessor :files
1872
+ # The format of the document. Currently supports `files` only.
1873
+ attr_accessor :type
1874
+
1875
+ def initialize(files: nil, type: nil)
1876
+ @files = files
1877
+ @type = type
1878
+ end
1879
+ end
1880
+ # One or more documents that demonstrate proof that this person is authorized to represent the company.
1881
+ attr_accessor :company_authorization
1882
+ # One or more documents showing the person’s passport page with photo and personal data.
1883
+ attr_accessor :passport
1884
+ # An identifying document showing the person's name, either a passport or local ID card.
1885
+ attr_accessor :primary_verification
1886
+ # A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
1887
+ attr_accessor :secondary_verification
1888
+ # One or more documents showing the person’s visa required for living in the country where they are residing.
1889
+ attr_accessor :visa
1890
+
1891
+ def initialize(
1892
+ company_authorization: nil,
1893
+ passport: nil,
1894
+ primary_verification: nil,
1895
+ secondary_verification: nil,
1896
+ visa: nil
1897
+ )
1898
+ @company_authorization = company_authorization
1899
+ @passport = passport
1900
+ @primary_verification = primary_verification
1901
+ @secondary_verification = secondary_verification
1902
+ @visa = visa
1903
+ end
1904
+ end
1905
+
1906
+ class IdNumber < ::Stripe::RequestParams
1907
+ # The ID number type of an individual.
1908
+ attr_accessor :type
1909
+ # The value of the ID number.
1910
+ attr_accessor :value
1911
+
1912
+ def initialize(type: nil, value: nil)
1913
+ @type = type
1914
+ @value = value
1915
+ end
1916
+ end
1917
+
1918
+ class Relationship < ::Stripe::RequestParams
1919
+ # Whether the person is a director of the account's identity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
1920
+ attr_accessor :director
1921
+ # Whether the person has significant responsibility to control, manage, or direct the organization.
1922
+ attr_accessor :executive
1923
+ # Whether the person is an owner of the account’s identity.
1924
+ attr_accessor :owner
1925
+ # The percent owned by the person of the account's legal entity.
1926
+ attr_accessor :percent_ownership
1927
+ # The person's title (e.g., CEO, Support Engineer).
1928
+ attr_accessor :title
1929
+
1930
+ def initialize(
1931
+ director: nil,
1932
+ executive: nil,
1933
+ owner: nil,
1934
+ percent_ownership: nil,
1935
+ title: nil
1936
+ )
1937
+ @director = director
1938
+ @executive = executive
1939
+ @owner = owner
1940
+ @percent_ownership = percent_ownership
1941
+ @title = title
1942
+ end
1943
+
1944
+ def self.field_encodings
1945
+ @field_encodings = { percent_ownership: :decimal_string }
1946
+ end
1947
+ end
1948
+
1949
+ class ScriptAddresses < ::Stripe::RequestParams
1950
+ class Kana < ::Stripe::RequestParams
1951
+ # City, district, suburb, town, or village.
1952
+ attr_accessor :city
1953
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1954
+ attr_accessor :country
1955
+ # Address line 1 (e.g., street, PO Box, or company name).
1956
+ attr_accessor :line1
1957
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1958
+ attr_accessor :line2
1959
+ # ZIP or postal code.
1960
+ attr_accessor :postal_code
1961
+ # State, county, province, or region.
1962
+ attr_accessor :state
1963
+ # Town or district.
1964
+ attr_accessor :town
1965
+
1966
+ def initialize(
1967
+ city: nil,
1968
+ country: nil,
1969
+ line1: nil,
1970
+ line2: nil,
1971
+ postal_code: nil,
1972
+ state: nil,
1973
+ town: nil
1974
+ )
1975
+ @city = city
1976
+ @country = country
1977
+ @line1 = line1
1978
+ @line2 = line2
1979
+ @postal_code = postal_code
1980
+ @state = state
1981
+ @town = town
1982
+ end
1983
+ end
1984
+
1985
+ class Kanji < ::Stripe::RequestParams
1986
+ # City, district, suburb, town, or village.
1987
+ attr_accessor :city
1988
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1989
+ attr_accessor :country
1990
+ # Address line 1 (e.g., street, PO Box, or company name).
1991
+ attr_accessor :line1
1992
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1993
+ attr_accessor :line2
1994
+ # ZIP or postal code.
1995
+ attr_accessor :postal_code
1996
+ # State, county, province, or region.
1997
+ attr_accessor :state
1998
+ # Town or district.
1999
+ attr_accessor :town
2000
+
2001
+ def initialize(
2002
+ city: nil,
2003
+ country: nil,
2004
+ line1: nil,
2005
+ line2: nil,
2006
+ postal_code: nil,
2007
+ state: nil,
2008
+ town: nil
2009
+ )
2010
+ @city = city
2011
+ @country = country
2012
+ @line1 = line1
2013
+ @line2 = line2
2014
+ @postal_code = postal_code
2015
+ @state = state
2016
+ @town = town
2017
+ end
2018
+ end
2019
+ # Kana Address.
2020
+ attr_accessor :kana
2021
+ # Kanji Address.
2022
+ attr_accessor :kanji
2023
+
2024
+ def initialize(kana: nil, kanji: nil)
2025
+ @kana = kana
2026
+ @kanji = kanji
2027
+ end
2028
+ end
2029
+
2030
+ class ScriptNames < ::Stripe::RequestParams
2031
+ class Kana < ::Stripe::RequestParams
2032
+ # The person's first or given name.
2033
+ attr_accessor :given_name
2034
+ # The person's last or family name.
2035
+ attr_accessor :surname
2036
+
2037
+ def initialize(given_name: nil, surname: nil)
2038
+ @given_name = given_name
2039
+ @surname = surname
2040
+ end
2041
+ end
2042
+
2043
+ class Kanji < ::Stripe::RequestParams
2044
+ # The person's first or given name.
2045
+ attr_accessor :given_name
2046
+ # The person's last or family name.
2047
+ attr_accessor :surname
2048
+
2049
+ def initialize(given_name: nil, surname: nil)
2050
+ @given_name = given_name
2051
+ @surname = surname
2052
+ end
2053
+ end
2054
+ # Persons name in kana script.
2055
+ attr_accessor :kana
2056
+ # Persons name in kanji script.
2057
+ attr_accessor :kanji
2058
+
2059
+ def initialize(kana: nil, kanji: nil)
2060
+ @kana = kana
2061
+ @kanji = kanji
2062
+ end
2063
+ end
2064
+ # Additional addresses associated with the individual.
2065
+ attr_accessor :additional_addresses
2066
+ # Additional names (e.g. aliases) associated with the individual.
2067
+ attr_accessor :additional_names
2068
+ # The individual's residential address.
2069
+ attr_accessor :address
2070
+ # The individual's date of birth.
2071
+ attr_accessor :date_of_birth
2072
+ # Documents that may be submitted to satisfy various informational requests.
2073
+ attr_accessor :documents
2074
+ # The individual's email address. You can only set this field when the Account is configured as a `merchant` or `recipient`. Use `contact_email` as the primary contact email for this Account.
2075
+ attr_accessor :email
2076
+ # The individual's first name.
2077
+ attr_accessor :given_name
2078
+ # The identification numbers (e.g., SSN) associated with the individual.
2079
+ attr_accessor :id_numbers
2080
+ # The individual's gender (International regulations require either "male" or "female").
2081
+ attr_accessor :legal_gender
2082
+ # Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
2083
+ attr_accessor :metadata
2084
+ # The countries where the individual is a national. Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2085
+ attr_accessor :nationalities
2086
+ # The individual's phone number.
2087
+ attr_accessor :phone
2088
+ # The individual's political exposure.
2089
+ attr_accessor :political_exposure
2090
+ # The relationship that this individual has with the account's identity.
2091
+ attr_accessor :relationship
2092
+ # The script addresses (e.g., non-Latin characters) associated with the individual.
2093
+ attr_accessor :script_addresses
2094
+ # The individuals primary name in non latin script.
2095
+ attr_accessor :script_names
2096
+ # The individual's last name.
2097
+ attr_accessor :surname
2098
+
2099
+ def initialize(
2100
+ additional_addresses: nil,
2101
+ additional_names: nil,
2102
+ address: nil,
2103
+ date_of_birth: nil,
2104
+ documents: nil,
2105
+ email: nil,
2106
+ given_name: nil,
2107
+ id_numbers: nil,
2108
+ legal_gender: nil,
2109
+ metadata: nil,
2110
+ nationalities: nil,
2111
+ phone: nil,
2112
+ political_exposure: nil,
2113
+ relationship: nil,
2114
+ script_addresses: nil,
2115
+ script_names: nil,
2116
+ surname: nil
2117
+ )
2118
+ @additional_addresses = additional_addresses
2119
+ @additional_names = additional_names
2120
+ @address = address
2121
+ @date_of_birth = date_of_birth
2122
+ @documents = documents
2123
+ @email = email
2124
+ @given_name = given_name
2125
+ @id_numbers = id_numbers
2126
+ @legal_gender = legal_gender
2127
+ @metadata = metadata
2128
+ @nationalities = nationalities
2129
+ @phone = phone
2130
+ @political_exposure = political_exposure
2131
+ @relationship = relationship
2132
+ @script_addresses = script_addresses
2133
+ @script_names = script_names
2134
+ @surname = surname
2135
+ end
2136
+
2137
+ def self.field_encodings
2138
+ @field_encodings = {
2139
+ relationship: { kind: :object, fields: { percent_ownership: :decimal_string } },
2140
+ }
2141
+ end
2142
+ end
2143
+ # Attestations from the identity's key people, e.g. owners, executives, directors, representatives.
2144
+ attr_accessor :attestations
2145
+ # Information about the company or business.
2146
+ attr_accessor :business_details
2147
+ # The country in which the account holder resides, or in which the business is legally established. This should be an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.
2148
+ attr_accessor :country
2149
+ # The entity type represented by the Account. Ensure this field is accurate before adding configurations that rely on identity information, as it determines which identity fields apply and how the Account is validated.
2150
+ attr_accessor :entity_type
2151
+ # Information about the individual represented by the Account. This property is `null` unless `entity_type` is set to `individual`.
2152
+ attr_accessor :individual
2153
+
2154
+ def initialize(
2155
+ attestations: nil,
2156
+ business_details: nil,
2157
+ country: nil,
2158
+ entity_type: nil,
2159
+ individual: nil
2160
+ )
2161
+ @attestations = attestations
2162
+ @business_details = business_details
2163
+ @country = country
2164
+ @entity_type = entity_type
2165
+ @individual = individual
2166
+ end
2167
+
2168
+ def self.field_encodings
2169
+ @field_encodings = {
2170
+ individual: {
2171
+ kind: :object,
2172
+ fields: {
2173
+ relationship: { kind: :object, fields: { percent_ownership: :decimal_string } },
2174
+ },
2175
+ },
2176
+ }
2177
+ end
2178
+ end
2179
+ # The account token generated by the account token api.
2180
+ attr_accessor :account_token
2181
+ # An Account Configuration which allows the Account to take on a key persona across Stripe products.
2182
+ attr_accessor :configuration
2183
+ # The primary contact email address for the Account.
2184
+ attr_accessor :contact_email
2185
+ # The default contact phone for the Account.
2186
+ attr_accessor :contact_phone
2187
+ # A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.
2188
+ attr_accessor :dashboard
2189
+ # Default values to be used on Account Configurations.
2190
+ attr_accessor :defaults
2191
+ # A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account.
2192
+ attr_accessor :display_name
2193
+ # Information about the company, individual, and business represented by the Account.
2194
+ attr_accessor :identity
2195
+ # Additional fields to include in the response.
2196
+ attr_accessor :include
2197
+ # Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
2198
+ attr_accessor :metadata
2199
+
2200
+ def initialize(
2201
+ account_token: nil,
2202
+ configuration: nil,
2203
+ contact_email: nil,
2204
+ contact_phone: nil,
2205
+ dashboard: nil,
2206
+ defaults: nil,
2207
+ display_name: nil,
2208
+ identity: nil,
2209
+ include: nil,
2210
+ metadata: nil
2211
+ )
2212
+ @account_token = account_token
2213
+ @configuration = configuration
2214
+ @contact_email = contact_email
2215
+ @contact_phone = contact_phone
2216
+ @dashboard = dashboard
2217
+ @defaults = defaults
2218
+ @display_name = display_name
2219
+ @identity = identity
2220
+ @include = include
2221
+ @metadata = metadata
2222
+ end
2223
+
2224
+ def self.field_encodings
2225
+ @field_encodings = {
2226
+ identity: {
2227
+ kind: :object,
2228
+ fields: {
2229
+ individual: {
2230
+ kind: :object,
2231
+ fields: {
2232
+ relationship: { kind: :object, fields: { percent_ownership: :decimal_string } },
2233
+ },
2234
+ },
2235
+ },
2236
+ },
2237
+ }
2238
+ end
2239
+ end
2240
+ end
2241
+ end
2242
+ end