stripe 17.0.0 → 17.1.0.pre.alpha.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 (1439) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +34 -0
  3. data/lib/stripe/api_version.rb +1 -2
  4. data/lib/stripe/errors.rb +63 -0
  5. data/lib/stripe/event_types.rb +1037 -0
  6. data/lib/stripe/events/v1_account_updated_event.rb +44 -0
  7. data/lib/stripe/events/v1_application_fee_created_event.rb +44 -0
  8. data/lib/stripe/events/v1_application_fee_refunded_event.rb +44 -0
  9. data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +5 -5
  10. data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +5 -5
  11. data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +44 -0
  12. data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +44 -0
  13. data/lib/stripe/events/v1_capability_updated_event.rb +44 -0
  14. data/lib/stripe/events/v1_charge_captured_event.rb +44 -0
  15. data/lib/stripe/events/v1_charge_dispute_closed_event.rb +44 -0
  16. data/lib/stripe/events/v1_charge_dispute_created_event.rb +44 -0
  17. data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +44 -0
  18. data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +44 -0
  19. data/lib/stripe/events/v1_charge_dispute_updated_event.rb +44 -0
  20. data/lib/stripe/events/v1_charge_expired_event.rb +44 -0
  21. data/lib/stripe/events/v1_charge_failed_event.rb +44 -0
  22. data/lib/stripe/events/v1_charge_pending_event.rb +44 -0
  23. data/lib/stripe/events/v1_charge_refund_updated_event.rb +44 -0
  24. data/lib/stripe/events/v1_charge_refunded_event.rb +44 -0
  25. data/lib/stripe/events/v1_charge_succeeded_event.rb +44 -0
  26. data/lib/stripe/events/v1_charge_updated_event.rb +44 -0
  27. data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +44 -0
  28. data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +44 -0
  29. data/lib/stripe/events/v1_checkout_session_completed_event.rb +44 -0
  30. data/lib/stripe/events/v1_checkout_session_expired_event.rb +44 -0
  31. data/lib/stripe/events/v1_climate_order_canceled_event.rb +44 -0
  32. data/lib/stripe/events/v1_climate_order_created_event.rb +44 -0
  33. data/lib/stripe/events/v1_climate_order_delayed_event.rb +44 -0
  34. data/lib/stripe/events/v1_climate_order_delivered_event.rb +44 -0
  35. data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +44 -0
  36. data/lib/stripe/events/v1_climate_product_created_event.rb +44 -0
  37. data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +44 -0
  38. data/lib/stripe/events/v1_coupon_created_event.rb +44 -0
  39. data/lib/stripe/events/v1_coupon_deleted_event.rb +44 -0
  40. data/lib/stripe/events/v1_coupon_updated_event.rb +44 -0
  41. data/lib/stripe/events/v1_credit_note_created_event.rb +44 -0
  42. data/lib/stripe/events/v1_credit_note_updated_event.rb +44 -0
  43. data/lib/stripe/events/v1_credit_note_voided_event.rb +44 -0
  44. data/lib/stripe/events/v1_customer_created_event.rb +44 -0
  45. data/lib/stripe/events/v1_customer_deleted_event.rb +44 -0
  46. data/lib/stripe/events/v1_customer_subscription_created_event.rb +44 -0
  47. data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +44 -0
  48. data/lib/stripe/events/v1_customer_subscription_paused_event.rb +44 -0
  49. data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +44 -0
  50. data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +44 -0
  51. data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +44 -0
  52. data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +44 -0
  53. data/lib/stripe/events/v1_customer_subscription_updated_event.rb +44 -0
  54. data/lib/stripe/events/v1_customer_tax_id_created_event.rb +44 -0
  55. data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +44 -0
  56. data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +44 -0
  57. data/lib/stripe/events/v1_customer_updated_event.rb +44 -0
  58. data/lib/stripe/events/v1_file_created_event.rb +44 -0
  59. data/lib/stripe/events/v1_financial_connections_account_created_event.rb +44 -0
  60. data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +44 -0
  61. data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +44 -0
  62. data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +44 -0
  63. data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +44 -0
  64. data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +44 -0
  65. data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +44 -0
  66. data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +44 -0
  67. data/lib/stripe/events/v1_identity_verification_session_created_event.rb +44 -0
  68. data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +44 -0
  69. data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +44 -0
  70. data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +44 -0
  71. data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +44 -0
  72. data/lib/stripe/events/v1_invoice_created_event.rb +44 -0
  73. data/lib/stripe/events/v1_invoice_deleted_event.rb +44 -0
  74. data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +44 -0
  75. data/lib/stripe/events/v1_invoice_finalized_event.rb +44 -0
  76. data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +44 -0
  77. data/lib/stripe/events/v1_invoice_overdue_event.rb +44 -0
  78. data/lib/stripe/events/v1_invoice_overpaid_event.rb +44 -0
  79. data/lib/stripe/events/v1_invoice_paid_event.rb +44 -0
  80. data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +44 -0
  81. data/lib/stripe/events/v1_invoice_payment_failed_event.rb +44 -0
  82. data/lib/stripe/events/v1_invoice_payment_paid_event.rb +44 -0
  83. data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +44 -0
  84. data/lib/stripe/events/v1_invoice_sent_event.rb +44 -0
  85. data/lib/stripe/events/v1_invoice_upcoming_event.rb +44 -0
  86. data/lib/stripe/events/v1_invoice_updated_event.rb +44 -0
  87. data/lib/stripe/events/v1_invoice_voided_event.rb +44 -0
  88. data/lib/stripe/events/v1_invoice_will_be_due_event.rb +44 -0
  89. data/lib/stripe/events/v1_invoiceitem_created_event.rb +44 -0
  90. data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +44 -0
  91. data/lib/stripe/events/v1_issuing_authorization_created_event.rb +44 -0
  92. data/lib/stripe/events/v1_issuing_authorization_request_event.rb +44 -0
  93. data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +44 -0
  94. data/lib/stripe/events/v1_issuing_card_created_event.rb +44 -0
  95. data/lib/stripe/events/v1_issuing_card_updated_event.rb +44 -0
  96. data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +44 -0
  97. data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +44 -0
  98. data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +44 -0
  99. data/lib/stripe/events/v1_issuing_dispute_created_event.rb +44 -0
  100. data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +44 -0
  101. data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +44 -0
  102. data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +44 -0
  103. data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +44 -0
  104. data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +44 -0
  105. data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +44 -0
  106. data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +44 -0
  107. data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +44 -0
  108. data/lib/stripe/events/v1_issuing_token_created_event.rb +44 -0
  109. data/lib/stripe/events/v1_issuing_token_updated_event.rb +44 -0
  110. data/lib/stripe/events/v1_issuing_transaction_created_event.rb +44 -0
  111. data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +44 -0
  112. data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +44 -0
  113. data/lib/stripe/events/v1_mandate_updated_event.rb +44 -0
  114. data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +44 -0
  115. data/lib/stripe/events/v1_payment_intent_canceled_event.rb +44 -0
  116. data/lib/stripe/events/v1_payment_intent_created_event.rb +44 -0
  117. data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +44 -0
  118. data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +44 -0
  119. data/lib/stripe/events/v1_payment_intent_processing_event.rb +44 -0
  120. data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +44 -0
  121. data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +44 -0
  122. data/lib/stripe/events/v1_payment_link_created_event.rb +44 -0
  123. data/lib/stripe/events/v1_payment_link_updated_event.rb +44 -0
  124. data/lib/stripe/events/v1_payment_method_attached_event.rb +44 -0
  125. data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +44 -0
  126. data/lib/stripe/events/v1_payment_method_detached_event.rb +44 -0
  127. data/lib/stripe/events/v1_payment_method_updated_event.rb +44 -0
  128. data/lib/stripe/events/v1_payout_canceled_event.rb +44 -0
  129. data/lib/stripe/events/v1_payout_created_event.rb +44 -0
  130. data/lib/stripe/events/v1_payout_failed_event.rb +44 -0
  131. data/lib/stripe/events/v1_payout_paid_event.rb +44 -0
  132. data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +44 -0
  133. data/lib/stripe/events/v1_payout_updated_event.rb +44 -0
  134. data/lib/stripe/events/v1_person_created_event.rb +44 -0
  135. data/lib/stripe/events/v1_person_deleted_event.rb +44 -0
  136. data/lib/stripe/events/v1_person_updated_event.rb +44 -0
  137. data/lib/stripe/events/v1_plan_created_event.rb +44 -0
  138. data/lib/stripe/events/v1_plan_deleted_event.rb +44 -0
  139. data/lib/stripe/events/v1_plan_updated_event.rb +44 -0
  140. data/lib/stripe/events/v1_price_created_event.rb +44 -0
  141. data/lib/stripe/events/v1_price_deleted_event.rb +44 -0
  142. data/lib/stripe/events/v1_price_updated_event.rb +44 -0
  143. data/lib/stripe/events/v1_product_created_event.rb +44 -0
  144. data/lib/stripe/events/v1_product_deleted_event.rb +44 -0
  145. data/lib/stripe/events/v1_product_updated_event.rb +44 -0
  146. data/lib/stripe/events/v1_promotion_code_created_event.rb +44 -0
  147. data/lib/stripe/events/v1_promotion_code_updated_event.rb +44 -0
  148. data/lib/stripe/events/v1_quote_accepted_event.rb +44 -0
  149. data/lib/stripe/events/v1_quote_canceled_event.rb +44 -0
  150. data/lib/stripe/events/v1_quote_created_event.rb +44 -0
  151. data/lib/stripe/events/v1_quote_finalized_event.rb +44 -0
  152. data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +44 -0
  153. data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +44 -0
  154. data/lib/stripe/events/v1_refund_created_event.rb +44 -0
  155. data/lib/stripe/events/v1_refund_failed_event.rb +44 -0
  156. data/lib/stripe/events/v1_refund_updated_event.rb +44 -0
  157. data/lib/stripe/events/v1_review_closed_event.rb +44 -0
  158. data/lib/stripe/events/v1_review_opened_event.rb +44 -0
  159. data/lib/stripe/events/v1_setup_intent_canceled_event.rb +44 -0
  160. data/lib/stripe/events/v1_setup_intent_created_event.rb +44 -0
  161. data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +44 -0
  162. data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +44 -0
  163. data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +44 -0
  164. data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +44 -0
  165. data/lib/stripe/events/v1_source_canceled_event.rb +44 -0
  166. data/lib/stripe/events/v1_source_chargeable_event.rb +44 -0
  167. data/lib/stripe/events/v1_source_failed_event.rb +44 -0
  168. data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +44 -0
  169. data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +44 -0
  170. data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +44 -0
  171. data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +44 -0
  172. data/lib/stripe/events/v1_subscription_schedule_created_event.rb +44 -0
  173. data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +44 -0
  174. data/lib/stripe/events/v1_subscription_schedule_released_event.rb +44 -0
  175. data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +44 -0
  176. data/lib/stripe/events/v1_tax_rate_created_event.rb +44 -0
  177. data/lib/stripe/events/v1_tax_rate_updated_event.rb +44 -0
  178. data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +44 -0
  179. data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +44 -0
  180. data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +44 -0
  181. data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +44 -0
  182. data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +44 -0
  183. data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +44 -0
  184. data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +44 -0
  185. data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +44 -0
  186. data/lib/stripe/events/v1_topup_canceled_event.rb +44 -0
  187. data/lib/stripe/events/v1_topup_created_event.rb +44 -0
  188. data/lib/stripe/events/v1_topup_failed_event.rb +44 -0
  189. data/lib/stripe/events/v1_topup_reversed_event.rb +44 -0
  190. data/lib/stripe/events/v1_topup_succeeded_event.rb +44 -0
  191. data/lib/stripe/events/v1_transfer_created_event.rb +44 -0
  192. data/lib/stripe/events/v1_transfer_reversed_event.rb +44 -0
  193. data/lib/stripe/events/v1_transfer_updated_event.rb +44 -0
  194. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +61 -0
  195. data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +44 -0
  196. data/lib/stripe/events/v2_billing_cadence_created_event.rb +61 -0
  197. data/lib/stripe/events/v2_billing_license_fee_created_event.rb +44 -0
  198. data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +44 -0
  199. data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +61 -0
  200. data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +44 -0
  201. data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +44 -0
  202. data/lib/stripe/events/v2_billing_metered_item_created_event.rb +44 -0
  203. data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +44 -0
  204. data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +61 -0
  205. data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +61 -0
  206. data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +44 -0
  207. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +44 -0
  208. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +44 -0
  209. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +44 -0
  210. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +44 -0
  211. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +44 -0
  212. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +44 -0
  213. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +44 -0
  214. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +44 -0
  215. data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +44 -0
  216. data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +61 -0
  217. data/lib/stripe/events/v2_billing_rate_card_created_event.rb +61 -0
  218. data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +67 -0
  219. data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +44 -0
  220. data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +44 -0
  221. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +44 -0
  222. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +44 -0
  223. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +44 -0
  224. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +44 -0
  225. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +44 -0
  226. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +44 -0
  227. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +44 -0
  228. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +44 -0
  229. data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +44 -0
  230. data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +61 -0
  231. data/lib/stripe/events/v2_core_account_closed_event.rb +44 -0
  232. data/lib/stripe/events/v2_core_account_created_event.rb +44 -0
  233. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +63 -0
  234. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +44 -0
  235. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +63 -0
  236. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +44 -0
  237. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +63 -0
  238. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +44 -0
  239. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +63 -0
  240. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +44 -0
  241. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +63 -0
  242. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +44 -0
  243. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +44 -0
  244. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +44 -0
  245. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +44 -0
  246. data/lib/stripe/events/v2_core_account_link_returned_event.rb +42 -0
  247. data/lib/stripe/events/v2_core_account_person_created_event.rb +61 -0
  248. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +61 -0
  249. data/lib/stripe/events/v2_core_account_person_updated_event.rb +61 -0
  250. data/lib/stripe/events/v2_core_account_updated_event.rb +44 -0
  251. data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +44 -0
  252. data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +44 -0
  253. data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +44 -0
  254. data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +44 -0
  255. data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +44 -0
  256. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +66 -0
  257. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +66 -0
  258. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +64 -0
  259. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +64 -0
  260. data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +80 -0
  261. data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +80 -0
  262. data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +66 -0
  263. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +64 -0
  264. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +62 -0
  265. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +64 -0
  266. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +64 -0
  267. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +64 -0
  268. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +62 -0
  269. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +62 -0
  270. data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +62 -0
  271. data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +62 -0
  272. data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +58 -0
  273. data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +58 -0
  274. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +44 -0
  275. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +44 -0
  276. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +44 -0
  277. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +44 -0
  278. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +44 -0
  279. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +61 -0
  280. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +44 -0
  281. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +44 -0
  282. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +44 -0
  283. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +44 -0
  284. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +44 -0
  285. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +44 -0
  286. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +44 -0
  287. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +44 -0
  288. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +44 -0
  289. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +44 -0
  290. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +44 -0
  291. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +44 -0
  292. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +44 -0
  293. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +44 -0
  294. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +44 -0
  295. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +44 -0
  296. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +44 -0
  297. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +44 -0
  298. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +61 -0
  299. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +44 -0
  300. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +44 -0
  301. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +44 -0
  302. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +44 -0
  303. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +44 -0
  304. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +44 -0
  305. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +44 -0
  306. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +44 -0
  307. data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +44 -0
  308. data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +44 -0
  309. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +44 -0
  310. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
  311. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +44 -0
  312. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +46 -0
  313. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +44 -0
  314. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +44 -0
  315. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +44 -0
  316. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +44 -0
  317. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +44 -0
  318. data/lib/stripe/object_types.rb +80 -0
  319. data/lib/stripe/params/account_capability_list_params.rb +1 -1
  320. data/lib/stripe/params/account_capability_retrieve_params.rb +1 -1
  321. data/lib/stripe/params/account_capability_update_params.rb +1 -1
  322. data/lib/stripe/params/account_create_params.rb +417 -118
  323. data/lib/stripe/params/account_delete_params.rb +1 -1
  324. data/lib/stripe/params/account_external_account_create_params.rb +4 -4
  325. data/lib/stripe/params/account_external_account_delete_params.rb +1 -1
  326. data/lib/stripe/params/account_external_account_list_params.rb +1 -1
  327. data/lib/stripe/params/account_external_account_retrieve_params.rb +1 -1
  328. data/lib/stripe/params/account_external_account_update_params.rb +3 -3
  329. data/lib/stripe/params/account_link_create_params.rb +2 -2
  330. data/lib/stripe/params/account_list_params.rb +2 -2
  331. data/lib/stripe/params/account_login_link_create_params.rb +1 -1
  332. data/lib/stripe/params/account_notice_list_params.rb +25 -0
  333. data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
  334. data/lib/stripe/params/account_notice_update_params.rb +36 -0
  335. data/lib/stripe/params/account_person_create_params.rb +19 -19
  336. data/lib/stripe/params/account_person_delete_params.rb +1 -1
  337. data/lib/stripe/params/account_person_list_params.rb +2 -2
  338. data/lib/stripe/params/account_person_retrieve_params.rb +1 -1
  339. data/lib/stripe/params/account_person_update_params.rb +19 -19
  340. data/lib/stripe/params/account_persons_params.rb +2 -2
  341. data/lib/stripe/params/account_reject_params.rb +1 -1
  342. data/lib/stripe/params/account_retrieve_current_params.rb +1 -1
  343. data/lib/stripe/params/account_retrieve_params.rb +1 -1
  344. data/lib/stripe/params/account_session_create_params.rb +266 -41
  345. data/lib/stripe/params/account_update_params.rb +375 -113
  346. data/lib/stripe/params/apple_pay_domain_create_params.rb +1 -1
  347. data/lib/stripe/params/apple_pay_domain_delete_params.rb +1 -1
  348. data/lib/stripe/params/apple_pay_domain_list_params.rb +1 -1
  349. data/lib/stripe/params/apple_pay_domain_retrieve_params.rb +1 -1
  350. data/lib/stripe/params/application_fee_list_params.rb +2 -2
  351. data/lib/stripe/params/application_fee_refund_create_params.rb +1 -1
  352. data/lib/stripe/params/application_fee_refund_list_params.rb +1 -1
  353. data/lib/stripe/params/application_fee_refund_retrieve_params.rb +1 -1
  354. data/lib/stripe/params/application_fee_refund_update_params.rb +1 -1
  355. data/lib/stripe/params/application_fee_retrieve_params.rb +1 -1
  356. data/lib/stripe/params/apps/secret_create_params.rb +2 -2
  357. data/lib/stripe/params/apps/secret_delete_where_params.rb +2 -2
  358. data/lib/stripe/params/apps/secret_find_params.rb +2 -2
  359. data/lib/stripe/params/apps/secret_list_params.rb +2 -2
  360. data/lib/stripe/params/balance_retrieve_params.rb +1 -1
  361. data/lib/stripe/params/balance_settings_retrieve_params.rb +1 -1
  362. data/lib/stripe/params/balance_settings_update_params.rb +5 -5
  363. data/lib/stripe/params/balance_transaction_list_params.rb +2 -2
  364. data/lib/stripe/params/balance_transaction_retrieve_params.rb +1 -1
  365. data/lib/stripe/params/billing/alert_activate_params.rb +1 -1
  366. data/lib/stripe/params/billing/alert_archive_params.rb +1 -1
  367. data/lib/stripe/params/billing/alert_create_params.rb +124 -4
  368. data/lib/stripe/params/billing/alert_deactivate_params.rb +1 -1
  369. data/lib/stripe/params/billing/alert_list_params.rb +5 -1
  370. data/lib/stripe/params/billing/alert_retrieve_params.rb +1 -1
  371. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +65 -0
  372. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +21 -6
  373. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +5 -1
  374. data/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb +1 -1
  375. data/lib/stripe/params/billing/credit_grant_create_params.rb +39 -8
  376. data/lib/stripe/params/billing/credit_grant_expire_params.rb +1 -1
  377. data/lib/stripe/params/billing/credit_grant_list_params.rb +5 -1
  378. data/lib/stripe/params/billing/credit_grant_retrieve_params.rb +1 -1
  379. data/lib/stripe/params/billing/credit_grant_update_params.rb +1 -1
  380. data/lib/stripe/params/billing/credit_grant_void_grant_params.rb +1 -1
  381. data/lib/stripe/params/billing/meter_create_params.rb +4 -4
  382. data/lib/stripe/params/billing/meter_deactivate_params.rb +1 -1
  383. data/lib/stripe/params/billing/meter_event_adjustment_create_params.rb +2 -2
  384. data/lib/stripe/params/billing/meter_event_create_params.rb +1 -1
  385. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +1 -1
  386. data/lib/stripe/params/billing/meter_list_params.rb +1 -1
  387. data/lib/stripe/params/billing/meter_reactivate_params.rb +1 -1
  388. data/lib/stripe/params/billing/meter_retrieve_params.rb +1 -1
  389. data/lib/stripe/params/billing/meter_update_params.rb +1 -1
  390. data/lib/stripe/params/billing_portal/configuration_create_params.rb +14 -14
  391. data/lib/stripe/params/billing_portal/configuration_list_params.rb +1 -1
  392. data/lib/stripe/params/billing_portal/configuration_retrieve_params.rb +1 -1
  393. data/lib/stripe/params/billing_portal/configuration_update_params.rb +14 -14
  394. data/lib/stripe/params/billing_portal/session_create_params.rb +16 -12
  395. data/lib/stripe/params/capital/financing_offer_list_params.rb +58 -0
  396. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +15 -0
  397. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +15 -0
  398. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +15 -0
  399. data/lib/stripe/params/capital/financing_transaction_list_params.rb +45 -0
  400. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +15 -0
  401. data/lib/stripe/params/charge_capture_params.rb +711 -2
  402. data/lib/stripe/params/charge_create_params.rb +6 -6
  403. data/lib/stripe/params/charge_list_params.rb +2 -2
  404. data/lib/stripe/params/charge_retrieve_params.rb +1 -1
  405. data/lib/stripe/params/charge_search_params.rb +1 -1
  406. data/lib/stripe/params/charge_update_params.rb +713 -4
  407. data/lib/stripe/params/checkout/session_create_params.rb +394 -125
  408. data/lib/stripe/params/checkout/session_expire_params.rb +1 -1
  409. data/lib/stripe/params/checkout/session_line_item_list_params.rb +1 -1
  410. data/lib/stripe/params/checkout/session_list_line_items_params.rb +1 -1
  411. data/lib/stripe/params/checkout/session_list_params.rb +7 -3
  412. data/lib/stripe/params/checkout/session_retrieve_params.rb +1 -1
  413. data/lib/stripe/params/checkout/session_update_params.rb +299 -12
  414. data/lib/stripe/params/climate/order_cancel_params.rb +1 -1
  415. data/lib/stripe/params/climate/order_create_params.rb +2 -2
  416. data/lib/stripe/params/climate/order_list_params.rb +1 -1
  417. data/lib/stripe/params/climate/order_retrieve_params.rb +1 -1
  418. data/lib/stripe/params/climate/order_update_params.rb +2 -2
  419. data/lib/stripe/params/climate/product_list_params.rb +1 -1
  420. data/lib/stripe/params/climate/product_retrieve_params.rb +1 -1
  421. data/lib/stripe/params/climate/supplier_list_params.rb +1 -1
  422. data/lib/stripe/params/climate/supplier_retrieve_params.rb +1 -1
  423. data/lib/stripe/params/confirmation_token_create_params.rb +158 -61
  424. data/lib/stripe/params/confirmation_token_retrieve_params.rb +1 -1
  425. data/lib/stripe/params/country_spec_list_params.rb +1 -1
  426. data/lib/stripe/params/country_spec_retrieve_params.rb +1 -1
  427. data/lib/stripe/params/coupon_create_params.rb +20 -4
  428. data/lib/stripe/params/coupon_delete_params.rb +1 -1
  429. data/lib/stripe/params/coupon_list_params.rb +2 -2
  430. data/lib/stripe/params/coupon_retrieve_params.rb +1 -1
  431. data/lib/stripe/params/coupon_update_params.rb +2 -2
  432. data/lib/stripe/params/credit_note_create_params.rb +23 -6
  433. data/lib/stripe/params/credit_note_line_item_list_params.rb +1 -1
  434. data/lib/stripe/params/credit_note_list_params.rb +6 -2
  435. data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +23 -6
  436. data/lib/stripe/params/credit_note_preview_lines_list_params.rb +23 -6
  437. data/lib/stripe/params/credit_note_preview_params.rb +23 -6
  438. data/lib/stripe/params/credit_note_retrieve_params.rb +1 -1
  439. data/lib/stripe/params/credit_note_update_params.rb +1 -1
  440. data/lib/stripe/params/credit_note_void_credit_note_params.rb +1 -1
  441. data/lib/stripe/params/customer_balance_transaction_create_params.rb +1 -1
  442. data/lib/stripe/params/customer_balance_transaction_list_params.rb +1 -1
  443. data/lib/stripe/params/customer_balance_transaction_retrieve_params.rb +1 -1
  444. data/lib/stripe/params/customer_balance_transaction_update_params.rb +1 -1
  445. data/lib/stripe/params/customer_cash_balance_retrieve_params.rb +1 -1
  446. data/lib/stripe/params/customer_cash_balance_transaction_list_params.rb +1 -1
  447. data/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb +1 -1
  448. data/lib/stripe/params/customer_cash_balance_update_params.rb +2 -2
  449. data/lib/stripe/params/customer_create_funding_instructions_params.rb +3 -3
  450. data/lib/stripe/params/customer_create_params.rb +11 -11
  451. data/lib/stripe/params/customer_delete_discount_params.rb +1 -1
  452. data/lib/stripe/params/customer_delete_params.rb +1 -1
  453. data/lib/stripe/params/customer_fund_cash_balance_params.rb +1 -1
  454. data/lib/stripe/params/customer_funding_instructions_create_params.rb +3 -3
  455. data/lib/stripe/params/customer_list_params.rb +2 -2
  456. data/lib/stripe/params/customer_list_payment_methods_params.rb +1 -1
  457. data/lib/stripe/params/customer_payment_method_list_params.rb +1 -1
  458. data/lib/stripe/params/customer_payment_method_retrieve_params.rb +1 -1
  459. data/lib/stripe/params/customer_payment_source_create_params.rb +1 -1
  460. data/lib/stripe/params/customer_payment_source_delete_params.rb +1 -1
  461. data/lib/stripe/params/customer_payment_source_list_params.rb +1 -1
  462. data/lib/stripe/params/customer_payment_source_retrieve_params.rb +1 -1
  463. data/lib/stripe/params/customer_payment_source_update_params.rb +3 -3
  464. data/lib/stripe/params/customer_payment_source_verify_params.rb +1 -1
  465. data/lib/stripe/params/customer_retrieve_params.rb +1 -1
  466. data/lib/stripe/params/customer_retrieve_payment_method_params.rb +1 -1
  467. data/lib/stripe/params/customer_search_params.rb +1 -1
  468. data/lib/stripe/params/customer_session_create_params.rb +10 -7
  469. data/lib/stripe/params/customer_tax_id_create_params.rb +1 -1
  470. data/lib/stripe/params/customer_tax_id_delete_params.rb +1 -1
  471. data/lib/stripe/params/customer_tax_id_list_params.rb +1 -1
  472. data/lib/stripe/params/customer_tax_id_retrieve_params.rb +1 -1
  473. data/lib/stripe/params/customer_update_params.rb +10 -10
  474. data/lib/stripe/params/dispute_close_params.rb +1 -1
  475. data/lib/stripe/params/dispute_list_params.rb +2 -2
  476. data/lib/stripe/params/dispute_retrieve_params.rb +1 -1
  477. data/lib/stripe/params/dispute_update_params.rb +19 -10
  478. data/lib/stripe/params/entitlements/active_entitlement_list_params.rb +1 -1
  479. data/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb +1 -1
  480. data/lib/stripe/params/entitlements/feature_create_params.rb +1 -1
  481. data/lib/stripe/params/entitlements/feature_list_params.rb +1 -1
  482. data/lib/stripe/params/entitlements/feature_retrieve_params.rb +1 -1
  483. data/lib/stripe/params/entitlements/feature_update_params.rb +1 -1
  484. data/lib/stripe/params/ephemeral_key_create_params.rb +1 -1
  485. data/lib/stripe/params/ephemeral_key_delete_params.rb +1 -1
  486. data/lib/stripe/params/event_list_params.rb +2 -2
  487. data/lib/stripe/params/event_retrieve_params.rb +1 -1
  488. data/lib/stripe/params/exchange_rate_list_params.rb +1 -1
  489. data/lib/stripe/params/exchange_rate_retrieve_params.rb +1 -1
  490. data/lib/stripe/params/external_account_create_params.rb +134 -0
  491. data/lib/stripe/params/external_account_delete_params.rb +6 -0
  492. data/lib/stripe/params/external_account_list_params.rb +25 -0
  493. data/lib/stripe/params/external_account_retrieve_params.rb +13 -0
  494. data/lib/stripe/params/external_account_update_params.rb +91 -0
  495. data/lib/stripe/params/file_create_params.rb +2 -2
  496. data/lib/stripe/params/file_link_create_params.rb +1 -1
  497. data/lib/stripe/params/file_link_list_params.rb +2 -2
  498. data/lib/stripe/params/file_link_retrieve_params.rb +1 -1
  499. data/lib/stripe/params/file_link_update_params.rb +1 -1
  500. data/lib/stripe/params/file_list_params.rb +2 -2
  501. data/lib/stripe/params/file_retrieve_params.rb +1 -1
  502. data/lib/stripe/params/financial_connections/account_disconnect_params.rb +1 -1
  503. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
  504. data/lib/stripe/params/financial_connections/account_list_owners_params.rb +1 -1
  505. data/lib/stripe/params/financial_connections/account_list_params.rb +6 -3
  506. data/lib/stripe/params/financial_connections/account_owner_list_params.rb +1 -1
  507. data/lib/stripe/params/financial_connections/account_refresh_account_params.rb +1 -1
  508. data/lib/stripe/params/financial_connections/account_refresh_params.rb +1 -1
  509. data/lib/stripe/params/financial_connections/account_retrieve_params.rb +1 -1
  510. data/lib/stripe/params/financial_connections/account_subscribe_params.rb +1 -1
  511. data/lib/stripe/params/financial_connections/account_unsubscribe_params.rb +1 -1
  512. data/lib/stripe/params/financial_connections/institution_list_params.rb +24 -0
  513. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +15 -0
  514. data/lib/stripe/params/financial_connections/session_create_params.rb +37 -5
  515. data/lib/stripe/params/financial_connections/session_retrieve_params.rb +1 -1
  516. data/lib/stripe/params/financial_connections/transaction_list_params.rb +3 -3
  517. data/lib/stripe/params/financial_connections/transaction_retrieve_params.rb +1 -1
  518. data/lib/stripe/params/forwarding/request_create_params.rb +3 -3
  519. data/lib/stripe/params/forwarding/request_list_params.rb +2 -2
  520. data/lib/stripe/params/forwarding/request_retrieve_params.rb +1 -1
  521. data/lib/stripe/params/fx_quote_create_params.rb +73 -0
  522. data/lib/stripe/params/fx_quote_list_params.rb +22 -0
  523. data/lib/stripe/params/fx_quote_retrieve_params.rb +13 -0
  524. data/lib/stripe/params/identity/verification_report_list_params.rb +2 -2
  525. data/lib/stripe/params/identity/verification_report_retrieve_params.rb +1 -1
  526. data/lib/stripe/params/identity/verification_session_cancel_params.rb +1 -1
  527. data/lib/stripe/params/identity/verification_session_create_params.rb +9 -5
  528. data/lib/stripe/params/identity/verification_session_list_params.rb +6 -2
  529. data/lib/stripe/params/identity/verification_session_redact_params.rb +1 -1
  530. data/lib/stripe/params/identity/verification_session_retrieve_params.rb +1 -1
  531. data/lib/stripe/params/identity/verification_session_update_params.rb +4 -4
  532. data/lib/stripe/params/invoice_add_lines_params.rb +42 -10
  533. data/lib/stripe/params/invoice_attach_payment_params.rb +47 -2
  534. data/lib/stripe/params/invoice_create_params.rb +147 -37
  535. data/lib/stripe/params/invoice_create_preview_params.rb +872 -55
  536. data/lib/stripe/params/invoice_delete_params.rb +1 -1
  537. data/lib/stripe/params/invoice_finalize_invoice_params.rb +1 -1
  538. data/lib/stripe/params/invoice_item_create_params.rb +42 -6
  539. data/lib/stripe/params/invoice_item_delete_params.rb +1 -1
  540. data/lib/stripe/params/invoice_item_list_params.rb +6 -2
  541. data/lib/stripe/params/invoice_item_retrieve_params.rb +1 -1
  542. data/lib/stripe/params/invoice_item_update_params.rb +38 -6
  543. data/lib/stripe/params/invoice_line_item_list_params.rb +1 -1
  544. data/lib/stripe/params/invoice_line_item_update_params.rb +41 -9
  545. data/lib/stripe/params/invoice_list_params.rb +11 -3
  546. data/lib/stripe/params/invoice_mark_uncollectible_params.rb +1 -1
  547. data/lib/stripe/params/invoice_pay_params.rb +1 -1
  548. data/lib/stripe/params/invoice_payment_list_params.rb +6 -3
  549. data/lib/stripe/params/invoice_payment_retrieve_params.rb +1 -1
  550. data/lib/stripe/params/invoice_remove_lines_params.rb +2 -2
  551. data/lib/stripe/params/invoice_rendering_template_archive_params.rb +1 -1
  552. data/lib/stripe/params/invoice_rendering_template_list_params.rb +1 -1
  553. data/lib/stripe/params/invoice_rendering_template_retrieve_params.rb +1 -1
  554. data/lib/stripe/params/invoice_rendering_template_unarchive_params.rb +1 -1
  555. data/lib/stripe/params/invoice_retrieve_params.rb +1 -1
  556. data/lib/stripe/params/invoice_search_params.rb +1 -1
  557. data/lib/stripe/params/invoice_send_invoice_params.rb +1 -1
  558. data/lib/stripe/params/invoice_update_lines_params.rb +42 -10
  559. data/lib/stripe/params/invoice_update_params.rb +142 -36
  560. data/lib/stripe/params/invoice_void_invoice_params.rb +1 -1
  561. data/lib/stripe/params/issuing/authorization_approve_params.rb +1 -1
  562. data/lib/stripe/params/issuing/authorization_capture_params.rb +13 -13
  563. data/lib/stripe/params/issuing/authorization_create_params.rb +17 -17
  564. data/lib/stripe/params/issuing/authorization_decline_params.rb +1 -1
  565. data/lib/stripe/params/issuing/authorization_expire_params.rb +1 -1
  566. data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +8 -8
  567. data/lib/stripe/params/issuing/authorization_increment_params.rb +1 -1
  568. data/lib/stripe/params/issuing/authorization_list_params.rb +2 -2
  569. data/lib/stripe/params/issuing/authorization_respond_params.rb +1 -1
  570. data/lib/stripe/params/issuing/authorization_retrieve_params.rb +1 -1
  571. data/lib/stripe/params/issuing/authorization_reverse_params.rb +1 -1
  572. data/lib/stripe/params/issuing/authorization_update_params.rb +1 -1
  573. data/lib/stripe/params/issuing/card_create_params.rb +8 -8
  574. data/lib/stripe/params/issuing/card_deliver_card_params.rb +1 -1
  575. data/lib/stripe/params/issuing/card_fail_card_params.rb +1 -1
  576. data/lib/stripe/params/issuing/card_list_params.rb +2 -2
  577. data/lib/stripe/params/issuing/card_retrieve_params.rb +1 -1
  578. data/lib/stripe/params/issuing/card_return_card_params.rb +1 -1
  579. data/lib/stripe/params/issuing/card_ship_card_params.rb +1 -1
  580. data/lib/stripe/params/issuing/card_submit_card_params.rb +1 -1
  581. data/lib/stripe/params/issuing/card_update_params.rb +8 -8
  582. data/lib/stripe/params/issuing/cardholder_create_params.rb +14 -13
  583. data/lib/stripe/params/issuing/cardholder_list_params.rb +2 -2
  584. data/lib/stripe/params/issuing/cardholder_retrieve_params.rb +1 -1
  585. data/lib/stripe/params/issuing/cardholder_update_params.rb +12 -12
  586. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
  587. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
  588. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
  589. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
  590. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
  591. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
  592. data/lib/stripe/params/issuing/dispute_create_params.rb +11 -11
  593. data/lib/stripe/params/issuing/dispute_list_params.rb +2 -2
  594. data/lib/stripe/params/issuing/dispute_retrieve_params.rb +1 -1
  595. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
  596. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
  597. data/lib/stripe/params/issuing/dispute_submit_params.rb +1 -1
  598. data/lib/stripe/params/issuing/dispute_update_params.rb +10 -10
  599. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
  600. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
  601. data/lib/stripe/params/issuing/personalization_design_activate_params.rb +1 -1
  602. data/lib/stripe/params/issuing/personalization_design_create_params.rb +3 -3
  603. data/lib/stripe/params/issuing/personalization_design_deactivate_params.rb +1 -1
  604. data/lib/stripe/params/issuing/personalization_design_list_params.rb +2 -2
  605. data/lib/stripe/params/issuing/personalization_design_reject_params.rb +2 -2
  606. data/lib/stripe/params/issuing/personalization_design_retrieve_params.rb +1 -1
  607. data/lib/stripe/params/issuing/personalization_design_update_params.rb +3 -3
  608. data/lib/stripe/params/issuing/physical_bundle_list_params.rb +1 -1
  609. data/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb +1 -1
  610. data/lib/stripe/params/issuing/token_list_params.rb +2 -2
  611. data/lib/stripe/params/issuing/token_retrieve_params.rb +1 -1
  612. data/lib/stripe/params/issuing/token_update_params.rb +1 -1
  613. data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +14 -14
  614. data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +14 -14
  615. data/lib/stripe/params/issuing/transaction_list_params.rb +6 -2
  616. data/lib/stripe/params/issuing/transaction_refund_params.rb +1 -1
  617. data/lib/stripe/params/issuing/transaction_retrieve_params.rb +1 -1
  618. data/lib/stripe/params/issuing/transaction_update_params.rb +1 -1
  619. data/lib/stripe/params/mandate_list_params.rb +39 -0
  620. data/lib/stripe/params/mandate_retrieve_params.rb +1 -1
  621. data/lib/stripe/params/margin_create_params.rb +25 -0
  622. data/lib/stripe/params/margin_list_params.rb +25 -0
  623. data/lib/stripe/params/margin_retrieve_params.rb +13 -0
  624. data/lib/stripe/params/margin_update_params.rb +22 -0
  625. data/lib/stripe/params/order_cancel_params.rb +13 -0
  626. data/lib/stripe/params/order_create_params.rb +1124 -0
  627. data/lib/stripe/params/order_line_item_list_params.rb +22 -0
  628. data/lib/stripe/params/order_list_line_items_params.rb +22 -0
  629. data/lib/stripe/params/order_list_params.rb +25 -0
  630. data/lib/stripe/params/order_reopen_params.rb +13 -0
  631. data/lib/stripe/params/order_retrieve_params.rb +13 -0
  632. data/lib/stripe/params/order_submit_params.rb +16 -0
  633. data/lib/stripe/params/order_update_params.rb +1128 -0
  634. data/lib/stripe/params/payment_attempt_record_list_params.rb +19 -0
  635. data/lib/stripe/params/payment_attempt_record_retrieve_params.rb +13 -0
  636. data/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +22 -0
  637. data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +1 -1
  638. data/lib/stripe/params/payment_intent_cancel_params.rb +1 -1
  639. data/lib/stripe/params/payment_intent_capture_params.rb +897 -2
  640. data/lib/stripe/params/payment_intent_confirm_params.rb +1542 -155
  641. data/lib/stripe/params/payment_intent_create_params.rb +1552 -157
  642. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +73 -0
  643. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +225 -2
  644. data/lib/stripe/params/payment_intent_list_params.rb +6 -2
  645. data/lib/stripe/params/payment_intent_retrieve_params.rb +1 -1
  646. data/lib/stripe/params/payment_intent_search_params.rb +1 -1
  647. data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
  648. data/lib/stripe/params/payment_intent_update_params.rb +1559 -133
  649. data/lib/stripe/params/payment_intent_verify_microdeposits_params.rb +1 -1
  650. data/lib/stripe/params/payment_link_create_params.rb +44 -44
  651. data/lib/stripe/params/payment_link_line_item_list_params.rb +1 -1
  652. data/lib/stripe/params/payment_link_list_line_items_params.rb +1 -1
  653. data/lib/stripe/params/payment_link_list_params.rb +1 -1
  654. data/lib/stripe/params/payment_link_retrieve_params.rb +1 -1
  655. data/lib/stripe/params/payment_link_update_params.rb +35 -35
  656. data/lib/stripe/params/payment_method_attach_params.rb +5 -2
  657. data/lib/stripe/params/payment_method_check_balance_params.rb +13 -0
  658. data/lib/stripe/params/payment_method_configuration_create_params.rb +233 -107
  659. data/lib/stripe/params/payment_method_configuration_list_params.rb +1 -1
  660. data/lib/stripe/params/payment_method_configuration_retrieve_params.rb +1 -1
  661. data/lib/stripe/params/payment_method_configuration_update_params.rb +233 -107
  662. data/lib/stripe/params/payment_method_create_params.rb +153 -56
  663. data/lib/stripe/params/payment_method_detach_params.rb +1 -1
  664. data/lib/stripe/params/payment_method_domain_create_params.rb +1 -1
  665. data/lib/stripe/params/payment_method_domain_list_params.rb +1 -1
  666. data/lib/stripe/params/payment_method_domain_retrieve_params.rb +1 -1
  667. data/lib/stripe/params/payment_method_domain_update_params.rb +1 -1
  668. data/lib/stripe/params/payment_method_domain_validate_params.rb +1 -1
  669. data/lib/stripe/params/payment_method_list_params.rb +1 -1
  670. data/lib/stripe/params/payment_method_retrieve_params.rb +1 -1
  671. data/lib/stripe/params/payment_method_update_params.rb +25 -6
  672. data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +19 -0
  673. data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +19 -0
  674. data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +19 -0
  675. data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +93 -0
  676. data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +186 -0
  677. data/lib/stripe/params/payment_record_report_payment_params.rb +252 -0
  678. data/lib/stripe/params/payment_record_retrieve_params.rb +13 -0
  679. data/lib/stripe/params/payout_cancel_params.rb +1 -1
  680. data/lib/stripe/params/payout_create_params.rb +1 -1
  681. data/lib/stripe/params/payout_list_params.rb +3 -3
  682. data/lib/stripe/params/payout_retrieve_params.rb +1 -1
  683. data/lib/stripe/params/payout_reverse_params.rb +1 -1
  684. data/lib/stripe/params/payout_update_params.rb +1 -1
  685. data/lib/stripe/params/plan_create_params.rb +4 -4
  686. data/lib/stripe/params/plan_delete_params.rb +1 -1
  687. data/lib/stripe/params/plan_list_params.rb +2 -2
  688. data/lib/stripe/params/plan_retrieve_params.rb +1 -1
  689. data/lib/stripe/params/plan_update_params.rb +1 -1
  690. data/lib/stripe/params/price_create_params.rb +9 -9
  691. data/lib/stripe/params/price_list_params.rb +3 -3
  692. data/lib/stripe/params/price_retrieve_params.rb +1 -1
  693. data/lib/stripe/params/price_search_params.rb +1 -1
  694. data/lib/stripe/params/price_update_params.rb +23 -4
  695. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +15 -0
  696. data/lib/stripe/params/privacy/redaction_job_create_params.rb +67 -0
  697. data/lib/stripe/params/privacy/redaction_job_list_params.rb +27 -0
  698. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +15 -0
  699. data/lib/stripe/params/privacy/redaction_job_run_params.rb +15 -0
  700. data/lib/stripe/params/privacy/redaction_job_update_params.rb +18 -0
  701. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +15 -0
  702. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +24 -0
  703. data/lib/stripe/params/product_create_params.rb +9 -9
  704. data/lib/stripe/params/product_delete_params.rb +1 -1
  705. data/lib/stripe/params/product_feature_create_params.rb +1 -1
  706. data/lib/stripe/params/product_feature_delete_params.rb +1 -1
  707. data/lib/stripe/params/product_feature_list_params.rb +1 -1
  708. data/lib/stripe/params/product_feature_retrieve_params.rb +1 -1
  709. data/lib/stripe/params/product_list_params.rb +2 -2
  710. data/lib/stripe/params/product_retrieve_params.rb +1 -1
  711. data/lib/stripe/params/product_search_params.rb +1 -1
  712. data/lib/stripe/params/product_update_params.rb +3 -3
  713. data/lib/stripe/params/promotion_code_create_params.rb +8 -4
  714. data/lib/stripe/params/promotion_code_list_params.rb +6 -2
  715. data/lib/stripe/params/promotion_code_retrieve_params.rb +1 -1
  716. data/lib/stripe/params/promotion_code_update_params.rb +3 -3
  717. data/lib/stripe/params/quote_accept_params.rb +1 -1
  718. data/lib/stripe/params/quote_cancel_params.rb +1 -1
  719. data/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb +1 -1
  720. data/lib/stripe/params/quote_create_params.rb +820 -18
  721. data/lib/stripe/params/quote_finalize_quote_params.rb +1 -1
  722. data/lib/stripe/params/quote_line_item_list_params.rb +1 -1
  723. data/lib/stripe/params/quote_line_list_params.rb +22 -0
  724. data/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb +1 -1
  725. data/lib/stripe/params/quote_list_line_items_params.rb +1 -1
  726. data/lib/stripe/params/quote_list_lines_params.rb +22 -0
  727. data/lib/stripe/params/quote_list_params.rb +9 -1
  728. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +22 -0
  729. data/lib/stripe/params/quote_mark_draft_params.rb +13 -0
  730. data/lib/stripe/params/quote_mark_stale_params.rb +16 -0
  731. data/lib/stripe/params/quote_pdf_params.rb +1 -1
  732. data/lib/stripe/params/quote_preview_invoice_list_params.rb +22 -0
  733. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +22 -0
  734. data/lib/stripe/params/quote_reestimate_params.rb +13 -0
  735. data/lib/stripe/params/quote_retrieve_params.rb +1 -1
  736. data/lib/stripe/params/quote_update_params.rb +825 -16
  737. data/lib/stripe/params/radar/early_fraud_warning_list_params.rb +2 -2
  738. data/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb +1 -1
  739. data/lib/stripe/params/radar/value_list_create_params.rb +1 -1
  740. data/lib/stripe/params/radar/value_list_delete_params.rb +1 -1
  741. data/lib/stripe/params/radar/value_list_item_create_params.rb +1 -1
  742. data/lib/stripe/params/radar/value_list_item_delete_params.rb +1 -1
  743. data/lib/stripe/params/radar/value_list_item_list_params.rb +2 -2
  744. data/lib/stripe/params/radar/value_list_item_retrieve_params.rb +1 -1
  745. data/lib/stripe/params/radar/value_list_list_params.rb +2 -2
  746. data/lib/stripe/params/radar/value_list_retrieve_params.rb +1 -1
  747. data/lib/stripe/params/radar/value_list_update_params.rb +1 -1
  748. data/lib/stripe/params/refund_cancel_params.rb +1 -1
  749. data/lib/stripe/params/refund_create_params.rb +1 -1
  750. data/lib/stripe/params/refund_expire_params.rb +1 -1
  751. data/lib/stripe/params/refund_list_params.rb +2 -2
  752. data/lib/stripe/params/refund_retrieve_params.rb +1 -1
  753. data/lib/stripe/params/refund_update_params.rb +1 -1
  754. data/lib/stripe/params/reporting/report_run_create_params.rb +2 -2
  755. data/lib/stripe/params/reporting/report_run_list_params.rb +2 -2
  756. data/lib/stripe/params/reporting/report_run_retrieve_params.rb +1 -1
  757. data/lib/stripe/params/reporting/report_type_list_params.rb +1 -1
  758. data/lib/stripe/params/reporting/report_type_retrieve_params.rb +1 -1
  759. data/lib/stripe/params/review_approve_params.rb +1 -1
  760. data/lib/stripe/params/review_list_params.rb +2 -2
  761. data/lib/stripe/params/review_retrieve_params.rb +1 -1
  762. data/lib/stripe/params/setup_attempt_list_params.rb +2 -2
  763. data/lib/stripe/params/setup_intent_cancel_params.rb +1 -1
  764. data/lib/stripe/params/setup_intent_confirm_params.rb +339 -88
  765. data/lib/stripe/params/setup_intent_create_params.rb +347 -90
  766. data/lib/stripe/params/setup_intent_list_params.rb +6 -2
  767. data/lib/stripe/params/setup_intent_retrieve_params.rb +1 -1
  768. data/lib/stripe/params/setup_intent_update_params.rb +341 -84
  769. data/lib/stripe/params/setup_intent_verify_microdeposits_params.rb +1 -1
  770. data/lib/stripe/params/shipping_rate_create_params.rb +6 -6
  771. data/lib/stripe/params/shipping_rate_list_params.rb +2 -2
  772. data/lib/stripe/params/shipping_rate_retrieve_params.rb +1 -1
  773. data/lib/stripe/params/shipping_rate_update_params.rb +3 -3
  774. data/lib/stripe/params/sigma/scheduled_query_run_list_params.rb +1 -1
  775. data/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb +1 -1
  776. data/lib/stripe/params/source_create_params.rb +13 -13
  777. data/lib/stripe/params/source_detach_params.rb +1 -1
  778. data/lib/stripe/params/source_retrieve_params.rb +1 -1
  779. data/lib/stripe/params/source_transaction_list_params.rb +1 -1
  780. data/lib/stripe/params/source_update_params.rb +11 -11
  781. data/lib/stripe/params/source_verify_params.rb +1 -1
  782. data/lib/stripe/params/subscription_attach_cadence_params.rb +16 -0
  783. data/lib/stripe/params/subscription_cancel_params.rb +2 -2
  784. data/lib/stripe/params/subscription_create_params.rb +299 -45
  785. data/lib/stripe/params/subscription_delete_discount_params.rb +1 -1
  786. data/lib/stripe/params/subscription_item_create_params.rb +51 -7
  787. data/lib/stripe/params/subscription_item_delete_params.rb +1 -1
  788. data/lib/stripe/params/subscription_item_list_params.rb +1 -1
  789. data/lib/stripe/params/subscription_item_retrieve_params.rb +1 -1
  790. data/lib/stripe/params/subscription_item_update_params.rb +34 -6
  791. data/lib/stripe/params/subscription_list_params.rb +9 -5
  792. data/lib/stripe/params/subscription_migrate_params.rb +3 -3
  793. data/lib/stripe/params/subscription_resume_params.rb +1 -1
  794. data/lib/stripe/params/subscription_retrieve_params.rb +1 -1
  795. data/lib/stripe/params/subscription_schedule_amend_params.rb +570 -0
  796. data/lib/stripe/params/subscription_schedule_cancel_params.rb +1 -1
  797. data/lib/stripe/params/subscription_schedule_create_params.rb +197 -35
  798. data/lib/stripe/params/subscription_schedule_list_params.rb +9 -5
  799. data/lib/stripe/params/subscription_schedule_release_params.rb +1 -1
  800. data/lib/stripe/params/subscription_schedule_retrieve_params.rb +1 -1
  801. data/lib/stripe/params/subscription_schedule_update_params.rb +191 -33
  802. data/lib/stripe/params/subscription_search_params.rb +1 -1
  803. data/lib/stripe/params/subscription_update_params.rb +277 -43
  804. data/lib/stripe/params/tax/association_find_params.rb +18 -0
  805. data/lib/stripe/params/tax/calculation_create_params.rb +8 -8
  806. data/lib/stripe/params/tax/calculation_line_item_list_params.rb +1 -1
  807. data/lib/stripe/params/tax/calculation_list_line_items_params.rb +1 -1
  808. data/lib/stripe/params/tax/calculation_retrieve_params.rb +1 -1
  809. data/lib/stripe/params/tax/form_list_params.rb +51 -0
  810. data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
  811. data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
  812. data/lib/stripe/params/tax/registration_create_params.rb +163 -163
  813. data/lib/stripe/params/tax/registration_list_params.rb +1 -1
  814. data/lib/stripe/params/tax/registration_retrieve_params.rb +1 -1
  815. data/lib/stripe/params/tax/registration_update_params.rb +1 -1
  816. data/lib/stripe/params/tax/settings_retrieve_params.rb +1 -1
  817. data/lib/stripe/params/tax/settings_update_params.rb +4 -4
  818. data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +1 -1
  819. data/lib/stripe/params/tax/transaction_create_reversal_params.rb +3 -3
  820. data/lib/stripe/params/tax/transaction_line_item_list_params.rb +1 -1
  821. data/lib/stripe/params/tax/transaction_list_line_items_params.rb +1 -1
  822. data/lib/stripe/params/tax/transaction_retrieve_params.rb +1 -1
  823. data/lib/stripe/params/tax_code_list_params.rb +1 -1
  824. data/lib/stripe/params/tax_code_retrieve_params.rb +1 -1
  825. data/lib/stripe/params/tax_id_create_params.rb +6 -3
  826. data/lib/stripe/params/tax_id_delete_params.rb +1 -1
  827. data/lib/stripe/params/tax_id_list_params.rb +6 -3
  828. data/lib/stripe/params/tax_id_retrieve_params.rb +1 -1
  829. data/lib/stripe/params/tax_rate_create_params.rb +1 -1
  830. data/lib/stripe/params/tax_rate_list_params.rb +2 -2
  831. data/lib/stripe/params/tax_rate_retrieve_params.rb +1 -1
  832. data/lib/stripe/params/tax_rate_update_params.rb +1 -1
  833. data/lib/stripe/params/terminal/configuration_create_params.rb +46 -33
  834. data/lib/stripe/params/terminal/configuration_delete_params.rb +1 -1
  835. data/lib/stripe/params/terminal/configuration_list_params.rb +1 -1
  836. data/lib/stripe/params/terminal/configuration_retrieve_params.rb +1 -1
  837. data/lib/stripe/params/terminal/configuration_update_params.rb +46 -33
  838. data/lib/stripe/params/terminal/connection_token_create_params.rb +1 -1
  839. data/lib/stripe/params/terminal/location_create_params.rb +4 -4
  840. data/lib/stripe/params/terminal/location_delete_params.rb +1 -1
  841. data/lib/stripe/params/terminal/location_list_params.rb +1 -1
  842. data/lib/stripe/params/terminal/location_retrieve_params.rb +1 -1
  843. data/lib/stripe/params/terminal/location_update_params.rb +4 -4
  844. data/lib/stripe/params/terminal/onboarding_link_create_params.rb +43 -0
  845. data/lib/stripe/params/terminal/reader_cancel_action_params.rb +1 -1
  846. data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +6 -6
  847. data/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +3 -3
  848. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
  849. data/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb +2 -2
  850. data/lib/stripe/params/terminal/reader_create_params.rb +1 -1
  851. data/lib/stripe/params/terminal/reader_delete_params.rb +1 -1
  852. data/lib/stripe/params/terminal/reader_list_params.rb +1 -1
  853. data/lib/stripe/params/terminal/reader_present_payment_method_params.rb +4 -4
  854. data/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +3 -3
  855. data/lib/stripe/params/terminal/reader_process_setup_intent_params.rb +2 -2
  856. data/lib/stripe/params/terminal/reader_refund_payment_params.rb +2 -2
  857. data/lib/stripe/params/terminal/reader_retrieve_params.rb +1 -1
  858. data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +3 -3
  859. data/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb +1 -1
  860. data/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb +1 -1
  861. data/lib/stripe/params/terminal/reader_update_params.rb +1 -1
  862. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +158 -61
  863. data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +1 -1
  864. data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +13 -13
  865. data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +17 -17
  866. data/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb +1 -1
  867. data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +8 -8
  868. data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +1 -1
  869. data/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb +1 -1
  870. data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +1 -1
  871. data/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb +1 -1
  872. data/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb +1 -1
  873. data/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb +1 -1
  874. data/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb +1 -1
  875. data/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb +1 -1
  876. data/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb +1 -1
  877. data/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb +1 -1
  878. data/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb +2 -2
  879. data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +14 -14
  880. data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +14 -14
  881. data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +1 -1
  882. data/lib/stripe/params/test_helpers/refund_expire_params.rb +1 -1
  883. data/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +4 -4
  884. data/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb +1 -1
  885. data/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb +1 -1
  886. data/lib/stripe/params/test_helpers/test_clock_advance_params.rb +1 -1
  887. data/lib/stripe/params/test_helpers/test_clock_create_params.rb +1 -1
  888. data/lib/stripe/params/test_helpers/test_clock_delete_params.rb +1 -1
  889. data/lib/stripe/params/test_helpers/test_clock_list_params.rb +1 -1
  890. data/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb +1 -1
  891. data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +2 -2
  892. data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +1 -1
  893. data/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb +1 -1
  894. data/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb +1 -1
  895. data/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb +1 -1
  896. data/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb +2 -2
  897. data/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb +4 -4
  898. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb +1 -1
  899. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb +1 -1
  900. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb +2 -2
  901. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb +4 -4
  902. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +28 -4
  903. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +28 -4
  904. data/lib/stripe/params/token_create_params.rb +45 -45
  905. data/lib/stripe/params/token_retrieve_params.rb +1 -1
  906. data/lib/stripe/params/topup_cancel_params.rb +1 -1
  907. data/lib/stripe/params/topup_create_params.rb +1 -1
  908. data/lib/stripe/params/topup_list_params.rb +3 -3
  909. data/lib/stripe/params/topup_retrieve_params.rb +1 -1
  910. data/lib/stripe/params/topup_update_params.rb +1 -1
  911. data/lib/stripe/params/transfer_create_params.rb +5 -1
  912. data/lib/stripe/params/transfer_list_params.rb +2 -2
  913. data/lib/stripe/params/transfer_retrieve_params.rb +1 -1
  914. data/lib/stripe/params/transfer_reversal_create_params.rb +1 -1
  915. data/lib/stripe/params/transfer_reversal_list_params.rb +1 -1
  916. data/lib/stripe/params/transfer_reversal_retrieve_params.rb +1 -1
  917. data/lib/stripe/params/transfer_reversal_update_params.rb +1 -1
  918. data/lib/stripe/params/transfer_update_params.rb +1 -1
  919. data/lib/stripe/params/treasury/credit_reversal_create_params.rb +1 -1
  920. data/lib/stripe/params/treasury/credit_reversal_list_params.rb +1 -1
  921. data/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb +1 -1
  922. data/lib/stripe/params/treasury/debit_reversal_create_params.rb +1 -1
  923. data/lib/stripe/params/treasury/debit_reversal_list_params.rb +1 -1
  924. data/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb +1 -1
  925. data/lib/stripe/params/treasury/financial_account_close_params.rb +2 -2
  926. data/lib/stripe/params/treasury/financial_account_create_params.rb +24 -17
  927. data/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb +1 -1
  928. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +18 -15
  929. data/lib/stripe/params/treasury/financial_account_list_params.rb +2 -2
  930. data/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb +1 -1
  931. data/lib/stripe/params/treasury/financial_account_retrieve_params.rb +1 -1
  932. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +18 -15
  933. data/lib/stripe/params/treasury/financial_account_update_params.rb +25 -18
  934. data/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb +1 -1
  935. data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +1 -1
  936. data/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +2 -2
  937. data/lib/stripe/params/treasury/inbound_transfer_list_params.rb +1 -1
  938. data/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb +1 -1
  939. data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +1 -1
  940. data/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb +1 -1
  941. data/lib/stripe/params/treasury/outbound_payment_cancel_params.rb +1 -1
  942. data/lib/stripe/params/treasury/outbound_payment_create_params.rb +8 -8
  943. data/lib/stripe/params/treasury/outbound_payment_fail_params.rb +1 -1
  944. data/lib/stripe/params/treasury/outbound_payment_list_params.rb +2 -2
  945. data/lib/stripe/params/treasury/outbound_payment_post_params.rb +1 -1
  946. data/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb +1 -1
  947. data/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb +2 -2
  948. data/lib/stripe/params/treasury/outbound_payment_update_params.rb +4 -4
  949. data/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb +1 -1
  950. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +28 -4
  951. data/lib/stripe/params/treasury/outbound_transfer_fail_params.rb +1 -1
  952. data/lib/stripe/params/treasury/outbound_transfer_list_params.rb +1 -1
  953. data/lib/stripe/params/treasury/outbound_transfer_post_params.rb +1 -1
  954. data/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb +1 -1
  955. data/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb +2 -2
  956. data/lib/stripe/params/treasury/outbound_transfer_update_params.rb +4 -4
  957. data/lib/stripe/params/treasury/received_credit_create_params.rb +28 -4
  958. data/lib/stripe/params/treasury/received_credit_list_params.rb +2 -2
  959. data/lib/stripe/params/treasury/received_credit_retrieve_params.rb +1 -1
  960. data/lib/stripe/params/treasury/received_debit_create_params.rb +28 -4
  961. data/lib/stripe/params/treasury/received_debit_list_params.rb +1 -1
  962. data/lib/stripe/params/treasury/received_debit_retrieve_params.rb +1 -1
  963. data/lib/stripe/params/treasury/transaction_entry_list_params.rb +3 -3
  964. data/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb +1 -1
  965. data/lib/stripe/params/treasury/transaction_list_params.rb +4 -4
  966. data/lib/stripe/params/treasury/transaction_retrieve_params.rb +1 -1
  967. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +74 -0
  968. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +21 -0
  969. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +10 -0
  970. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +80 -0
  971. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +19 -0
  972. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +12 -0
  973. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +17 -0
  974. data/lib/stripe/params/v2/billing/cadence_create_params.rb +257 -0
  975. data/lib/stripe/params/v2/billing/cadence_list_params.rb +43 -0
  976. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +17 -0
  977. data/lib/stripe/params/v2/billing/cadence_update_params.rb +78 -0
  978. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +223 -0
  979. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +21 -0
  980. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +10 -0
  981. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +229 -0
  982. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +19 -0
  983. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +12 -0
  984. data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +26 -0
  985. data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +24 -0
  986. data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +10 -0
  987. data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +26 -0
  988. data/lib/stripe/params/v2/billing/intent_cancel_params.rb +10 -0
  989. data/lib/stripe/params/v2/billing/intent_commit_params.rb +17 -0
  990. data/lib/stripe/params/v2/billing/intent_create_params.rb +355 -0
  991. data/lib/stripe/params/v2/billing/intent_list_params.rb +17 -0
  992. data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +10 -0
  993. data/lib/stripe/params/v2/billing/intent_reserve_params.rb +10 -0
  994. data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +10 -0
  995. data/lib/stripe/params/v2/billing/intents/action_list_params.rb +19 -0
  996. data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +12 -0
  997. data/lib/stripe/params/v2/billing/license_fee_create_params.rb +103 -0
  998. data/lib/stripe/params/v2/billing/license_fee_list_params.rb +24 -0
  999. data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +10 -0
  1000. data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +10 -0
  1001. data/lib/stripe/params/v2/billing/license_fee_update_params.rb +84 -0
  1002. data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +19 -0
  1003. data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +12 -0
  1004. data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +48 -0
  1005. data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +21 -0
  1006. data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +10 -0
  1007. data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +48 -0
  1008. data/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb +2 -2
  1009. data/lib/stripe/params/v2/billing/meter_event_create_params.rb +1 -1
  1010. data/lib/stripe/params/v2/billing/meter_event_session_create_params.rb +1 -1
  1011. data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +2 -2
  1012. data/lib/stripe/params/v2/billing/metered_item_create_params.rb +73 -0
  1013. data/lib/stripe/params/v2/billing/metered_item_list_params.rb +21 -0
  1014. data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +10 -0
  1015. data/lib/stripe/params/v2/billing/metered_item_update_params.rb +50 -0
  1016. data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +39 -0
  1017. data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +24 -0
  1018. data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +10 -0
  1019. data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +50 -0
  1020. data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +10 -0
  1021. data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +20 -0
  1022. data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +39 -0
  1023. data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +73 -0
  1024. data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +12 -0
  1025. data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +27 -0
  1026. data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +12 -0
  1027. data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +22 -0
  1028. data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +19 -0
  1029. data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +12 -0
  1030. data/lib/stripe/params/v2/billing/profile_create_params.rb +37 -0
  1031. data/lib/stripe/params/v2/billing/profile_list_params.rb +40 -0
  1032. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +10 -0
  1033. data/lib/stripe/params/v2/billing/profile_update_params.rb +35 -0
  1034. data/lib/stripe/params/v2/billing/rate_card_create_params.rb +49 -0
  1035. data/lib/stripe/params/v2/billing/rate_card_list_params.rb +24 -0
  1036. data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +10 -0
  1037. data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +10 -0
  1038. data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +26 -0
  1039. data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +51 -0
  1040. data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +10 -0
  1041. data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +17 -0
  1042. data/lib/stripe/params/v2/billing/rate_card_update_params.rb +38 -0
  1043. data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +91 -0
  1044. data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +12 -0
  1045. data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +25 -0
  1046. data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +12 -0
  1047. data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +19 -0
  1048. data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +12 -0
  1049. data/lib/stripe/params/v2/billing/service_action_create_params.rb +254 -0
  1050. data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +10 -0
  1051. data/lib/stripe/params/v2/billing/service_action_update_params.rb +40 -0
  1052. data/lib/stripe/params/v2/core/account_close_params.rb +17 -0
  1053. data/lib/stripe/params/v2/core/account_create_params.rb +2658 -0
  1054. data/lib/stripe/params/v2/core/account_link_create_params.rb +101 -0
  1055. data/lib/stripe/params/v2/core/account_list_params.rb +20 -0
  1056. data/lib/stripe/params/v2/core/account_retrieve_params.rb +17 -0
  1057. data/lib/stripe/params/v2/core/account_update_params.rb +2689 -0
  1058. data/lib/stripe/params/v2/core/accounts/person_create_params.rb +493 -0
  1059. data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +12 -0
  1060. data/lib/stripe/params/v2/core/accounts/person_list_params.rb +19 -0
  1061. data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +12 -0
  1062. data/lib/stripe/params/v2/core/accounts/person_update_params.rb +493 -0
  1063. data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +36 -0
  1064. data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +10 -0
  1065. data/lib/stripe/params/v2/core/event_destination_create_params.rb +3 -3
  1066. data/lib/stripe/params/v2/core/event_destination_delete_params.rb +1 -1
  1067. data/lib/stripe/params/v2/core/event_destination_disable_params.rb +1 -1
  1068. data/lib/stripe/params/v2/core/event_destination_enable_params.rb +1 -1
  1069. data/lib/stripe/params/v2/core/event_destination_list_params.rb +1 -1
  1070. data/lib/stripe/params/v2/core/event_destination_ping_params.rb +1 -1
  1071. data/lib/stripe/params/v2/core/event_destination_retrieve_params.rb +1 -1
  1072. data/lib/stripe/params/v2/core/event_destination_update_params.rb +2 -2
  1073. data/lib/stripe/params/v2/core/event_list_params.rb +1 -1
  1074. data/lib/stripe/params/v2/core/event_retrieve_params.rb +1 -1
  1075. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +12 -0
  1076. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +12 -0
  1077. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +50 -0
  1078. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +22 -0
  1079. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +12 -0
  1080. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +12 -0
  1081. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +33 -0
  1082. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +12 -0
  1083. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +22 -0
  1084. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +48 -0
  1085. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +10 -0
  1086. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +28 -0
  1087. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +34 -0
  1088. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +20 -0
  1089. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +10 -0
  1090. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +31 -0
  1091. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +23 -0
  1092. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +17 -0
  1093. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +50 -0
  1094. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +44 -0
  1095. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +10 -0
  1096. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +10 -0
  1097. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +102 -0
  1098. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +52 -0
  1099. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +67 -0
  1100. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
  1101. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +10 -0
  1102. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +10 -0
  1103. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +103 -0
  1104. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +17 -0
  1105. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +10 -0
  1106. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +80 -0
  1107. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +10 -0
  1108. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +81 -0
  1109. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +48 -0
  1110. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +10 -0
  1111. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +10 -0
  1112. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +31 -0
  1113. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +10 -0
  1114. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +10 -0
  1115. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +17 -0
  1116. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +44 -0
  1117. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +10 -0
  1118. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +17 -0
  1119. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +10 -0
  1120. data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +10 -0
  1121. data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +20 -0
  1122. data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +10 -0
  1123. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +43 -0
  1124. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +10 -0
  1125. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +47 -0
  1126. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +10 -0
  1127. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +10 -0
  1128. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +61 -0
  1129. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +237 -0
  1130. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +17 -0
  1131. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +10 -0
  1132. data/lib/stripe/params/v2/tax/automatic_rule_create_params.rb +20 -0
  1133. data/lib/stripe/params/v2/tax/automatic_rule_deactivate_params.rb +10 -0
  1134. data/lib/stripe/params/v2/tax/automatic_rule_find_params.rb +17 -0
  1135. data/lib/stripe/params/v2/tax/automatic_rule_retrieve_params.rb +10 -0
  1136. data/lib/stripe/params/v2/tax/automatic_rule_update_params.rb +17 -0
  1137. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +23 -0
  1138. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
  1139. data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +23 -0
  1140. data/lib/stripe/params/webhook_endpoint_create_params.rb +1 -1
  1141. data/lib/stripe/params/webhook_endpoint_delete_params.rb +1 -1
  1142. data/lib/stripe/params/webhook_endpoint_list_params.rb +1 -1
  1143. data/lib/stripe/params/webhook_endpoint_retrieve_params.rb +1 -1
  1144. data/lib/stripe/params/webhook_endpoint_update_params.rb +1 -1
  1145. data/lib/stripe/params.rb +241 -0
  1146. data/lib/stripe/resources/account.rb +207 -42
  1147. data/lib/stripe/resources/account_notice.rb +94 -0
  1148. data/lib/stripe/resources/account_session.rb +120 -39
  1149. data/lib/stripe/resources/application_fee.rb +1 -1
  1150. data/lib/stripe/resources/apps/secret.rb +1 -1
  1151. data/lib/stripe/resources/balance.rb +18 -18
  1152. data/lib/stripe/resources/balance_settings.rb +4 -4
  1153. data/lib/stripe/resources/balance_transaction.rb +1 -1
  1154. data/lib/stripe/resources/bank_account.rb +4 -4
  1155. data/lib/stripe/resources/billing/alert.rb +107 -3
  1156. data/lib/stripe/resources/billing/alert_triggered.rb +6 -0
  1157. data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
  1158. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +38 -0
  1159. data/lib/stripe/resources/billing/credit_balance_summary.rb +91 -7
  1160. data/lib/stripe/resources/billing/credit_balance_transaction.rb +92 -10
  1161. data/lib/stripe/resources/billing/credit_grant.rb +65 -7
  1162. data/lib/stripe/resources/billing/meter.rb +4 -4
  1163. data/lib/stripe/resources/billing/meter_event_adjustment.rb +1 -1
  1164. data/lib/stripe/resources/billing_portal/configuration.rb +13 -13
  1165. data/lib/stripe/resources/billing_portal/session.rb +13 -11
  1166. data/lib/stripe/resources/capability.rb +6 -6
  1167. data/lib/stripe/resources/capital/financing_offer.rb +142 -0
  1168. data/lib/stripe/resources/capital/financing_summary.rb +79 -0
  1169. data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
  1170. data/lib/stripe/resources/card.rb +21 -2
  1171. data/lib/stripe/resources/cash_balance.rb +3 -1
  1172. data/lib/stripe/resources/charge.rb +354 -105
  1173. data/lib/stripe/resources/checkout/session.rb +352 -110
  1174. data/lib/stripe/resources/climate/order.rb +3 -3
  1175. data/lib/stripe/resources/climate/product.rb +1 -1
  1176. data/lib/stripe/resources/climate/supplier.rb +1 -1
  1177. data/lib/stripe/resources/confirmation_token.rb +266 -93
  1178. data/lib/stripe/resources/country_spec.rb +3 -3
  1179. data/lib/stripe/resources/coupon.rb +28 -3
  1180. data/lib/stripe/resources/credit_note.rb +28 -8
  1181. data/lib/stripe/resources/credit_note_line_item.rb +22 -4
  1182. data/lib/stripe/resources/customer.rb +10 -8
  1183. data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
  1184. data/lib/stripe/resources/customer_cash_balance_transaction.rb +13 -11
  1185. data/lib/stripe/resources/customer_session.rb +7 -5
  1186. data/lib/stripe/resources/discount.rb +3 -1
  1187. data/lib/stripe/resources/dispute.rb +39 -17
  1188. data/lib/stripe/resources/event.rb +66 -3
  1189. data/lib/stripe/resources/financial_connections/account.rb +34 -7
  1190. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
  1191. data/lib/stripe/resources/financial_connections/institution.rb +127 -0
  1192. data/lib/stripe/resources/financial_connections/session.rb +69 -3
  1193. data/lib/stripe/resources/financial_connections/transaction.rb +1 -1
  1194. data/lib/stripe/resources/forwarding/request.rb +5 -5
  1195. data/lib/stripe/resources/funding_instructions.rb +20 -20
  1196. data/lib/stripe/resources/fx_quote.rb +147 -0
  1197. data/lib/stripe/resources/identity/verification_report.rb +18 -18
  1198. data/lib/stripe/resources/identity/verification_session.rb +15 -13
  1199. data/lib/stripe/resources/invoice.rb +194 -43
  1200. data/lib/stripe/resources/invoice_item.rb +101 -9
  1201. data/lib/stripe/resources/invoice_line_item.rb +145 -15
  1202. data/lib/stripe/resources/invoice_payment.rb +4 -2
  1203. data/lib/stripe/resources/issuing/authorization.rb +19 -19
  1204. data/lib/stripe/resources/issuing/card.rb +10 -10
  1205. data/lib/stripe/resources/issuing/cardholder.rb +12 -12
  1206. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
  1207. data/lib/stripe/resources/issuing/dispute.rb +10 -10
  1208. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +71 -0
  1209. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +51 -0
  1210. data/lib/stripe/resources/issuing/personalization_design.rb +3 -3
  1211. data/lib/stripe/resources/issuing/physical_bundle.rb +1 -1
  1212. data/lib/stripe/resources/issuing/settlement.rb +61 -0
  1213. data/lib/stripe/resources/issuing/token.rb +6 -6
  1214. data/lib/stripe/resources/issuing/transaction.rb +18 -16
  1215. data/lib/stripe/resources/line_item.rb +70 -3
  1216. data/lib/stripe/resources/mandate.rb +93 -22
  1217. data/lib/stripe/resources/margin.rb +64 -0
  1218. data/lib/stripe/resources/order.rb +987 -0
  1219. data/lib/stripe/resources/payment_attempt_record.rb +2102 -0
  1220. data/lib/stripe/resources/payment_intent.rb +996 -124
  1221. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +128 -0
  1222. data/lib/stripe/resources/payment_link.rb +38 -38
  1223. data/lib/stripe/resources/payment_method.rb +279 -84
  1224. data/lib/stripe/resources/payment_method_balance.rb +68 -0
  1225. data/lib/stripe/resources/payment_method_configuration.rb +306 -102
  1226. data/lib/stripe/resources/payment_method_domain.rb +12 -12
  1227. data/lib/stripe/resources/payment_record.rb +2208 -0
  1228. data/lib/stripe/resources/payout.rb +1 -1
  1229. data/lib/stripe/resources/person.rb +20 -20
  1230. data/lib/stripe/resources/plan.rb +2 -2
  1231. data/lib/stripe/resources/price.rb +27 -7
  1232. data/lib/stripe/resources/privacy/redaction_job.rb +187 -0
  1233. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
  1234. data/lib/stripe/resources/product.rb +2 -2
  1235. data/lib/stripe/resources/promotion_code.rb +5 -3
  1236. data/lib/stripe/resources/quote.rb +596 -27
  1237. data/lib/stripe/resources/quote_line.rb +521 -0
  1238. data/lib/stripe/resources/quote_preview_invoice.rb +1150 -0
  1239. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +732 -0
  1240. data/lib/stripe/resources/refund.rb +55 -37
  1241. data/lib/stripe/resources/reporting/report_run.rb +1 -1
  1242. data/lib/stripe/resources/review.rb +2 -2
  1243. data/lib/stripe/resources/setup_attempt.rb +92 -29
  1244. data/lib/stripe/resources/setup_intent.rb +198 -27
  1245. data/lib/stripe/resources/shipping_rate.rb +5 -5
  1246. data/lib/stripe/resources/sigma/scheduled_query_run.rb +1 -1
  1247. data/lib/stripe/resources/source.rb +67 -29
  1248. data/lib/stripe/resources/source_mandate_notification.rb +3 -3
  1249. data/lib/stripe/resources/source_transaction.rb +5 -5
  1250. data/lib/stripe/resources/subscription.rb +262 -30
  1251. data/lib/stripe/resources/subscription_item.rb +21 -2
  1252. data/lib/stripe/resources/subscription_schedule.rb +224 -29
  1253. data/lib/stripe/resources/tax/association.rb +86 -0
  1254. data/lib/stripe/resources/tax/calculation.rb +12 -12
  1255. data/lib/stripe/resources/tax/calculation_line_item.rb +3 -3
  1256. data/lib/stripe/resources/tax/form.rb +264 -0
  1257. data/lib/stripe/resources/tax/registration.rb +140 -140
  1258. data/lib/stripe/resources/tax/settings.rb +6 -6
  1259. data/lib/stripe/resources/tax/transaction.rb +10 -10
  1260. data/lib/stripe/resources/tax/transaction_line_item.rb +1 -1
  1261. data/lib/stripe/resources/tax_id.rb +6 -2
  1262. data/lib/stripe/resources/tax_rate.rb +1 -1
  1263. data/lib/stripe/resources/terminal/configuration.rb +48 -32
  1264. data/lib/stripe/resources/terminal/location.rb +3 -3
  1265. data/lib/stripe/resources/terminal/onboarding_link.rb +71 -0
  1266. data/lib/stripe/resources/terminal/reader.rb +35 -27
  1267. data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
  1268. data/lib/stripe/resources/test_helpers/test_clock.rb +2 -2
  1269. data/lib/stripe/resources/transfer.rb +2 -0
  1270. data/lib/stripe/resources/treasury/credit_reversal.rb +1 -1
  1271. data/lib/stripe/resources/treasury/debit_reversal.rb +2 -2
  1272. data/lib/stripe/resources/treasury/financial_account.rb +8 -6
  1273. data/lib/stripe/resources/treasury/financial_account_features.rb +24 -22
  1274. data/lib/stripe/resources/treasury/inbound_transfer.rb +7 -7
  1275. data/lib/stripe/resources/treasury/outbound_payment.rb +11 -11
  1276. data/lib/stripe/resources/treasury/outbound_transfer.rb +40 -10
  1277. data/lib/stripe/resources/treasury/received_credit.rb +38 -8
  1278. data/lib/stripe/resources/treasury/received_debit.rb +39 -7
  1279. data/lib/stripe/resources/treasury/transaction.rb +3 -3
  1280. data/lib/stripe/resources/treasury/transaction_entry.rb +2 -2
  1281. data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
  1282. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +90 -0
  1283. data/lib/stripe/resources/v2/billing/cadence.rb +655 -0
  1284. data/lib/stripe/resources/v2/billing/collection_setting.rb +274 -0
  1285. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +262 -0
  1286. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
  1287. data/lib/stripe/resources/v2/billing/intent.rb +86 -0
  1288. data/lib/stripe/resources/v2/billing/intent_action.rb +395 -0
  1289. data/lib/stripe/resources/v2/billing/license_fee.rb +104 -0
  1290. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +44 -0
  1291. data/lib/stripe/resources/v2/billing/license_fee_version.rb +80 -0
  1292. data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
  1293. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +1 -1
  1294. data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
  1295. data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
  1296. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +94 -0
  1297. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +94 -0
  1298. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +38 -0
  1299. data/lib/stripe/resources/v2/billing/profile.rb +46 -0
  1300. data/lib/stripe/resources/v2/billing/rate_card.rb +61 -0
  1301. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +110 -0
  1302. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +94 -0
  1303. data/lib/stripe/resources/v2/billing/rate_card_version.rb +34 -0
  1304. data/lib/stripe/resources/v2/billing/service_action.rb +244 -0
  1305. data/lib/stripe/resources/v2/core/account.rb +4554 -0
  1306. data/lib/stripe/resources/v2/core/account_link.rb +123 -0
  1307. data/lib/stripe/resources/v2/core/account_person.rb +477 -0
  1308. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +105 -0
  1309. data/lib/stripe/resources/v2/core/event.rb +6 -2
  1310. data/lib/stripe/resources/v2/core/event_destination.rb +4 -4
  1311. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +114 -0
  1312. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +47 -0
  1313. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +28 -0
  1314. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +30 -0
  1315. data/lib/stripe/resources/v2/money_management/adjustment.rb +67 -0
  1316. data/lib/stripe/resources/v2/money_management/financial_account.rb +140 -0
  1317. data/lib/stripe/resources/v2/money_management/financial_address.rb +132 -0
  1318. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +148 -0
  1319. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +219 -0
  1320. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +144 -0
  1321. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
  1322. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +198 -0
  1323. data/lib/stripe/resources/v2/money_management/payout_method.rb +137 -0
  1324. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +81 -0
  1325. data/lib/stripe/resources/v2/money_management/received_credit.rb +228 -0
  1326. data/lib/stripe/resources/v2/money_management/received_debit.rb +138 -0
  1327. data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
  1328. data/lib/stripe/resources/v2/money_management/transaction.rb +116 -0
  1329. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +105 -0
  1330. data/lib/stripe/resources/v2/payments/off_session_payment.rb +242 -0
  1331. data/lib/stripe/resources/v2/tax/automatic_rule.rb +39 -0
  1332. data/lib/stripe/resources.rb +386 -0
  1333. data/lib/stripe/services/account_notice_service.rb +39 -0
  1334. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +21 -0
  1335. data/lib/stripe/services/billing/analytics_service.rb +15 -0
  1336. data/lib/stripe/services/billing_service.rb +2 -1
  1337. data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
  1338. data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
  1339. data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
  1340. data/lib/stripe/services/capital_service.rb +15 -0
  1341. data/lib/stripe/services/external_account_service.rb +68 -0
  1342. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
  1343. data/lib/stripe/services/financial_connections/account_service.rb +3 -1
  1344. data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
  1345. data/lib/stripe/services/financial_connections_service.rb +2 -1
  1346. data/lib/stripe/services/fx_quote_service.rb +27 -0
  1347. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +74 -0
  1348. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
  1349. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
  1350. data/lib/stripe/services/issuing_service.rb +5 -1
  1351. data/lib/stripe/services/mandate_service.rb +5 -0
  1352. data/lib/stripe/services/margin_service.rb +50 -0
  1353. data/lib/stripe/services/order_line_item_service.rb +17 -0
  1354. data/lib/stripe/services/order_service.rb +78 -0
  1355. data/lib/stripe/services/payment_attempt_record_service.rb +28 -0
  1356. data/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +17 -0
  1357. data/lib/stripe/services/payment_intent_service.rb +44 -0
  1358. data/lib/stripe/services/payment_method_service.rb +11 -0
  1359. data/lib/stripe/services/payment_record_service.rb +89 -0
  1360. data/lib/stripe/services/privacy/redaction_job_service.rb +104 -0
  1361. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +19 -0
  1362. data/lib/stripe/services/privacy_service.rb +13 -0
  1363. data/lib/stripe/services/quote_line_service.rb +17 -0
  1364. data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
  1365. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
  1366. data/lib/stripe/services/quote_service.rb +49 -1
  1367. data/lib/stripe/services/subscription_schedule_service.rb +11 -0
  1368. data/lib/stripe/services/subscription_service.rb +11 -0
  1369. data/lib/stripe/services/tax/association_service.rb +19 -0
  1370. data/lib/stripe/services/tax/form_service.rb +37 -0
  1371. data/lib/stripe/services/tax_service.rb +3 -1
  1372. data/lib/stripe/services/terminal/onboarding_link_service.rb +19 -0
  1373. data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
  1374. data/lib/stripe/services/terminal_service.rb +3 -1
  1375. data/lib/stripe/services/v1_services.rb +10 -1
  1376. data/lib/stripe/services/v2/billing/bill_setting_service.rb +61 -0
  1377. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +34 -0
  1378. data/lib/stripe/services/v2/billing/cadence_service.rb +65 -0
  1379. data/lib/stripe/services/v2/billing/collection_setting_service.rb +61 -0
  1380. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
  1381. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +54 -0
  1382. data/lib/stripe/services/v2/billing/intent_service.rb +94 -0
  1383. data/lib/stripe/services/v2/billing/intents/action_service.rb +34 -0
  1384. data/lib/stripe/services/v2/billing/license_fee_service.rb +61 -0
  1385. data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +21 -0
  1386. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +34 -0
  1387. data/lib/stripe/services/v2/billing/licensed_item_service.rb +54 -0
  1388. data/lib/stripe/services/v2/billing/metered_item_service.rb +54 -0
  1389. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +62 -0
  1390. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +43 -0
  1391. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +67 -0
  1392. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +34 -0
  1393. data/lib/stripe/services/v2/billing/profile_service.rb +54 -0
  1394. data/lib/stripe/services/v2/billing/rate_card_service.rb +62 -0
  1395. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +65 -0
  1396. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +57 -0
  1397. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +34 -0
  1398. data/lib/stripe/services/v2/billing/service_action_service.rb +43 -0
  1399. data/lib/stripe/services/v2/billing_service.rb +18 -1
  1400. data/lib/stripe/services/v2/core/account_link_service.rb +21 -0
  1401. data/lib/stripe/services/v2/core/account_service.rb +76 -0
  1402. data/lib/stripe/services/v2/core/accounts/person_service.rb +67 -0
  1403. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +35 -0
  1404. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +74 -0
  1405. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +68 -0
  1406. data/lib/stripe/services/v2/core/vault_service.rb +18 -0
  1407. data/lib/stripe/services/v2/core_service.rb +5 -1
  1408. data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
  1409. data/lib/stripe/services/v2/money_management/financial_account_service.rb +59 -0
  1410. data/lib/stripe/services/v2/money_management/financial_address_service.rb +46 -0
  1411. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +45 -0
  1412. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +34 -0
  1413. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +62 -0
  1414. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +73 -0
  1415. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +60 -0
  1416. data/lib/stripe/services/v2/money_management/payout_method_service.rb +63 -0
  1417. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +23 -0
  1418. data/lib/stripe/services/v2/money_management/received_credit_service.rb +32 -0
  1419. data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
  1420. data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +43 -0
  1421. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +32 -0
  1422. data/lib/stripe/services/v2/money_management/transaction_service.rb +32 -0
  1423. data/lib/stripe/services/v2/money_management_service.rb +33 -0
  1424. data/lib/stripe/services/v2/payment_service.rb +15 -0
  1425. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +65 -0
  1426. data/lib/stripe/services/v2/tax/automatic_rule_service.rb +65 -0
  1427. data/lib/stripe/services/v2/tax_service.rb +15 -0
  1428. data/lib/stripe/services/v2/test_helper_service.rb +16 -0
  1429. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
  1430. data/lib/stripe/services/v2/test_helpers/money_management_service.rb +21 -0
  1431. data/lib/stripe/services/v2_services.rb +5 -1
  1432. data/lib/stripe/services.rb +83 -0
  1433. data/lib/stripe/stripe_configuration.rb +3 -1
  1434. data/lib/stripe/stripe_object.rb +1 -1
  1435. data/lib/stripe/util.rb +7 -1
  1436. data/lib/stripe/version.rb +1 -1
  1437. data/lib/stripe.rb +53 -0
  1438. data/rbi/stripe.rbi +171575 -97503
  1439. metadata +713 -3
@@ -0,0 +1,4554 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module V2
6
+ module Core
7
+ # A V2 Account is a representation of a company or individual that a Stripe user does business with. Accounts contain the contact details, Legal Entity information, and configuration required to enable the Account for use across Stripe products.
8
+ class Account < APIResource
9
+ OBJECT_NAME = "v2.core.account"
10
+ def self.object_name
11
+ "v2.core.account"
12
+ end
13
+
14
+ class Configuration < ::Stripe::StripeObject
15
+ class CardCreator < ::Stripe::StripeObject
16
+ class Capabilities < ::Stripe::StripeObject
17
+ class Commercial < ::Stripe::StripeObject
18
+ class Celtic < ::Stripe::StripeObject
19
+ class ChargeCard < ::Stripe::StripeObject
20
+ class StatusDetail < ::Stripe::StripeObject
21
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
22
+ attr_reader :code
23
+ # Machine-readable code explaining how to make the Capability active.
24
+ attr_reader :resolution
25
+
26
+ def self.inner_class_types
27
+ @inner_class_types = {}
28
+ end
29
+
30
+ def self.field_remappings
31
+ @field_remappings = {}
32
+ end
33
+ end
34
+ # Whether the Capability has been requested.
35
+ attr_reader :requested
36
+ # The status of the Capability.
37
+ attr_reader :status
38
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
39
+ attr_reader :status_details
40
+
41
+ def self.inner_class_types
42
+ @inner_class_types = { status_details: StatusDetail }
43
+ end
44
+
45
+ def self.field_remappings
46
+ @field_remappings = {}
47
+ end
48
+ end
49
+
50
+ class SpendCard < ::Stripe::StripeObject
51
+ class StatusDetail < ::Stripe::StripeObject
52
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
53
+ attr_reader :code
54
+ # Machine-readable code explaining how to make the Capability active.
55
+ attr_reader :resolution
56
+
57
+ def self.inner_class_types
58
+ @inner_class_types = {}
59
+ end
60
+
61
+ def self.field_remappings
62
+ @field_remappings = {}
63
+ end
64
+ end
65
+ # Whether the Capability has been requested.
66
+ attr_reader :requested
67
+ # The status of the Capability.
68
+ attr_reader :status
69
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
70
+ attr_reader :status_details
71
+
72
+ def self.inner_class_types
73
+ @inner_class_types = { status_details: StatusDetail }
74
+ end
75
+
76
+ def self.field_remappings
77
+ @field_remappings = {}
78
+ end
79
+ end
80
+ # Can create commercial issuing charge cards with Celtic as BIN sponsor.
81
+ attr_reader :charge_card
82
+ # Can create commercial issuing spend cards with Celtic as BIN sponsor.
83
+ attr_reader :spend_card
84
+
85
+ def self.inner_class_types
86
+ @inner_class_types = { charge_card: ChargeCard, spend_card: SpendCard }
87
+ end
88
+
89
+ def self.field_remappings
90
+ @field_remappings = {}
91
+ end
92
+ end
93
+
94
+ class CrossRiverBank < ::Stripe::StripeObject
95
+ class ChargeCard < ::Stripe::StripeObject
96
+ class StatusDetail < ::Stripe::StripeObject
97
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
98
+ attr_reader :code
99
+ # Machine-readable code explaining how to make the Capability active.
100
+ attr_reader :resolution
101
+
102
+ def self.inner_class_types
103
+ @inner_class_types = {}
104
+ end
105
+
106
+ def self.field_remappings
107
+ @field_remappings = {}
108
+ end
109
+ end
110
+ # Whether the Capability has been requested.
111
+ attr_reader :requested
112
+ # The status of the Capability.
113
+ attr_reader :status
114
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
115
+ attr_reader :status_details
116
+
117
+ def self.inner_class_types
118
+ @inner_class_types = { status_details: StatusDetail }
119
+ end
120
+
121
+ def self.field_remappings
122
+ @field_remappings = {}
123
+ end
124
+ end
125
+
126
+ class SpendCard < ::Stripe::StripeObject
127
+ class StatusDetail < ::Stripe::StripeObject
128
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
129
+ attr_reader :code
130
+ # Machine-readable code explaining how to make the Capability active.
131
+ attr_reader :resolution
132
+
133
+ def self.inner_class_types
134
+ @inner_class_types = {}
135
+ end
136
+
137
+ def self.field_remappings
138
+ @field_remappings = {}
139
+ end
140
+ end
141
+ # Whether the Capability has been requested.
142
+ attr_reader :requested
143
+ # The status of the Capability.
144
+ attr_reader :status
145
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
146
+ attr_reader :status_details
147
+
148
+ def self.inner_class_types
149
+ @inner_class_types = { status_details: StatusDetail }
150
+ end
151
+
152
+ def self.field_remappings
153
+ @field_remappings = {}
154
+ end
155
+ end
156
+ # Can create commercial issuing charge cards with Cross River Bank as BIN sponsor.
157
+ attr_reader :charge_card
158
+ # Can create commercial issuing spend cards with Cross River Bank as BIN sponsor.
159
+ attr_reader :spend_card
160
+
161
+ def self.inner_class_types
162
+ @inner_class_types = { charge_card: ChargeCard, spend_card: SpendCard }
163
+ end
164
+
165
+ def self.field_remappings
166
+ @field_remappings = {}
167
+ end
168
+ end
169
+
170
+ class Stripe < ::Stripe::StripeObject
171
+ class ChargeCard < ::Stripe::StripeObject
172
+ class StatusDetail < ::Stripe::StripeObject
173
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
174
+ attr_reader :code
175
+ # Machine-readable code explaining how to make the Capability active.
176
+ attr_reader :resolution
177
+
178
+ def self.inner_class_types
179
+ @inner_class_types = {}
180
+ end
181
+
182
+ def self.field_remappings
183
+ @field_remappings = {}
184
+ end
185
+ end
186
+ # Whether the Capability has been requested.
187
+ attr_reader :requested
188
+ # The status of the Capability.
189
+ attr_reader :status
190
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
191
+ attr_reader :status_details
192
+
193
+ def self.inner_class_types
194
+ @inner_class_types = { status_details: StatusDetail }
195
+ end
196
+
197
+ def self.field_remappings
198
+ @field_remappings = {}
199
+ end
200
+ end
201
+
202
+ class PrepaidCard < ::Stripe::StripeObject
203
+ class StatusDetail < ::Stripe::StripeObject
204
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
205
+ attr_reader :code
206
+ # Machine-readable code explaining how to make the Capability active.
207
+ attr_reader :resolution
208
+
209
+ def self.inner_class_types
210
+ @inner_class_types = {}
211
+ end
212
+
213
+ def self.field_remappings
214
+ @field_remappings = {}
215
+ end
216
+ end
217
+ # Whether the Capability has been requested.
218
+ attr_reader :requested
219
+ # The status of the Capability.
220
+ attr_reader :status
221
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
222
+ attr_reader :status_details
223
+
224
+ def self.inner_class_types
225
+ @inner_class_types = { status_details: StatusDetail }
226
+ end
227
+
228
+ def self.field_remappings
229
+ @field_remappings = {}
230
+ end
231
+ end
232
+ # Can create commercial issuing charge cards with Stripe as BIN sponsor.
233
+ attr_reader :charge_card
234
+ # Can create commercial issuing prepaid cards with Stripe as BIN sponsor.
235
+ attr_reader :prepaid_card
236
+
237
+ def self.inner_class_types
238
+ @inner_class_types = { charge_card: ChargeCard, prepaid_card: PrepaidCard }
239
+ end
240
+
241
+ def self.field_remappings
242
+ @field_remappings = {}
243
+ end
244
+ end
245
+ # Can create commercial issuing cards with Celtic as BIN sponsor.
246
+ attr_reader :celtic
247
+ # Can create commercial issuing cards with Cross River Bank as BIN sponsor.
248
+ attr_reader :cross_river_bank
249
+ # Can create commercial issuing cards with Stripe as a BIN sponsor.
250
+ attr_reader :stripe
251
+
252
+ def self.inner_class_types
253
+ @inner_class_types = {
254
+ celtic: Celtic,
255
+ cross_river_bank: CrossRiverBank,
256
+ stripe: Stripe,
257
+ }
258
+ end
259
+
260
+ def self.field_remappings
261
+ @field_remappings = {}
262
+ end
263
+ end
264
+ # Can create cards for commercial issuing use cases.
265
+ attr_reader :commercial
266
+
267
+ def self.inner_class_types
268
+ @inner_class_types = { commercial: Commercial }
269
+ end
270
+
271
+ def self.field_remappings
272
+ @field_remappings = {}
273
+ end
274
+ end
275
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
276
+ attr_reader :applied
277
+ # Capabilities that have been requested on the CardCreator Configuration.
278
+ attr_reader :capabilities
279
+
280
+ def self.inner_class_types
281
+ @inner_class_types = { capabilities: Capabilities }
282
+ end
283
+
284
+ def self.field_remappings
285
+ @field_remappings = {}
286
+ end
287
+ end
288
+
289
+ class Customer < ::Stripe::StripeObject
290
+ class AutomaticIndirectTax < ::Stripe::StripeObject
291
+ class Location < ::Stripe::StripeObject
292
+ # The identified tax country of the customer.
293
+ attr_reader :country
294
+ # The identified tax state, county, province, or region of the customer.
295
+ attr_reader :state
296
+
297
+ def self.inner_class_types
298
+ @inner_class_types = {}
299
+ end
300
+
301
+ def self.field_remappings
302
+ @field_remappings = {}
303
+ end
304
+ end
305
+ # Describes the customer's tax exemption status, which is `none`, `exempt`, or `reverse`. When set to reverse, invoice and receipt PDFs include the following text: “Reverse charge”.
306
+ attr_reader :exempt
307
+ # A recent IP address of the customer used for tax reporting and tax location inference.
308
+ attr_reader :ip_address
309
+ # The customer’s identified tax location - uses `location_source`. Will only be rendered if the `automatic_indirect_tax` feature is requested and `active`.
310
+ attr_reader :location
311
+ # The data source used to identify the customer's tax location - defaults to 'identity_address'. Will only be used for automatic tax calculation on the customer's Invoices and Subscriptions.
312
+ attr_reader :location_source
313
+
314
+ def self.inner_class_types
315
+ @inner_class_types = { location: Location }
316
+ end
317
+
318
+ def self.field_remappings
319
+ @field_remappings = {}
320
+ end
321
+ end
322
+
323
+ class Billing < ::Stripe::StripeObject
324
+ class Invoice < ::Stripe::StripeObject
325
+ class CustomField < ::Stripe::StripeObject
326
+ # The name of the custom field. This may be up to 40 characters.
327
+ attr_reader :name
328
+ # The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values.
329
+ attr_reader :value
330
+
331
+ def self.inner_class_types
332
+ @inner_class_types = {}
333
+ end
334
+
335
+ def self.field_remappings
336
+ @field_remappings = {}
337
+ end
338
+ end
339
+
340
+ class Rendering < ::Stripe::StripeObject
341
+ # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of exclude_tax or include_inclusive_tax. include_inclusive_tax will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. exclude_tax will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.
342
+ attr_reader :amount_tax_display
343
+ # ID of the invoice rendering template to use for future invoices.
344
+ attr_reader :template
345
+
346
+ def self.inner_class_types
347
+ @inner_class_types = {}
348
+ end
349
+
350
+ def self.field_remappings
351
+ @field_remappings = {}
352
+ end
353
+ end
354
+ # The list of up to 4 default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields.
355
+ attr_reader :custom_fields
356
+ # Default footer to be displayed on invoices for this customer.
357
+ attr_reader :footer
358
+ # The sequence to be used on the customer's next invoice. Defaults to 1.
359
+ attr_reader :next_sequence
360
+ # The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers.
361
+ attr_reader :prefix
362
+ # Default options for invoice PDF rendering for this customer.
363
+ attr_reader :rendering
364
+
365
+ def self.inner_class_types
366
+ @inner_class_types = { custom_fields: CustomField, rendering: Rendering }
367
+ end
368
+
369
+ def self.field_remappings
370
+ @field_remappings = {}
371
+ end
372
+ end
373
+ # ID of a payment method that’s attached to the customer, to be used as the customer’s default payment method for invoices and subscriptions.
374
+ attr_reader :default_payment_method
375
+ # Default settings used on invoices for this customer.
376
+ attr_reader :invoice
377
+
378
+ def self.inner_class_types
379
+ @inner_class_types = { invoice: Invoice }
380
+ end
381
+
382
+ def self.field_remappings
383
+ @field_remappings = {}
384
+ end
385
+ end
386
+
387
+ class Capabilities < ::Stripe::StripeObject
388
+ class AutomaticIndirectTax < ::Stripe::StripeObject
389
+ class StatusDetail < ::Stripe::StripeObject
390
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
391
+ attr_reader :code
392
+ # Machine-readable code explaining how to make the Capability active.
393
+ attr_reader :resolution
394
+
395
+ def self.inner_class_types
396
+ @inner_class_types = {}
397
+ end
398
+
399
+ def self.field_remappings
400
+ @field_remappings = {}
401
+ end
402
+ end
403
+ # Whether the Capability has been requested.
404
+ attr_reader :requested
405
+ # The status of the Capability.
406
+ attr_reader :status
407
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
408
+ attr_reader :status_details
409
+
410
+ def self.inner_class_types
411
+ @inner_class_types = { status_details: StatusDetail }
412
+ end
413
+
414
+ def self.field_remappings
415
+ @field_remappings = {}
416
+ end
417
+ end
418
+ # 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. Uses the `location_source` field.
419
+ attr_reader :automatic_indirect_tax
420
+
421
+ def self.inner_class_types
422
+ @inner_class_types = { automatic_indirect_tax: AutomaticIndirectTax }
423
+ end
424
+
425
+ def self.field_remappings
426
+ @field_remappings = {}
427
+ end
428
+ end
429
+
430
+ class Shipping < ::Stripe::StripeObject
431
+ class Address < ::Stripe::StripeObject
432
+ # City, district, suburb, town, or village.
433
+ attr_reader :city
434
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
435
+ attr_reader :country
436
+ # Address line 1 (e.g., street, PO Box, or company name).
437
+ attr_reader :line1
438
+ # Address line 2 (e.g., apartment, suite, unit, or building).
439
+ attr_reader :line2
440
+ # ZIP or postal code.
441
+ attr_reader :postal_code
442
+ # State, county, province, or region.
443
+ attr_reader :state
444
+
445
+ def self.inner_class_types
446
+ @inner_class_types = {}
447
+ end
448
+
449
+ def self.field_remappings
450
+ @field_remappings = {}
451
+ end
452
+ end
453
+ # Customer shipping address.
454
+ attr_reader :address
455
+ # Customer name.
456
+ attr_reader :name
457
+ # Customer phone (including extension).
458
+ attr_reader :phone
459
+
460
+ def self.inner_class_types
461
+ @inner_class_types = { address: Address }
462
+ end
463
+
464
+ def self.field_remappings
465
+ @field_remappings = {}
466
+ end
467
+ end
468
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
469
+ attr_reader :applied
470
+ # 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.
471
+ attr_reader :automatic_indirect_tax
472
+ # Billing settings - default settings used for this customer in Billing flows such as Invoices and Subscriptions.
473
+ attr_reader :billing
474
+ # Capabilities that have been requested on the Customer Configuration.
475
+ attr_reader :capabilities
476
+ # The customer's shipping information. Appears on invoices emailed to this customer.
477
+ attr_reader :shipping
478
+ # 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.
479
+ attr_reader :test_clock
480
+
481
+ def self.inner_class_types
482
+ @inner_class_types = {
483
+ automatic_indirect_tax: AutomaticIndirectTax,
484
+ billing: Billing,
485
+ capabilities: Capabilities,
486
+ shipping: Shipping,
487
+ }
488
+ end
489
+
490
+ def self.field_remappings
491
+ @field_remappings = {}
492
+ end
493
+ end
494
+
495
+ class Merchant < ::Stripe::StripeObject
496
+ class BacsDebitPayments < ::Stripe::StripeObject
497
+ # Display name for Bacs debit payments.
498
+ attr_reader :display_name
499
+ # Service user number for Bacs debit payments.
500
+ attr_reader :service_user_number
501
+
502
+ def self.inner_class_types
503
+ @inner_class_types = {}
504
+ end
505
+
506
+ def self.field_remappings
507
+ @field_remappings = {}
508
+ end
509
+ end
510
+
511
+ class Branding < ::Stripe::StripeObject
512
+ # 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.
513
+ attr_reader :icon
514
+ # 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.
515
+ attr_reader :logo
516
+ # A CSS hex color value representing the primary branding color for the merchant.
517
+ attr_reader :primary_color
518
+ # A CSS hex color value representing the secondary branding color for the merchant.
519
+ attr_reader :secondary_color
520
+
521
+ def self.inner_class_types
522
+ @inner_class_types = {}
523
+ end
524
+
525
+ def self.field_remappings
526
+ @field_remappings = {}
527
+ end
528
+ end
529
+
530
+ class Capabilities < ::Stripe::StripeObject
531
+ class AchDebitPayments < ::Stripe::StripeObject
532
+ class StatusDetail < ::Stripe::StripeObject
533
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
534
+ attr_reader :code
535
+ # Machine-readable code explaining how to make the Capability active.
536
+ attr_reader :resolution
537
+
538
+ def self.inner_class_types
539
+ @inner_class_types = {}
540
+ end
541
+
542
+ def self.field_remappings
543
+ @field_remappings = {}
544
+ end
545
+ end
546
+ # Whether the Capability has been requested.
547
+ attr_reader :requested
548
+ # The status of the Capability.
549
+ attr_reader :status
550
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
551
+ attr_reader :status_details
552
+
553
+ def self.inner_class_types
554
+ @inner_class_types = { status_details: StatusDetail }
555
+ end
556
+
557
+ def self.field_remappings
558
+ @field_remappings = {}
559
+ end
560
+ end
561
+
562
+ class AcssDebitPayments < ::Stripe::StripeObject
563
+ class StatusDetail < ::Stripe::StripeObject
564
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
565
+ attr_reader :code
566
+ # Machine-readable code explaining how to make the Capability active.
567
+ attr_reader :resolution
568
+
569
+ def self.inner_class_types
570
+ @inner_class_types = {}
571
+ end
572
+
573
+ def self.field_remappings
574
+ @field_remappings = {}
575
+ end
576
+ end
577
+ # Whether the Capability has been requested.
578
+ attr_reader :requested
579
+ # The status of the Capability.
580
+ attr_reader :status
581
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
582
+ attr_reader :status_details
583
+
584
+ def self.inner_class_types
585
+ @inner_class_types = { status_details: StatusDetail }
586
+ end
587
+
588
+ def self.field_remappings
589
+ @field_remappings = {}
590
+ end
591
+ end
592
+
593
+ class AffirmPayments < ::Stripe::StripeObject
594
+ class StatusDetail < ::Stripe::StripeObject
595
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
596
+ attr_reader :code
597
+ # Machine-readable code explaining how to make the Capability active.
598
+ attr_reader :resolution
599
+
600
+ def self.inner_class_types
601
+ @inner_class_types = {}
602
+ end
603
+
604
+ def self.field_remappings
605
+ @field_remappings = {}
606
+ end
607
+ end
608
+ # Whether the Capability has been requested.
609
+ attr_reader :requested
610
+ # The status of the Capability.
611
+ attr_reader :status
612
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
613
+ attr_reader :status_details
614
+
615
+ def self.inner_class_types
616
+ @inner_class_types = { status_details: StatusDetail }
617
+ end
618
+
619
+ def self.field_remappings
620
+ @field_remappings = {}
621
+ end
622
+ end
623
+
624
+ class AfterpayClearpayPayments < ::Stripe::StripeObject
625
+ class StatusDetail < ::Stripe::StripeObject
626
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
627
+ attr_reader :code
628
+ # Machine-readable code explaining how to make the Capability active.
629
+ attr_reader :resolution
630
+
631
+ def self.inner_class_types
632
+ @inner_class_types = {}
633
+ end
634
+
635
+ def self.field_remappings
636
+ @field_remappings = {}
637
+ end
638
+ end
639
+ # Whether the Capability has been requested.
640
+ attr_reader :requested
641
+ # The status of the Capability.
642
+ attr_reader :status
643
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
644
+ attr_reader :status_details
645
+
646
+ def self.inner_class_types
647
+ @inner_class_types = { status_details: StatusDetail }
648
+ end
649
+
650
+ def self.field_remappings
651
+ @field_remappings = {}
652
+ end
653
+ end
654
+
655
+ class AlmaPayments < ::Stripe::StripeObject
656
+ class StatusDetail < ::Stripe::StripeObject
657
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
658
+ attr_reader :code
659
+ # Machine-readable code explaining how to make the Capability active.
660
+ attr_reader :resolution
661
+
662
+ def self.inner_class_types
663
+ @inner_class_types = {}
664
+ end
665
+
666
+ def self.field_remappings
667
+ @field_remappings = {}
668
+ end
669
+ end
670
+ # Whether the Capability has been requested.
671
+ attr_reader :requested
672
+ # The status of the Capability.
673
+ attr_reader :status
674
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
675
+ attr_reader :status_details
676
+
677
+ def self.inner_class_types
678
+ @inner_class_types = { status_details: StatusDetail }
679
+ end
680
+
681
+ def self.field_remappings
682
+ @field_remappings = {}
683
+ end
684
+ end
685
+
686
+ class AmazonPayPayments < ::Stripe::StripeObject
687
+ class StatusDetail < ::Stripe::StripeObject
688
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
689
+ attr_reader :code
690
+ # Machine-readable code explaining how to make the Capability active.
691
+ attr_reader :resolution
692
+
693
+ def self.inner_class_types
694
+ @inner_class_types = {}
695
+ end
696
+
697
+ def self.field_remappings
698
+ @field_remappings = {}
699
+ end
700
+ end
701
+ # Whether the Capability has been requested.
702
+ attr_reader :requested
703
+ # The status of the Capability.
704
+ attr_reader :status
705
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
706
+ attr_reader :status_details
707
+
708
+ def self.inner_class_types
709
+ @inner_class_types = { status_details: StatusDetail }
710
+ end
711
+
712
+ def self.field_remappings
713
+ @field_remappings = {}
714
+ end
715
+ end
716
+
717
+ class AuBecsDebitPayments < ::Stripe::StripeObject
718
+ class StatusDetail < ::Stripe::StripeObject
719
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
720
+ attr_reader :code
721
+ # Machine-readable code explaining how to make the Capability active.
722
+ attr_reader :resolution
723
+
724
+ def self.inner_class_types
725
+ @inner_class_types = {}
726
+ end
727
+
728
+ def self.field_remappings
729
+ @field_remappings = {}
730
+ end
731
+ end
732
+ # Whether the Capability has been requested.
733
+ attr_reader :requested
734
+ # The status of the Capability.
735
+ attr_reader :status
736
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
737
+ attr_reader :status_details
738
+
739
+ def self.inner_class_types
740
+ @inner_class_types = { status_details: StatusDetail }
741
+ end
742
+
743
+ def self.field_remappings
744
+ @field_remappings = {}
745
+ end
746
+ end
747
+
748
+ class BacsDebitPayments < ::Stripe::StripeObject
749
+ class StatusDetail < ::Stripe::StripeObject
750
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
751
+ attr_reader :code
752
+ # Machine-readable code explaining how to make the Capability active.
753
+ attr_reader :resolution
754
+
755
+ def self.inner_class_types
756
+ @inner_class_types = {}
757
+ end
758
+
759
+ def self.field_remappings
760
+ @field_remappings = {}
761
+ end
762
+ end
763
+ # Whether the Capability has been requested.
764
+ attr_reader :requested
765
+ # The status of the Capability.
766
+ attr_reader :status
767
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
768
+ attr_reader :status_details
769
+
770
+ def self.inner_class_types
771
+ @inner_class_types = { status_details: StatusDetail }
772
+ end
773
+
774
+ def self.field_remappings
775
+ @field_remappings = {}
776
+ end
777
+ end
778
+
779
+ class BancontactPayments < ::Stripe::StripeObject
780
+ class StatusDetail < ::Stripe::StripeObject
781
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
782
+ attr_reader :code
783
+ # Machine-readable code explaining how to make the Capability active.
784
+ attr_reader :resolution
785
+
786
+ def self.inner_class_types
787
+ @inner_class_types = {}
788
+ end
789
+
790
+ def self.field_remappings
791
+ @field_remappings = {}
792
+ end
793
+ end
794
+ # Whether the Capability has been requested.
795
+ attr_reader :requested
796
+ # The status of the Capability.
797
+ attr_reader :status
798
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
799
+ attr_reader :status_details
800
+
801
+ def self.inner_class_types
802
+ @inner_class_types = { status_details: StatusDetail }
803
+ end
804
+
805
+ def self.field_remappings
806
+ @field_remappings = {}
807
+ end
808
+ end
809
+
810
+ class BlikPayments < ::Stripe::StripeObject
811
+ class StatusDetail < ::Stripe::StripeObject
812
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
813
+ attr_reader :code
814
+ # Machine-readable code explaining how to make the Capability active.
815
+ attr_reader :resolution
816
+
817
+ def self.inner_class_types
818
+ @inner_class_types = {}
819
+ end
820
+
821
+ def self.field_remappings
822
+ @field_remappings = {}
823
+ end
824
+ end
825
+ # Whether the Capability has been requested.
826
+ attr_reader :requested
827
+ # The status of the Capability.
828
+ attr_reader :status
829
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
830
+ attr_reader :status_details
831
+
832
+ def self.inner_class_types
833
+ @inner_class_types = { status_details: StatusDetail }
834
+ end
835
+
836
+ def self.field_remappings
837
+ @field_remappings = {}
838
+ end
839
+ end
840
+
841
+ class BoletoPayments < ::Stripe::StripeObject
842
+ class StatusDetail < ::Stripe::StripeObject
843
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
844
+ attr_reader :code
845
+ # Machine-readable code explaining how to make the Capability active.
846
+ attr_reader :resolution
847
+
848
+ def self.inner_class_types
849
+ @inner_class_types = {}
850
+ end
851
+
852
+ def self.field_remappings
853
+ @field_remappings = {}
854
+ end
855
+ end
856
+ # Whether the Capability has been requested.
857
+ attr_reader :requested
858
+ # The status of the Capability.
859
+ attr_reader :status
860
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
861
+ attr_reader :status_details
862
+
863
+ def self.inner_class_types
864
+ @inner_class_types = { status_details: StatusDetail }
865
+ end
866
+
867
+ def self.field_remappings
868
+ @field_remappings = {}
869
+ end
870
+ end
871
+
872
+ class CardPayments < ::Stripe::StripeObject
873
+ class StatusDetail < ::Stripe::StripeObject
874
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
875
+ attr_reader :code
876
+ # Machine-readable code explaining how to make the Capability active.
877
+ attr_reader :resolution
878
+
879
+ def self.inner_class_types
880
+ @inner_class_types = {}
881
+ end
882
+
883
+ def self.field_remappings
884
+ @field_remappings = {}
885
+ end
886
+ end
887
+ # Whether the Capability has been requested.
888
+ attr_reader :requested
889
+ # The status of the Capability.
890
+ attr_reader :status
891
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
892
+ attr_reader :status_details
893
+
894
+ def self.inner_class_types
895
+ @inner_class_types = { status_details: StatusDetail }
896
+ end
897
+
898
+ def self.field_remappings
899
+ @field_remappings = {}
900
+ end
901
+ end
902
+
903
+ class CartesBancairesPayments < ::Stripe::StripeObject
904
+ class StatusDetail < ::Stripe::StripeObject
905
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
906
+ attr_reader :code
907
+ # Machine-readable code explaining how to make the Capability active.
908
+ attr_reader :resolution
909
+
910
+ def self.inner_class_types
911
+ @inner_class_types = {}
912
+ end
913
+
914
+ def self.field_remappings
915
+ @field_remappings = {}
916
+ end
917
+ end
918
+ # Whether the Capability has been requested.
919
+ attr_reader :requested
920
+ # The status of the Capability.
921
+ attr_reader :status
922
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
923
+ attr_reader :status_details
924
+
925
+ def self.inner_class_types
926
+ @inner_class_types = { status_details: StatusDetail }
927
+ end
928
+
929
+ def self.field_remappings
930
+ @field_remappings = {}
931
+ end
932
+ end
933
+
934
+ class CashappPayments < ::Stripe::StripeObject
935
+ class StatusDetail < ::Stripe::StripeObject
936
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
937
+ attr_reader :code
938
+ # Machine-readable code explaining how to make the Capability active.
939
+ attr_reader :resolution
940
+
941
+ def self.inner_class_types
942
+ @inner_class_types = {}
943
+ end
944
+
945
+ def self.field_remappings
946
+ @field_remappings = {}
947
+ end
948
+ end
949
+ # Whether the Capability has been requested.
950
+ attr_reader :requested
951
+ # The status of the Capability.
952
+ attr_reader :status
953
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
954
+ attr_reader :status_details
955
+
956
+ def self.inner_class_types
957
+ @inner_class_types = { status_details: StatusDetail }
958
+ end
959
+
960
+ def self.field_remappings
961
+ @field_remappings = {}
962
+ end
963
+ end
964
+
965
+ class EpsPayments < ::Stripe::StripeObject
966
+ class StatusDetail < ::Stripe::StripeObject
967
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
968
+ attr_reader :code
969
+ # Machine-readable code explaining how to make the Capability active.
970
+ attr_reader :resolution
971
+
972
+ def self.inner_class_types
973
+ @inner_class_types = {}
974
+ end
975
+
976
+ def self.field_remappings
977
+ @field_remappings = {}
978
+ end
979
+ end
980
+ # Whether the Capability has been requested.
981
+ attr_reader :requested
982
+ # The status of the Capability.
983
+ attr_reader :status
984
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
985
+ attr_reader :status_details
986
+
987
+ def self.inner_class_types
988
+ @inner_class_types = { status_details: StatusDetail }
989
+ end
990
+
991
+ def self.field_remappings
992
+ @field_remappings = {}
993
+ end
994
+ end
995
+
996
+ class FpxPayments < ::Stripe::StripeObject
997
+ class StatusDetail < ::Stripe::StripeObject
998
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
999
+ attr_reader :code
1000
+ # Machine-readable code explaining how to make the Capability active.
1001
+ attr_reader :resolution
1002
+
1003
+ def self.inner_class_types
1004
+ @inner_class_types = {}
1005
+ end
1006
+
1007
+ def self.field_remappings
1008
+ @field_remappings = {}
1009
+ end
1010
+ end
1011
+ # Whether the Capability has been requested.
1012
+ attr_reader :requested
1013
+ # The status of the Capability.
1014
+ attr_reader :status
1015
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1016
+ attr_reader :status_details
1017
+
1018
+ def self.inner_class_types
1019
+ @inner_class_types = { status_details: StatusDetail }
1020
+ end
1021
+
1022
+ def self.field_remappings
1023
+ @field_remappings = {}
1024
+ end
1025
+ end
1026
+
1027
+ class GbBankTransferPayments < ::Stripe::StripeObject
1028
+ class StatusDetail < ::Stripe::StripeObject
1029
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1030
+ attr_reader :code
1031
+ # Machine-readable code explaining how to make the Capability active.
1032
+ attr_reader :resolution
1033
+
1034
+ def self.inner_class_types
1035
+ @inner_class_types = {}
1036
+ end
1037
+
1038
+ def self.field_remappings
1039
+ @field_remappings = {}
1040
+ end
1041
+ end
1042
+ # Whether the Capability has been requested.
1043
+ attr_reader :requested
1044
+ # The status of the Capability.
1045
+ attr_reader :status
1046
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1047
+ attr_reader :status_details
1048
+
1049
+ def self.inner_class_types
1050
+ @inner_class_types = { status_details: StatusDetail }
1051
+ end
1052
+
1053
+ def self.field_remappings
1054
+ @field_remappings = {}
1055
+ end
1056
+ end
1057
+
1058
+ class GrabpayPayments < ::Stripe::StripeObject
1059
+ class StatusDetail < ::Stripe::StripeObject
1060
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1061
+ attr_reader :code
1062
+ # Machine-readable code explaining how to make the Capability active.
1063
+ attr_reader :resolution
1064
+
1065
+ def self.inner_class_types
1066
+ @inner_class_types = {}
1067
+ end
1068
+
1069
+ def self.field_remappings
1070
+ @field_remappings = {}
1071
+ end
1072
+ end
1073
+ # Whether the Capability has been requested.
1074
+ attr_reader :requested
1075
+ # The status of the Capability.
1076
+ attr_reader :status
1077
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1078
+ attr_reader :status_details
1079
+
1080
+ def self.inner_class_types
1081
+ @inner_class_types = { status_details: StatusDetail }
1082
+ end
1083
+
1084
+ def self.field_remappings
1085
+ @field_remappings = {}
1086
+ end
1087
+ end
1088
+
1089
+ class IdealPayments < ::Stripe::StripeObject
1090
+ class StatusDetail < ::Stripe::StripeObject
1091
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1092
+ attr_reader :code
1093
+ # Machine-readable code explaining how to make the Capability active.
1094
+ attr_reader :resolution
1095
+
1096
+ def self.inner_class_types
1097
+ @inner_class_types = {}
1098
+ end
1099
+
1100
+ def self.field_remappings
1101
+ @field_remappings = {}
1102
+ end
1103
+ end
1104
+ # Whether the Capability has been requested.
1105
+ attr_reader :requested
1106
+ # The status of the Capability.
1107
+ attr_reader :status
1108
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1109
+ attr_reader :status_details
1110
+
1111
+ def self.inner_class_types
1112
+ @inner_class_types = { status_details: StatusDetail }
1113
+ end
1114
+
1115
+ def self.field_remappings
1116
+ @field_remappings = {}
1117
+ end
1118
+ end
1119
+
1120
+ class JcbPayments < ::Stripe::StripeObject
1121
+ class StatusDetail < ::Stripe::StripeObject
1122
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1123
+ attr_reader :code
1124
+ # Machine-readable code explaining how to make the Capability active.
1125
+ attr_reader :resolution
1126
+
1127
+ def self.inner_class_types
1128
+ @inner_class_types = {}
1129
+ end
1130
+
1131
+ def self.field_remappings
1132
+ @field_remappings = {}
1133
+ end
1134
+ end
1135
+ # Whether the Capability has been requested.
1136
+ attr_reader :requested
1137
+ # The status of the Capability.
1138
+ attr_reader :status
1139
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1140
+ attr_reader :status_details
1141
+
1142
+ def self.inner_class_types
1143
+ @inner_class_types = { status_details: StatusDetail }
1144
+ end
1145
+
1146
+ def self.field_remappings
1147
+ @field_remappings = {}
1148
+ end
1149
+ end
1150
+
1151
+ class JpBankTransferPayments < ::Stripe::StripeObject
1152
+ class StatusDetail < ::Stripe::StripeObject
1153
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1154
+ attr_reader :code
1155
+ # Machine-readable code explaining how to make the Capability active.
1156
+ attr_reader :resolution
1157
+
1158
+ def self.inner_class_types
1159
+ @inner_class_types = {}
1160
+ end
1161
+
1162
+ def self.field_remappings
1163
+ @field_remappings = {}
1164
+ end
1165
+ end
1166
+ # Whether the Capability has been requested.
1167
+ attr_reader :requested
1168
+ # The status of the Capability.
1169
+ attr_reader :status
1170
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1171
+ attr_reader :status_details
1172
+
1173
+ def self.inner_class_types
1174
+ @inner_class_types = { status_details: StatusDetail }
1175
+ end
1176
+
1177
+ def self.field_remappings
1178
+ @field_remappings = {}
1179
+ end
1180
+ end
1181
+
1182
+ class KakaoPayPayments < ::Stripe::StripeObject
1183
+ class StatusDetail < ::Stripe::StripeObject
1184
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1185
+ attr_reader :code
1186
+ # Machine-readable code explaining how to make the Capability active.
1187
+ attr_reader :resolution
1188
+
1189
+ def self.inner_class_types
1190
+ @inner_class_types = {}
1191
+ end
1192
+
1193
+ def self.field_remappings
1194
+ @field_remappings = {}
1195
+ end
1196
+ end
1197
+ # Whether the Capability has been requested.
1198
+ attr_reader :requested
1199
+ # The status of the Capability.
1200
+ attr_reader :status
1201
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1202
+ attr_reader :status_details
1203
+
1204
+ def self.inner_class_types
1205
+ @inner_class_types = { status_details: StatusDetail }
1206
+ end
1207
+
1208
+ def self.field_remappings
1209
+ @field_remappings = {}
1210
+ end
1211
+ end
1212
+
1213
+ class KlarnaPayments < ::Stripe::StripeObject
1214
+ class StatusDetail < ::Stripe::StripeObject
1215
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1216
+ attr_reader :code
1217
+ # Machine-readable code explaining how to make the Capability active.
1218
+ attr_reader :resolution
1219
+
1220
+ def self.inner_class_types
1221
+ @inner_class_types = {}
1222
+ end
1223
+
1224
+ def self.field_remappings
1225
+ @field_remappings = {}
1226
+ end
1227
+ end
1228
+ # Whether the Capability has been requested.
1229
+ attr_reader :requested
1230
+ # The status of the Capability.
1231
+ attr_reader :status
1232
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1233
+ attr_reader :status_details
1234
+
1235
+ def self.inner_class_types
1236
+ @inner_class_types = { status_details: StatusDetail }
1237
+ end
1238
+
1239
+ def self.field_remappings
1240
+ @field_remappings = {}
1241
+ end
1242
+ end
1243
+
1244
+ class KonbiniPayments < ::Stripe::StripeObject
1245
+ class StatusDetail < ::Stripe::StripeObject
1246
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1247
+ attr_reader :code
1248
+ # Machine-readable code explaining how to make the Capability active.
1249
+ attr_reader :resolution
1250
+
1251
+ def self.inner_class_types
1252
+ @inner_class_types = {}
1253
+ end
1254
+
1255
+ def self.field_remappings
1256
+ @field_remappings = {}
1257
+ end
1258
+ end
1259
+ # Whether the Capability has been requested.
1260
+ attr_reader :requested
1261
+ # The status of the Capability.
1262
+ attr_reader :status
1263
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1264
+ attr_reader :status_details
1265
+
1266
+ def self.inner_class_types
1267
+ @inner_class_types = { status_details: StatusDetail }
1268
+ end
1269
+
1270
+ def self.field_remappings
1271
+ @field_remappings = {}
1272
+ end
1273
+ end
1274
+
1275
+ class KrCardPayments < ::Stripe::StripeObject
1276
+ class StatusDetail < ::Stripe::StripeObject
1277
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1278
+ attr_reader :code
1279
+ # Machine-readable code explaining how to make the Capability active.
1280
+ attr_reader :resolution
1281
+
1282
+ def self.inner_class_types
1283
+ @inner_class_types = {}
1284
+ end
1285
+
1286
+ def self.field_remappings
1287
+ @field_remappings = {}
1288
+ end
1289
+ end
1290
+ # Whether the Capability has been requested.
1291
+ attr_reader :requested
1292
+ # The status of the Capability.
1293
+ attr_reader :status
1294
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1295
+ attr_reader :status_details
1296
+
1297
+ def self.inner_class_types
1298
+ @inner_class_types = { status_details: StatusDetail }
1299
+ end
1300
+
1301
+ def self.field_remappings
1302
+ @field_remappings = {}
1303
+ end
1304
+ end
1305
+
1306
+ class LinkPayments < ::Stripe::StripeObject
1307
+ class StatusDetail < ::Stripe::StripeObject
1308
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1309
+ attr_reader :code
1310
+ # Machine-readable code explaining how to make the Capability active.
1311
+ attr_reader :resolution
1312
+
1313
+ def self.inner_class_types
1314
+ @inner_class_types = {}
1315
+ end
1316
+
1317
+ def self.field_remappings
1318
+ @field_remappings = {}
1319
+ end
1320
+ end
1321
+ # Whether the Capability has been requested.
1322
+ attr_reader :requested
1323
+ # The status of the Capability.
1324
+ attr_reader :status
1325
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1326
+ attr_reader :status_details
1327
+
1328
+ def self.inner_class_types
1329
+ @inner_class_types = { status_details: StatusDetail }
1330
+ end
1331
+
1332
+ def self.field_remappings
1333
+ @field_remappings = {}
1334
+ end
1335
+ end
1336
+
1337
+ class MobilepayPayments < ::Stripe::StripeObject
1338
+ class StatusDetail < ::Stripe::StripeObject
1339
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1340
+ attr_reader :code
1341
+ # Machine-readable code explaining how to make the Capability active.
1342
+ attr_reader :resolution
1343
+
1344
+ def self.inner_class_types
1345
+ @inner_class_types = {}
1346
+ end
1347
+
1348
+ def self.field_remappings
1349
+ @field_remappings = {}
1350
+ end
1351
+ end
1352
+ # Whether the Capability has been requested.
1353
+ attr_reader :requested
1354
+ # The status of the Capability.
1355
+ attr_reader :status
1356
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1357
+ attr_reader :status_details
1358
+
1359
+ def self.inner_class_types
1360
+ @inner_class_types = { status_details: StatusDetail }
1361
+ end
1362
+
1363
+ def self.field_remappings
1364
+ @field_remappings = {}
1365
+ end
1366
+ end
1367
+
1368
+ class MultibancoPayments < ::Stripe::StripeObject
1369
+ class StatusDetail < ::Stripe::StripeObject
1370
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1371
+ attr_reader :code
1372
+ # Machine-readable code explaining how to make the Capability active.
1373
+ attr_reader :resolution
1374
+
1375
+ def self.inner_class_types
1376
+ @inner_class_types = {}
1377
+ end
1378
+
1379
+ def self.field_remappings
1380
+ @field_remappings = {}
1381
+ end
1382
+ end
1383
+ # Whether the Capability has been requested.
1384
+ attr_reader :requested
1385
+ # The status of the Capability.
1386
+ attr_reader :status
1387
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1388
+ attr_reader :status_details
1389
+
1390
+ def self.inner_class_types
1391
+ @inner_class_types = { status_details: StatusDetail }
1392
+ end
1393
+
1394
+ def self.field_remappings
1395
+ @field_remappings = {}
1396
+ end
1397
+ end
1398
+
1399
+ class MxBankTransferPayments < ::Stripe::StripeObject
1400
+ class StatusDetail < ::Stripe::StripeObject
1401
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1402
+ attr_reader :code
1403
+ # Machine-readable code explaining how to make the Capability active.
1404
+ attr_reader :resolution
1405
+
1406
+ def self.inner_class_types
1407
+ @inner_class_types = {}
1408
+ end
1409
+
1410
+ def self.field_remappings
1411
+ @field_remappings = {}
1412
+ end
1413
+ end
1414
+ # Whether the Capability has been requested.
1415
+ attr_reader :requested
1416
+ # The status of the Capability.
1417
+ attr_reader :status
1418
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1419
+ attr_reader :status_details
1420
+
1421
+ def self.inner_class_types
1422
+ @inner_class_types = { status_details: StatusDetail }
1423
+ end
1424
+
1425
+ def self.field_remappings
1426
+ @field_remappings = {}
1427
+ end
1428
+ end
1429
+
1430
+ class NaverPayPayments < ::Stripe::StripeObject
1431
+ class StatusDetail < ::Stripe::StripeObject
1432
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1433
+ attr_reader :code
1434
+ # Machine-readable code explaining how to make the Capability active.
1435
+ attr_reader :resolution
1436
+
1437
+ def self.inner_class_types
1438
+ @inner_class_types = {}
1439
+ end
1440
+
1441
+ def self.field_remappings
1442
+ @field_remappings = {}
1443
+ end
1444
+ end
1445
+ # Whether the Capability has been requested.
1446
+ attr_reader :requested
1447
+ # The status of the Capability.
1448
+ attr_reader :status
1449
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1450
+ attr_reader :status_details
1451
+
1452
+ def self.inner_class_types
1453
+ @inner_class_types = { status_details: StatusDetail }
1454
+ end
1455
+
1456
+ def self.field_remappings
1457
+ @field_remappings = {}
1458
+ end
1459
+ end
1460
+
1461
+ class OxxoPayments < ::Stripe::StripeObject
1462
+ class StatusDetail < ::Stripe::StripeObject
1463
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1464
+ attr_reader :code
1465
+ # Machine-readable code explaining how to make the Capability active.
1466
+ attr_reader :resolution
1467
+
1468
+ def self.inner_class_types
1469
+ @inner_class_types = {}
1470
+ end
1471
+
1472
+ def self.field_remappings
1473
+ @field_remappings = {}
1474
+ end
1475
+ end
1476
+ # Whether the Capability has been requested.
1477
+ attr_reader :requested
1478
+ # The status of the Capability.
1479
+ attr_reader :status
1480
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1481
+ attr_reader :status_details
1482
+
1483
+ def self.inner_class_types
1484
+ @inner_class_types = { status_details: StatusDetail }
1485
+ end
1486
+
1487
+ def self.field_remappings
1488
+ @field_remappings = {}
1489
+ end
1490
+ end
1491
+
1492
+ class P24Payments < ::Stripe::StripeObject
1493
+ class StatusDetail < ::Stripe::StripeObject
1494
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1495
+ attr_reader :code
1496
+ # Machine-readable code explaining how to make the Capability active.
1497
+ attr_reader :resolution
1498
+
1499
+ def self.inner_class_types
1500
+ @inner_class_types = {}
1501
+ end
1502
+
1503
+ def self.field_remappings
1504
+ @field_remappings = {}
1505
+ end
1506
+ end
1507
+ # Whether the Capability has been requested.
1508
+ attr_reader :requested
1509
+ # The status of the Capability.
1510
+ attr_reader :status
1511
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1512
+ attr_reader :status_details
1513
+
1514
+ def self.inner_class_types
1515
+ @inner_class_types = { status_details: StatusDetail }
1516
+ end
1517
+
1518
+ def self.field_remappings
1519
+ @field_remappings = {}
1520
+ end
1521
+ end
1522
+
1523
+ class PayByBankPayments < ::Stripe::StripeObject
1524
+ class StatusDetail < ::Stripe::StripeObject
1525
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1526
+ attr_reader :code
1527
+ # Machine-readable code explaining how to make the Capability active.
1528
+ attr_reader :resolution
1529
+
1530
+ def self.inner_class_types
1531
+ @inner_class_types = {}
1532
+ end
1533
+
1534
+ def self.field_remappings
1535
+ @field_remappings = {}
1536
+ end
1537
+ end
1538
+ # Whether the Capability has been requested.
1539
+ attr_reader :requested
1540
+ # The status of the Capability.
1541
+ attr_reader :status
1542
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1543
+ attr_reader :status_details
1544
+
1545
+ def self.inner_class_types
1546
+ @inner_class_types = { status_details: StatusDetail }
1547
+ end
1548
+
1549
+ def self.field_remappings
1550
+ @field_remappings = {}
1551
+ end
1552
+ end
1553
+
1554
+ class PaycoPayments < ::Stripe::StripeObject
1555
+ class StatusDetail < ::Stripe::StripeObject
1556
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1557
+ attr_reader :code
1558
+ # Machine-readable code explaining how to make the Capability active.
1559
+ attr_reader :resolution
1560
+
1561
+ def self.inner_class_types
1562
+ @inner_class_types = {}
1563
+ end
1564
+
1565
+ def self.field_remappings
1566
+ @field_remappings = {}
1567
+ end
1568
+ end
1569
+ # Whether the Capability has been requested.
1570
+ attr_reader :requested
1571
+ # The status of the Capability.
1572
+ attr_reader :status
1573
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1574
+ attr_reader :status_details
1575
+
1576
+ def self.inner_class_types
1577
+ @inner_class_types = { status_details: StatusDetail }
1578
+ end
1579
+
1580
+ def self.field_remappings
1581
+ @field_remappings = {}
1582
+ end
1583
+ end
1584
+
1585
+ class PaynowPayments < ::Stripe::StripeObject
1586
+ class StatusDetail < ::Stripe::StripeObject
1587
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1588
+ attr_reader :code
1589
+ # Machine-readable code explaining how to make the Capability active.
1590
+ attr_reader :resolution
1591
+
1592
+ def self.inner_class_types
1593
+ @inner_class_types = {}
1594
+ end
1595
+
1596
+ def self.field_remappings
1597
+ @field_remappings = {}
1598
+ end
1599
+ end
1600
+ # Whether the Capability has been requested.
1601
+ attr_reader :requested
1602
+ # The status of the Capability.
1603
+ attr_reader :status
1604
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1605
+ attr_reader :status_details
1606
+
1607
+ def self.inner_class_types
1608
+ @inner_class_types = { status_details: StatusDetail }
1609
+ end
1610
+
1611
+ def self.field_remappings
1612
+ @field_remappings = {}
1613
+ end
1614
+ end
1615
+
1616
+ class PromptpayPayments < ::Stripe::StripeObject
1617
+ class StatusDetail < ::Stripe::StripeObject
1618
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1619
+ attr_reader :code
1620
+ # Machine-readable code explaining how to make the Capability active.
1621
+ attr_reader :resolution
1622
+
1623
+ def self.inner_class_types
1624
+ @inner_class_types = {}
1625
+ end
1626
+
1627
+ def self.field_remappings
1628
+ @field_remappings = {}
1629
+ end
1630
+ end
1631
+ # Whether the Capability has been requested.
1632
+ attr_reader :requested
1633
+ # The status of the Capability.
1634
+ attr_reader :status
1635
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1636
+ attr_reader :status_details
1637
+
1638
+ def self.inner_class_types
1639
+ @inner_class_types = { status_details: StatusDetail }
1640
+ end
1641
+
1642
+ def self.field_remappings
1643
+ @field_remappings = {}
1644
+ end
1645
+ end
1646
+
1647
+ class RevolutPayPayments < ::Stripe::StripeObject
1648
+ class StatusDetail < ::Stripe::StripeObject
1649
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1650
+ attr_reader :code
1651
+ # Machine-readable code explaining how to make the Capability active.
1652
+ attr_reader :resolution
1653
+
1654
+ def self.inner_class_types
1655
+ @inner_class_types = {}
1656
+ end
1657
+
1658
+ def self.field_remappings
1659
+ @field_remappings = {}
1660
+ end
1661
+ end
1662
+ # Whether the Capability has been requested.
1663
+ attr_reader :requested
1664
+ # The status of the Capability.
1665
+ attr_reader :status
1666
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1667
+ attr_reader :status_details
1668
+
1669
+ def self.inner_class_types
1670
+ @inner_class_types = { status_details: StatusDetail }
1671
+ end
1672
+
1673
+ def self.field_remappings
1674
+ @field_remappings = {}
1675
+ end
1676
+ end
1677
+
1678
+ class SamsungPayPayments < ::Stripe::StripeObject
1679
+ class StatusDetail < ::Stripe::StripeObject
1680
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1681
+ attr_reader :code
1682
+ # Machine-readable code explaining how to make the Capability active.
1683
+ attr_reader :resolution
1684
+
1685
+ def self.inner_class_types
1686
+ @inner_class_types = {}
1687
+ end
1688
+
1689
+ def self.field_remappings
1690
+ @field_remappings = {}
1691
+ end
1692
+ end
1693
+ # Whether the Capability has been requested.
1694
+ attr_reader :requested
1695
+ # The status of the Capability.
1696
+ attr_reader :status
1697
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1698
+ attr_reader :status_details
1699
+
1700
+ def self.inner_class_types
1701
+ @inner_class_types = { status_details: StatusDetail }
1702
+ end
1703
+
1704
+ def self.field_remappings
1705
+ @field_remappings = {}
1706
+ end
1707
+ end
1708
+
1709
+ class SepaBankTransferPayments < ::Stripe::StripeObject
1710
+ class StatusDetail < ::Stripe::StripeObject
1711
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1712
+ attr_reader :code
1713
+ # Machine-readable code explaining how to make the Capability active.
1714
+ attr_reader :resolution
1715
+
1716
+ def self.inner_class_types
1717
+ @inner_class_types = {}
1718
+ end
1719
+
1720
+ def self.field_remappings
1721
+ @field_remappings = {}
1722
+ end
1723
+ end
1724
+ # Whether the Capability has been requested.
1725
+ attr_reader :requested
1726
+ # The status of the Capability.
1727
+ attr_reader :status
1728
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1729
+ attr_reader :status_details
1730
+
1731
+ def self.inner_class_types
1732
+ @inner_class_types = { status_details: StatusDetail }
1733
+ end
1734
+
1735
+ def self.field_remappings
1736
+ @field_remappings = {}
1737
+ end
1738
+ end
1739
+
1740
+ class SepaDebitPayments < ::Stripe::StripeObject
1741
+ class StatusDetail < ::Stripe::StripeObject
1742
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1743
+ attr_reader :code
1744
+ # Machine-readable code explaining how to make the Capability active.
1745
+ attr_reader :resolution
1746
+
1747
+ def self.inner_class_types
1748
+ @inner_class_types = {}
1749
+ end
1750
+
1751
+ def self.field_remappings
1752
+ @field_remappings = {}
1753
+ end
1754
+ end
1755
+ # Whether the Capability has been requested.
1756
+ attr_reader :requested
1757
+ # The status of the Capability.
1758
+ attr_reader :status
1759
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1760
+ attr_reader :status_details
1761
+
1762
+ def self.inner_class_types
1763
+ @inner_class_types = { status_details: StatusDetail }
1764
+ end
1765
+
1766
+ def self.field_remappings
1767
+ @field_remappings = {}
1768
+ end
1769
+ end
1770
+
1771
+ class StripeBalance < ::Stripe::StripeObject
1772
+ class Payouts < ::Stripe::StripeObject
1773
+ class StatusDetail < ::Stripe::StripeObject
1774
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1775
+ attr_reader :code
1776
+ # Machine-readable code explaining how to make the Capability active.
1777
+ attr_reader :resolution
1778
+
1779
+ def self.inner_class_types
1780
+ @inner_class_types = {}
1781
+ end
1782
+
1783
+ def self.field_remappings
1784
+ @field_remappings = {}
1785
+ end
1786
+ end
1787
+ # Whether the Capability has been requested.
1788
+ attr_reader :requested
1789
+ # The status of the Capability.
1790
+ attr_reader :status
1791
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1792
+ attr_reader :status_details
1793
+
1794
+ def self.inner_class_types
1795
+ @inner_class_types = { status_details: StatusDetail }
1796
+ end
1797
+
1798
+ def self.field_remappings
1799
+ @field_remappings = {}
1800
+ end
1801
+ end
1802
+ # Allows the account to do payouts using their Stripe Balance (/v1/balance).
1803
+ attr_reader :payouts
1804
+
1805
+ def self.inner_class_types
1806
+ @inner_class_types = { payouts: Payouts }
1807
+ end
1808
+
1809
+ def self.field_remappings
1810
+ @field_remappings = {}
1811
+ end
1812
+ end
1813
+
1814
+ class SwishPayments < ::Stripe::StripeObject
1815
+ class StatusDetail < ::Stripe::StripeObject
1816
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1817
+ attr_reader :code
1818
+ # Machine-readable code explaining how to make the Capability active.
1819
+ attr_reader :resolution
1820
+
1821
+ def self.inner_class_types
1822
+ @inner_class_types = {}
1823
+ end
1824
+
1825
+ def self.field_remappings
1826
+ @field_remappings = {}
1827
+ end
1828
+ end
1829
+ # Whether the Capability has been requested.
1830
+ attr_reader :requested
1831
+ # The status of the Capability.
1832
+ attr_reader :status
1833
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1834
+ attr_reader :status_details
1835
+
1836
+ def self.inner_class_types
1837
+ @inner_class_types = { status_details: StatusDetail }
1838
+ end
1839
+
1840
+ def self.field_remappings
1841
+ @field_remappings = {}
1842
+ end
1843
+ end
1844
+
1845
+ class TwintPayments < ::Stripe::StripeObject
1846
+ class StatusDetail < ::Stripe::StripeObject
1847
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1848
+ attr_reader :code
1849
+ # Machine-readable code explaining how to make the Capability active.
1850
+ attr_reader :resolution
1851
+
1852
+ def self.inner_class_types
1853
+ @inner_class_types = {}
1854
+ end
1855
+
1856
+ def self.field_remappings
1857
+ @field_remappings = {}
1858
+ end
1859
+ end
1860
+ # Whether the Capability has been requested.
1861
+ attr_reader :requested
1862
+ # The status of the Capability.
1863
+ attr_reader :status
1864
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1865
+ attr_reader :status_details
1866
+
1867
+ def self.inner_class_types
1868
+ @inner_class_types = { status_details: StatusDetail }
1869
+ end
1870
+
1871
+ def self.field_remappings
1872
+ @field_remappings = {}
1873
+ end
1874
+ end
1875
+
1876
+ class UsBankTransferPayments < ::Stripe::StripeObject
1877
+ class StatusDetail < ::Stripe::StripeObject
1878
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1879
+ attr_reader :code
1880
+ # Machine-readable code explaining how to make the Capability active.
1881
+ attr_reader :resolution
1882
+
1883
+ def self.inner_class_types
1884
+ @inner_class_types = {}
1885
+ end
1886
+
1887
+ def self.field_remappings
1888
+ @field_remappings = {}
1889
+ end
1890
+ end
1891
+ # Whether the Capability has been requested.
1892
+ attr_reader :requested
1893
+ # The status of the Capability.
1894
+ attr_reader :status
1895
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1896
+ attr_reader :status_details
1897
+
1898
+ def self.inner_class_types
1899
+ @inner_class_types = { status_details: StatusDetail }
1900
+ end
1901
+
1902
+ def self.field_remappings
1903
+ @field_remappings = {}
1904
+ end
1905
+ end
1906
+
1907
+ class ZipPayments < ::Stripe::StripeObject
1908
+ class StatusDetail < ::Stripe::StripeObject
1909
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1910
+ attr_reader :code
1911
+ # Machine-readable code explaining how to make the Capability active.
1912
+ attr_reader :resolution
1913
+
1914
+ def self.inner_class_types
1915
+ @inner_class_types = {}
1916
+ end
1917
+
1918
+ def self.field_remappings
1919
+ @field_remappings = {}
1920
+ end
1921
+ end
1922
+ # Whether the Capability has been requested.
1923
+ attr_reader :requested
1924
+ # The status of the Capability.
1925
+ attr_reader :status
1926
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1927
+ attr_reader :status_details
1928
+
1929
+ def self.inner_class_types
1930
+ @inner_class_types = { status_details: StatusDetail }
1931
+ end
1932
+
1933
+ def self.field_remappings
1934
+ @field_remappings = {}
1935
+ end
1936
+ end
1937
+ # Allow the merchant to process ACH debit payments.
1938
+ attr_reader :ach_debit_payments
1939
+ # Allow the merchant to process ACSS debit payments.
1940
+ attr_reader :acss_debit_payments
1941
+ # Allow the merchant to process Affirm payments.
1942
+ attr_reader :affirm_payments
1943
+ # Allow the merchant to process Afterpay/Clearpay payments.
1944
+ attr_reader :afterpay_clearpay_payments
1945
+ # Allow the merchant to process Alma payments.
1946
+ attr_reader :alma_payments
1947
+ # Allow the merchant to process Amazon Pay payments.
1948
+ attr_reader :amazon_pay_payments
1949
+ # Allow the merchant to process Australian BECS Direct Debit payments.
1950
+ attr_reader :au_becs_debit_payments
1951
+ # Allow the merchant to process BACS Direct Debit payments.
1952
+ attr_reader :bacs_debit_payments
1953
+ # Allow the merchant to process Bancontact payments.
1954
+ attr_reader :bancontact_payments
1955
+ # Allow the merchant to process BLIK payments.
1956
+ attr_reader :blik_payments
1957
+ # Allow the merchant to process Boleto payments.
1958
+ attr_reader :boleto_payments
1959
+ # Allow the merchant to collect card payments.
1960
+ attr_reader :card_payments
1961
+ # Allow the merchant to process Cartes Bancaires payments.
1962
+ attr_reader :cartes_bancaires_payments
1963
+ # Allow the merchant to process Cash App payments.
1964
+ attr_reader :cashapp_payments
1965
+ # Allow the merchant to process EPS payments.
1966
+ attr_reader :eps_payments
1967
+ # Allow the merchant to process FPX payments.
1968
+ attr_reader :fpx_payments
1969
+ # Allow the merchant to process UK bank transfer payments.
1970
+ attr_reader :gb_bank_transfer_payments
1971
+ # Allow the merchant to process GrabPay payments.
1972
+ attr_reader :grabpay_payments
1973
+ # Allow the merchant to process iDEAL payments.
1974
+ attr_reader :ideal_payments
1975
+ # Allow the merchant to process JCB card payments.
1976
+ attr_reader :jcb_payments
1977
+ # Allow the merchant to process Japanese bank transfer payments.
1978
+ attr_reader :jp_bank_transfer_payments
1979
+ # Allow the merchant to process Kakao Pay payments.
1980
+ attr_reader :kakao_pay_payments
1981
+ # Allow the merchant to process Klarna payments.
1982
+ attr_reader :klarna_payments
1983
+ # Allow the merchant to process Konbini convenience store payments.
1984
+ attr_reader :konbini_payments
1985
+ # Allow the merchant to process Korean card payments.
1986
+ attr_reader :kr_card_payments
1987
+ # Allow the merchant to process Link payments.
1988
+ attr_reader :link_payments
1989
+ # Allow the merchant to process MobilePay payments.
1990
+ attr_reader :mobilepay_payments
1991
+ # Allow the merchant to process Multibanco payments.
1992
+ attr_reader :multibanco_payments
1993
+ # Allow the merchant to process Mexican bank transfer payments.
1994
+ attr_reader :mx_bank_transfer_payments
1995
+ # Allow the merchant to process Naver Pay payments.
1996
+ attr_reader :naver_pay_payments
1997
+ # Allow the merchant to process OXXO payments.
1998
+ attr_reader :oxxo_payments
1999
+ # Allow the merchant to process Przelewy24 (P24) payments.
2000
+ attr_reader :p24_payments
2001
+ # Allow the merchant to process Pay by Bank payments.
2002
+ attr_reader :pay_by_bank_payments
2003
+ # Allow the merchant to process PAYCO payments.
2004
+ attr_reader :payco_payments
2005
+ # Allow the merchant to process PayNow payments.
2006
+ attr_reader :paynow_payments
2007
+ # Allow the merchant to process PromptPay payments.
2008
+ attr_reader :promptpay_payments
2009
+ # Allow the merchant to process Revolut Pay payments.
2010
+ attr_reader :revolut_pay_payments
2011
+ # Allow the merchant to process Samsung Pay payments.
2012
+ attr_reader :samsung_pay_payments
2013
+ # Allow the merchant to process SEPA bank transfer payments.
2014
+ attr_reader :sepa_bank_transfer_payments
2015
+ # Allow the merchant to process SEPA Direct Debit payments.
2016
+ attr_reader :sepa_debit_payments
2017
+ # Capabilities that enable the merchant to manage their Stripe Balance (/v1/balance).
2018
+ attr_reader :stripe_balance
2019
+ # Allow the merchant to process Swish payments.
2020
+ attr_reader :swish_payments
2021
+ # Allow the merchant to process TWINT payments.
2022
+ attr_reader :twint_payments
2023
+ # Allow the merchant to process US bank transfer payments.
2024
+ attr_reader :us_bank_transfer_payments
2025
+ # Allow the merchant to process Zip payments.
2026
+ attr_reader :zip_payments
2027
+
2028
+ def self.inner_class_types
2029
+ @inner_class_types = {
2030
+ ach_debit_payments: AchDebitPayments,
2031
+ acss_debit_payments: AcssDebitPayments,
2032
+ affirm_payments: AffirmPayments,
2033
+ afterpay_clearpay_payments: AfterpayClearpayPayments,
2034
+ alma_payments: AlmaPayments,
2035
+ amazon_pay_payments: AmazonPayPayments,
2036
+ au_becs_debit_payments: AuBecsDebitPayments,
2037
+ bacs_debit_payments: BacsDebitPayments,
2038
+ bancontact_payments: BancontactPayments,
2039
+ blik_payments: BlikPayments,
2040
+ boleto_payments: BoletoPayments,
2041
+ card_payments: CardPayments,
2042
+ cartes_bancaires_payments: CartesBancairesPayments,
2043
+ cashapp_payments: CashappPayments,
2044
+ eps_payments: EpsPayments,
2045
+ fpx_payments: FpxPayments,
2046
+ gb_bank_transfer_payments: GbBankTransferPayments,
2047
+ grabpay_payments: GrabpayPayments,
2048
+ ideal_payments: IdealPayments,
2049
+ jcb_payments: JcbPayments,
2050
+ jp_bank_transfer_payments: JpBankTransferPayments,
2051
+ kakao_pay_payments: KakaoPayPayments,
2052
+ klarna_payments: KlarnaPayments,
2053
+ konbini_payments: KonbiniPayments,
2054
+ kr_card_payments: KrCardPayments,
2055
+ link_payments: LinkPayments,
2056
+ mobilepay_payments: MobilepayPayments,
2057
+ multibanco_payments: MultibancoPayments,
2058
+ mx_bank_transfer_payments: MxBankTransferPayments,
2059
+ naver_pay_payments: NaverPayPayments,
2060
+ oxxo_payments: OxxoPayments,
2061
+ p24_payments: P24Payments,
2062
+ pay_by_bank_payments: PayByBankPayments,
2063
+ payco_payments: PaycoPayments,
2064
+ paynow_payments: PaynowPayments,
2065
+ promptpay_payments: PromptpayPayments,
2066
+ revolut_pay_payments: RevolutPayPayments,
2067
+ samsung_pay_payments: SamsungPayPayments,
2068
+ sepa_bank_transfer_payments: SepaBankTransferPayments,
2069
+ sepa_debit_payments: SepaDebitPayments,
2070
+ stripe_balance: StripeBalance,
2071
+ swish_payments: SwishPayments,
2072
+ twint_payments: TwintPayments,
2073
+ us_bank_transfer_payments: UsBankTransferPayments,
2074
+ zip_payments: ZipPayments,
2075
+ }
2076
+ end
2077
+
2078
+ def self.field_remappings
2079
+ @field_remappings = {}
2080
+ end
2081
+ end
2082
+
2083
+ class CardPayments < ::Stripe::StripeObject
2084
+ class DeclineOn < ::Stripe::StripeObject
2085
+ # 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.
2086
+ attr_reader :avs_failure
2087
+ # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
2088
+ attr_reader :cvc_failure
2089
+
2090
+ def self.inner_class_types
2091
+ @inner_class_types = {}
2092
+ end
2093
+
2094
+ def self.field_remappings
2095
+ @field_remappings = {}
2096
+ end
2097
+ end
2098
+ # Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
2099
+ attr_reader :decline_on
2100
+
2101
+ def self.inner_class_types
2102
+ @inner_class_types = { decline_on: DeclineOn }
2103
+ end
2104
+
2105
+ def self.field_remappings
2106
+ @field_remappings = {}
2107
+ end
2108
+ end
2109
+
2110
+ class SepaDebitPayments < ::Stripe::StripeObject
2111
+ # Creditor ID for SEPA debit payments.
2112
+ attr_reader :creditor_id
2113
+
2114
+ def self.inner_class_types
2115
+ @inner_class_types = {}
2116
+ end
2117
+
2118
+ def self.field_remappings
2119
+ @field_remappings = {}
2120
+ end
2121
+ end
2122
+
2123
+ class StatementDescriptor < ::Stripe::StripeObject
2124
+ # 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.
2125
+ attr_reader :descriptor
2126
+ # 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.
2127
+ attr_reader :prefix
2128
+
2129
+ def self.inner_class_types
2130
+ @inner_class_types = {}
2131
+ end
2132
+
2133
+ def self.field_remappings
2134
+ @field_remappings = {}
2135
+ end
2136
+ end
2137
+
2138
+ class Support < ::Stripe::StripeObject
2139
+ class Address < ::Stripe::StripeObject
2140
+ # City, district, suburb, town, or village.
2141
+ attr_reader :city
2142
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2143
+ attr_reader :country
2144
+ # Address line 1 (e.g., street, PO Box, or company name).
2145
+ attr_reader :line1
2146
+ # Address line 2 (e.g., apartment, suite, unit, or building).
2147
+ attr_reader :line2
2148
+ # ZIP or postal code.
2149
+ attr_reader :postal_code
2150
+ # State, county, province, or region.
2151
+ attr_reader :state
2152
+ # Town or cho-me.
2153
+ attr_reader :town
2154
+
2155
+ def self.inner_class_types
2156
+ @inner_class_types = {}
2157
+ end
2158
+
2159
+ def self.field_remappings
2160
+ @field_remappings = {}
2161
+ end
2162
+ end
2163
+ # A publicly available mailing address for sending support issues to.
2164
+ attr_reader :address
2165
+ # A publicly available email address for sending support issues to.
2166
+ attr_reader :email
2167
+ # A publicly available phone number to call with support issues.
2168
+ attr_reader :phone
2169
+ # A publicly available website for handling support issues.
2170
+ attr_reader :url
2171
+
2172
+ def self.inner_class_types
2173
+ @inner_class_types = { address: Address }
2174
+ end
2175
+
2176
+ def self.field_remappings
2177
+ @field_remappings = {}
2178
+ end
2179
+ end
2180
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
2181
+ attr_reader :applied
2182
+ # Settings used for Bacs debit payments.
2183
+ attr_reader :bacs_debit_payments
2184
+ # Settings used to apply the merchant's branding to email receipts, invoices, Checkout, and other products.
2185
+ attr_reader :branding
2186
+ # Capabilities that have been requested on the Merchant Configuration.
2187
+ attr_reader :capabilities
2188
+ # Card payments settings.
2189
+ attr_reader :card_payments
2190
+ # The merchant category code for the merchant. MCCs are used to classify businesses based on the goods or services they provide.
2191
+ attr_reader :mcc
2192
+ # Settings used for SEPA debit payments.
2193
+ attr_reader :sepa_debit_payments
2194
+ # Statement descriptor.
2195
+ attr_reader :statement_descriptor
2196
+ # Publicly available contact information for sending support issues to.
2197
+ attr_reader :support
2198
+
2199
+ def self.inner_class_types
2200
+ @inner_class_types = {
2201
+ bacs_debit_payments: BacsDebitPayments,
2202
+ branding: Branding,
2203
+ capabilities: Capabilities,
2204
+ card_payments: CardPayments,
2205
+ sepa_debit_payments: SepaDebitPayments,
2206
+ statement_descriptor: StatementDescriptor,
2207
+ support: Support,
2208
+ }
2209
+ end
2210
+
2211
+ def self.field_remappings
2212
+ @field_remappings = {}
2213
+ end
2214
+ end
2215
+
2216
+ class Recipient < ::Stripe::StripeObject
2217
+ class Capabilities < ::Stripe::StripeObject
2218
+ class BankAccounts < ::Stripe::StripeObject
2219
+ class Local < ::Stripe::StripeObject
2220
+ class StatusDetail < ::Stripe::StripeObject
2221
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2222
+ attr_reader :code
2223
+ # Machine-readable code explaining how to make the Capability active.
2224
+ attr_reader :resolution
2225
+
2226
+ def self.inner_class_types
2227
+ @inner_class_types = {}
2228
+ end
2229
+
2230
+ def self.field_remappings
2231
+ @field_remappings = {}
2232
+ end
2233
+ end
2234
+ # Whether the Capability has been requested.
2235
+ attr_reader :requested
2236
+ # The status of the Capability.
2237
+ attr_reader :status
2238
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2239
+ attr_reader :status_details
2240
+
2241
+ def self.inner_class_types
2242
+ @inner_class_types = { status_details: StatusDetail }
2243
+ end
2244
+
2245
+ def self.field_remappings
2246
+ @field_remappings = {}
2247
+ end
2248
+ end
2249
+
2250
+ class Wire < ::Stripe::StripeObject
2251
+ class StatusDetail < ::Stripe::StripeObject
2252
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2253
+ attr_reader :code
2254
+ # Machine-readable code explaining how to make the Capability active.
2255
+ attr_reader :resolution
2256
+
2257
+ def self.inner_class_types
2258
+ @inner_class_types = {}
2259
+ end
2260
+
2261
+ def self.field_remappings
2262
+ @field_remappings = {}
2263
+ end
2264
+ end
2265
+ # Whether the Capability has been requested.
2266
+ attr_reader :requested
2267
+ # The status of the Capability.
2268
+ attr_reader :status
2269
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2270
+ attr_reader :status_details
2271
+
2272
+ def self.inner_class_types
2273
+ @inner_class_types = { status_details: StatusDetail }
2274
+ end
2275
+
2276
+ def self.field_remappings
2277
+ @field_remappings = {}
2278
+ end
2279
+ end
2280
+ # Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
2281
+ attr_reader :local
2282
+ # Enables this Account to receive OutboundPayments to linked bank accounts over wire.
2283
+ attr_reader :wire
2284
+
2285
+ def self.inner_class_types
2286
+ @inner_class_types = { local: Local, wire: Wire }
2287
+ end
2288
+
2289
+ def self.field_remappings
2290
+ @field_remappings = {}
2291
+ end
2292
+ end
2293
+
2294
+ class Cards < ::Stripe::StripeObject
2295
+ class StatusDetail < ::Stripe::StripeObject
2296
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2297
+ attr_reader :code
2298
+ # Machine-readable code explaining how to make the Capability active.
2299
+ attr_reader :resolution
2300
+
2301
+ def self.inner_class_types
2302
+ @inner_class_types = {}
2303
+ end
2304
+
2305
+ def self.field_remappings
2306
+ @field_remappings = {}
2307
+ end
2308
+ end
2309
+ # Whether the Capability has been requested.
2310
+ attr_reader :requested
2311
+ # The status of the Capability.
2312
+ attr_reader :status
2313
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2314
+ attr_reader :status_details
2315
+
2316
+ def self.inner_class_types
2317
+ @inner_class_types = { status_details: StatusDetail }
2318
+ end
2319
+
2320
+ def self.field_remappings
2321
+ @field_remappings = {}
2322
+ end
2323
+ end
2324
+
2325
+ class CryptoWallets < ::Stripe::StripeObject
2326
+ class StatusDetail < ::Stripe::StripeObject
2327
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2328
+ attr_reader :code
2329
+ # Machine-readable code explaining how to make the Capability active.
2330
+ attr_reader :resolution
2331
+
2332
+ def self.inner_class_types
2333
+ @inner_class_types = {}
2334
+ end
2335
+
2336
+ def self.field_remappings
2337
+ @field_remappings = {}
2338
+ end
2339
+ end
2340
+ # Whether the Capability has been requested.
2341
+ attr_reader :requested
2342
+ # The status of the Capability.
2343
+ attr_reader :status
2344
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2345
+ attr_reader :status_details
2346
+
2347
+ def self.inner_class_types
2348
+ @inner_class_types = { status_details: StatusDetail }
2349
+ end
2350
+
2351
+ def self.field_remappings
2352
+ @field_remappings = {}
2353
+ end
2354
+ end
2355
+
2356
+ class StripeBalance < ::Stripe::StripeObject
2357
+ class Payouts < ::Stripe::StripeObject
2358
+ class StatusDetail < ::Stripe::StripeObject
2359
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2360
+ attr_reader :code
2361
+ # Machine-readable code explaining how to make the Capability active.
2362
+ attr_reader :resolution
2363
+
2364
+ def self.inner_class_types
2365
+ @inner_class_types = {}
2366
+ end
2367
+
2368
+ def self.field_remappings
2369
+ @field_remappings = {}
2370
+ end
2371
+ end
2372
+ # Whether the Capability has been requested.
2373
+ attr_reader :requested
2374
+ # The status of the Capability.
2375
+ attr_reader :status
2376
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2377
+ attr_reader :status_details
2378
+
2379
+ def self.inner_class_types
2380
+ @inner_class_types = { status_details: StatusDetail }
2381
+ end
2382
+
2383
+ def self.field_remappings
2384
+ @field_remappings = {}
2385
+ end
2386
+ end
2387
+
2388
+ class StripeTransfers < ::Stripe::StripeObject
2389
+ class StatusDetail < ::Stripe::StripeObject
2390
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2391
+ attr_reader :code
2392
+ # Machine-readable code explaining how to make the Capability active.
2393
+ attr_reader :resolution
2394
+
2395
+ def self.inner_class_types
2396
+ @inner_class_types = {}
2397
+ end
2398
+
2399
+ def self.field_remappings
2400
+ @field_remappings = {}
2401
+ end
2402
+ end
2403
+ # Whether the Capability has been requested.
2404
+ attr_reader :requested
2405
+ # The status of the Capability.
2406
+ attr_reader :status
2407
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2408
+ attr_reader :status_details
2409
+
2410
+ def self.inner_class_types
2411
+ @inner_class_types = { status_details: StatusDetail }
2412
+ end
2413
+
2414
+ def self.field_remappings
2415
+ @field_remappings = {}
2416
+ end
2417
+ end
2418
+ # Allows the account to do payouts using their Stripe Balance (/v1/balance).
2419
+ attr_reader :payouts
2420
+ # Allows the account to receive /v1/transfers into their Stripe Balance (/v1/balance).
2421
+ attr_reader :stripe_transfers
2422
+
2423
+ def self.inner_class_types
2424
+ @inner_class_types = { payouts: Payouts, stripe_transfers: StripeTransfers }
2425
+ end
2426
+
2427
+ def self.field_remappings
2428
+ @field_remappings = {}
2429
+ end
2430
+ end
2431
+ # Capabilities that enable OutboundPayments to a bank account linked to this Account.
2432
+ attr_reader :bank_accounts
2433
+ # Capability that enable OutboundPayments to a debit card linked to this Account.
2434
+ attr_reader :cards
2435
+ # Capability that enable OutboundPayments to a crypto wallet linked to this Account.
2436
+ attr_reader :crypto_wallets
2437
+ # Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
2438
+ attr_reader :stripe_balance
2439
+
2440
+ def self.inner_class_types
2441
+ @inner_class_types = {
2442
+ bank_accounts: BankAccounts,
2443
+ cards: Cards,
2444
+ crypto_wallets: CryptoWallets,
2445
+ stripe_balance: StripeBalance,
2446
+ }
2447
+ end
2448
+
2449
+ def self.field_remappings
2450
+ @field_remappings = {}
2451
+ end
2452
+ end
2453
+
2454
+ class DefaultOutboundDestination < ::Stripe::StripeObject
2455
+ # The payout method ID of the default outbound destination.
2456
+ attr_reader :id
2457
+ # Closed Enum. The payout method type of the default outbound destination.
2458
+ attr_reader :type
2459
+
2460
+ def self.inner_class_types
2461
+ @inner_class_types = {}
2462
+ end
2463
+
2464
+ def self.field_remappings
2465
+ @field_remappings = {}
2466
+ end
2467
+ end
2468
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
2469
+ attr_reader :applied
2470
+ # Capabilities that have been requested on the Recipient Configuration.
2471
+ attr_reader :capabilities
2472
+ # The payout method to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through the dashboard or APIs.
2473
+ attr_reader :default_outbound_destination
2474
+
2475
+ def self.inner_class_types
2476
+ @inner_class_types = {
2477
+ capabilities: Capabilities,
2478
+ default_outbound_destination: DefaultOutboundDestination,
2479
+ }
2480
+ end
2481
+
2482
+ def self.field_remappings
2483
+ @field_remappings = {}
2484
+ end
2485
+ end
2486
+
2487
+ class Storer < ::Stripe::StripeObject
2488
+ class Capabilities < ::Stripe::StripeObject
2489
+ class FinancialAddresses < ::Stripe::StripeObject
2490
+ class BankAccounts < ::Stripe::StripeObject
2491
+ class StatusDetail < ::Stripe::StripeObject
2492
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2493
+ attr_reader :code
2494
+ # Machine-readable code explaining how to make the Capability active.
2495
+ attr_reader :resolution
2496
+
2497
+ def self.inner_class_types
2498
+ @inner_class_types = {}
2499
+ end
2500
+
2501
+ def self.field_remappings
2502
+ @field_remappings = {}
2503
+ end
2504
+ end
2505
+ # Whether the Capability has been requested.
2506
+ attr_reader :requested
2507
+ # The status of the Capability.
2508
+ attr_reader :status
2509
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2510
+ attr_reader :status_details
2511
+
2512
+ def self.inner_class_types
2513
+ @inner_class_types = { status_details: StatusDetail }
2514
+ end
2515
+
2516
+ def self.field_remappings
2517
+ @field_remappings = {}
2518
+ end
2519
+ end
2520
+ # Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount.
2521
+ attr_reader :bank_accounts
2522
+
2523
+ def self.inner_class_types
2524
+ @inner_class_types = { bank_accounts: BankAccounts }
2525
+ end
2526
+
2527
+ def self.field_remappings
2528
+ @field_remappings = {}
2529
+ end
2530
+ end
2531
+
2532
+ class HoldsCurrencies < ::Stripe::StripeObject
2533
+ class Gbp < ::Stripe::StripeObject
2534
+ class StatusDetail < ::Stripe::StripeObject
2535
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2536
+ attr_reader :code
2537
+ # Machine-readable code explaining how to make the Capability active.
2538
+ attr_reader :resolution
2539
+
2540
+ def self.inner_class_types
2541
+ @inner_class_types = {}
2542
+ end
2543
+
2544
+ def self.field_remappings
2545
+ @field_remappings = {}
2546
+ end
2547
+ end
2548
+ # Whether the Capability has been requested.
2549
+ attr_reader :requested
2550
+ # The status of the Capability.
2551
+ attr_reader :status
2552
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2553
+ attr_reader :status_details
2554
+
2555
+ def self.inner_class_types
2556
+ @inner_class_types = { status_details: StatusDetail }
2557
+ end
2558
+
2559
+ def self.field_remappings
2560
+ @field_remappings = {}
2561
+ end
2562
+ end
2563
+ # Can hold storage-type funds on Stripe in GBP.
2564
+ attr_reader :gbp
2565
+
2566
+ def self.inner_class_types
2567
+ @inner_class_types = { gbp: Gbp }
2568
+ end
2569
+
2570
+ def self.field_remappings
2571
+ @field_remappings = {}
2572
+ end
2573
+ end
2574
+
2575
+ class InboundTransfers < ::Stripe::StripeObject
2576
+ class BankAccounts < ::Stripe::StripeObject
2577
+ class StatusDetail < ::Stripe::StripeObject
2578
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2579
+ attr_reader :code
2580
+ # Machine-readable code explaining how to make the Capability active.
2581
+ attr_reader :resolution
2582
+
2583
+ def self.inner_class_types
2584
+ @inner_class_types = {}
2585
+ end
2586
+
2587
+ def self.field_remappings
2588
+ @field_remappings = {}
2589
+ end
2590
+ end
2591
+ # Whether the Capability has been requested.
2592
+ attr_reader :requested
2593
+ # The status of the Capability.
2594
+ attr_reader :status
2595
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2596
+ attr_reader :status_details
2597
+
2598
+ def self.inner_class_types
2599
+ @inner_class_types = { status_details: StatusDetail }
2600
+ end
2601
+
2602
+ def self.field_remappings
2603
+ @field_remappings = {}
2604
+ end
2605
+ end
2606
+ # Can pull funds from an external bank account, owned by yourself, to a FinancialAccount.
2607
+ attr_reader :bank_accounts
2608
+
2609
+ def self.inner_class_types
2610
+ @inner_class_types = { bank_accounts: BankAccounts }
2611
+ end
2612
+
2613
+ def self.field_remappings
2614
+ @field_remappings = {}
2615
+ end
2616
+ end
2617
+
2618
+ class OutboundPayments < ::Stripe::StripeObject
2619
+ class BankAccounts < ::Stripe::StripeObject
2620
+ class StatusDetail < ::Stripe::StripeObject
2621
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2622
+ attr_reader :code
2623
+ # Machine-readable code explaining how to make the Capability active.
2624
+ attr_reader :resolution
2625
+
2626
+ def self.inner_class_types
2627
+ @inner_class_types = {}
2628
+ end
2629
+
2630
+ def self.field_remappings
2631
+ @field_remappings = {}
2632
+ end
2633
+ end
2634
+ # Whether the Capability has been requested.
2635
+ attr_reader :requested
2636
+ # The status of the Capability.
2637
+ attr_reader :status
2638
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2639
+ attr_reader :status_details
2640
+
2641
+ def self.inner_class_types
2642
+ @inner_class_types = { status_details: StatusDetail }
2643
+ end
2644
+
2645
+ def self.field_remappings
2646
+ @field_remappings = {}
2647
+ end
2648
+ end
2649
+
2650
+ class Cards < ::Stripe::StripeObject
2651
+ class StatusDetail < ::Stripe::StripeObject
2652
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2653
+ attr_reader :code
2654
+ # Machine-readable code explaining how to make the Capability active.
2655
+ attr_reader :resolution
2656
+
2657
+ def self.inner_class_types
2658
+ @inner_class_types = {}
2659
+ end
2660
+
2661
+ def self.field_remappings
2662
+ @field_remappings = {}
2663
+ end
2664
+ end
2665
+ # Whether the Capability has been requested.
2666
+ attr_reader :requested
2667
+ # The status of the Capability.
2668
+ attr_reader :status
2669
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2670
+ attr_reader :status_details
2671
+
2672
+ def self.inner_class_types
2673
+ @inner_class_types = { status_details: StatusDetail }
2674
+ end
2675
+
2676
+ def self.field_remappings
2677
+ @field_remappings = {}
2678
+ end
2679
+ end
2680
+
2681
+ class FinancialAccounts < ::Stripe::StripeObject
2682
+ class StatusDetail < ::Stripe::StripeObject
2683
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2684
+ attr_reader :code
2685
+ # Machine-readable code explaining how to make the Capability active.
2686
+ attr_reader :resolution
2687
+
2688
+ def self.inner_class_types
2689
+ @inner_class_types = {}
2690
+ end
2691
+
2692
+ def self.field_remappings
2693
+ @field_remappings = {}
2694
+ end
2695
+ end
2696
+ # Whether the Capability has been requested.
2697
+ attr_reader :requested
2698
+ # The status of the Capability.
2699
+ attr_reader :status
2700
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2701
+ attr_reader :status_details
2702
+
2703
+ def self.inner_class_types
2704
+ @inner_class_types = { status_details: StatusDetail }
2705
+ end
2706
+
2707
+ def self.field_remappings
2708
+ @field_remappings = {}
2709
+ end
2710
+ end
2711
+ # Can send funds from a FinancialAccount to a bank account, owned by someone else.
2712
+ attr_reader :bank_accounts
2713
+ # Can send funds from a FinancialAccount to a debit card, owned by someone else.
2714
+ attr_reader :cards
2715
+ # Can send funds from a FinancialAccount to another FinancialAccount, owned by someone else.
2716
+ attr_reader :financial_accounts
2717
+
2718
+ def self.inner_class_types
2719
+ @inner_class_types = {
2720
+ bank_accounts: BankAccounts,
2721
+ cards: Cards,
2722
+ financial_accounts: FinancialAccounts,
2723
+ }
2724
+ end
2725
+
2726
+ def self.field_remappings
2727
+ @field_remappings = {}
2728
+ end
2729
+ end
2730
+
2731
+ class OutboundTransfers < ::Stripe::StripeObject
2732
+ class BankAccounts < ::Stripe::StripeObject
2733
+ class StatusDetail < ::Stripe::StripeObject
2734
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2735
+ attr_reader :code
2736
+ # Machine-readable code explaining how to make the Capability active.
2737
+ attr_reader :resolution
2738
+
2739
+ def self.inner_class_types
2740
+ @inner_class_types = {}
2741
+ end
2742
+
2743
+ def self.field_remappings
2744
+ @field_remappings = {}
2745
+ end
2746
+ end
2747
+ # Whether the Capability has been requested.
2748
+ attr_reader :requested
2749
+ # The status of the Capability.
2750
+ attr_reader :status
2751
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2752
+ attr_reader :status_details
2753
+
2754
+ def self.inner_class_types
2755
+ @inner_class_types = { status_details: StatusDetail }
2756
+ end
2757
+
2758
+ def self.field_remappings
2759
+ @field_remappings = {}
2760
+ end
2761
+ end
2762
+
2763
+ class FinancialAccounts < ::Stripe::StripeObject
2764
+ class StatusDetail < ::Stripe::StripeObject
2765
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2766
+ attr_reader :code
2767
+ # Machine-readable code explaining how to make the Capability active.
2768
+ attr_reader :resolution
2769
+
2770
+ def self.inner_class_types
2771
+ @inner_class_types = {}
2772
+ end
2773
+
2774
+ def self.field_remappings
2775
+ @field_remappings = {}
2776
+ end
2777
+ end
2778
+ # Whether the Capability has been requested.
2779
+ attr_reader :requested
2780
+ # The status of the Capability.
2781
+ attr_reader :status
2782
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2783
+ attr_reader :status_details
2784
+
2785
+ def self.inner_class_types
2786
+ @inner_class_types = { status_details: StatusDetail }
2787
+ end
2788
+
2789
+ def self.field_remappings
2790
+ @field_remappings = {}
2791
+ end
2792
+ end
2793
+ # Can send funds from a FinancialAccount, to a bank account, owned by yourself.
2794
+ attr_reader :bank_accounts
2795
+ # Can send funds from a FinancialAccount to another FinancialAccount, owned by yourself.
2796
+ attr_reader :financial_accounts
2797
+
2798
+ def self.inner_class_types
2799
+ @inner_class_types = {
2800
+ bank_accounts: BankAccounts,
2801
+ financial_accounts: FinancialAccounts,
2802
+ }
2803
+ end
2804
+
2805
+ def self.field_remappings
2806
+ @field_remappings = {}
2807
+ end
2808
+ end
2809
+ # Can provision a financial address to credit/debit a FinancialAccount.
2810
+ attr_reader :financial_addresses
2811
+ # Can hold storage-type funds on Stripe.
2812
+ attr_reader :holds_currencies
2813
+ # Can pull funds from an external source, owned by yourself, to a FinancialAccount.
2814
+ attr_reader :inbound_transfers
2815
+ # Can send funds from a FinancialAccount to a destination owned by someone else.
2816
+ attr_reader :outbound_payments
2817
+ # Can send funds from a FinancialAccount to a destination owned by yourself.
2818
+ attr_reader :outbound_transfers
2819
+
2820
+ def self.inner_class_types
2821
+ @inner_class_types = {
2822
+ financial_addresses: FinancialAddresses,
2823
+ holds_currencies: HoldsCurrencies,
2824
+ inbound_transfers: InboundTransfers,
2825
+ outbound_payments: OutboundPayments,
2826
+ outbound_transfers: OutboundTransfers,
2827
+ }
2828
+ end
2829
+
2830
+ def self.field_remappings
2831
+ @field_remappings = {}
2832
+ end
2833
+ end
2834
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
2835
+ attr_reader :applied
2836
+ # Capabilities that have been requested on the Storer Configuration.
2837
+ attr_reader :capabilities
2838
+
2839
+ def self.inner_class_types
2840
+ @inner_class_types = { capabilities: Capabilities }
2841
+ end
2842
+
2843
+ def self.field_remappings
2844
+ @field_remappings = {}
2845
+ end
2846
+ end
2847
+ # The CardCreator Configuration allows the Account to create and issue cards to users.
2848
+ attr_reader :card_creator
2849
+ # The Customer Configuration allows the Account to be used in inbound payment flows.
2850
+ attr_reader :customer
2851
+ # The Merchant configuration allows the Account to act as a connected account and collect payments facilitated by a Connect platform. You can add this configuration to your connected accounts only if you’ve completed onboarding as a Connect platform.
2852
+ attr_reader :merchant
2853
+ # The Recipient Configuration allows the Account to receive funds.
2854
+ attr_reader :recipient
2855
+ # The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
2856
+ attr_reader :storer
2857
+
2858
+ def self.inner_class_types
2859
+ @inner_class_types = {
2860
+ card_creator: CardCreator,
2861
+ customer: Customer,
2862
+ merchant: Merchant,
2863
+ recipient: Recipient,
2864
+ storer: Storer,
2865
+ }
2866
+ end
2867
+
2868
+ def self.field_remappings
2869
+ @field_remappings = {}
2870
+ end
2871
+ end
2872
+
2873
+ class Defaults < ::Stripe::StripeObject
2874
+ class Profile < ::Stripe::StripeObject
2875
+ # The business's publicly-available website.
2876
+ attr_reader :business_url
2877
+ # The company’s legal name.
2878
+ attr_reader :doing_business_as
2879
+ # Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes.
2880
+ attr_reader :product_description
2881
+
2882
+ def self.inner_class_types
2883
+ @inner_class_types = {}
2884
+ end
2885
+
2886
+ def self.field_remappings
2887
+ @field_remappings = {}
2888
+ end
2889
+ end
2890
+
2891
+ class Responsibilities < ::Stripe::StripeObject
2892
+ # A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this Account.
2893
+ attr_reader :fees_collector
2894
+ # A value indicating who is responsible for losses when this Account can’t pay back negative balances from payments.
2895
+ attr_reader :losses_collector
2896
+
2897
+ def self.inner_class_types
2898
+ @inner_class_types = {}
2899
+ end
2900
+
2901
+ def self.field_remappings
2902
+ @field_remappings = {}
2903
+ end
2904
+ end
2905
+ # 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).
2906
+ attr_reader :currency
2907
+ # The Account's preferred locales (languages), ordered by preference.
2908
+ attr_reader :locales
2909
+ # Account profile information.
2910
+ attr_reader :profile
2911
+ # Default responsibilities held by either Stripe or the platform.
2912
+ attr_reader :responsibilities
2913
+
2914
+ def self.inner_class_types
2915
+ @inner_class_types = { profile: Profile, responsibilities: Responsibilities }
2916
+ end
2917
+
2918
+ def self.field_remappings
2919
+ @field_remappings = {}
2920
+ end
2921
+ end
2922
+
2923
+ class Identity < ::Stripe::StripeObject
2924
+ class Attestations < ::Stripe::StripeObject
2925
+ class DirectorshipDeclaration < ::Stripe::StripeObject
2926
+ # 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.
2927
+ attr_reader :date
2928
+ # The IP address from which the director attestation was made.
2929
+ attr_reader :ip
2930
+ # The user agent of the browser from which the director attestation was made.
2931
+ attr_reader :user_agent
2932
+
2933
+ def self.inner_class_types
2934
+ @inner_class_types = {}
2935
+ end
2936
+
2937
+ def self.field_remappings
2938
+ @field_remappings = {}
2939
+ end
2940
+ end
2941
+
2942
+ class OwnershipDeclaration < ::Stripe::StripeObject
2943
+ # 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.
2944
+ attr_reader :date
2945
+ # The IP address from which the beneficial owner attestation was made.
2946
+ attr_reader :ip
2947
+ # The user agent of the browser from which the beneficial owner attestation was made.
2948
+ attr_reader :user_agent
2949
+
2950
+ def self.inner_class_types
2951
+ @inner_class_types = {}
2952
+ end
2953
+
2954
+ def self.field_remappings
2955
+ @field_remappings = {}
2956
+ end
2957
+ end
2958
+
2959
+ class PersonsProvided < ::Stripe::StripeObject
2960
+ # 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).
2961
+ attr_reader :directors
2962
+ # 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).
2963
+ attr_reader :executives
2964
+ # 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).
2965
+ attr_reader :owners
2966
+ # Reason for why the company is exempt from providing ownership information.
2967
+ attr_reader :ownership_exemption_reason
2968
+
2969
+ def self.inner_class_types
2970
+ @inner_class_types = {}
2971
+ end
2972
+
2973
+ def self.field_remappings
2974
+ @field_remappings = {}
2975
+ end
2976
+ end
2977
+
2978
+ class TermsOfService < ::Stripe::StripeObject
2979
+ class Account < ::Stripe::StripeObject
2980
+ # 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.
2981
+ attr_reader :date
2982
+ # The IP address from which the Account's representative accepted the terms of service.
2983
+ attr_reader :ip
2984
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
2985
+ attr_reader :user_agent
2986
+
2987
+ def self.inner_class_types
2988
+ @inner_class_types = {}
2989
+ end
2990
+
2991
+ def self.field_remappings
2992
+ @field_remappings = {}
2993
+ end
2994
+ end
2995
+
2996
+ class CardCreator < ::Stripe::StripeObject
2997
+ class Commercial < ::Stripe::StripeObject
2998
+ class AccountHolder < ::Stripe::StripeObject
2999
+ # 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.
3000
+ attr_reader :date
3001
+ # The IP address from which the Account's representative accepted the terms of service.
3002
+ attr_reader :ip
3003
+ # The URL to the service agreement the Account's representative accepted.
3004
+ attr_reader :url
3005
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3006
+ attr_reader :user_agent
3007
+
3008
+ def self.inner_class_types
3009
+ @inner_class_types = {}
3010
+ end
3011
+
3012
+ def self.field_remappings
3013
+ @field_remappings = {}
3014
+ end
3015
+ end
3016
+
3017
+ class Celtic < ::Stripe::StripeObject
3018
+ class ApplePay < ::Stripe::StripeObject
3019
+ # 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.
3020
+ attr_reader :date
3021
+ # The IP address from which the Account's representative accepted the terms of service.
3022
+ attr_reader :ip
3023
+ # The URL to the service agreement the Account's representative accepted.
3024
+ attr_reader :url
3025
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3026
+ attr_reader :user_agent
3027
+
3028
+ def self.inner_class_types
3029
+ @inner_class_types = {}
3030
+ end
3031
+
3032
+ def self.field_remappings
3033
+ @field_remappings = {}
3034
+ end
3035
+ end
3036
+
3037
+ class ChargeCard < ::Stripe::StripeObject
3038
+ class BankTerms < ::Stripe::StripeObject
3039
+ # 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.
3040
+ attr_reader :date
3041
+ # The IP address from which the Account's representative accepted the terms of service.
3042
+ attr_reader :ip
3043
+ # The URL to the service agreement the Account's representative accepted.
3044
+ attr_reader :url
3045
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3046
+ attr_reader :user_agent
3047
+
3048
+ def self.inner_class_types
3049
+ @inner_class_types = {}
3050
+ end
3051
+
3052
+ def self.field_remappings
3053
+ @field_remappings = {}
3054
+ end
3055
+ end
3056
+
3057
+ class Platform < ::Stripe::StripeObject
3058
+ # 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.
3059
+ attr_reader :date
3060
+ # The IP address from which the Account's representative accepted the terms of service.
3061
+ attr_reader :ip
3062
+ # The URL to the service agreement the Account's representative accepted.
3063
+ attr_reader :url
3064
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3065
+ attr_reader :user_agent
3066
+
3067
+ def self.inner_class_types
3068
+ @inner_class_types = {}
3069
+ end
3070
+
3071
+ def self.field_remappings
3072
+ @field_remappings = {}
3073
+ end
3074
+ end
3075
+ # Bank terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
3076
+ attr_reader :bank_terms
3077
+ # Platform terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
3078
+ attr_reader :platform
3079
+
3080
+ def self.inner_class_types
3081
+ @inner_class_types = { bank_terms: BankTerms, platform: Platform }
3082
+ end
3083
+
3084
+ def self.field_remappings
3085
+ @field_remappings = {}
3086
+ end
3087
+ end
3088
+
3089
+ class SpendCard < ::Stripe::StripeObject
3090
+ class BankTerms < ::Stripe::StripeObject
3091
+ # 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.
3092
+ attr_reader :date
3093
+ # The IP address from which the Account's representative accepted the terms of service.
3094
+ attr_reader :ip
3095
+ # The URL to the service agreement the Account's representative accepted.
3096
+ attr_reader :url
3097
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3098
+ attr_reader :user_agent
3099
+
3100
+ def self.inner_class_types
3101
+ @inner_class_types = {}
3102
+ end
3103
+
3104
+ def self.field_remappings
3105
+ @field_remappings = {}
3106
+ end
3107
+ end
3108
+
3109
+ class FinancingDisclosures < ::Stripe::StripeObject
3110
+ # 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.
3111
+ attr_reader :date
3112
+ # The IP address from which the Account's representative accepted the terms of service.
3113
+ attr_reader :ip
3114
+ # The URL to the service agreement the Account's representative accepted.
3115
+ attr_reader :url
3116
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3117
+ attr_reader :user_agent
3118
+
3119
+ def self.inner_class_types
3120
+ @inner_class_types = {}
3121
+ end
3122
+
3123
+ def self.field_remappings
3124
+ @field_remappings = {}
3125
+ end
3126
+ end
3127
+
3128
+ class Platform < ::Stripe::StripeObject
3129
+ # 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.
3130
+ attr_reader :date
3131
+ # The IP address from which the Account's representative accepted the terms of service.
3132
+ attr_reader :ip
3133
+ # The URL to the service agreement the Account's representative accepted.
3134
+ attr_reader :url
3135
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3136
+ attr_reader :user_agent
3137
+
3138
+ def self.inner_class_types
3139
+ @inner_class_types = {}
3140
+ end
3141
+
3142
+ def self.field_remappings
3143
+ @field_remappings = {}
3144
+ end
3145
+ end
3146
+ # Bank terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
3147
+ attr_reader :bank_terms
3148
+ # Financial disclosures terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
3149
+ attr_reader :financing_disclosures
3150
+ # Platform terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
3151
+ attr_reader :platform
3152
+
3153
+ def self.inner_class_types
3154
+ @inner_class_types = {
3155
+ bank_terms: BankTerms,
3156
+ financing_disclosures: FinancingDisclosures,
3157
+ platform: Platform,
3158
+ }
3159
+ end
3160
+
3161
+ def self.field_remappings
3162
+ @field_remappings = {}
3163
+ end
3164
+ end
3165
+ # Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor.
3166
+ attr_reader :apple_pay
3167
+ # Terms of service acceptances for commercial issuing charge cards with Celtic as BIN sponsor.
3168
+ attr_reader :charge_card
3169
+ # Terms of service acceptances for commercial issuing spend cards with Celtic as BIN sponsor.
3170
+ attr_reader :spend_card
3171
+
3172
+ def self.inner_class_types
3173
+ @inner_class_types = {
3174
+ apple_pay: ApplePay,
3175
+ charge_card: ChargeCard,
3176
+ spend_card: SpendCard,
3177
+ }
3178
+ end
3179
+
3180
+ def self.field_remappings
3181
+ @field_remappings = {}
3182
+ end
3183
+ end
3184
+
3185
+ class CrossRiverBank < ::Stripe::StripeObject
3186
+ class ApplePay < ::Stripe::StripeObject
3187
+ # 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.
3188
+ attr_reader :date
3189
+ # The IP address from which the Account's representative accepted the terms of service.
3190
+ attr_reader :ip
3191
+ # The URL to the service agreement the Account's representative accepted.
3192
+ attr_reader :url
3193
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3194
+ attr_reader :user_agent
3195
+
3196
+ def self.inner_class_types
3197
+ @inner_class_types = {}
3198
+ end
3199
+
3200
+ def self.field_remappings
3201
+ @field_remappings = {}
3202
+ end
3203
+ end
3204
+
3205
+ class ChargeCard < ::Stripe::StripeObject
3206
+ class BankTerms < ::Stripe::StripeObject
3207
+ # 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.
3208
+ attr_reader :date
3209
+ # The IP address from which the Account's representative accepted the terms of service.
3210
+ attr_reader :ip
3211
+ # The URL to the service agreement the Account's representative accepted.
3212
+ attr_reader :url
3213
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3214
+ attr_reader :user_agent
3215
+
3216
+ def self.inner_class_types
3217
+ @inner_class_types = {}
3218
+ end
3219
+
3220
+ def self.field_remappings
3221
+ @field_remappings = {}
3222
+ end
3223
+ end
3224
+
3225
+ class FinancingDisclosures < ::Stripe::StripeObject
3226
+ # 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.
3227
+ attr_reader :date
3228
+ # The IP address from which the Account's representative accepted the terms of service.
3229
+ attr_reader :ip
3230
+ # The URL to the service agreement the Account's representative accepted.
3231
+ attr_reader :url
3232
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3233
+ attr_reader :user_agent
3234
+
3235
+ def self.inner_class_types
3236
+ @inner_class_types = {}
3237
+ end
3238
+
3239
+ def self.field_remappings
3240
+ @field_remappings = {}
3241
+ end
3242
+ end
3243
+
3244
+ class Platform < ::Stripe::StripeObject
3245
+ # 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.
3246
+ attr_reader :date
3247
+ # The IP address from which the Account's representative accepted the terms of service.
3248
+ attr_reader :ip
3249
+ # The URL to the service agreement the Account's representative accepted.
3250
+ attr_reader :url
3251
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3252
+ attr_reader :user_agent
3253
+
3254
+ def self.inner_class_types
3255
+ @inner_class_types = {}
3256
+ end
3257
+
3258
+ def self.field_remappings
3259
+ @field_remappings = {}
3260
+ end
3261
+ end
3262
+ # Bank terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
3263
+ attr_reader :bank_terms
3264
+ # Financial disclosures terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
3265
+ attr_reader :financing_disclosures
3266
+ # Platform terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
3267
+ attr_reader :platform
3268
+
3269
+ def self.inner_class_types
3270
+ @inner_class_types = {
3271
+ bank_terms: BankTerms,
3272
+ financing_disclosures: FinancingDisclosures,
3273
+ platform: Platform,
3274
+ }
3275
+ end
3276
+
3277
+ def self.field_remappings
3278
+ @field_remappings = {}
3279
+ end
3280
+ end
3281
+
3282
+ class SpendCard < ::Stripe::StripeObject
3283
+ class BankTerms < ::Stripe::StripeObject
3284
+ # 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.
3285
+ attr_reader :date
3286
+ # The IP address from which the Account's representative accepted the terms of service.
3287
+ attr_reader :ip
3288
+ # The URL to the service agreement the Account's representative accepted.
3289
+ attr_reader :url
3290
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3291
+ attr_reader :user_agent
3292
+
3293
+ def self.inner_class_types
3294
+ @inner_class_types = {}
3295
+ end
3296
+
3297
+ def self.field_remappings
3298
+ @field_remappings = {}
3299
+ end
3300
+ end
3301
+
3302
+ class FinancingDisclosures < ::Stripe::StripeObject
3303
+ # 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.
3304
+ attr_reader :date
3305
+ # The IP address from which the Account's representative accepted the terms of service.
3306
+ attr_reader :ip
3307
+ # The URL to the service agreement the Account's representative accepted.
3308
+ attr_reader :url
3309
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3310
+ attr_reader :user_agent
3311
+
3312
+ def self.inner_class_types
3313
+ @inner_class_types = {}
3314
+ end
3315
+
3316
+ def self.field_remappings
3317
+ @field_remappings = {}
3318
+ end
3319
+ end
3320
+ # Bank terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
3321
+ attr_reader :bank_terms
3322
+ # Financial disclosures terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
3323
+ attr_reader :financing_disclosures
3324
+
3325
+ def self.inner_class_types
3326
+ @inner_class_types = {
3327
+ bank_terms: BankTerms,
3328
+ financing_disclosures: FinancingDisclosures,
3329
+ }
3330
+ end
3331
+
3332
+ def self.field_remappings
3333
+ @field_remappings = {}
3334
+ end
3335
+ end
3336
+ # Terms of service acceptances for commercial issuing Apple Pay cards with Cross River Bank as BIN sponsor.
3337
+ attr_reader :apple_pay
3338
+ # Terms of service acceptances for commercial issuing charge cards with Cross River Bank as BIN sponsor.
3339
+ attr_reader :charge_card
3340
+ # Terms of service acceptances for commercial issuing spend cards with Cross River Bank as BIN sponsor.
3341
+ attr_reader :spend_card
3342
+
3343
+ def self.inner_class_types
3344
+ @inner_class_types = {
3345
+ apple_pay: ApplePay,
3346
+ charge_card: ChargeCard,
3347
+ spend_card: SpendCard,
3348
+ }
3349
+ end
3350
+
3351
+ def self.field_remappings
3352
+ @field_remappings = {}
3353
+ end
3354
+ end
3355
+ # Terms of service acceptances for Stripe commercial card issuing.
3356
+ attr_reader :account_holder
3357
+ # Terms of service acceptances for commercial issuing cards with Celtic as BIN sponsor.
3358
+ attr_reader :celtic
3359
+ # Terms of service acceptances for commercial issuing cards with Cross River Bank as BIN sponsor.
3360
+ attr_reader :cross_river_bank
3361
+
3362
+ def self.inner_class_types
3363
+ @inner_class_types = {
3364
+ account_holder: AccountHolder,
3365
+ celtic: Celtic,
3366
+ cross_river_bank: CrossRiverBank,
3367
+ }
3368
+ end
3369
+
3370
+ def self.field_remappings
3371
+ @field_remappings = {}
3372
+ end
3373
+ end
3374
+ # Terms of service acceptances to create cards for commercial issuing use cases.
3375
+ attr_reader :commercial
3376
+
3377
+ def self.inner_class_types
3378
+ @inner_class_types = { commercial: Commercial }
3379
+ end
3380
+
3381
+ def self.field_remappings
3382
+ @field_remappings = {}
3383
+ end
3384
+ end
3385
+
3386
+ class Storer < ::Stripe::StripeObject
3387
+ # 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.
3388
+ attr_reader :date
3389
+ # The IP address from which the Account's representative accepted the terms of service.
3390
+ attr_reader :ip
3391
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3392
+ attr_reader :user_agent
3393
+
3394
+ def self.inner_class_types
3395
+ @inner_class_types = {}
3396
+ end
3397
+
3398
+ def self.field_remappings
3399
+ @field_remappings = {}
3400
+ end
3401
+ end
3402
+ # Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
3403
+ attr_reader :account
3404
+ # Details on the Account's acceptance of Issuing-specific terms of service.
3405
+ attr_reader :card_creator
3406
+ # Details on the Account's acceptance of Treasury-specific terms of service.
3407
+ attr_reader :storer
3408
+
3409
+ def self.inner_class_types
3410
+ @inner_class_types = { account: Account, card_creator: CardCreator, storer: Storer }
3411
+ end
3412
+
3413
+ def self.field_remappings
3414
+ @field_remappings = {}
3415
+ end
3416
+ end
3417
+ # This hash is used to attest that the directors information provided to Stripe is both current and correct.
3418
+ attr_reader :directorship_declaration
3419
+ # This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
3420
+ attr_reader :ownership_declaration
3421
+ # Attestation that all Persons with a specific Relationship value have been provided.
3422
+ attr_reader :persons_provided
3423
+ # Attestations of accepted terms of service agreements.
3424
+ attr_reader :terms_of_service
3425
+
3426
+ def self.inner_class_types
3427
+ @inner_class_types = {
3428
+ directorship_declaration: DirectorshipDeclaration,
3429
+ ownership_declaration: OwnershipDeclaration,
3430
+ persons_provided: PersonsProvided,
3431
+ terms_of_service: TermsOfService,
3432
+ }
3433
+ end
3434
+
3435
+ def self.field_remappings
3436
+ @field_remappings = {}
3437
+ end
3438
+ end
3439
+
3440
+ class BusinessDetails < ::Stripe::StripeObject
3441
+ class Address < ::Stripe::StripeObject
3442
+ # City, district, suburb, town, or village.
3443
+ attr_reader :city
3444
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3445
+ attr_reader :country
3446
+ # Address line 1 (e.g., street, PO Box, or company name).
3447
+ attr_reader :line1
3448
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3449
+ attr_reader :line2
3450
+ # ZIP or postal code.
3451
+ attr_reader :postal_code
3452
+ # State, county, province, or region.
3453
+ attr_reader :state
3454
+ # Town or cho-me.
3455
+ attr_reader :town
3456
+
3457
+ def self.inner_class_types
3458
+ @inner_class_types = {}
3459
+ end
3460
+
3461
+ def self.field_remappings
3462
+ @field_remappings = {}
3463
+ end
3464
+ end
3465
+
3466
+ class AnnualRevenue < ::Stripe::StripeObject
3467
+ # A non-negative integer representing the amount in the smallest currency unit.
3468
+ attr_reader :amount
3469
+ # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
3470
+ attr_reader :fiscal_year_end
3471
+
3472
+ def self.inner_class_types
3473
+ @inner_class_types = {}
3474
+ end
3475
+
3476
+ def self.field_remappings
3477
+ @field_remappings = {}
3478
+ end
3479
+ end
3480
+
3481
+ class Documents < ::Stripe::StripeObject
3482
+ class BankAccountOwnershipVerification < ::Stripe::StripeObject
3483
+ # 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`.
3484
+ attr_reader :files
3485
+ # The format of the document. Currently supports `files` only.
3486
+ attr_reader :type
3487
+
3488
+ def self.inner_class_types
3489
+ @inner_class_types = {}
3490
+ end
3491
+
3492
+ def self.field_remappings
3493
+ @field_remappings = {}
3494
+ end
3495
+ end
3496
+
3497
+ class CompanyLicense < ::Stripe::StripeObject
3498
+ # 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`.
3499
+ attr_reader :files
3500
+ # The format of the document. Currently supports `files` only.
3501
+ attr_reader :type
3502
+
3503
+ def self.inner_class_types
3504
+ @inner_class_types = {}
3505
+ end
3506
+
3507
+ def self.field_remappings
3508
+ @field_remappings = {}
3509
+ end
3510
+ end
3511
+
3512
+ class CompanyMemorandumOfAssociation < ::Stripe::StripeObject
3513
+ # 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`.
3514
+ attr_reader :files
3515
+ # The format of the document. Currently supports `files` only.
3516
+ attr_reader :type
3517
+
3518
+ def self.inner_class_types
3519
+ @inner_class_types = {}
3520
+ end
3521
+
3522
+ def self.field_remappings
3523
+ @field_remappings = {}
3524
+ end
3525
+ end
3526
+
3527
+ class CompanyMinisterialDecree < ::Stripe::StripeObject
3528
+ # 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`.
3529
+ attr_reader :files
3530
+ # The format of the document. Currently supports `files` only.
3531
+ attr_reader :type
3532
+
3533
+ def self.inner_class_types
3534
+ @inner_class_types = {}
3535
+ end
3536
+
3537
+ def self.field_remappings
3538
+ @field_remappings = {}
3539
+ end
3540
+ end
3541
+
3542
+ class CompanyRegistrationVerification < ::Stripe::StripeObject
3543
+ # 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`.
3544
+ attr_reader :files
3545
+ # The format of the document. Currently supports `files` only.
3546
+ attr_reader :type
3547
+
3548
+ def self.inner_class_types
3549
+ @inner_class_types = {}
3550
+ end
3551
+
3552
+ def self.field_remappings
3553
+ @field_remappings = {}
3554
+ end
3555
+ end
3556
+
3557
+ class CompanyTaxIdVerification < ::Stripe::StripeObject
3558
+ # 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`.
3559
+ attr_reader :files
3560
+ # The format of the document. Currently supports `files` only.
3561
+ attr_reader :type
3562
+
3563
+ def self.inner_class_types
3564
+ @inner_class_types = {}
3565
+ end
3566
+
3567
+ def self.field_remappings
3568
+ @field_remappings = {}
3569
+ end
3570
+ end
3571
+
3572
+ class PrimaryVerification < ::Stripe::StripeObject
3573
+ class FrontBack < ::Stripe::StripeObject
3574
+ # 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.
3575
+ attr_reader :back
3576
+ # 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.
3577
+ attr_reader :front
3578
+
3579
+ def self.inner_class_types
3580
+ @inner_class_types = {}
3581
+ end
3582
+
3583
+ def self.field_remappings
3584
+ @field_remappings = {}
3585
+ end
3586
+ end
3587
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
3588
+ attr_reader :front_back
3589
+ # The format of the verification document. Currently supports `front_back` only.
3590
+ attr_reader :type
3591
+
3592
+ def self.inner_class_types
3593
+ @inner_class_types = { front_back: FrontBack }
3594
+ end
3595
+
3596
+ def self.field_remappings
3597
+ @field_remappings = {}
3598
+ end
3599
+ end
3600
+
3601
+ class ProofOfAddress < ::Stripe::StripeObject
3602
+ # 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`.
3603
+ attr_reader :files
3604
+ # The format of the document. Currently supports `files` only.
3605
+ attr_reader :type
3606
+
3607
+ def self.inner_class_types
3608
+ @inner_class_types = {}
3609
+ end
3610
+
3611
+ def self.field_remappings
3612
+ @field_remappings = {}
3613
+ end
3614
+ end
3615
+
3616
+ class ProofOfRegistration < ::Stripe::StripeObject
3617
+ # 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`.
3618
+ attr_reader :files
3619
+ # The format of the document. Currently supports `files` only.
3620
+ attr_reader :type
3621
+
3622
+ def self.inner_class_types
3623
+ @inner_class_types = {}
3624
+ end
3625
+
3626
+ def self.field_remappings
3627
+ @field_remappings = {}
3628
+ end
3629
+ end
3630
+
3631
+ class ProofOfUltimateBeneficialOwnership < ::Stripe::StripeObject
3632
+ # 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`.
3633
+ attr_reader :files
3634
+ # The format of the document. Currently supports `files` only.
3635
+ attr_reader :type
3636
+
3637
+ def self.inner_class_types
3638
+ @inner_class_types = {}
3639
+ end
3640
+
3641
+ def self.field_remappings
3642
+ @field_remappings = {}
3643
+ end
3644
+ end
3645
+ # 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.
3646
+ attr_reader :bank_account_ownership_verification
3647
+ # One or more documents that demonstrate proof of a company’s license to operate.
3648
+ attr_reader :company_license
3649
+ # One or more documents showing the company’s Memorandum of Association.
3650
+ attr_reader :company_memorandum_of_association
3651
+ # Certain countries only: One or more documents showing the ministerial decree legalizing the company’s establishment.
3652
+ attr_reader :company_ministerial_decree
3653
+ # One or more documents that demonstrate proof of a company’s registration with the appropriate local authorities.
3654
+ attr_reader :company_registration_verification
3655
+ # One or more documents that demonstrate proof of a company’s tax ID.
3656
+ attr_reader :company_tax_id_verification
3657
+ # A document verifying the business.
3658
+ attr_reader :primary_verification
3659
+ # One or more documents that demonstrate proof of address.
3660
+ attr_reader :proof_of_address
3661
+ # One or more documents showing the company’s proof of registration with the national business registry.
3662
+ attr_reader :proof_of_registration
3663
+ # One or more documents that demonstrate proof of ultimate beneficial ownership.
3664
+ attr_reader :proof_of_ultimate_beneficial_ownership
3665
+
3666
+ def self.inner_class_types
3667
+ @inner_class_types = {
3668
+ bank_account_ownership_verification: BankAccountOwnershipVerification,
3669
+ company_license: CompanyLicense,
3670
+ company_memorandum_of_association: CompanyMemorandumOfAssociation,
3671
+ company_ministerial_decree: CompanyMinisterialDecree,
3672
+ company_registration_verification: CompanyRegistrationVerification,
3673
+ company_tax_id_verification: CompanyTaxIdVerification,
3674
+ primary_verification: PrimaryVerification,
3675
+ proof_of_address: ProofOfAddress,
3676
+ proof_of_registration: ProofOfRegistration,
3677
+ proof_of_ultimate_beneficial_ownership: ProofOfUltimateBeneficialOwnership,
3678
+ }
3679
+ end
3680
+
3681
+ def self.field_remappings
3682
+ @field_remappings = {}
3683
+ end
3684
+ end
3685
+
3686
+ class IdNumber < ::Stripe::StripeObject
3687
+ # The registrar of the ID number (Only valid for DE ID number types).
3688
+ attr_reader :registrar
3689
+ # Open Enum. The ID number type of a business entity.
3690
+ attr_reader :type
3691
+
3692
+ def self.inner_class_types
3693
+ @inner_class_types = {}
3694
+ end
3695
+
3696
+ def self.field_remappings
3697
+ @field_remappings = {}
3698
+ end
3699
+ end
3700
+
3701
+ class MonthlyEstimatedRevenue < ::Stripe::StripeObject
3702
+ # A non-negative integer representing the amount in the smallest currency unit.
3703
+ attr_reader :amount
3704
+
3705
+ def self.inner_class_types
3706
+ @inner_class_types = {}
3707
+ end
3708
+
3709
+ def self.field_remappings
3710
+ @field_remappings = {}
3711
+ end
3712
+ end
3713
+
3714
+ class ScriptAddresses < ::Stripe::StripeObject
3715
+ class Kana < ::Stripe::StripeObject
3716
+ # City, district, suburb, town, or village.
3717
+ attr_reader :city
3718
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3719
+ attr_reader :country
3720
+ # Address line 1 (e.g., street, PO Box, or company name).
3721
+ attr_reader :line1
3722
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3723
+ attr_reader :line2
3724
+ # ZIP or postal code.
3725
+ attr_reader :postal_code
3726
+ # State, county, province, or region.
3727
+ attr_reader :state
3728
+ # Town or cho-me.
3729
+ attr_reader :town
3730
+
3731
+ def self.inner_class_types
3732
+ @inner_class_types = {}
3733
+ end
3734
+
3735
+ def self.field_remappings
3736
+ @field_remappings = {}
3737
+ end
3738
+ end
3739
+
3740
+ class Kanji < ::Stripe::StripeObject
3741
+ # City, district, suburb, town, or village.
3742
+ attr_reader :city
3743
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3744
+ attr_reader :country
3745
+ # Address line 1 (e.g., street, PO Box, or company name).
3746
+ attr_reader :line1
3747
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3748
+ attr_reader :line2
3749
+ # ZIP or postal code.
3750
+ attr_reader :postal_code
3751
+ # State, county, province, or region.
3752
+ attr_reader :state
3753
+ # Town or cho-me.
3754
+ attr_reader :town
3755
+
3756
+ def self.inner_class_types
3757
+ @inner_class_types = {}
3758
+ end
3759
+
3760
+ def self.field_remappings
3761
+ @field_remappings = {}
3762
+ end
3763
+ end
3764
+ # Kana Address.
3765
+ attr_reader :kana
3766
+ # Kanji Address.
3767
+ attr_reader :kanji
3768
+
3769
+ def self.inner_class_types
3770
+ @inner_class_types = { kana: Kana, kanji: Kanji }
3771
+ end
3772
+
3773
+ def self.field_remappings
3774
+ @field_remappings = {}
3775
+ end
3776
+ end
3777
+
3778
+ class ScriptNames < ::Stripe::StripeObject
3779
+ class Kana < ::Stripe::StripeObject
3780
+ # Registered name of the business.
3781
+ attr_reader :registered_name
3782
+
3783
+ def self.inner_class_types
3784
+ @inner_class_types = {}
3785
+ end
3786
+
3787
+ def self.field_remappings
3788
+ @field_remappings = {}
3789
+ end
3790
+ end
3791
+
3792
+ class Kanji < ::Stripe::StripeObject
3793
+ # Registered name of the business.
3794
+ attr_reader :registered_name
3795
+
3796
+ def self.inner_class_types
3797
+ @inner_class_types = {}
3798
+ end
3799
+
3800
+ def self.field_remappings
3801
+ @field_remappings = {}
3802
+ end
3803
+ end
3804
+ # Kana name.
3805
+ attr_reader :kana
3806
+ # Kanji name.
3807
+ attr_reader :kanji
3808
+
3809
+ def self.inner_class_types
3810
+ @inner_class_types = { kana: Kana, kanji: Kanji }
3811
+ end
3812
+
3813
+ def self.field_remappings
3814
+ @field_remappings = {}
3815
+ end
3816
+ end
3817
+ # The company’s primary address.
3818
+ attr_reader :address
3819
+ # The business gross annual revenue for its preceding fiscal year.
3820
+ attr_reader :annual_revenue
3821
+ # Documents that may be submitted to satisfy various informational requests.
3822
+ attr_reader :documents
3823
+ # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
3824
+ attr_reader :estimated_worker_count
3825
+ # The provided ID numbers of a business entity.
3826
+ attr_reader :id_numbers
3827
+ # An estimate of the monthly revenue of the business.
3828
+ attr_reader :monthly_estimated_revenue
3829
+ # The company’s phone number (used for verification).
3830
+ attr_reader :phone
3831
+ # The business legal name.
3832
+ attr_reader :registered_name
3833
+ # The business registration address of the business entity in non latin script.
3834
+ attr_reader :script_addresses
3835
+ # The business legal name in non latin script.
3836
+ attr_reader :script_names
3837
+ # The category identifying the legal structure of the business.
3838
+ attr_reader :structure
3839
+
3840
+ def self.inner_class_types
3841
+ @inner_class_types = {
3842
+ address: Address,
3843
+ annual_revenue: AnnualRevenue,
3844
+ documents: Documents,
3845
+ id_numbers: IdNumber,
3846
+ monthly_estimated_revenue: MonthlyEstimatedRevenue,
3847
+ script_addresses: ScriptAddresses,
3848
+ script_names: ScriptNames,
3849
+ }
3850
+ end
3851
+
3852
+ def self.field_remappings
3853
+ @field_remappings = {}
3854
+ end
3855
+ end
3856
+
3857
+ class Individual < ::Stripe::StripeObject
3858
+ class AdditionalAddress < ::Stripe::StripeObject
3859
+ # City, district, suburb, town, or village.
3860
+ attr_reader :city
3861
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3862
+ attr_reader :country
3863
+ # Address line 1 (e.g., street, PO Box, or company name).
3864
+ attr_reader :line1
3865
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3866
+ attr_reader :line2
3867
+ # ZIP or postal code.
3868
+ attr_reader :postal_code
3869
+ # Purpose of additional address.
3870
+ attr_reader :purpose
3871
+ # State, county, province, or region.
3872
+ attr_reader :state
3873
+ # Town or cho-me.
3874
+ attr_reader :town
3875
+
3876
+ def self.inner_class_types
3877
+ @inner_class_types = {}
3878
+ end
3879
+
3880
+ def self.field_remappings
3881
+ @field_remappings = {}
3882
+ end
3883
+ end
3884
+
3885
+ class AdditionalName < ::Stripe::StripeObject
3886
+ # The individual's full name.
3887
+ attr_reader :full_name
3888
+ # The individual's first or given name.
3889
+ attr_reader :given_name
3890
+ # The purpose or type of the additional name.
3891
+ attr_reader :purpose
3892
+ # The individual's last or family name.
3893
+ attr_reader :surname
3894
+
3895
+ def self.inner_class_types
3896
+ @inner_class_types = {}
3897
+ end
3898
+
3899
+ def self.field_remappings
3900
+ @field_remappings = {}
3901
+ end
3902
+ end
3903
+
3904
+ class AdditionalTermsOfService < ::Stripe::StripeObject
3905
+ class Account < ::Stripe::StripeObject
3906
+ # 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.
3907
+ attr_reader :date
3908
+ # The IP address from which the Account's representative accepted the terms of service.
3909
+ attr_reader :ip
3910
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3911
+ attr_reader :user_agent
3912
+
3913
+ def self.inner_class_types
3914
+ @inner_class_types = {}
3915
+ end
3916
+
3917
+ def self.field_remappings
3918
+ @field_remappings = {}
3919
+ end
3920
+ end
3921
+ # Stripe terms of service agreement.
3922
+ attr_reader :account
3923
+
3924
+ def self.inner_class_types
3925
+ @inner_class_types = { account: Account }
3926
+ end
3927
+
3928
+ def self.field_remappings
3929
+ @field_remappings = {}
3930
+ end
3931
+ end
3932
+
3933
+ class Address < ::Stripe::StripeObject
3934
+ # City, district, suburb, town, or village.
3935
+ attr_reader :city
3936
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3937
+ attr_reader :country
3938
+ # Address line 1 (e.g., street, PO Box, or company name).
3939
+ attr_reader :line1
3940
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3941
+ attr_reader :line2
3942
+ # ZIP or postal code.
3943
+ attr_reader :postal_code
3944
+ # State, county, province, or region.
3945
+ attr_reader :state
3946
+ # Town or cho-me.
3947
+ attr_reader :town
3948
+
3949
+ def self.inner_class_types
3950
+ @inner_class_types = {}
3951
+ end
3952
+
3953
+ def self.field_remappings
3954
+ @field_remappings = {}
3955
+ end
3956
+ end
3957
+
3958
+ class DateOfBirth < ::Stripe::StripeObject
3959
+ # The day of birth, between 1 and 31.
3960
+ attr_reader :day
3961
+ # The month of birth, between 1 and 12.
3962
+ attr_reader :month
3963
+ # The four-digit year of birth.
3964
+ attr_reader :year
3965
+
3966
+ def self.inner_class_types
3967
+ @inner_class_types = {}
3968
+ end
3969
+
3970
+ def self.field_remappings
3971
+ @field_remappings = {}
3972
+ end
3973
+ end
3974
+
3975
+ class Documents < ::Stripe::StripeObject
3976
+ class CompanyAuthorization < ::Stripe::StripeObject
3977
+ # 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`.
3978
+ attr_reader :files
3979
+ # The format of the document. Currently supports `files` only.
3980
+ attr_reader :type
3981
+
3982
+ def self.inner_class_types
3983
+ @inner_class_types = {}
3984
+ end
3985
+
3986
+ def self.field_remappings
3987
+ @field_remappings = {}
3988
+ end
3989
+ end
3990
+
3991
+ class Passport < ::Stripe::StripeObject
3992
+ # 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`.
3993
+ attr_reader :files
3994
+ # The format of the document. Currently supports `files` only.
3995
+ attr_reader :type
3996
+
3997
+ def self.inner_class_types
3998
+ @inner_class_types = {}
3999
+ end
4000
+
4001
+ def self.field_remappings
4002
+ @field_remappings = {}
4003
+ end
4004
+ end
4005
+
4006
+ class PrimaryVerification < ::Stripe::StripeObject
4007
+ class FrontBack < ::Stripe::StripeObject
4008
+ # 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.
4009
+ attr_reader :back
4010
+ # 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.
4011
+ attr_reader :front
4012
+
4013
+ def self.inner_class_types
4014
+ @inner_class_types = {}
4015
+ end
4016
+
4017
+ def self.field_remappings
4018
+ @field_remappings = {}
4019
+ end
4020
+ end
4021
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
4022
+ attr_reader :front_back
4023
+ # The format of the verification document. Currently supports `front_back` only.
4024
+ attr_reader :type
4025
+
4026
+ def self.inner_class_types
4027
+ @inner_class_types = { front_back: FrontBack }
4028
+ end
4029
+
4030
+ def self.field_remappings
4031
+ @field_remappings = {}
4032
+ end
4033
+ end
4034
+
4035
+ class SecondaryVerification < ::Stripe::StripeObject
4036
+ class FrontBack < ::Stripe::StripeObject
4037
+ # 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.
4038
+ attr_reader :back
4039
+ # 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.
4040
+ attr_reader :front
4041
+
4042
+ def self.inner_class_types
4043
+ @inner_class_types = {}
4044
+ end
4045
+
4046
+ def self.field_remappings
4047
+ @field_remappings = {}
4048
+ end
4049
+ end
4050
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
4051
+ attr_reader :front_back
4052
+ # The format of the verification document. Currently supports `front_back` only.
4053
+ attr_reader :type
4054
+
4055
+ def self.inner_class_types
4056
+ @inner_class_types = { front_back: FrontBack }
4057
+ end
4058
+
4059
+ def self.field_remappings
4060
+ @field_remappings = {}
4061
+ end
4062
+ end
4063
+
4064
+ class Visa < ::Stripe::StripeObject
4065
+ # 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`.
4066
+ attr_reader :files
4067
+ # The format of the document. Currently supports `files` only.
4068
+ attr_reader :type
4069
+
4070
+ def self.inner_class_types
4071
+ @inner_class_types = {}
4072
+ end
4073
+
4074
+ def self.field_remappings
4075
+ @field_remappings = {}
4076
+ end
4077
+ end
4078
+ # One or more documents that demonstrate proof that this person is authorized to represent the company.
4079
+ attr_reader :company_authorization
4080
+ # One or more documents showing the person’s passport page with photo and personal data.
4081
+ attr_reader :passport
4082
+ # An identifying document showing the person's name, either a passport or local ID card.
4083
+ attr_reader :primary_verification
4084
+ # A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
4085
+ attr_reader :secondary_verification
4086
+ # One or more documents showing the person’s visa required for living in the country where they are residing.
4087
+ attr_reader :visa
4088
+
4089
+ def self.inner_class_types
4090
+ @inner_class_types = {
4091
+ company_authorization: CompanyAuthorization,
4092
+ passport: Passport,
4093
+ primary_verification: PrimaryVerification,
4094
+ secondary_verification: SecondaryVerification,
4095
+ visa: Visa,
4096
+ }
4097
+ end
4098
+
4099
+ def self.field_remappings
4100
+ @field_remappings = {}
4101
+ end
4102
+ end
4103
+
4104
+ class IdNumber < ::Stripe::StripeObject
4105
+ # The ID number type of an individual.
4106
+ attr_reader :type
4107
+
4108
+ def self.inner_class_types
4109
+ @inner_class_types = {}
4110
+ end
4111
+
4112
+ def self.field_remappings
4113
+ @field_remappings = {}
4114
+ end
4115
+ end
4116
+
4117
+ class Relationship < ::Stripe::StripeObject
4118
+ # Whether the individual is an authorizer of the Account’s legal entity.
4119
+ attr_reader :authorizer
4120
+ # Whether the individual is a director of the Account’s legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
4121
+ attr_reader :director
4122
+ # Whether the individual has significant responsibility to control, manage, or direct the organization.
4123
+ attr_reader :executive
4124
+ # Whether the individual is the legal guardian of the Account’s representative.
4125
+ attr_reader :legal_guardian
4126
+ # Whether the individual is an owner of the Account’s legal entity.
4127
+ attr_reader :owner
4128
+ # The percent owned by the individual of the Account’s legal entity.
4129
+ attr_reader :percent_ownership
4130
+ # Whether the individual is authorized as the primary representative of the Account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account.
4131
+ attr_reader :representative
4132
+ # The individual's title (e.g., CEO, Support Engineer).
4133
+ attr_reader :title
4134
+
4135
+ def self.inner_class_types
4136
+ @inner_class_types = {}
4137
+ end
4138
+
4139
+ def self.field_remappings
4140
+ @field_remappings = {}
4141
+ end
4142
+ end
4143
+
4144
+ class ScriptAddresses < ::Stripe::StripeObject
4145
+ class Kana < ::Stripe::StripeObject
4146
+ # City, district, suburb, town, or village.
4147
+ attr_reader :city
4148
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4149
+ attr_reader :country
4150
+ # Address line 1 (e.g., street, PO Box, or company name).
4151
+ attr_reader :line1
4152
+ # Address line 2 (e.g., apartment, suite, unit, or building).
4153
+ attr_reader :line2
4154
+ # ZIP or postal code.
4155
+ attr_reader :postal_code
4156
+ # State, county, province, or region.
4157
+ attr_reader :state
4158
+ # Town or cho-me.
4159
+ attr_reader :town
4160
+
4161
+ def self.inner_class_types
4162
+ @inner_class_types = {}
4163
+ end
4164
+
4165
+ def self.field_remappings
4166
+ @field_remappings = {}
4167
+ end
4168
+ end
4169
+
4170
+ class Kanji < ::Stripe::StripeObject
4171
+ # City, district, suburb, town, or village.
4172
+ attr_reader :city
4173
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4174
+ attr_reader :country
4175
+ # Address line 1 (e.g., street, PO Box, or company name).
4176
+ attr_reader :line1
4177
+ # Address line 2 (e.g., apartment, suite, unit, or building).
4178
+ attr_reader :line2
4179
+ # ZIP or postal code.
4180
+ attr_reader :postal_code
4181
+ # State, county, province, or region.
4182
+ attr_reader :state
4183
+ # Town or cho-me.
4184
+ attr_reader :town
4185
+
4186
+ def self.inner_class_types
4187
+ @inner_class_types = {}
4188
+ end
4189
+
4190
+ def self.field_remappings
4191
+ @field_remappings = {}
4192
+ end
4193
+ end
4194
+ # Kana Address.
4195
+ attr_reader :kana
4196
+ # Kanji Address.
4197
+ attr_reader :kanji
4198
+
4199
+ def self.inner_class_types
4200
+ @inner_class_types = { kana: Kana, kanji: Kanji }
4201
+ end
4202
+
4203
+ def self.field_remappings
4204
+ @field_remappings = {}
4205
+ end
4206
+ end
4207
+
4208
+ class ScriptNames < ::Stripe::StripeObject
4209
+ class Kana < ::Stripe::StripeObject
4210
+ # The person's first or given name.
4211
+ attr_reader :given_name
4212
+ # The person's last or family name.
4213
+ attr_reader :surname
4214
+
4215
+ def self.inner_class_types
4216
+ @inner_class_types = {}
4217
+ end
4218
+
4219
+ def self.field_remappings
4220
+ @field_remappings = {}
4221
+ end
4222
+ end
4223
+
4224
+ class Kanji < ::Stripe::StripeObject
4225
+ # The person's first or given name.
4226
+ attr_reader :given_name
4227
+ # The person's last or family name.
4228
+ attr_reader :surname
4229
+
4230
+ def self.inner_class_types
4231
+ @inner_class_types = {}
4232
+ end
4233
+
4234
+ def self.field_remappings
4235
+ @field_remappings = {}
4236
+ end
4237
+ end
4238
+ # Persons name in kana script.
4239
+ attr_reader :kana
4240
+ # Persons name in kanji script.
4241
+ attr_reader :kanji
4242
+
4243
+ def self.inner_class_types
4244
+ @inner_class_types = { kana: Kana, kanji: Kanji }
4245
+ end
4246
+
4247
+ def self.field_remappings
4248
+ @field_remappings = {}
4249
+ end
4250
+ end
4251
+ # The account ID which the individual belongs to.
4252
+ attr_reader :account
4253
+ # Additional addresses associated with the individual.
4254
+ attr_reader :additional_addresses
4255
+ # Additional names (e.g. aliases) associated with the individual.
4256
+ attr_reader :additional_names
4257
+ # Terms of service acceptances.
4258
+ attr_reader :additional_terms_of_service
4259
+ # The individual's residential address.
4260
+ attr_reader :address
4261
+ # Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4262
+ attr_reader :created
4263
+ # The individual's date of birth.
4264
+ attr_reader :date_of_birth
4265
+ # Documents that may be submitted to satisfy various informational requests.
4266
+ attr_reader :documents
4267
+ # The individual's email address.
4268
+ attr_reader :email
4269
+ # The individual's first name.
4270
+ attr_reader :given_name
4271
+ # Unique identifier for the object.
4272
+ attr_reader :id
4273
+ # The identification numbers (e.g., SSN) associated with the individual.
4274
+ attr_reader :id_numbers
4275
+ # The individual's gender (International regulations require either "male” or "female").
4276
+ attr_reader :legal_gender
4277
+ # 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.
4278
+ attr_reader :metadata
4279
+ # 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)).
4280
+ attr_reader :nationalities
4281
+ # String representing the object's type. Objects of the same type share the same value.
4282
+ attr_reader :object
4283
+ # The individual's phone number.
4284
+ attr_reader :phone
4285
+ # Indicates if the individual or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
4286
+ attr_reader :political_exposure
4287
+ # The relationship that this individual has with the Account's identity.
4288
+ attr_reader :relationship
4289
+ # The script addresses (e.g., non-Latin characters) associated with the individual.
4290
+ attr_reader :script_addresses
4291
+ # The script names (e.g. non-Latin characters) associated with the individual.
4292
+ attr_reader :script_names
4293
+ # The individual's last name.
4294
+ attr_reader :surname
4295
+ # Time at which the object was last updated.
4296
+ attr_reader :updated
4297
+
4298
+ def self.inner_class_types
4299
+ @inner_class_types = {
4300
+ additional_addresses: AdditionalAddress,
4301
+ additional_names: AdditionalName,
4302
+ additional_terms_of_service: AdditionalTermsOfService,
4303
+ address: Address,
4304
+ date_of_birth: DateOfBirth,
4305
+ documents: Documents,
4306
+ id_numbers: IdNumber,
4307
+ relationship: Relationship,
4308
+ script_addresses: ScriptAddresses,
4309
+ script_names: ScriptNames,
4310
+ }
4311
+ end
4312
+
4313
+ def self.field_remappings
4314
+ @field_remappings = {}
4315
+ end
4316
+ end
4317
+ # Attestations from the identity's key people, e.g. owners, executives, directors.
4318
+ attr_reader :attestations
4319
+ # Information about the company or business.
4320
+ attr_reader :business_details
4321
+ # 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.
4322
+ attr_reader :country
4323
+ # The entity type.
4324
+ attr_reader :entity_type
4325
+ # Information about the individual represented by the Account. This property is `null` unless `entity_type` is set to `individual`.
4326
+ attr_reader :individual
4327
+
4328
+ def self.inner_class_types
4329
+ @inner_class_types = {
4330
+ attestations: Attestations,
4331
+ business_details: BusinessDetails,
4332
+ individual: Individual,
4333
+ }
4334
+ end
4335
+
4336
+ def self.field_remappings
4337
+ @field_remappings = {}
4338
+ end
4339
+ end
4340
+
4341
+ class Requirements < ::Stripe::StripeObject
4342
+ class Entry < ::Stripe::StripeObject
4343
+ class Error < ::Stripe::StripeObject
4344
+ # Machine-readable code describing the error.
4345
+ attr_reader :code
4346
+ # Human-readable description of the error.
4347
+ attr_reader :description
4348
+
4349
+ def self.inner_class_types
4350
+ @inner_class_types = {}
4351
+ end
4352
+
4353
+ def self.field_remappings
4354
+ @field_remappings = {}
4355
+ end
4356
+ end
4357
+
4358
+ class Impact < ::Stripe::StripeObject
4359
+ class RestrictsCapability < ::Stripe::StripeObject
4360
+ class Deadline < ::Stripe::StripeObject
4361
+ # The current status of the requirement's impact.
4362
+ attr_reader :status
4363
+
4364
+ def self.inner_class_types
4365
+ @inner_class_types = {}
4366
+ end
4367
+
4368
+ def self.field_remappings
4369
+ @field_remappings = {}
4370
+ end
4371
+ end
4372
+ # The name of the Capability which will be restricted.
4373
+ attr_reader :capability
4374
+ # The configuration which specifies the Capability which will be restricted.
4375
+ attr_reader :configuration
4376
+ # Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction.
4377
+ attr_reader :deadline
4378
+
4379
+ def self.inner_class_types
4380
+ @inner_class_types = { deadline: Deadline }
4381
+ end
4382
+
4383
+ def self.field_remappings
4384
+ @field_remappings = {}
4385
+ end
4386
+ end
4387
+ # The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe.
4388
+ attr_reader :restricts_capabilities
4389
+
4390
+ def self.inner_class_types
4391
+ @inner_class_types = { restricts_capabilities: RestrictsCapability }
4392
+ end
4393
+
4394
+ def self.field_remappings
4395
+ @field_remappings = {}
4396
+ end
4397
+ end
4398
+
4399
+ class MinimumDeadline < ::Stripe::StripeObject
4400
+ # The current status of the requirement's impact.
4401
+ attr_reader :status
4402
+
4403
+ def self.inner_class_types
4404
+ @inner_class_types = {}
4405
+ end
4406
+
4407
+ def self.field_remappings
4408
+ @field_remappings = {}
4409
+ end
4410
+ end
4411
+
4412
+ class Reference < ::Stripe::StripeObject
4413
+ # If `inquiry` is the type, the inquiry token.
4414
+ attr_reader :inquiry
4415
+ # If `resource` is the type, the resource token.
4416
+ attr_reader :resource
4417
+ # The type of the reference. An additional hash is included with a name matching the type. It contains additional information specific to the type.
4418
+ attr_reader :type
4419
+
4420
+ def self.inner_class_types
4421
+ @inner_class_types = {}
4422
+ end
4423
+
4424
+ def self.field_remappings
4425
+ @field_remappings = {}
4426
+ end
4427
+ end
4428
+
4429
+ class RequestedReason < ::Stripe::StripeObject
4430
+ # Machine-readable description of Stripe's reason for collecting the requirement.
4431
+ attr_reader :code
4432
+
4433
+ def self.inner_class_types
4434
+ @inner_class_types = {}
4435
+ end
4436
+
4437
+ def self.field_remappings
4438
+ @field_remappings = {}
4439
+ end
4440
+ end
4441
+ # Whether the responsibility is with the integrator or with Stripe (to review info, to wait for some condition, etc.) to action the requirement.
4442
+ attr_reader :awaiting_action_from
4443
+ # Machine-readable string describing the requirement.
4444
+ attr_reader :description
4445
+ # Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe.
4446
+ attr_reader :errors
4447
+ # A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information.
4448
+ attr_reader :impact
4449
+ # The soonest point when the account will be impacted by not providing the requirement.
4450
+ attr_reader :minimum_deadline
4451
+ # A reference to the location of the requirement.
4452
+ attr_reader :reference
4453
+ # A list of reasons why Stripe is collecting the requirement.
4454
+ attr_reader :requested_reasons
4455
+
4456
+ def self.inner_class_types
4457
+ @inner_class_types = {
4458
+ errors: Error,
4459
+ impact: Impact,
4460
+ minimum_deadline: MinimumDeadline,
4461
+ reference: Reference,
4462
+ requested_reasons: RequestedReason,
4463
+ }
4464
+ end
4465
+
4466
+ def self.field_remappings
4467
+ @field_remappings = {}
4468
+ end
4469
+ end
4470
+
4471
+ class Summary < ::Stripe::StripeObject
4472
+ class MinimumDeadline < ::Stripe::StripeObject
4473
+ # The current strictest status of all requirements on the Account.
4474
+ attr_reader :status
4475
+ # The soonest RFC3339 date & time UTC value a requirement can impact the Account.
4476
+ attr_reader :time
4477
+
4478
+ def self.inner_class_types
4479
+ @inner_class_types = {}
4480
+ end
4481
+
4482
+ def self.field_remappings
4483
+ @field_remappings = {}
4484
+ end
4485
+ end
4486
+ # The soonest date and time a requirement on the Account will become `past due`. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`.
4487
+ attr_reader :minimum_deadline
4488
+
4489
+ def self.inner_class_types
4490
+ @inner_class_types = { minimum_deadline: MinimumDeadline }
4491
+ end
4492
+
4493
+ def self.field_remappings
4494
+ @field_remappings = {}
4495
+ end
4496
+ end
4497
+ # A value indicating responsibility for collecting requirements on this account.
4498
+ attr_reader :collector
4499
+ # A list of requirements for the Account.
4500
+ attr_reader :entries
4501
+ # An object containing an overview of requirements for the Account.
4502
+ attr_reader :summary
4503
+
4504
+ def self.inner_class_types
4505
+ @inner_class_types = { entries: Entry, summary: Summary }
4506
+ end
4507
+
4508
+ def self.field_remappings
4509
+ @field_remappings = {}
4510
+ end
4511
+ end
4512
+ # Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.
4513
+ attr_reader :applied_configurations
4514
+ # An Account Configuration which allows the Account to take on a key persona across Stripe products.
4515
+ attr_reader :configuration
4516
+ # The default contact email address for the Account. Required when configuring the account as a merchant or recipient.
4517
+ attr_reader :contact_email
4518
+ # Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4519
+ attr_reader :created
4520
+ # A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.
4521
+ attr_reader :dashboard
4522
+ # Default values to be used on Account Configurations.
4523
+ attr_reader :defaults
4524
+ # A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account.
4525
+ attr_reader :display_name
4526
+ # Unique identifier for the Account.
4527
+ attr_reader :id
4528
+ # Information about the company, individual, and business represented by the Account.
4529
+ attr_reader :identity
4530
+ # 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.
4531
+ attr_reader :metadata
4532
+ # String representing the object's type. Objects of the same type share the same value of the object field.
4533
+ attr_reader :object
4534
+ # Information about the requirements for the Account, including what information needs to be collected, and by when.
4535
+ attr_reader :requirements
4536
+ # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
4537
+ attr_reader :livemode
4538
+
4539
+ def self.inner_class_types
4540
+ @inner_class_types = {
4541
+ configuration: Configuration,
4542
+ defaults: Defaults,
4543
+ identity: Identity,
4544
+ requirements: Requirements,
4545
+ }
4546
+ end
4547
+
4548
+ def self.field_remappings
4549
+ @field_remappings = {}
4550
+ end
4551
+ end
4552
+ end
4553
+ end
4554
+ end