stripe 17.1.0 → 17.2.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 (896) 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_portal_configuration_created_event.rb +44 -0
  10. data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +44 -0
  11. data/lib/stripe/events/v1_capability_updated_event.rb +44 -0
  12. data/lib/stripe/events/v1_charge_captured_event.rb +44 -0
  13. data/lib/stripe/events/v1_charge_dispute_closed_event.rb +44 -0
  14. data/lib/stripe/events/v1_charge_dispute_created_event.rb +44 -0
  15. data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +44 -0
  16. data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +44 -0
  17. data/lib/stripe/events/v1_charge_dispute_updated_event.rb +44 -0
  18. data/lib/stripe/events/v1_charge_expired_event.rb +44 -0
  19. data/lib/stripe/events/v1_charge_failed_event.rb +44 -0
  20. data/lib/stripe/events/v1_charge_pending_event.rb +44 -0
  21. data/lib/stripe/events/v1_charge_refund_updated_event.rb +44 -0
  22. data/lib/stripe/events/v1_charge_refunded_event.rb +44 -0
  23. data/lib/stripe/events/v1_charge_succeeded_event.rb +44 -0
  24. data/lib/stripe/events/v1_charge_updated_event.rb +44 -0
  25. data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +44 -0
  26. data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +44 -0
  27. data/lib/stripe/events/v1_checkout_session_completed_event.rb +44 -0
  28. data/lib/stripe/events/v1_checkout_session_expired_event.rb +44 -0
  29. data/lib/stripe/events/v1_climate_order_canceled_event.rb +44 -0
  30. data/lib/stripe/events/v1_climate_order_created_event.rb +44 -0
  31. data/lib/stripe/events/v1_climate_order_delayed_event.rb +44 -0
  32. data/lib/stripe/events/v1_climate_order_delivered_event.rb +44 -0
  33. data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +44 -0
  34. data/lib/stripe/events/v1_climate_product_created_event.rb +44 -0
  35. data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +44 -0
  36. data/lib/stripe/events/v1_coupon_created_event.rb +44 -0
  37. data/lib/stripe/events/v1_coupon_deleted_event.rb +44 -0
  38. data/lib/stripe/events/v1_coupon_updated_event.rb +44 -0
  39. data/lib/stripe/events/v1_credit_note_created_event.rb +44 -0
  40. data/lib/stripe/events/v1_credit_note_updated_event.rb +44 -0
  41. data/lib/stripe/events/v1_credit_note_voided_event.rb +44 -0
  42. data/lib/stripe/events/v1_customer_created_event.rb +44 -0
  43. data/lib/stripe/events/v1_customer_deleted_event.rb +44 -0
  44. data/lib/stripe/events/v1_customer_subscription_created_event.rb +44 -0
  45. data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +44 -0
  46. data/lib/stripe/events/v1_customer_subscription_paused_event.rb +44 -0
  47. data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +44 -0
  48. data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +44 -0
  49. data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +44 -0
  50. data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +44 -0
  51. data/lib/stripe/events/v1_customer_subscription_updated_event.rb +44 -0
  52. data/lib/stripe/events/v1_customer_tax_id_created_event.rb +44 -0
  53. data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +44 -0
  54. data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +44 -0
  55. data/lib/stripe/events/v1_customer_updated_event.rb +44 -0
  56. data/lib/stripe/events/v1_file_created_event.rb +44 -0
  57. data/lib/stripe/events/v1_financial_connections_account_created_event.rb +44 -0
  58. data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +44 -0
  59. data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +44 -0
  60. data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +44 -0
  61. data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +44 -0
  62. data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +44 -0
  63. data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +44 -0
  64. data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +44 -0
  65. data/lib/stripe/events/v1_identity_verification_session_created_event.rb +44 -0
  66. data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +44 -0
  67. data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +44 -0
  68. data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +44 -0
  69. data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +44 -0
  70. data/lib/stripe/events/v1_invoice_created_event.rb +44 -0
  71. data/lib/stripe/events/v1_invoice_deleted_event.rb +44 -0
  72. data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +44 -0
  73. data/lib/stripe/events/v1_invoice_finalized_event.rb +44 -0
  74. data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +44 -0
  75. data/lib/stripe/events/v1_invoice_overdue_event.rb +44 -0
  76. data/lib/stripe/events/v1_invoice_overpaid_event.rb +44 -0
  77. data/lib/stripe/events/v1_invoice_paid_event.rb +44 -0
  78. data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +44 -0
  79. data/lib/stripe/events/v1_invoice_payment_failed_event.rb +44 -0
  80. data/lib/stripe/events/v1_invoice_payment_paid_event.rb +44 -0
  81. data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +44 -0
  82. data/lib/stripe/events/v1_invoice_sent_event.rb +44 -0
  83. data/lib/stripe/events/v1_invoice_upcoming_event.rb +44 -0
  84. data/lib/stripe/events/v1_invoice_updated_event.rb +44 -0
  85. data/lib/stripe/events/v1_invoice_voided_event.rb +44 -0
  86. data/lib/stripe/events/v1_invoice_will_be_due_event.rb +44 -0
  87. data/lib/stripe/events/v1_invoiceitem_created_event.rb +44 -0
  88. data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +44 -0
  89. data/lib/stripe/events/v1_issuing_authorization_created_event.rb +44 -0
  90. data/lib/stripe/events/v1_issuing_authorization_request_event.rb +44 -0
  91. data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +44 -0
  92. data/lib/stripe/events/v1_issuing_card_created_event.rb +44 -0
  93. data/lib/stripe/events/v1_issuing_card_updated_event.rb +44 -0
  94. data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +44 -0
  95. data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +44 -0
  96. data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +44 -0
  97. data/lib/stripe/events/v1_issuing_dispute_created_event.rb +44 -0
  98. data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +44 -0
  99. data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +44 -0
  100. data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +44 -0
  101. data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +44 -0
  102. data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +44 -0
  103. data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +44 -0
  104. data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +44 -0
  105. data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +44 -0
  106. data/lib/stripe/events/v1_issuing_token_created_event.rb +44 -0
  107. data/lib/stripe/events/v1_issuing_token_updated_event.rb +44 -0
  108. data/lib/stripe/events/v1_issuing_transaction_created_event.rb +44 -0
  109. data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +44 -0
  110. data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +44 -0
  111. data/lib/stripe/events/v1_mandate_updated_event.rb +44 -0
  112. data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +44 -0
  113. data/lib/stripe/events/v1_payment_intent_canceled_event.rb +44 -0
  114. data/lib/stripe/events/v1_payment_intent_created_event.rb +44 -0
  115. data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +44 -0
  116. data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +44 -0
  117. data/lib/stripe/events/v1_payment_intent_processing_event.rb +44 -0
  118. data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +44 -0
  119. data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +44 -0
  120. data/lib/stripe/events/v1_payment_link_created_event.rb +44 -0
  121. data/lib/stripe/events/v1_payment_link_updated_event.rb +44 -0
  122. data/lib/stripe/events/v1_payment_method_attached_event.rb +44 -0
  123. data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +44 -0
  124. data/lib/stripe/events/v1_payment_method_detached_event.rb +44 -0
  125. data/lib/stripe/events/v1_payment_method_updated_event.rb +44 -0
  126. data/lib/stripe/events/v1_payout_canceled_event.rb +44 -0
  127. data/lib/stripe/events/v1_payout_created_event.rb +44 -0
  128. data/lib/stripe/events/v1_payout_failed_event.rb +44 -0
  129. data/lib/stripe/events/v1_payout_paid_event.rb +44 -0
  130. data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +44 -0
  131. data/lib/stripe/events/v1_payout_updated_event.rb +44 -0
  132. data/lib/stripe/events/v1_person_created_event.rb +44 -0
  133. data/lib/stripe/events/v1_person_deleted_event.rb +44 -0
  134. data/lib/stripe/events/v1_person_updated_event.rb +44 -0
  135. data/lib/stripe/events/v1_plan_created_event.rb +44 -0
  136. data/lib/stripe/events/v1_plan_deleted_event.rb +44 -0
  137. data/lib/stripe/events/v1_plan_updated_event.rb +44 -0
  138. data/lib/stripe/events/v1_price_created_event.rb +44 -0
  139. data/lib/stripe/events/v1_price_deleted_event.rb +44 -0
  140. data/lib/stripe/events/v1_price_updated_event.rb +44 -0
  141. data/lib/stripe/events/v1_product_created_event.rb +44 -0
  142. data/lib/stripe/events/v1_product_deleted_event.rb +44 -0
  143. data/lib/stripe/events/v1_product_updated_event.rb +44 -0
  144. data/lib/stripe/events/v1_promotion_code_created_event.rb +44 -0
  145. data/lib/stripe/events/v1_promotion_code_updated_event.rb +44 -0
  146. data/lib/stripe/events/v1_quote_accepted_event.rb +44 -0
  147. data/lib/stripe/events/v1_quote_canceled_event.rb +44 -0
  148. data/lib/stripe/events/v1_quote_created_event.rb +44 -0
  149. data/lib/stripe/events/v1_quote_finalized_event.rb +44 -0
  150. data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +44 -0
  151. data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +44 -0
  152. data/lib/stripe/events/v1_refund_created_event.rb +44 -0
  153. data/lib/stripe/events/v1_refund_failed_event.rb +44 -0
  154. data/lib/stripe/events/v1_refund_updated_event.rb +44 -0
  155. data/lib/stripe/events/v1_review_closed_event.rb +44 -0
  156. data/lib/stripe/events/v1_review_opened_event.rb +44 -0
  157. data/lib/stripe/events/v1_setup_intent_canceled_event.rb +44 -0
  158. data/lib/stripe/events/v1_setup_intent_created_event.rb +44 -0
  159. data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +44 -0
  160. data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +44 -0
  161. data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +44 -0
  162. data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +44 -0
  163. data/lib/stripe/events/v1_source_canceled_event.rb +44 -0
  164. data/lib/stripe/events/v1_source_chargeable_event.rb +44 -0
  165. data/lib/stripe/events/v1_source_failed_event.rb +44 -0
  166. data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +44 -0
  167. data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +44 -0
  168. data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +44 -0
  169. data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +44 -0
  170. data/lib/stripe/events/v1_subscription_schedule_created_event.rb +44 -0
  171. data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +44 -0
  172. data/lib/stripe/events/v1_subscription_schedule_released_event.rb +44 -0
  173. data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +44 -0
  174. data/lib/stripe/events/v1_tax_rate_created_event.rb +44 -0
  175. data/lib/stripe/events/v1_tax_rate_updated_event.rb +44 -0
  176. data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +44 -0
  177. data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +44 -0
  178. data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +44 -0
  179. data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +44 -0
  180. data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +44 -0
  181. data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +44 -0
  182. data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +44 -0
  183. data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +44 -0
  184. data/lib/stripe/events/v1_topup_canceled_event.rb +44 -0
  185. data/lib/stripe/events/v1_topup_created_event.rb +44 -0
  186. data/lib/stripe/events/v1_topup_failed_event.rb +44 -0
  187. data/lib/stripe/events/v1_topup_reversed_event.rb +44 -0
  188. data/lib/stripe/events/v1_topup_succeeded_event.rb +44 -0
  189. data/lib/stripe/events/v1_transfer_created_event.rb +44 -0
  190. data/lib/stripe/events/v1_transfer_reversed_event.rb +44 -0
  191. data/lib/stripe/events/v1_transfer_updated_event.rb +44 -0
  192. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +61 -0
  193. data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +44 -0
  194. data/lib/stripe/events/v2_billing_cadence_created_event.rb +61 -0
  195. data/lib/stripe/events/v2_billing_license_fee_created_event.rb +44 -0
  196. data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +44 -0
  197. data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +61 -0
  198. data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +44 -0
  199. data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +44 -0
  200. data/lib/stripe/events/v2_billing_metered_item_created_event.rb +44 -0
  201. data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +44 -0
  202. data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +61 -0
  203. data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +61 -0
  204. data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +44 -0
  205. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +44 -0
  206. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +44 -0
  207. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +44 -0
  208. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +44 -0
  209. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +44 -0
  210. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +44 -0
  211. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +44 -0
  212. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +44 -0
  213. data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +44 -0
  214. data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +61 -0
  215. data/lib/stripe/events/v2_billing_rate_card_created_event.rb +61 -0
  216. data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +67 -0
  217. data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +44 -0
  218. data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +44 -0
  219. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +44 -0
  220. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +44 -0
  221. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +44 -0
  222. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +44 -0
  223. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +44 -0
  224. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +44 -0
  225. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +44 -0
  226. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +44 -0
  227. data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +44 -0
  228. data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +61 -0
  229. data/lib/stripe/events/v2_core_account_closed_event.rb +44 -0
  230. data/lib/stripe/events/v2_core_account_created_event.rb +44 -0
  231. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +63 -0
  232. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +44 -0
  233. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +63 -0
  234. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +44 -0
  235. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +63 -0
  236. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +44 -0
  237. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +63 -0
  238. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +44 -0
  239. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +63 -0
  240. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +44 -0
  241. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +44 -0
  242. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +44 -0
  243. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +44 -0
  244. data/lib/stripe/events/v2_core_account_link_returned_event.rb +42 -0
  245. data/lib/stripe/events/v2_core_account_person_created_event.rb +61 -0
  246. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +61 -0
  247. data/lib/stripe/events/v2_core_account_person_updated_event.rb +61 -0
  248. data/lib/stripe/events/v2_core_account_updated_event.rb +44 -0
  249. data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +44 -0
  250. data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +44 -0
  251. data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +44 -0
  252. data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +44 -0
  253. data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +44 -0
  254. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +66 -0
  255. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +66 -0
  256. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +64 -0
  257. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +64 -0
  258. data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +80 -0
  259. data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +80 -0
  260. data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +66 -0
  261. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +64 -0
  262. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +62 -0
  263. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +64 -0
  264. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +64 -0
  265. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +64 -0
  266. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +62 -0
  267. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +62 -0
  268. data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +62 -0
  269. data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +62 -0
  270. data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +58 -0
  271. data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +58 -0
  272. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +44 -0
  273. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +44 -0
  274. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +44 -0
  275. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +44 -0
  276. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +44 -0
  277. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +61 -0
  278. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +44 -0
  279. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +44 -0
  280. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +44 -0
  281. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +44 -0
  282. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +44 -0
  283. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +44 -0
  284. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +44 -0
  285. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +44 -0
  286. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +44 -0
  287. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +44 -0
  288. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +44 -0
  289. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +44 -0
  290. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +44 -0
  291. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +44 -0
  292. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +44 -0
  293. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +44 -0
  294. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +44 -0
  295. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +44 -0
  296. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +61 -0
  297. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +44 -0
  298. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +44 -0
  299. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +44 -0
  300. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +44 -0
  301. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +44 -0
  302. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +44 -0
  303. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +44 -0
  304. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +44 -0
  305. data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +44 -0
  306. data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +44 -0
  307. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +61 -0
  308. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
  309. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +44 -0
  310. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +46 -0
  311. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +44 -0
  312. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +44 -0
  313. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +44 -0
  314. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +44 -0
  315. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +44 -0
  316. data/lib/stripe/object_types.rb +81 -0
  317. data/lib/stripe/params/account_create_params.rb +300 -1
  318. data/lib/stripe/params/account_notice_list_params.rb +25 -0
  319. data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
  320. data/lib/stripe/params/account_notice_update_params.rb +36 -0
  321. data/lib/stripe/params/account_session_create_params.rb +226 -1
  322. data/lib/stripe/params/account_update_params.rb +262 -0
  323. data/lib/stripe/params/billing/alert_create_params.rb +121 -1
  324. data/lib/stripe/params/billing/alert_list_params.rb +4 -0
  325. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +69 -0
  326. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +17 -2
  327. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +4 -0
  328. data/lib/stripe/params/billing/credit_grant_create_params.rb +33 -2
  329. data/lib/stripe/params/billing/credit_grant_list_params.rb +4 -0
  330. data/lib/stripe/params/billing/meter_create_params.rb +4 -0
  331. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +8 -0
  332. data/lib/stripe/params/billing_portal/session_create_params.rb +4 -0
  333. data/lib/stripe/params/capital/financing_offer_list_params.rb +58 -0
  334. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +15 -0
  335. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +15 -0
  336. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +15 -0
  337. data/lib/stripe/params/capital/financing_transaction_list_params.rb +45 -0
  338. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +15 -0
  339. data/lib/stripe/params/charge_capture_params.rb +709 -0
  340. data/lib/stripe/params/charge_update_params.rb +709 -0
  341. data/lib/stripe/params/checkout/session_create_params.rb +273 -4
  342. data/lib/stripe/params/checkout/session_list_params.rb +4 -0
  343. data/lib/stripe/params/checkout/session_update_params.rb +288 -1
  344. data/lib/stripe/params/confirmation_token_create_params.rb +97 -0
  345. data/lib/stripe/params/coupon_create_params.rb +17 -1
  346. data/lib/stripe/params/credit_note_list_params.rb +4 -0
  347. data/lib/stripe/params/customer_session_create_params.rb +36 -2
  348. data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +55 -0
  349. data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +205 -0
  350. data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +15 -0
  351. data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +15 -0
  352. data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +209 -0
  353. data/lib/stripe/params/dispute_update_params.rb +10 -1
  354. data/lib/stripe/params/external_account_create_params.rb +134 -0
  355. data/lib/stripe/params/external_account_delete_params.rb +6 -0
  356. data/lib/stripe/params/external_account_list_params.rb +25 -0
  357. data/lib/stripe/params/external_account_retrieve_params.rb +13 -0
  358. data/lib/stripe/params/external_account_update_params.rb +91 -0
  359. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
  360. data/lib/stripe/params/financial_connections/account_list_params.rb +4 -1
  361. data/lib/stripe/params/financial_connections/institution_list_params.rb +24 -0
  362. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +15 -0
  363. data/lib/stripe/params/financial_connections/session_create_params.rb +34 -2
  364. data/lib/stripe/params/fx_quote_create_params.rb +73 -0
  365. data/lib/stripe/params/fx_quote_list_params.rb +22 -0
  366. data/lib/stripe/params/fx_quote_retrieve_params.rb +13 -0
  367. data/lib/stripe/params/identity/blocklist_entry_create_params.rb +29 -0
  368. data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +15 -0
  369. data/lib/stripe/params/identity/blocklist_entry_list_params.rb +62 -0
  370. data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +15 -0
  371. data/lib/stripe/params/identity/verification_report_list_params.rb +4 -0
  372. data/lib/stripe/params/identity/verification_session_create_params.rb +4 -0
  373. data/lib/stripe/params/identity/verification_session_list_params.rb +4 -0
  374. data/lib/stripe/params/invoice_add_lines_params.rb +33 -1
  375. data/lib/stripe/params/invoice_attach_payment_params.rb +43 -1
  376. data/lib/stripe/params/invoice_create_params.rb +112 -2
  377. data/lib/stripe/params/invoice_create_preview_params.rb +826 -9
  378. data/lib/stripe/params/invoice_item_create_params.rb +37 -1
  379. data/lib/stripe/params/invoice_item_list_params.rb +4 -0
  380. data/lib/stripe/params/invoice_item_update_params.rb +33 -1
  381. data/lib/stripe/params/invoice_line_item_update_params.rb +33 -1
  382. data/lib/stripe/params/invoice_list_params.rb +8 -0
  383. data/lib/stripe/params/invoice_update_lines_params.rb +33 -1
  384. data/lib/stripe/params/invoice_update_params.rb +108 -2
  385. data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
  386. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
  387. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
  388. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
  389. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
  390. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
  391. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
  392. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
  393. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
  394. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
  395. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
  396. data/lib/stripe/params/issuing/transaction_list_params.rb +4 -0
  397. data/lib/stripe/params/mandate_list_params.rb +39 -0
  398. data/lib/stripe/params/margin_create_params.rb +25 -0
  399. data/lib/stripe/params/margin_list_params.rb +25 -0
  400. data/lib/stripe/params/margin_retrieve_params.rb +13 -0
  401. data/lib/stripe/params/margin_update_params.rb +22 -0
  402. data/lib/stripe/params/order_cancel_params.rb +13 -0
  403. data/lib/stripe/params/order_create_params.rb +1124 -0
  404. data/lib/stripe/params/order_line_item_list_params.rb +22 -0
  405. data/lib/stripe/params/order_list_line_items_params.rb +22 -0
  406. data/lib/stripe/params/order_list_params.rb +25 -0
  407. data/lib/stripe/params/order_reopen_params.rb +13 -0
  408. data/lib/stripe/params/order_retrieve_params.rb +13 -0
  409. data/lib/stripe/params/order_submit_params.rb +16 -0
  410. data/lib/stripe/params/order_update_params.rb +1128 -0
  411. data/lib/stripe/params/payment_intent_capture_params.rb +736 -30
  412. data/lib/stripe/params/payment_intent_confirm_params.rb +1231 -33
  413. data/lib/stripe/params/payment_intent_create_params.rb +1247 -41
  414. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +73 -0
  415. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +63 -29
  416. data/lib/stripe/params/payment_intent_list_params.rb +4 -0
  417. data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
  418. data/lib/stripe/params/payment_intent_update_params.rb +1279 -42
  419. data/lib/stripe/params/payment_method_attach_params.rb +4 -1
  420. data/lib/stripe/params/payment_method_check_balance_params.rb +13 -0
  421. data/lib/stripe/params/payment_method_configuration_create_params.rb +126 -0
  422. data/lib/stripe/params/payment_method_configuration_update_params.rb +126 -0
  423. data/lib/stripe/params/payment_method_create_params.rb +97 -0
  424. data/lib/stripe/params/payment_method_update_params.rb +19 -0
  425. data/lib/stripe/params/price_update_params.rb +19 -0
  426. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +15 -0
  427. data/lib/stripe/params/privacy/redaction_job_create_params.rb +67 -0
  428. data/lib/stripe/params/privacy/redaction_job_list_params.rb +27 -0
  429. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +15 -0
  430. data/lib/stripe/params/privacy/redaction_job_run_params.rb +15 -0
  431. data/lib/stripe/params/privacy/redaction_job_update_params.rb +18 -0
  432. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +15 -0
  433. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +24 -0
  434. data/lib/stripe/params/promotion_code_create_params.rb +4 -0
  435. data/lib/stripe/params/promotion_code_list_params.rb +4 -0
  436. data/lib/stripe/params/quote_create_params.rb +805 -3
  437. data/lib/stripe/params/quote_line_list_params.rb +22 -0
  438. data/lib/stripe/params/quote_list_lines_params.rb +22 -0
  439. data/lib/stripe/params/quote_list_params.rb +8 -0
  440. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +22 -0
  441. data/lib/stripe/params/quote_mark_draft_params.rb +13 -0
  442. data/lib/stripe/params/quote_mark_stale_params.rb +16 -0
  443. data/lib/stripe/params/quote_preview_invoice_list_params.rb +22 -0
  444. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +22 -0
  445. data/lib/stripe/params/quote_reestimate_params.rb +13 -0
  446. data/lib/stripe/params/quote_update_params.rb +813 -4
  447. data/lib/stripe/params/setup_intent_confirm_params.rb +254 -3
  448. data/lib/stripe/params/setup_intent_create_params.rb +260 -3
  449. data/lib/stripe/params/setup_intent_list_params.rb +4 -0
  450. data/lib/stripe/params/setup_intent_update_params.rb +261 -4
  451. data/lib/stripe/params/subscription_attach_cadence_params.rb +16 -0
  452. data/lib/stripe/params/subscription_create_params.rb +259 -5
  453. data/lib/stripe/params/subscription_item_create_params.rb +46 -2
  454. data/lib/stripe/params/subscription_item_update_params.rb +29 -1
  455. data/lib/stripe/params/subscription_list_params.rb +4 -0
  456. data/lib/stripe/params/subscription_schedule_amend_params.rb +570 -0
  457. data/lib/stripe/params/subscription_schedule_create_params.rb +167 -5
  458. data/lib/stripe/params/subscription_schedule_list_params.rb +4 -0
  459. data/lib/stripe/params/subscription_schedule_update_params.rb +163 -5
  460. data/lib/stripe/params/subscription_update_params.rb +238 -4
  461. data/lib/stripe/params/tax/association_find_params.rb +18 -0
  462. data/lib/stripe/params/tax/form_list_params.rb +51 -0
  463. data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
  464. data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
  465. data/lib/stripe/params/tax_id_create_params.rb +4 -1
  466. data/lib/stripe/params/tax_id_list_params.rb +4 -1
  467. data/lib/stripe/params/terminal/configuration_create_params.rb +13 -0
  468. data/lib/stripe/params/terminal/configuration_update_params.rb +13 -0
  469. data/lib/stripe/params/terminal/onboarding_link_create_params.rb +43 -0
  470. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
  471. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +97 -0
  472. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +25 -1
  473. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +25 -1
  474. data/lib/stripe/params/transfer_create_params.rb +9 -1
  475. data/lib/stripe/params/treasury/financial_account_create_params.rb +8 -1
  476. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +4 -1
  477. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +4 -1
  478. data/lib/stripe/params/treasury/financial_account_update_params.rb +8 -1
  479. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +24 -0
  480. data/lib/stripe/params/treasury/received_credit_create_params.rb +25 -1
  481. data/lib/stripe/params/treasury/received_debit_create_params.rb +25 -1
  482. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +74 -0
  483. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +21 -0
  484. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +10 -0
  485. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +80 -0
  486. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +19 -0
  487. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +12 -0
  488. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +17 -0
  489. data/lib/stripe/params/v2/billing/cadence_create_params.rb +257 -0
  490. data/lib/stripe/params/v2/billing/cadence_list_params.rb +43 -0
  491. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +17 -0
  492. data/lib/stripe/params/v2/billing/cadence_update_params.rb +78 -0
  493. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +223 -0
  494. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +21 -0
  495. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +10 -0
  496. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +229 -0
  497. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +19 -0
  498. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +12 -0
  499. data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +26 -0
  500. data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +24 -0
  501. data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +10 -0
  502. data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +26 -0
  503. data/lib/stripe/params/v2/billing/intent_cancel_params.rb +10 -0
  504. data/lib/stripe/params/v2/billing/intent_commit_params.rb +17 -0
  505. data/lib/stripe/params/v2/billing/intent_create_params.rb +355 -0
  506. data/lib/stripe/params/v2/billing/intent_list_params.rb +17 -0
  507. data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +10 -0
  508. data/lib/stripe/params/v2/billing/intent_reserve_params.rb +10 -0
  509. data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +10 -0
  510. data/lib/stripe/params/v2/billing/intents/action_list_params.rb +19 -0
  511. data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +12 -0
  512. data/lib/stripe/params/v2/billing/license_fee_create_params.rb +103 -0
  513. data/lib/stripe/params/v2/billing/license_fee_list_params.rb +24 -0
  514. data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +10 -0
  515. data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +10 -0
  516. data/lib/stripe/params/v2/billing/license_fee_update_params.rb +84 -0
  517. data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +19 -0
  518. data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +12 -0
  519. data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +48 -0
  520. data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +21 -0
  521. data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +10 -0
  522. data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +48 -0
  523. data/lib/stripe/params/v2/billing/metered_item_create_params.rb +73 -0
  524. data/lib/stripe/params/v2/billing/metered_item_list_params.rb +21 -0
  525. data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +10 -0
  526. data/lib/stripe/params/v2/billing/metered_item_update_params.rb +50 -0
  527. data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +39 -0
  528. data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +24 -0
  529. data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +10 -0
  530. data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +50 -0
  531. data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +10 -0
  532. data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +20 -0
  533. data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +12 -0
  534. data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +39 -0
  535. data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +73 -0
  536. data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +12 -0
  537. data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +27 -0
  538. data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +12 -0
  539. data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +22 -0
  540. data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +19 -0
  541. data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +12 -0
  542. data/lib/stripe/params/v2/billing/profile_create_params.rb +37 -0
  543. data/lib/stripe/params/v2/billing/profile_list_params.rb +40 -0
  544. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +10 -0
  545. data/lib/stripe/params/v2/billing/profile_update_params.rb +35 -0
  546. data/lib/stripe/params/v2/billing/rate_card_create_params.rb +49 -0
  547. data/lib/stripe/params/v2/billing/rate_card_list_params.rb +24 -0
  548. data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +10 -0
  549. data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +10 -0
  550. data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +26 -0
  551. data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +51 -0
  552. data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +10 -0
  553. data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +17 -0
  554. data/lib/stripe/params/v2/billing/rate_card_update_params.rb +38 -0
  555. data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +91 -0
  556. data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +12 -0
  557. data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +25 -0
  558. data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +12 -0
  559. data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +19 -0
  560. data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +12 -0
  561. data/lib/stripe/params/v2/billing/service_action_create_params.rb +254 -0
  562. data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +10 -0
  563. data/lib/stripe/params/v2/billing/service_action_update_params.rb +40 -0
  564. data/lib/stripe/params/v2/core/account_close_params.rb +17 -0
  565. data/lib/stripe/params/v2/core/account_create_params.rb +2829 -0
  566. data/lib/stripe/params/v2/core/account_link_create_params.rb +101 -0
  567. data/lib/stripe/params/v2/core/account_list_params.rb +23 -0
  568. data/lib/stripe/params/v2/core/account_retrieve_params.rb +17 -0
  569. data/lib/stripe/params/v2/core/account_update_params.rb +2861 -0
  570. data/lib/stripe/params/v2/core/accounts/person_create_params.rb +493 -0
  571. data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +12 -0
  572. data/lib/stripe/params/v2/core/accounts/person_list_params.rb +19 -0
  573. data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +12 -0
  574. data/lib/stripe/params/v2/core/accounts/person_update_params.rb +493 -0
  575. data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +36 -0
  576. data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +10 -0
  577. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +12 -0
  578. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +12 -0
  579. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +50 -0
  580. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +22 -0
  581. data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +19 -0
  582. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +12 -0
  583. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +12 -0
  584. data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +22 -0
  585. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +33 -0
  586. data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +22 -0
  587. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +12 -0
  588. data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +12 -0
  589. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +22 -0
  590. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +48 -0
  591. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +10 -0
  592. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +28 -0
  593. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +34 -0
  594. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +20 -0
  595. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +10 -0
  596. data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +20 -0
  597. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +31 -0
  598. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +23 -0
  599. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +17 -0
  600. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +50 -0
  601. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +44 -0
  602. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +10 -0
  603. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +10 -0
  604. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +102 -0
  605. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +52 -0
  606. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +67 -0
  607. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
  608. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +10 -0
  609. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +10 -0
  610. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +103 -0
  611. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +17 -0
  612. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +10 -0
  613. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +80 -0
  614. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +10 -0
  615. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +81 -0
  616. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +48 -0
  617. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +10 -0
  618. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +10 -0
  619. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +31 -0
  620. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +10 -0
  621. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +10 -0
  622. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +17 -0
  623. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +44 -0
  624. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +10 -0
  625. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +17 -0
  626. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +10 -0
  627. data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +10 -0
  628. data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +20 -0
  629. data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +10 -0
  630. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +43 -0
  631. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +10 -0
  632. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +47 -0
  633. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +10 -0
  634. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +10 -0
  635. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +61 -0
  636. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +237 -0
  637. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +17 -0
  638. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +10 -0
  639. data/lib/stripe/params/v2/tax/automatic_rule_create_params.rb +20 -0
  640. data/lib/stripe/params/v2/tax/automatic_rule_deactivate_params.rb +10 -0
  641. data/lib/stripe/params/v2/tax/automatic_rule_find_params.rb +17 -0
  642. data/lib/stripe/params/v2/tax/automatic_rule_retrieve_params.rb +10 -0
  643. data/lib/stripe/params/v2/tax/automatic_rule_update_params.rb +17 -0
  644. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +23 -0
  645. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
  646. data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +24 -0
  647. data/lib/stripe/params.rb +246 -0
  648. data/lib/stripe/resources/account.rb +166 -1
  649. data/lib/stripe/resources/account_notice.rb +94 -0
  650. data/lib/stripe/resources/account_session.rb +81 -0
  651. data/lib/stripe/resources/application_fee.rb +2 -0
  652. data/lib/stripe/resources/balance.rb +83 -0
  653. data/lib/stripe/resources/billing/alert.rb +105 -1
  654. data/lib/stripe/resources/billing/alert_triggered.rb +6 -0
  655. data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
  656. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +40 -0
  657. data/lib/stripe/resources/billing/credit_balance_summary.rb +86 -2
  658. data/lib/stripe/resources/billing/credit_balance_transaction.rb +84 -2
  659. data/lib/stripe/resources/billing/credit_grant.rb +60 -2
  660. data/lib/stripe/resources/billing/meter.rb +2 -0
  661. data/lib/stripe/resources/billing/meter_event_summary.rb +2 -0
  662. data/lib/stripe/resources/billing_portal/session.rb +2 -0
  663. data/lib/stripe/resources/capital/financing_offer.rb +142 -0
  664. data/lib/stripe/resources/capital/financing_summary.rb +79 -0
  665. data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
  666. data/lib/stripe/resources/card.rb +20 -1
  667. data/lib/stripe/resources/cash_balance.rb +2 -0
  668. data/lib/stripe/resources/charge.rb +253 -1
  669. data/lib/stripe/resources/checkout/session.rb +246 -4
  670. data/lib/stripe/resources/confirmation_token.rb +173 -0
  671. data/lib/stripe/resources/coupon.rb +26 -1
  672. data/lib/stripe/resources/credit_note.rb +2 -0
  673. data/lib/stripe/resources/credit_note_line_item.rb +18 -0
  674. data/lib/stripe/resources/customer.rb +2 -0
  675. data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
  676. data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
  677. data/lib/stripe/resources/customer_session.rb +38 -0
  678. data/lib/stripe/resources/delegated_checkout/requested_session.rb +323 -0
  679. data/lib/stripe/resources/discount.rb +2 -0
  680. data/lib/stripe/resources/dispute.rb +22 -0
  681. data/lib/stripe/resources/event.rb +64 -1
  682. data/lib/stripe/resources/financial_connections/account.rb +27 -0
  683. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
  684. data/lib/stripe/resources/financial_connections/institution.rb +127 -0
  685. data/lib/stripe/resources/financial_connections/session.rb +67 -1
  686. data/lib/stripe/resources/fx_quote.rb +147 -0
  687. data/lib/stripe/resources/identity/blocklist_entry.rb +116 -0
  688. data/lib/stripe/resources/identity/verification_report.rb +4 -0
  689. data/lib/stripe/resources/identity/verification_session.rb +2 -0
  690. data/lib/stripe/resources/invoice.rb +152 -1
  691. data/lib/stripe/resources/invoice_item.rb +94 -2
  692. data/lib/stripe/resources/invoice_line_item.rb +131 -1
  693. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
  694. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +71 -0
  695. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +51 -0
  696. data/lib/stripe/resources/issuing/settlement.rb +61 -0
  697. data/lib/stripe/resources/issuing/transaction.rb +2 -0
  698. data/lib/stripe/resources/line_item.rb +68 -1
  699. data/lib/stripe/resources/mandate.rb +71 -0
  700. data/lib/stripe/resources/margin.rb +64 -0
  701. data/lib/stripe/resources/order.rb +987 -0
  702. data/lib/stripe/resources/payment_attempt_record.rb +203 -1
  703. data/lib/stripe/resources/payment_intent.rb +840 -21
  704. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +7 -13
  705. data/lib/stripe/resources/payment_method.rb +195 -0
  706. data/lib/stripe/resources/payment_method_balance.rb +68 -0
  707. data/lib/stripe/resources/payment_method_configuration.rb +204 -0
  708. data/lib/stripe/resources/payment_record.rb +203 -1
  709. data/lib/stripe/resources/price.rb +20 -0
  710. data/lib/stripe/resources/privacy/redaction_job.rb +187 -0
  711. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
  712. data/lib/stripe/resources/promotion_code.rb +2 -0
  713. data/lib/stripe/resources/quote.rb +571 -2
  714. data/lib/stripe/resources/quote_line.rb +521 -0
  715. data/lib/stripe/resources/quote_preview_invoice.rb +1150 -0
  716. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +732 -0
  717. data/lib/stripe/resources/refund.rb +18 -0
  718. data/lib/stripe/resources/setup_attempt.rb +63 -0
  719. data/lib/stripe/resources/setup_intent.rb +172 -1
  720. data/lib/stripe/resources/source.rb +38 -0
  721. data/lib/stripe/resources/subscription.rb +232 -0
  722. data/lib/stripe/resources/subscription_item.rb +20 -1
  723. data/lib/stripe/resources/subscription_schedule.rb +198 -3
  724. data/lib/stripe/resources/tax/association.rb +86 -0
  725. data/lib/stripe/resources/tax/form.rb +264 -0
  726. data/lib/stripe/resources/tax_id.rb +4 -0
  727. data/lib/stripe/resources/terminal/configuration.rb +16 -0
  728. data/lib/stripe/resources/terminal/onboarding_link.rb +71 -0
  729. data/lib/stripe/resources/terminal/reader.rb +8 -0
  730. data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
  731. data/lib/stripe/resources/transfer.rb +6 -0
  732. data/lib/stripe/resources/treasury/financial_account.rb +2 -0
  733. data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
  734. data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -0
  735. data/lib/stripe/resources/treasury/received_credit.rb +30 -0
  736. data/lib/stripe/resources/treasury/received_debit.rb +32 -0
  737. data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
  738. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +90 -0
  739. data/lib/stripe/resources/v2/billing/cadence.rb +655 -0
  740. data/lib/stripe/resources/v2/billing/collection_setting.rb +274 -0
  741. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +262 -0
  742. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
  743. data/lib/stripe/resources/v2/billing/intent.rb +86 -0
  744. data/lib/stripe/resources/v2/billing/intent_action.rb +395 -0
  745. data/lib/stripe/resources/v2/billing/license_fee.rb +104 -0
  746. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +44 -0
  747. data/lib/stripe/resources/v2/billing/license_fee_version.rb +80 -0
  748. data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
  749. data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
  750. data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
  751. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +94 -0
  752. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +94 -0
  753. data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +49 -0
  754. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +38 -0
  755. data/lib/stripe/resources/v2/billing/profile.rb +46 -0
  756. data/lib/stripe/resources/v2/billing/rate_card.rb +61 -0
  757. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +110 -0
  758. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +94 -0
  759. data/lib/stripe/resources/v2/billing/rate_card_version.rb +34 -0
  760. data/lib/stripe/resources/v2/billing/service_action.rb +244 -0
  761. data/lib/stripe/resources/v2/core/account.rb +4811 -0
  762. data/lib/stripe/resources/v2/core/account_link.rb +123 -0
  763. data/lib/stripe/resources/v2/core/account_person.rb +477 -0
  764. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +105 -0
  765. data/lib/stripe/resources/v2/core/event.rb +4 -0
  766. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +114 -0
  767. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +81 -0
  768. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +28 -0
  769. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +30 -0
  770. data/lib/stripe/resources/v2/money_management/adjustment.rb +67 -0
  771. data/lib/stripe/resources/v2/money_management/financial_account.rb +140 -0
  772. data/lib/stripe/resources/v2/money_management/financial_address.rb +132 -0
  773. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +148 -0
  774. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +219 -0
  775. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +144 -0
  776. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
  777. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +198 -0
  778. data/lib/stripe/resources/v2/money_management/payout_method.rb +137 -0
  779. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +81 -0
  780. data/lib/stripe/resources/v2/money_management/received_credit.rb +230 -0
  781. data/lib/stripe/resources/v2/money_management/received_debit.rb +140 -0
  782. data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
  783. data/lib/stripe/resources/v2/money_management/transaction.rb +116 -0
  784. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +105 -0
  785. data/lib/stripe/resources/v2/payments/off_session_payment.rb +242 -0
  786. data/lib/stripe/resources/v2/tax/automatic_rule.rb +39 -0
  787. data/lib/stripe/resources.rb +386 -0
  788. data/lib/stripe/services/account_notice_service.rb +39 -0
  789. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +21 -0
  790. data/lib/stripe/services/billing/analytics_service.rb +15 -0
  791. data/lib/stripe/services/billing_service.rb +2 -1
  792. data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
  793. data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
  794. data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
  795. data/lib/stripe/services/capital_service.rb +15 -0
  796. data/lib/stripe/services/delegated_checkout/requested_session_service.rb +63 -0
  797. data/lib/stripe/services/delegated_checkout_service.rb +13 -0
  798. data/lib/stripe/services/external_account_service.rb +68 -0
  799. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
  800. data/lib/stripe/services/financial_connections/account_service.rb +3 -1
  801. data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
  802. data/lib/stripe/services/financial_connections_service.rb +2 -1
  803. data/lib/stripe/services/fx_quote_service.rb +27 -0
  804. data/lib/stripe/services/identity/blocklist_entry_service.rb +71 -0
  805. data/lib/stripe/services/identity_service.rb +2 -1
  806. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +74 -0
  807. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
  808. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
  809. data/lib/stripe/services/issuing_service.rb +5 -1
  810. data/lib/stripe/services/mandate_service.rb +5 -0
  811. data/lib/stripe/services/margin_service.rb +50 -0
  812. data/lib/stripe/services/order_line_item_service.rb +17 -0
  813. data/lib/stripe/services/order_service.rb +78 -0
  814. data/lib/stripe/services/payment_intent_service.rb +37 -0
  815. data/lib/stripe/services/payment_method_service.rb +11 -0
  816. data/lib/stripe/services/privacy/redaction_job_service.rb +104 -0
  817. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +19 -0
  818. data/lib/stripe/services/privacy_service.rb +13 -0
  819. data/lib/stripe/services/quote_line_service.rb +17 -0
  820. data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
  821. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
  822. data/lib/stripe/services/quote_service.rb +49 -1
  823. data/lib/stripe/services/subscription_schedule_service.rb +11 -0
  824. data/lib/stripe/services/subscription_service.rb +11 -0
  825. data/lib/stripe/services/tax/association_service.rb +19 -0
  826. data/lib/stripe/services/tax/form_service.rb +37 -0
  827. data/lib/stripe/services/tax_service.rb +3 -1
  828. data/lib/stripe/services/terminal/onboarding_link_service.rb +19 -0
  829. data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
  830. data/lib/stripe/services/terminal_service.rb +3 -1
  831. data/lib/stripe/services/v1_services.rb +9 -1
  832. data/lib/stripe/services/v2/billing/bill_setting_service.rb +61 -0
  833. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +34 -0
  834. data/lib/stripe/services/v2/billing/cadence_service.rb +65 -0
  835. data/lib/stripe/services/v2/billing/collection_setting_service.rb +61 -0
  836. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
  837. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +54 -0
  838. data/lib/stripe/services/v2/billing/intent_service.rb +94 -0
  839. data/lib/stripe/services/v2/billing/intents/action_service.rb +34 -0
  840. data/lib/stripe/services/v2/billing/license_fee_service.rb +61 -0
  841. data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +21 -0
  842. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +34 -0
  843. data/lib/stripe/services/v2/billing/licensed_item_service.rb +54 -0
  844. data/lib/stripe/services/v2/billing/metered_item_service.rb +54 -0
  845. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +62 -0
  846. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +51 -0
  847. data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +23 -0
  848. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +67 -0
  849. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +34 -0
  850. data/lib/stripe/services/v2/billing/profile_service.rb +54 -0
  851. data/lib/stripe/services/v2/billing/rate_card_service.rb +62 -0
  852. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +65 -0
  853. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +57 -0
  854. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +34 -0
  855. data/lib/stripe/services/v2/billing/service_action_service.rb +43 -0
  856. data/lib/stripe/services/v2/billing_service.rb +18 -1
  857. data/lib/stripe/services/v2/core/account_link_service.rb +21 -0
  858. data/lib/stripe/services/v2/core/account_service.rb +76 -0
  859. data/lib/stripe/services/v2/core/accounts/person_service.rb +67 -0
  860. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +35 -0
  861. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +85 -0
  862. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +101 -0
  863. data/lib/stripe/services/v2/core/vault_service.rb +18 -0
  864. data/lib/stripe/services/v2/core_service.rb +5 -1
  865. data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
  866. data/lib/stripe/services/v2/money_management/financial_account_service.rb +70 -0
  867. data/lib/stripe/services/v2/money_management/financial_address_service.rb +46 -0
  868. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +45 -0
  869. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +34 -0
  870. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +62 -0
  871. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +73 -0
  872. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +60 -0
  873. data/lib/stripe/services/v2/money_management/payout_method_service.rb +63 -0
  874. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +23 -0
  875. data/lib/stripe/services/v2/money_management/received_credit_service.rb +32 -0
  876. data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
  877. data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +43 -0
  878. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +32 -0
  879. data/lib/stripe/services/v2/money_management/transaction_service.rb +32 -0
  880. data/lib/stripe/services/v2/money_management_service.rb +33 -0
  881. data/lib/stripe/services/v2/payment_service.rb +15 -0
  882. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +65 -0
  883. data/lib/stripe/services/v2/tax/automatic_rule_service.rb +65 -0
  884. data/lib/stripe/services/v2/tax_service.rb +15 -0
  885. data/lib/stripe/services/v2/test_helper_service.rb +16 -0
  886. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
  887. data/lib/stripe/services/v2/test_helpers/money_management_service.rb +21 -0
  888. data/lib/stripe/services/v2_services.rb +5 -1
  889. data/lib/stripe/services.rb +84 -0
  890. data/lib/stripe/stripe_configuration.rb +3 -1
  891. data/lib/stripe/stripe_object.rb +1 -1
  892. data/lib/stripe/util.rb +7 -1
  893. data/lib/stripe/version.rb +1 -1
  894. data/lib/stripe.rb +53 -0
  895. data/rbi/stripe.rbi +158919 -89005
  896. metadata +719 -3
@@ -0,0 +1,4811 @@
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
+
2521
+ class CryptoWallets < ::Stripe::StripeObject
2522
+ class StatusDetail < ::Stripe::StripeObject
2523
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2524
+ attr_reader :code
2525
+ # Machine-readable code explaining how to make the Capability active.
2526
+ attr_reader :resolution
2527
+
2528
+ def self.inner_class_types
2529
+ @inner_class_types = {}
2530
+ end
2531
+
2532
+ def self.field_remappings
2533
+ @field_remappings = {}
2534
+ end
2535
+ end
2536
+ # Whether the Capability has been requested.
2537
+ attr_reader :requested
2538
+ # The status of the Capability.
2539
+ attr_reader :status
2540
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2541
+ attr_reader :status_details
2542
+
2543
+ def self.inner_class_types
2544
+ @inner_class_types = { status_details: StatusDetail }
2545
+ end
2546
+
2547
+ def self.field_remappings
2548
+ @field_remappings = {}
2549
+ end
2550
+ end
2551
+ # Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount.
2552
+ attr_reader :bank_accounts
2553
+ # Can provision a crypto wallet like financial address to credit a FinancialAccount.
2554
+ attr_reader :crypto_wallets
2555
+
2556
+ def self.inner_class_types
2557
+ @inner_class_types = { bank_accounts: BankAccounts, crypto_wallets: CryptoWallets }
2558
+ end
2559
+
2560
+ def self.field_remappings
2561
+ @field_remappings = {}
2562
+ end
2563
+ end
2564
+
2565
+ class HoldsCurrencies < ::Stripe::StripeObject
2566
+ class Gbp < ::Stripe::StripeObject
2567
+ class StatusDetail < ::Stripe::StripeObject
2568
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2569
+ attr_reader :code
2570
+ # Machine-readable code explaining how to make the Capability active.
2571
+ attr_reader :resolution
2572
+
2573
+ def self.inner_class_types
2574
+ @inner_class_types = {}
2575
+ end
2576
+
2577
+ def self.field_remappings
2578
+ @field_remappings = {}
2579
+ end
2580
+ end
2581
+ # Whether the Capability has been requested.
2582
+ attr_reader :requested
2583
+ # The status of the Capability.
2584
+ attr_reader :status
2585
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2586
+ attr_reader :status_details
2587
+
2588
+ def self.inner_class_types
2589
+ @inner_class_types = { status_details: StatusDetail }
2590
+ end
2591
+
2592
+ def self.field_remappings
2593
+ @field_remappings = {}
2594
+ end
2595
+ end
2596
+
2597
+ class Usd < ::Stripe::StripeObject
2598
+ class StatusDetail < ::Stripe::StripeObject
2599
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2600
+ attr_reader :code
2601
+ # Machine-readable code explaining how to make the Capability active.
2602
+ attr_reader :resolution
2603
+
2604
+ def self.inner_class_types
2605
+ @inner_class_types = {}
2606
+ end
2607
+
2608
+ def self.field_remappings
2609
+ @field_remappings = {}
2610
+ end
2611
+ end
2612
+ # Whether the Capability has been requested.
2613
+ attr_reader :requested
2614
+ # The status of the Capability.
2615
+ attr_reader :status
2616
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2617
+ attr_reader :status_details
2618
+
2619
+ def self.inner_class_types
2620
+ @inner_class_types = { status_details: StatusDetail }
2621
+ end
2622
+
2623
+ def self.field_remappings
2624
+ @field_remappings = {}
2625
+ end
2626
+ end
2627
+
2628
+ class Usdc < ::Stripe::StripeObject
2629
+ class StatusDetail < ::Stripe::StripeObject
2630
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2631
+ attr_reader :code
2632
+ # Machine-readable code explaining how to make the Capability active.
2633
+ attr_reader :resolution
2634
+
2635
+ def self.inner_class_types
2636
+ @inner_class_types = {}
2637
+ end
2638
+
2639
+ def self.field_remappings
2640
+ @field_remappings = {}
2641
+ end
2642
+ end
2643
+ # Whether the Capability has been requested.
2644
+ attr_reader :requested
2645
+ # The status of the Capability.
2646
+ attr_reader :status
2647
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2648
+ attr_reader :status_details
2649
+
2650
+ def self.inner_class_types
2651
+ @inner_class_types = { status_details: StatusDetail }
2652
+ end
2653
+
2654
+ def self.field_remappings
2655
+ @field_remappings = {}
2656
+ end
2657
+ end
2658
+ # Can hold storage-type funds on Stripe in GBP.
2659
+ attr_reader :gbp
2660
+ # Can hold storage-type funds on Stripe in USD.
2661
+ attr_reader :usd
2662
+ # Can hold storage-type funds on Stripe in USDC.
2663
+ attr_reader :usdc
2664
+
2665
+ def self.inner_class_types
2666
+ @inner_class_types = { gbp: Gbp, usd: Usd, usdc: Usdc }
2667
+ end
2668
+
2669
+ def self.field_remappings
2670
+ @field_remappings = {}
2671
+ end
2672
+ end
2673
+
2674
+ class InboundTransfers < ::Stripe::StripeObject
2675
+ class BankAccounts < ::Stripe::StripeObject
2676
+ class StatusDetail < ::Stripe::StripeObject
2677
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2678
+ attr_reader :code
2679
+ # Machine-readable code explaining how to make the Capability active.
2680
+ attr_reader :resolution
2681
+
2682
+ def self.inner_class_types
2683
+ @inner_class_types = {}
2684
+ end
2685
+
2686
+ def self.field_remappings
2687
+ @field_remappings = {}
2688
+ end
2689
+ end
2690
+ # Whether the Capability has been requested.
2691
+ attr_reader :requested
2692
+ # The status of the Capability.
2693
+ attr_reader :status
2694
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2695
+ attr_reader :status_details
2696
+
2697
+ def self.inner_class_types
2698
+ @inner_class_types = { status_details: StatusDetail }
2699
+ end
2700
+
2701
+ def self.field_remappings
2702
+ @field_remappings = {}
2703
+ end
2704
+ end
2705
+ # Can pull funds from an external bank account, owned by yourself, to a FinancialAccount.
2706
+ attr_reader :bank_accounts
2707
+
2708
+ def self.inner_class_types
2709
+ @inner_class_types = { bank_accounts: BankAccounts }
2710
+ end
2711
+
2712
+ def self.field_remappings
2713
+ @field_remappings = {}
2714
+ end
2715
+ end
2716
+
2717
+ class OutboundPayments < ::Stripe::StripeObject
2718
+ class BankAccounts < ::Stripe::StripeObject
2719
+ class StatusDetail < ::Stripe::StripeObject
2720
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2721
+ attr_reader :code
2722
+ # Machine-readable code explaining how to make the Capability active.
2723
+ attr_reader :resolution
2724
+
2725
+ def self.inner_class_types
2726
+ @inner_class_types = {}
2727
+ end
2728
+
2729
+ def self.field_remappings
2730
+ @field_remappings = {}
2731
+ end
2732
+ end
2733
+ # Whether the Capability has been requested.
2734
+ attr_reader :requested
2735
+ # The status of the Capability.
2736
+ attr_reader :status
2737
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2738
+ attr_reader :status_details
2739
+
2740
+ def self.inner_class_types
2741
+ @inner_class_types = { status_details: StatusDetail }
2742
+ end
2743
+
2744
+ def self.field_remappings
2745
+ @field_remappings = {}
2746
+ end
2747
+ end
2748
+
2749
+ class Cards < ::Stripe::StripeObject
2750
+ class StatusDetail < ::Stripe::StripeObject
2751
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2752
+ attr_reader :code
2753
+ # Machine-readable code explaining how to make the Capability active.
2754
+ attr_reader :resolution
2755
+
2756
+ def self.inner_class_types
2757
+ @inner_class_types = {}
2758
+ end
2759
+
2760
+ def self.field_remappings
2761
+ @field_remappings = {}
2762
+ end
2763
+ end
2764
+ # Whether the Capability has been requested.
2765
+ attr_reader :requested
2766
+ # The status of the Capability.
2767
+ attr_reader :status
2768
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2769
+ attr_reader :status_details
2770
+
2771
+ def self.inner_class_types
2772
+ @inner_class_types = { status_details: StatusDetail }
2773
+ end
2774
+
2775
+ def self.field_remappings
2776
+ @field_remappings = {}
2777
+ end
2778
+ end
2779
+
2780
+ class CryptoWallets < ::Stripe::StripeObject
2781
+ class StatusDetail < ::Stripe::StripeObject
2782
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2783
+ attr_reader :code
2784
+ # Machine-readable code explaining how to make the Capability active.
2785
+ attr_reader :resolution
2786
+
2787
+ def self.inner_class_types
2788
+ @inner_class_types = {}
2789
+ end
2790
+
2791
+ def self.field_remappings
2792
+ @field_remappings = {}
2793
+ end
2794
+ end
2795
+ # Whether the Capability has been requested.
2796
+ attr_reader :requested
2797
+ # The status of the Capability.
2798
+ attr_reader :status
2799
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2800
+ attr_reader :status_details
2801
+
2802
+ def self.inner_class_types
2803
+ @inner_class_types = { status_details: StatusDetail }
2804
+ end
2805
+
2806
+ def self.field_remappings
2807
+ @field_remappings = {}
2808
+ end
2809
+ end
2810
+
2811
+ class FinancialAccounts < ::Stripe::StripeObject
2812
+ class StatusDetail < ::Stripe::StripeObject
2813
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2814
+ attr_reader :code
2815
+ # Machine-readable code explaining how to make the Capability active.
2816
+ attr_reader :resolution
2817
+
2818
+ def self.inner_class_types
2819
+ @inner_class_types = {}
2820
+ end
2821
+
2822
+ def self.field_remappings
2823
+ @field_remappings = {}
2824
+ end
2825
+ end
2826
+ # Whether the Capability has been requested.
2827
+ attr_reader :requested
2828
+ # The status of the Capability.
2829
+ attr_reader :status
2830
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2831
+ attr_reader :status_details
2832
+
2833
+ def self.inner_class_types
2834
+ @inner_class_types = { status_details: StatusDetail }
2835
+ end
2836
+
2837
+ def self.field_remappings
2838
+ @field_remappings = {}
2839
+ end
2840
+ end
2841
+ # Can send funds from a FinancialAccount to a bank account, owned by someone else.
2842
+ attr_reader :bank_accounts
2843
+ # Can send funds from a FinancialAccount to a debit card, owned by someone else.
2844
+ attr_reader :cards
2845
+ # Can send funds from a FinancialAccount to a crypto wallet, owned by someone else.
2846
+ attr_reader :crypto_wallets
2847
+ # Can send funds from a FinancialAccount to another FinancialAccount, owned by someone else.
2848
+ attr_reader :financial_accounts
2849
+
2850
+ def self.inner_class_types
2851
+ @inner_class_types = {
2852
+ bank_accounts: BankAccounts,
2853
+ cards: Cards,
2854
+ crypto_wallets: CryptoWallets,
2855
+ financial_accounts: FinancialAccounts,
2856
+ }
2857
+ end
2858
+
2859
+ def self.field_remappings
2860
+ @field_remappings = {}
2861
+ end
2862
+ end
2863
+
2864
+ class OutboundTransfers < ::Stripe::StripeObject
2865
+ class BankAccounts < ::Stripe::StripeObject
2866
+ class StatusDetail < ::Stripe::StripeObject
2867
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2868
+ attr_reader :code
2869
+ # Machine-readable code explaining how to make the Capability active.
2870
+ attr_reader :resolution
2871
+
2872
+ def self.inner_class_types
2873
+ @inner_class_types = {}
2874
+ end
2875
+
2876
+ def self.field_remappings
2877
+ @field_remappings = {}
2878
+ end
2879
+ end
2880
+ # Whether the Capability has been requested.
2881
+ attr_reader :requested
2882
+ # The status of the Capability.
2883
+ attr_reader :status
2884
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2885
+ attr_reader :status_details
2886
+
2887
+ def self.inner_class_types
2888
+ @inner_class_types = { status_details: StatusDetail }
2889
+ end
2890
+
2891
+ def self.field_remappings
2892
+ @field_remappings = {}
2893
+ end
2894
+ end
2895
+
2896
+ class CryptoWallets < ::Stripe::StripeObject
2897
+ class StatusDetail < ::Stripe::StripeObject
2898
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2899
+ attr_reader :code
2900
+ # Machine-readable code explaining how to make the Capability active.
2901
+ attr_reader :resolution
2902
+
2903
+ def self.inner_class_types
2904
+ @inner_class_types = {}
2905
+ end
2906
+
2907
+ def self.field_remappings
2908
+ @field_remappings = {}
2909
+ end
2910
+ end
2911
+ # Whether the Capability has been requested.
2912
+ attr_reader :requested
2913
+ # The status of the Capability.
2914
+ attr_reader :status
2915
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2916
+ attr_reader :status_details
2917
+
2918
+ def self.inner_class_types
2919
+ @inner_class_types = { status_details: StatusDetail }
2920
+ end
2921
+
2922
+ def self.field_remappings
2923
+ @field_remappings = {}
2924
+ end
2925
+ end
2926
+
2927
+ class FinancialAccounts < ::Stripe::StripeObject
2928
+ class StatusDetail < ::Stripe::StripeObject
2929
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2930
+ attr_reader :code
2931
+ # Machine-readable code explaining how to make the Capability active.
2932
+ attr_reader :resolution
2933
+
2934
+ def self.inner_class_types
2935
+ @inner_class_types = {}
2936
+ end
2937
+
2938
+ def self.field_remappings
2939
+ @field_remappings = {}
2940
+ end
2941
+ end
2942
+ # Whether the Capability has been requested.
2943
+ attr_reader :requested
2944
+ # The status of the Capability.
2945
+ attr_reader :status
2946
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2947
+ attr_reader :status_details
2948
+
2949
+ def self.inner_class_types
2950
+ @inner_class_types = { status_details: StatusDetail }
2951
+ end
2952
+
2953
+ def self.field_remappings
2954
+ @field_remappings = {}
2955
+ end
2956
+ end
2957
+ # Can send funds from a FinancialAccount, to a bank account, owned by yourself.
2958
+ attr_reader :bank_accounts
2959
+ # Can send funds from a FinancialAccount to a crypto wallet, owned by yourself.
2960
+ attr_reader :crypto_wallets
2961
+ # Can send funds from a FinancialAccount to another FinancialAccount, owned by yourself.
2962
+ attr_reader :financial_accounts
2963
+
2964
+ def self.inner_class_types
2965
+ @inner_class_types = {
2966
+ bank_accounts: BankAccounts,
2967
+ crypto_wallets: CryptoWallets,
2968
+ financial_accounts: FinancialAccounts,
2969
+ }
2970
+ end
2971
+
2972
+ def self.field_remappings
2973
+ @field_remappings = {}
2974
+ end
2975
+ end
2976
+ # Can provision a financial address to credit/debit a FinancialAccount.
2977
+ attr_reader :financial_addresses
2978
+ # Can hold storage-type funds on Stripe.
2979
+ attr_reader :holds_currencies
2980
+ # Can pull funds from an external source, owned by yourself, to a FinancialAccount.
2981
+ attr_reader :inbound_transfers
2982
+ # Can send funds from a FinancialAccount to a destination owned by someone else.
2983
+ attr_reader :outbound_payments
2984
+ # Can send funds from a FinancialAccount to a destination owned by yourself.
2985
+ attr_reader :outbound_transfers
2986
+
2987
+ def self.inner_class_types
2988
+ @inner_class_types = {
2989
+ financial_addresses: FinancialAddresses,
2990
+ holds_currencies: HoldsCurrencies,
2991
+ inbound_transfers: InboundTransfers,
2992
+ outbound_payments: OutboundPayments,
2993
+ outbound_transfers: OutboundTransfers,
2994
+ }
2995
+ end
2996
+
2997
+ def self.field_remappings
2998
+ @field_remappings = {}
2999
+ end
3000
+ end
3001
+
3002
+ class RegulatedActivity < ::Stripe::StripeObject
3003
+ # A detailed description of the regulated activities the business is licensed to conduct.
3004
+ attr_reader :description
3005
+ # The license number or registration number assigned by the business's primary regulator.
3006
+ attr_reader :license_number
3007
+ # The country of the primary regulatory authority that oversees the business's regulated activities.
3008
+ attr_reader :primary_regulatory_authority_country
3009
+ # The name of the primary regulatory authority that oversees the business's regulated activities.
3010
+ attr_reader :primary_regulatory_authority_name
3011
+
3012
+ def self.inner_class_types
3013
+ @inner_class_types = {}
3014
+ end
3015
+
3016
+ def self.field_remappings
3017
+ @field_remappings = {}
3018
+ end
3019
+ end
3020
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
3021
+ attr_reader :applied
3022
+ # Capabilities that have been requested on the Storer Configuration.
3023
+ attr_reader :capabilities
3024
+ # List of high-risk activities the business is involved in.
3025
+ attr_reader :high_risk_activities
3026
+ # An explanation of the high risk activities that the business performs.
3027
+ attr_reader :high_risk_activities_description
3028
+ # Description of the money services offered by the business.
3029
+ attr_reader :money_services_description
3030
+ # Does the business operate in any prohibited countries.
3031
+ attr_reader :operates_in_prohibited_countries
3032
+ # Does the business participate in any regulated activity.
3033
+ attr_reader :participates_in_regulated_activity
3034
+ # Primary purpose of the stored funds.
3035
+ attr_reader :purpose_of_funds
3036
+ # Description of the purpose of the stored funds.
3037
+ attr_reader :purpose_of_funds_description
3038
+ # Details of the regulated activity if the business participates in one.
3039
+ attr_reader :regulated_activity
3040
+ # The source of funds for the business, e.g. profits, income, venture capital, etc.
3041
+ attr_reader :source_of_funds
3042
+ # Description of the source of funds for the business' account.
3043
+ attr_reader :source_of_funds_description
3044
+
3045
+ def self.inner_class_types
3046
+ @inner_class_types = {
3047
+ capabilities: Capabilities,
3048
+ regulated_activity: RegulatedActivity,
3049
+ }
3050
+ end
3051
+
3052
+ def self.field_remappings
3053
+ @field_remappings = {}
3054
+ end
3055
+ end
3056
+ # The CardCreator Configuration allows the Account to create and issue cards to users.
3057
+ attr_reader :card_creator
3058
+ # The Customer Configuration allows the Account to be used in inbound payment flows.
3059
+ attr_reader :customer
3060
+ # 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.
3061
+ attr_reader :merchant
3062
+ # The Recipient Configuration allows the Account to receive funds.
3063
+ attr_reader :recipient
3064
+ # The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
3065
+ attr_reader :storer
3066
+
3067
+ def self.inner_class_types
3068
+ @inner_class_types = {
3069
+ card_creator: CardCreator,
3070
+ customer: Customer,
3071
+ merchant: Merchant,
3072
+ recipient: Recipient,
3073
+ storer: Storer,
3074
+ }
3075
+ end
3076
+
3077
+ def self.field_remappings
3078
+ @field_remappings = {}
3079
+ end
3080
+ end
3081
+
3082
+ class Defaults < ::Stripe::StripeObject
3083
+ class Profile < ::Stripe::StripeObject
3084
+ # The business's publicly-available website.
3085
+ attr_reader :business_url
3086
+ # The company’s legal name.
3087
+ attr_reader :doing_business_as
3088
+ # Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes.
3089
+ attr_reader :product_description
3090
+
3091
+ def self.inner_class_types
3092
+ @inner_class_types = {}
3093
+ end
3094
+
3095
+ def self.field_remappings
3096
+ @field_remappings = {}
3097
+ end
3098
+ end
3099
+
3100
+ class Responsibilities < ::Stripe::StripeObject
3101
+ # A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this Account.
3102
+ attr_reader :fees_collector
3103
+ # A value indicating who is responsible for losses when this Account can’t pay back negative balances from payments.
3104
+ attr_reader :losses_collector
3105
+
3106
+ def self.inner_class_types
3107
+ @inner_class_types = {}
3108
+ end
3109
+
3110
+ def self.field_remappings
3111
+ @field_remappings = {}
3112
+ end
3113
+ end
3114
+ # 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).
3115
+ attr_reader :currency
3116
+ # The Account's preferred locales (languages), ordered by preference.
3117
+ attr_reader :locales
3118
+ # Account profile information.
3119
+ attr_reader :profile
3120
+ # Default responsibilities held by either Stripe or the platform.
3121
+ attr_reader :responsibilities
3122
+
3123
+ def self.inner_class_types
3124
+ @inner_class_types = { profile: Profile, responsibilities: Responsibilities }
3125
+ end
3126
+
3127
+ def self.field_remappings
3128
+ @field_remappings = {}
3129
+ end
3130
+ end
3131
+
3132
+ class Identity < ::Stripe::StripeObject
3133
+ class Attestations < ::Stripe::StripeObject
3134
+ class DirectorshipDeclaration < ::Stripe::StripeObject
3135
+ # 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.
3136
+ attr_reader :date
3137
+ # The IP address from which the director attestation was made.
3138
+ attr_reader :ip
3139
+ # The user agent of the browser from which the director attestation was made.
3140
+ attr_reader :user_agent
3141
+
3142
+ def self.inner_class_types
3143
+ @inner_class_types = {}
3144
+ end
3145
+
3146
+ def self.field_remappings
3147
+ @field_remappings = {}
3148
+ end
3149
+ end
3150
+
3151
+ class OwnershipDeclaration < ::Stripe::StripeObject
3152
+ # 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.
3153
+ attr_reader :date
3154
+ # The IP address from which the beneficial owner attestation was made.
3155
+ attr_reader :ip
3156
+ # The user agent of the browser from which the beneficial owner attestation was made.
3157
+ attr_reader :user_agent
3158
+
3159
+ def self.inner_class_types
3160
+ @inner_class_types = {}
3161
+ end
3162
+
3163
+ def self.field_remappings
3164
+ @field_remappings = {}
3165
+ end
3166
+ end
3167
+
3168
+ class PersonsProvided < ::Stripe::StripeObject
3169
+ # 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).
3170
+ attr_reader :directors
3171
+ # 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).
3172
+ attr_reader :executives
3173
+ # 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).
3174
+ attr_reader :owners
3175
+ # Reason for why the company is exempt from providing ownership information.
3176
+ attr_reader :ownership_exemption_reason
3177
+
3178
+ def self.inner_class_types
3179
+ @inner_class_types = {}
3180
+ end
3181
+
3182
+ def self.field_remappings
3183
+ @field_remappings = {}
3184
+ end
3185
+ end
3186
+
3187
+ class RepresentativeDeclaration < ::Stripe::StripeObject
3188
+ # The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
3189
+ attr_reader :date
3190
+ # The IP address from which the representative attestation was made.
3191
+ attr_reader :ip
3192
+ # The user agent of the browser from which the representative attestation was made.
3193
+ attr_reader :user_agent
3194
+
3195
+ def self.inner_class_types
3196
+ @inner_class_types = {}
3197
+ end
3198
+
3199
+ def self.field_remappings
3200
+ @field_remappings = {}
3201
+ end
3202
+ end
3203
+
3204
+ class TermsOfService < ::Stripe::StripeObject
3205
+ class Account < ::Stripe::StripeObject
3206
+ # 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.
3207
+ attr_reader :date
3208
+ # The IP address from which the Account's representative accepted the terms of service.
3209
+ attr_reader :ip
3210
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3211
+ attr_reader :user_agent
3212
+
3213
+ def self.inner_class_types
3214
+ @inner_class_types = {}
3215
+ end
3216
+
3217
+ def self.field_remappings
3218
+ @field_remappings = {}
3219
+ end
3220
+ end
3221
+
3222
+ class CardCreator < ::Stripe::StripeObject
3223
+ class Commercial < ::Stripe::StripeObject
3224
+ class AccountHolder < ::Stripe::StripeObject
3225
+ # 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.
3226
+ attr_reader :date
3227
+ # The IP address from which the Account's representative accepted the terms of service.
3228
+ attr_reader :ip
3229
+ # The URL to the service agreement the Account's representative accepted.
3230
+ attr_reader :url
3231
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3232
+ attr_reader :user_agent
3233
+
3234
+ def self.inner_class_types
3235
+ @inner_class_types = {}
3236
+ end
3237
+
3238
+ def self.field_remappings
3239
+ @field_remappings = {}
3240
+ end
3241
+ end
3242
+
3243
+ class Celtic < ::Stripe::StripeObject
3244
+ class ApplePay < ::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
+
3263
+ class ChargeCard < ::Stripe::StripeObject
3264
+ class BankTerms < ::Stripe::StripeObject
3265
+ # 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.
3266
+ attr_reader :date
3267
+ # The IP address from which the Account's representative accepted the terms of service.
3268
+ attr_reader :ip
3269
+ # The URL to the service agreement the Account's representative accepted.
3270
+ attr_reader :url
3271
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3272
+ attr_reader :user_agent
3273
+
3274
+ def self.inner_class_types
3275
+ @inner_class_types = {}
3276
+ end
3277
+
3278
+ def self.field_remappings
3279
+ @field_remappings = {}
3280
+ end
3281
+ end
3282
+
3283
+ class Platform < ::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
+ # Bank terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
3302
+ attr_reader :bank_terms
3303
+ # Platform terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
3304
+ attr_reader :platform
3305
+
3306
+ def self.inner_class_types
3307
+ @inner_class_types = { bank_terms: BankTerms, platform: Platform }
3308
+ end
3309
+
3310
+ def self.field_remappings
3311
+ @field_remappings = {}
3312
+ end
3313
+ end
3314
+
3315
+ class SpendCard < ::Stripe::StripeObject
3316
+ class BankTerms < ::Stripe::StripeObject
3317
+ # 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.
3318
+ attr_reader :date
3319
+ # The IP address from which the Account's representative accepted the terms of service.
3320
+ attr_reader :ip
3321
+ # The URL to the service agreement the Account's representative accepted.
3322
+ attr_reader :url
3323
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3324
+ attr_reader :user_agent
3325
+
3326
+ def self.inner_class_types
3327
+ @inner_class_types = {}
3328
+ end
3329
+
3330
+ def self.field_remappings
3331
+ @field_remappings = {}
3332
+ end
3333
+ end
3334
+
3335
+ class FinancingDisclosures < ::Stripe::StripeObject
3336
+ # 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.
3337
+ attr_reader :date
3338
+ # The IP address from which the Account's representative accepted the terms of service.
3339
+ attr_reader :ip
3340
+ # The URL to the service agreement the Account's representative accepted.
3341
+ attr_reader :url
3342
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3343
+ attr_reader :user_agent
3344
+
3345
+ def self.inner_class_types
3346
+ @inner_class_types = {}
3347
+ end
3348
+
3349
+ def self.field_remappings
3350
+ @field_remappings = {}
3351
+ end
3352
+ end
3353
+
3354
+ class Platform < ::Stripe::StripeObject
3355
+ # 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.
3356
+ attr_reader :date
3357
+ # The IP address from which the Account's representative accepted the terms of service.
3358
+ attr_reader :ip
3359
+ # The URL to the service agreement the Account's representative accepted.
3360
+ attr_reader :url
3361
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3362
+ attr_reader :user_agent
3363
+
3364
+ def self.inner_class_types
3365
+ @inner_class_types = {}
3366
+ end
3367
+
3368
+ def self.field_remappings
3369
+ @field_remappings = {}
3370
+ end
3371
+ end
3372
+ # Bank terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
3373
+ attr_reader :bank_terms
3374
+ # Financial disclosures terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
3375
+ attr_reader :financing_disclosures
3376
+ # Platform terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
3377
+ attr_reader :platform
3378
+
3379
+ def self.inner_class_types
3380
+ @inner_class_types = {
3381
+ bank_terms: BankTerms,
3382
+ financing_disclosures: FinancingDisclosures,
3383
+ platform: Platform,
3384
+ }
3385
+ end
3386
+
3387
+ def self.field_remappings
3388
+ @field_remappings = {}
3389
+ end
3390
+ end
3391
+ # Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor.
3392
+ attr_reader :apple_pay
3393
+ # Terms of service acceptances for commercial issuing charge cards with Celtic as BIN sponsor.
3394
+ attr_reader :charge_card
3395
+ # Terms of service acceptances for commercial issuing spend cards with Celtic as BIN sponsor.
3396
+ attr_reader :spend_card
3397
+
3398
+ def self.inner_class_types
3399
+ @inner_class_types = {
3400
+ apple_pay: ApplePay,
3401
+ charge_card: ChargeCard,
3402
+ spend_card: SpendCard,
3403
+ }
3404
+ end
3405
+
3406
+ def self.field_remappings
3407
+ @field_remappings = {}
3408
+ end
3409
+ end
3410
+
3411
+ class CrossRiverBank < ::Stripe::StripeObject
3412
+ class ApplePay < ::Stripe::StripeObject
3413
+ # 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.
3414
+ attr_reader :date
3415
+ # The IP address from which the Account's representative accepted the terms of service.
3416
+ attr_reader :ip
3417
+ # The URL to the service agreement the Account's representative accepted.
3418
+ attr_reader :url
3419
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3420
+ attr_reader :user_agent
3421
+
3422
+ def self.inner_class_types
3423
+ @inner_class_types = {}
3424
+ end
3425
+
3426
+ def self.field_remappings
3427
+ @field_remappings = {}
3428
+ end
3429
+ end
3430
+
3431
+ class ChargeCard < ::Stripe::StripeObject
3432
+ class BankTerms < ::Stripe::StripeObject
3433
+ # 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.
3434
+ attr_reader :date
3435
+ # The IP address from which the Account's representative accepted the terms of service.
3436
+ attr_reader :ip
3437
+ # The URL to the service agreement the Account's representative accepted.
3438
+ attr_reader :url
3439
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3440
+ attr_reader :user_agent
3441
+
3442
+ def self.inner_class_types
3443
+ @inner_class_types = {}
3444
+ end
3445
+
3446
+ def self.field_remappings
3447
+ @field_remappings = {}
3448
+ end
3449
+ end
3450
+
3451
+ class FinancingDisclosures < ::Stripe::StripeObject
3452
+ # 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.
3453
+ attr_reader :date
3454
+ # The IP address from which the Account's representative accepted the terms of service.
3455
+ attr_reader :ip
3456
+ # The URL to the service agreement the Account's representative accepted.
3457
+ attr_reader :url
3458
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3459
+ attr_reader :user_agent
3460
+
3461
+ def self.inner_class_types
3462
+ @inner_class_types = {}
3463
+ end
3464
+
3465
+ def self.field_remappings
3466
+ @field_remappings = {}
3467
+ end
3468
+ end
3469
+
3470
+ class Platform < ::Stripe::StripeObject
3471
+ # 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.
3472
+ attr_reader :date
3473
+ # The IP address from which the Account's representative accepted the terms of service.
3474
+ attr_reader :ip
3475
+ # The URL to the service agreement the Account's representative accepted.
3476
+ attr_reader :url
3477
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3478
+ attr_reader :user_agent
3479
+
3480
+ def self.inner_class_types
3481
+ @inner_class_types = {}
3482
+ end
3483
+
3484
+ def self.field_remappings
3485
+ @field_remappings = {}
3486
+ end
3487
+ end
3488
+ # Bank terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
3489
+ attr_reader :bank_terms
3490
+ # Financial disclosures terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
3491
+ attr_reader :financing_disclosures
3492
+ # Platform terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
3493
+ attr_reader :platform
3494
+
3495
+ def self.inner_class_types
3496
+ @inner_class_types = {
3497
+ bank_terms: BankTerms,
3498
+ financing_disclosures: FinancingDisclosures,
3499
+ platform: Platform,
3500
+ }
3501
+ end
3502
+
3503
+ def self.field_remappings
3504
+ @field_remappings = {}
3505
+ end
3506
+ end
3507
+
3508
+ class SpendCard < ::Stripe::StripeObject
3509
+ class BankTerms < ::Stripe::StripeObject
3510
+ # 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.
3511
+ attr_reader :date
3512
+ # The IP address from which the Account's representative accepted the terms of service.
3513
+ attr_reader :ip
3514
+ # The URL to the service agreement the Account's representative accepted.
3515
+ attr_reader :url
3516
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3517
+ attr_reader :user_agent
3518
+
3519
+ def self.inner_class_types
3520
+ @inner_class_types = {}
3521
+ end
3522
+
3523
+ def self.field_remappings
3524
+ @field_remappings = {}
3525
+ end
3526
+ end
3527
+
3528
+ class FinancingDisclosures < ::Stripe::StripeObject
3529
+ # 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.
3530
+ attr_reader :date
3531
+ # The IP address from which the Account's representative accepted the terms of service.
3532
+ attr_reader :ip
3533
+ # The URL to the service agreement the Account's representative accepted.
3534
+ attr_reader :url
3535
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3536
+ attr_reader :user_agent
3537
+
3538
+ def self.inner_class_types
3539
+ @inner_class_types = {}
3540
+ end
3541
+
3542
+ def self.field_remappings
3543
+ @field_remappings = {}
3544
+ end
3545
+ end
3546
+ # Bank terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
3547
+ attr_reader :bank_terms
3548
+ # Financial disclosures terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
3549
+ attr_reader :financing_disclosures
3550
+
3551
+ def self.inner_class_types
3552
+ @inner_class_types = {
3553
+ bank_terms: BankTerms,
3554
+ financing_disclosures: FinancingDisclosures,
3555
+ }
3556
+ end
3557
+
3558
+ def self.field_remappings
3559
+ @field_remappings = {}
3560
+ end
3561
+ end
3562
+ # Terms of service acceptances for commercial issuing Apple Pay cards with Cross River Bank as BIN sponsor.
3563
+ attr_reader :apple_pay
3564
+ # Terms of service acceptances for commercial issuing charge cards with Cross River Bank as BIN sponsor.
3565
+ attr_reader :charge_card
3566
+ # Terms of service acceptances for commercial issuing spend cards with Cross River Bank as BIN sponsor.
3567
+ attr_reader :spend_card
3568
+
3569
+ def self.inner_class_types
3570
+ @inner_class_types = {
3571
+ apple_pay: ApplePay,
3572
+ charge_card: ChargeCard,
3573
+ spend_card: SpendCard,
3574
+ }
3575
+ end
3576
+
3577
+ def self.field_remappings
3578
+ @field_remappings = {}
3579
+ end
3580
+ end
3581
+ # Terms of service acceptances for Stripe commercial card issuing.
3582
+ attr_reader :account_holder
3583
+ # Terms of service acceptances for commercial issuing cards with Celtic as BIN sponsor.
3584
+ attr_reader :celtic
3585
+ # Terms of service acceptances for commercial issuing cards with Cross River Bank as BIN sponsor.
3586
+ attr_reader :cross_river_bank
3587
+
3588
+ def self.inner_class_types
3589
+ @inner_class_types = {
3590
+ account_holder: AccountHolder,
3591
+ celtic: Celtic,
3592
+ cross_river_bank: CrossRiverBank,
3593
+ }
3594
+ end
3595
+
3596
+ def self.field_remappings
3597
+ @field_remappings = {}
3598
+ end
3599
+ end
3600
+ # Terms of service acceptances to create cards for commercial issuing use cases.
3601
+ attr_reader :commercial
3602
+
3603
+ def self.inner_class_types
3604
+ @inner_class_types = { commercial: Commercial }
3605
+ end
3606
+
3607
+ def self.field_remappings
3608
+ @field_remappings = {}
3609
+ end
3610
+ end
3611
+
3612
+ class CryptoStorer < ::Stripe::StripeObject
3613
+ # 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.
3614
+ attr_reader :date
3615
+ # The IP address from which the Account's representative accepted the terms of service.
3616
+ attr_reader :ip
3617
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3618
+ attr_reader :user_agent
3619
+
3620
+ def self.inner_class_types
3621
+ @inner_class_types = {}
3622
+ end
3623
+
3624
+ def self.field_remappings
3625
+ @field_remappings = {}
3626
+ end
3627
+ end
3628
+
3629
+ class Storer < ::Stripe::StripeObject
3630
+ # 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.
3631
+ attr_reader :date
3632
+ # The IP address from which the Account's representative accepted the terms of service.
3633
+ attr_reader :ip
3634
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3635
+ attr_reader :user_agent
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
+ # Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
3646
+ attr_reader :account
3647
+ # Details on the Account's acceptance of Issuing-specific terms of service.
3648
+ attr_reader :card_creator
3649
+ # Details on the Account's acceptance of Crypto-storer-specific terms of service.
3650
+ attr_reader :crypto_storer
3651
+ # Details on the Account's acceptance of Treasury-specific terms of service.
3652
+ attr_reader :storer
3653
+
3654
+ def self.inner_class_types
3655
+ @inner_class_types = {
3656
+ account: Account,
3657
+ card_creator: CardCreator,
3658
+ crypto_storer: CryptoStorer,
3659
+ storer: Storer,
3660
+ }
3661
+ end
3662
+
3663
+ def self.field_remappings
3664
+ @field_remappings = {}
3665
+ end
3666
+ end
3667
+ # This hash is used to attest that the directors information provided to Stripe is both current and correct.
3668
+ attr_reader :directorship_declaration
3669
+ # This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
3670
+ attr_reader :ownership_declaration
3671
+ # Attestation that all Persons with a specific Relationship value have been provided.
3672
+ attr_reader :persons_provided
3673
+ # This hash is used to attest that the representative is authorized to act as the representative of their legal entity.
3674
+ attr_reader :representative_declaration
3675
+ # Attestations of accepted terms of service agreements.
3676
+ attr_reader :terms_of_service
3677
+
3678
+ def self.inner_class_types
3679
+ @inner_class_types = {
3680
+ directorship_declaration: DirectorshipDeclaration,
3681
+ ownership_declaration: OwnershipDeclaration,
3682
+ persons_provided: PersonsProvided,
3683
+ representative_declaration: RepresentativeDeclaration,
3684
+ terms_of_service: TermsOfService,
3685
+ }
3686
+ end
3687
+
3688
+ def self.field_remappings
3689
+ @field_remappings = {}
3690
+ end
3691
+ end
3692
+
3693
+ class BusinessDetails < ::Stripe::StripeObject
3694
+ class Address < ::Stripe::StripeObject
3695
+ # City, district, suburb, town, or village.
3696
+ attr_reader :city
3697
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3698
+ attr_reader :country
3699
+ # Address line 1 (e.g., street, PO Box, or company name).
3700
+ attr_reader :line1
3701
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3702
+ attr_reader :line2
3703
+ # ZIP or postal code.
3704
+ attr_reader :postal_code
3705
+ # State, county, province, or region.
3706
+ attr_reader :state
3707
+ # Town or cho-me.
3708
+ attr_reader :town
3709
+
3710
+ def self.inner_class_types
3711
+ @inner_class_types = {}
3712
+ end
3713
+
3714
+ def self.field_remappings
3715
+ @field_remappings = {}
3716
+ end
3717
+ end
3718
+
3719
+ class AnnualRevenue < ::Stripe::StripeObject
3720
+ # A non-negative integer representing the amount in the smallest currency unit.
3721
+ attr_reader :amount
3722
+ # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
3723
+ attr_reader :fiscal_year_end
3724
+
3725
+ def self.inner_class_types
3726
+ @inner_class_types = {}
3727
+ end
3728
+
3729
+ def self.field_remappings
3730
+ @field_remappings = {}
3731
+ end
3732
+ end
3733
+
3734
+ class Documents < ::Stripe::StripeObject
3735
+ class BankAccountOwnershipVerification < ::Stripe::StripeObject
3736
+ # 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`.
3737
+ attr_reader :files
3738
+ # The format of the document. Currently supports `files` only.
3739
+ attr_reader :type
3740
+
3741
+ def self.inner_class_types
3742
+ @inner_class_types = {}
3743
+ end
3744
+
3745
+ def self.field_remappings
3746
+ @field_remappings = {}
3747
+ end
3748
+ end
3749
+
3750
+ class CompanyLicense < ::Stripe::StripeObject
3751
+ # 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`.
3752
+ attr_reader :files
3753
+ # The format of the document. Currently supports `files` only.
3754
+ attr_reader :type
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
+
3765
+ class CompanyMemorandumOfAssociation < ::Stripe::StripeObject
3766
+ # 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`.
3767
+ attr_reader :files
3768
+ # The format of the document. Currently supports `files` only.
3769
+ attr_reader :type
3770
+
3771
+ def self.inner_class_types
3772
+ @inner_class_types = {}
3773
+ end
3774
+
3775
+ def self.field_remappings
3776
+ @field_remappings = {}
3777
+ end
3778
+ end
3779
+
3780
+ class CompanyMinisterialDecree < ::Stripe::StripeObject
3781
+ # 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`.
3782
+ attr_reader :files
3783
+ # The format of the document. Currently supports `files` only.
3784
+ attr_reader :type
3785
+
3786
+ def self.inner_class_types
3787
+ @inner_class_types = {}
3788
+ end
3789
+
3790
+ def self.field_remappings
3791
+ @field_remappings = {}
3792
+ end
3793
+ end
3794
+
3795
+ class CompanyRegistrationVerification < ::Stripe::StripeObject
3796
+ # 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`.
3797
+ attr_reader :files
3798
+ # The format of the document. Currently supports `files` only.
3799
+ attr_reader :type
3800
+
3801
+ def self.inner_class_types
3802
+ @inner_class_types = {}
3803
+ end
3804
+
3805
+ def self.field_remappings
3806
+ @field_remappings = {}
3807
+ end
3808
+ end
3809
+
3810
+ class CompanyTaxIdVerification < ::Stripe::StripeObject
3811
+ # 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`.
3812
+ attr_reader :files
3813
+ # The format of the document. Currently supports `files` only.
3814
+ attr_reader :type
3815
+
3816
+ def self.inner_class_types
3817
+ @inner_class_types = {}
3818
+ end
3819
+
3820
+ def self.field_remappings
3821
+ @field_remappings = {}
3822
+ end
3823
+ end
3824
+
3825
+ class PrimaryVerification < ::Stripe::StripeObject
3826
+ class FrontBack < ::Stripe::StripeObject
3827
+ # 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.
3828
+ attr_reader :back
3829
+ # 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.
3830
+ attr_reader :front
3831
+
3832
+ def self.inner_class_types
3833
+ @inner_class_types = {}
3834
+ end
3835
+
3836
+ def self.field_remappings
3837
+ @field_remappings = {}
3838
+ end
3839
+ end
3840
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
3841
+ attr_reader :front_back
3842
+ # The format of the verification document. Currently supports `front_back` only.
3843
+ attr_reader :type
3844
+
3845
+ def self.inner_class_types
3846
+ @inner_class_types = { front_back: FrontBack }
3847
+ end
3848
+
3849
+ def self.field_remappings
3850
+ @field_remappings = {}
3851
+ end
3852
+ end
3853
+
3854
+ class ProofOfAddress < ::Stripe::StripeObject
3855
+ # 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`.
3856
+ attr_reader :files
3857
+ # The format of the document. Currently supports `files` only.
3858
+ attr_reader :type
3859
+
3860
+ def self.inner_class_types
3861
+ @inner_class_types = {}
3862
+ end
3863
+
3864
+ def self.field_remappings
3865
+ @field_remappings = {}
3866
+ end
3867
+ end
3868
+
3869
+ class ProofOfRegistration < ::Stripe::StripeObject
3870
+ # 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`.
3871
+ attr_reader :files
3872
+ # The format of the document. Currently supports `files` only.
3873
+ attr_reader :type
3874
+
3875
+ def self.inner_class_types
3876
+ @inner_class_types = {}
3877
+ end
3878
+
3879
+ def self.field_remappings
3880
+ @field_remappings = {}
3881
+ end
3882
+ end
3883
+
3884
+ class ProofOfUltimateBeneficialOwnership < ::Stripe::StripeObject
3885
+ # 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`.
3886
+ attr_reader :files
3887
+ # The format of the document. Currently supports `files` only.
3888
+ attr_reader :type
3889
+
3890
+ def self.inner_class_types
3891
+ @inner_class_types = {}
3892
+ end
3893
+
3894
+ def self.field_remappings
3895
+ @field_remappings = {}
3896
+ end
3897
+ end
3898
+ # 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.
3899
+ attr_reader :bank_account_ownership_verification
3900
+ # One or more documents that demonstrate proof of a company’s license to operate.
3901
+ attr_reader :company_license
3902
+ # One or more documents showing the company’s Memorandum of Association.
3903
+ attr_reader :company_memorandum_of_association
3904
+ # Certain countries only: One or more documents showing the ministerial decree legalizing the company’s establishment.
3905
+ attr_reader :company_ministerial_decree
3906
+ # One or more documents that demonstrate proof of a company’s registration with the appropriate local authorities.
3907
+ attr_reader :company_registration_verification
3908
+ # One or more documents that demonstrate proof of a company’s tax ID.
3909
+ attr_reader :company_tax_id_verification
3910
+ # A document verifying the business.
3911
+ attr_reader :primary_verification
3912
+ # One or more documents that demonstrate proof of address.
3913
+ attr_reader :proof_of_address
3914
+ # One or more documents showing the company’s proof of registration with the national business registry.
3915
+ attr_reader :proof_of_registration
3916
+ # One or more documents that demonstrate proof of ultimate beneficial ownership.
3917
+ attr_reader :proof_of_ultimate_beneficial_ownership
3918
+
3919
+ def self.inner_class_types
3920
+ @inner_class_types = {
3921
+ bank_account_ownership_verification: BankAccountOwnershipVerification,
3922
+ company_license: CompanyLicense,
3923
+ company_memorandum_of_association: CompanyMemorandumOfAssociation,
3924
+ company_ministerial_decree: CompanyMinisterialDecree,
3925
+ company_registration_verification: CompanyRegistrationVerification,
3926
+ company_tax_id_verification: CompanyTaxIdVerification,
3927
+ primary_verification: PrimaryVerification,
3928
+ proof_of_address: ProofOfAddress,
3929
+ proof_of_registration: ProofOfRegistration,
3930
+ proof_of_ultimate_beneficial_ownership: ProofOfUltimateBeneficialOwnership,
3931
+ }
3932
+ end
3933
+
3934
+ def self.field_remappings
3935
+ @field_remappings = {}
3936
+ end
3937
+ end
3938
+
3939
+ class IdNumber < ::Stripe::StripeObject
3940
+ # The registrar of the ID number (Only valid for DE ID number types).
3941
+ attr_reader :registrar
3942
+ # Open Enum. The ID number type of a business entity.
3943
+ attr_reader :type
3944
+
3945
+ def self.inner_class_types
3946
+ @inner_class_types = {}
3947
+ end
3948
+
3949
+ def self.field_remappings
3950
+ @field_remappings = {}
3951
+ end
3952
+ end
3953
+
3954
+ class MonthlyEstimatedRevenue < ::Stripe::StripeObject
3955
+ # A non-negative integer representing the amount in the smallest currency unit.
3956
+ attr_reader :amount
3957
+
3958
+ def self.inner_class_types
3959
+ @inner_class_types = {}
3960
+ end
3961
+
3962
+ def self.field_remappings
3963
+ @field_remappings = {}
3964
+ end
3965
+ end
3966
+
3967
+ class ScriptAddresses < ::Stripe::StripeObject
3968
+ class Kana < ::Stripe::StripeObject
3969
+ # City, district, suburb, town, or village.
3970
+ attr_reader :city
3971
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3972
+ attr_reader :country
3973
+ # Address line 1 (e.g., street, PO Box, or company name).
3974
+ attr_reader :line1
3975
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3976
+ attr_reader :line2
3977
+ # ZIP or postal code.
3978
+ attr_reader :postal_code
3979
+ # State, county, province, or region.
3980
+ attr_reader :state
3981
+ # Town or cho-me.
3982
+ attr_reader :town
3983
+
3984
+ def self.inner_class_types
3985
+ @inner_class_types = {}
3986
+ end
3987
+
3988
+ def self.field_remappings
3989
+ @field_remappings = {}
3990
+ end
3991
+ end
3992
+
3993
+ class Kanji < ::Stripe::StripeObject
3994
+ # City, district, suburb, town, or village.
3995
+ attr_reader :city
3996
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3997
+ attr_reader :country
3998
+ # Address line 1 (e.g., street, PO Box, or company name).
3999
+ attr_reader :line1
4000
+ # Address line 2 (e.g., apartment, suite, unit, or building).
4001
+ attr_reader :line2
4002
+ # ZIP or postal code.
4003
+ attr_reader :postal_code
4004
+ # State, county, province, or region.
4005
+ attr_reader :state
4006
+ # Town or cho-me.
4007
+ attr_reader :town
4008
+
4009
+ def self.inner_class_types
4010
+ @inner_class_types = {}
4011
+ end
4012
+
4013
+ def self.field_remappings
4014
+ @field_remappings = {}
4015
+ end
4016
+ end
4017
+ # Kana Address.
4018
+ attr_reader :kana
4019
+ # Kanji Address.
4020
+ attr_reader :kanji
4021
+
4022
+ def self.inner_class_types
4023
+ @inner_class_types = { kana: Kana, kanji: Kanji }
4024
+ end
4025
+
4026
+ def self.field_remappings
4027
+ @field_remappings = {}
4028
+ end
4029
+ end
4030
+
4031
+ class ScriptNames < ::Stripe::StripeObject
4032
+ class Kana < ::Stripe::StripeObject
4033
+ # Registered name of the business.
4034
+ attr_reader :registered_name
4035
+
4036
+ def self.inner_class_types
4037
+ @inner_class_types = {}
4038
+ end
4039
+
4040
+ def self.field_remappings
4041
+ @field_remappings = {}
4042
+ end
4043
+ end
4044
+
4045
+ class Kanji < ::Stripe::StripeObject
4046
+ # Registered name of the business.
4047
+ attr_reader :registered_name
4048
+
4049
+ def self.inner_class_types
4050
+ @inner_class_types = {}
4051
+ end
4052
+
4053
+ def self.field_remappings
4054
+ @field_remappings = {}
4055
+ end
4056
+ end
4057
+ # Kana name.
4058
+ attr_reader :kana
4059
+ # Kanji name.
4060
+ attr_reader :kanji
4061
+
4062
+ def self.inner_class_types
4063
+ @inner_class_types = { kana: Kana, kanji: Kanji }
4064
+ end
4065
+
4066
+ def self.field_remappings
4067
+ @field_remappings = {}
4068
+ end
4069
+ end
4070
+ # The company’s primary address.
4071
+ attr_reader :address
4072
+ # The business gross annual revenue for its preceding fiscal year.
4073
+ attr_reader :annual_revenue
4074
+ # A detailed description of the business's compliance and anti-money laundering controls and practices.
4075
+ attr_reader :compliance_screening_description
4076
+ # Documents that may be submitted to satisfy various informational requests.
4077
+ attr_reader :documents
4078
+ # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
4079
+ attr_reader :estimated_worker_count
4080
+ # The provided ID numbers of a business entity.
4081
+ attr_reader :id_numbers
4082
+ # An estimate of the monthly revenue of the business.
4083
+ attr_reader :monthly_estimated_revenue
4084
+ # The company’s phone number (used for verification).
4085
+ attr_reader :phone
4086
+ # The business legal name.
4087
+ attr_reader :registered_name
4088
+ # The business registration address of the business entity in non latin script.
4089
+ attr_reader :script_addresses
4090
+ # The business legal name in non latin script.
4091
+ attr_reader :script_names
4092
+ # The category identifying the legal structure of the business.
4093
+ attr_reader :structure
4094
+
4095
+ def self.inner_class_types
4096
+ @inner_class_types = {
4097
+ address: Address,
4098
+ annual_revenue: AnnualRevenue,
4099
+ documents: Documents,
4100
+ id_numbers: IdNumber,
4101
+ monthly_estimated_revenue: MonthlyEstimatedRevenue,
4102
+ script_addresses: ScriptAddresses,
4103
+ script_names: ScriptNames,
4104
+ }
4105
+ end
4106
+
4107
+ def self.field_remappings
4108
+ @field_remappings = {}
4109
+ end
4110
+ end
4111
+
4112
+ class Individual < ::Stripe::StripeObject
4113
+ class AdditionalAddress < ::Stripe::StripeObject
4114
+ # City, district, suburb, town, or village.
4115
+ attr_reader :city
4116
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4117
+ attr_reader :country
4118
+ # Address line 1 (e.g., street, PO Box, or company name).
4119
+ attr_reader :line1
4120
+ # Address line 2 (e.g., apartment, suite, unit, or building).
4121
+ attr_reader :line2
4122
+ # ZIP or postal code.
4123
+ attr_reader :postal_code
4124
+ # Purpose of additional address.
4125
+ attr_reader :purpose
4126
+ # State, county, province, or region.
4127
+ attr_reader :state
4128
+ # Town or cho-me.
4129
+ attr_reader :town
4130
+
4131
+ def self.inner_class_types
4132
+ @inner_class_types = {}
4133
+ end
4134
+
4135
+ def self.field_remappings
4136
+ @field_remappings = {}
4137
+ end
4138
+ end
4139
+
4140
+ class AdditionalName < ::Stripe::StripeObject
4141
+ # The individual's full name.
4142
+ attr_reader :full_name
4143
+ # The individual's first or given name.
4144
+ attr_reader :given_name
4145
+ # The purpose or type of the additional name.
4146
+ attr_reader :purpose
4147
+ # The individual's last or family name.
4148
+ attr_reader :surname
4149
+
4150
+ def self.inner_class_types
4151
+ @inner_class_types = {}
4152
+ end
4153
+
4154
+ def self.field_remappings
4155
+ @field_remappings = {}
4156
+ end
4157
+ end
4158
+
4159
+ class AdditionalTermsOfService < ::Stripe::StripeObject
4160
+ class Account < ::Stripe::StripeObject
4161
+ # 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.
4162
+ attr_reader :date
4163
+ # The IP address from which the Account's representative accepted the terms of service.
4164
+ attr_reader :ip
4165
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4166
+ attr_reader :user_agent
4167
+
4168
+ def self.inner_class_types
4169
+ @inner_class_types = {}
4170
+ end
4171
+
4172
+ def self.field_remappings
4173
+ @field_remappings = {}
4174
+ end
4175
+ end
4176
+ # Stripe terms of service agreement.
4177
+ attr_reader :account
4178
+
4179
+ def self.inner_class_types
4180
+ @inner_class_types = { account: Account }
4181
+ end
4182
+
4183
+ def self.field_remappings
4184
+ @field_remappings = {}
4185
+ end
4186
+ end
4187
+
4188
+ class Address < ::Stripe::StripeObject
4189
+ # City, district, suburb, town, or village.
4190
+ attr_reader :city
4191
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4192
+ attr_reader :country
4193
+ # Address line 1 (e.g., street, PO Box, or company name).
4194
+ attr_reader :line1
4195
+ # Address line 2 (e.g., apartment, suite, unit, or building).
4196
+ attr_reader :line2
4197
+ # ZIP or postal code.
4198
+ attr_reader :postal_code
4199
+ # State, county, province, or region.
4200
+ attr_reader :state
4201
+ # Town or cho-me.
4202
+ attr_reader :town
4203
+
4204
+ def self.inner_class_types
4205
+ @inner_class_types = {}
4206
+ end
4207
+
4208
+ def self.field_remappings
4209
+ @field_remappings = {}
4210
+ end
4211
+ end
4212
+
4213
+ class DateOfBirth < ::Stripe::StripeObject
4214
+ # The day of birth, between 1 and 31.
4215
+ attr_reader :day
4216
+ # The month of birth, between 1 and 12.
4217
+ attr_reader :month
4218
+ # The four-digit year of birth.
4219
+ attr_reader :year
4220
+
4221
+ def self.inner_class_types
4222
+ @inner_class_types = {}
4223
+ end
4224
+
4225
+ def self.field_remappings
4226
+ @field_remappings = {}
4227
+ end
4228
+ end
4229
+
4230
+ class Documents < ::Stripe::StripeObject
4231
+ class CompanyAuthorization < ::Stripe::StripeObject
4232
+ # 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`.
4233
+ attr_reader :files
4234
+ # The format of the document. Currently supports `files` only.
4235
+ attr_reader :type
4236
+
4237
+ def self.inner_class_types
4238
+ @inner_class_types = {}
4239
+ end
4240
+
4241
+ def self.field_remappings
4242
+ @field_remappings = {}
4243
+ end
4244
+ end
4245
+
4246
+ class Passport < ::Stripe::StripeObject
4247
+ # 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`.
4248
+ attr_reader :files
4249
+ # The format of the document. Currently supports `files` only.
4250
+ attr_reader :type
4251
+
4252
+ def self.inner_class_types
4253
+ @inner_class_types = {}
4254
+ end
4255
+
4256
+ def self.field_remappings
4257
+ @field_remappings = {}
4258
+ end
4259
+ end
4260
+
4261
+ class PrimaryVerification < ::Stripe::StripeObject
4262
+ class FrontBack < ::Stripe::StripeObject
4263
+ # 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.
4264
+ attr_reader :back
4265
+ # 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.
4266
+ attr_reader :front
4267
+
4268
+ def self.inner_class_types
4269
+ @inner_class_types = {}
4270
+ end
4271
+
4272
+ def self.field_remappings
4273
+ @field_remappings = {}
4274
+ end
4275
+ end
4276
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
4277
+ attr_reader :front_back
4278
+ # The format of the verification document. Currently supports `front_back` only.
4279
+ attr_reader :type
4280
+
4281
+ def self.inner_class_types
4282
+ @inner_class_types = { front_back: FrontBack }
4283
+ end
4284
+
4285
+ def self.field_remappings
4286
+ @field_remappings = {}
4287
+ end
4288
+ end
4289
+
4290
+ class SecondaryVerification < ::Stripe::StripeObject
4291
+ class FrontBack < ::Stripe::StripeObject
4292
+ # 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.
4293
+ attr_reader :back
4294
+ # 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.
4295
+ attr_reader :front
4296
+
4297
+ def self.inner_class_types
4298
+ @inner_class_types = {}
4299
+ end
4300
+
4301
+ def self.field_remappings
4302
+ @field_remappings = {}
4303
+ end
4304
+ end
4305
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
4306
+ attr_reader :front_back
4307
+ # The format of the verification document. Currently supports `front_back` only.
4308
+ attr_reader :type
4309
+
4310
+ def self.inner_class_types
4311
+ @inner_class_types = { front_back: FrontBack }
4312
+ end
4313
+
4314
+ def self.field_remappings
4315
+ @field_remappings = {}
4316
+ end
4317
+ end
4318
+
4319
+ class Visa < ::Stripe::StripeObject
4320
+ # 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`.
4321
+ attr_reader :files
4322
+ # The format of the document. Currently supports `files` only.
4323
+ attr_reader :type
4324
+
4325
+ def self.inner_class_types
4326
+ @inner_class_types = {}
4327
+ end
4328
+
4329
+ def self.field_remappings
4330
+ @field_remappings = {}
4331
+ end
4332
+ end
4333
+ # One or more documents that demonstrate proof that this person is authorized to represent the company.
4334
+ attr_reader :company_authorization
4335
+ # One or more documents showing the person’s passport page with photo and personal data.
4336
+ attr_reader :passport
4337
+ # An identifying document showing the person's name, either a passport or local ID card.
4338
+ attr_reader :primary_verification
4339
+ # A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
4340
+ attr_reader :secondary_verification
4341
+ # One or more documents showing the person’s visa required for living in the country where they are residing.
4342
+ attr_reader :visa
4343
+
4344
+ def self.inner_class_types
4345
+ @inner_class_types = {
4346
+ company_authorization: CompanyAuthorization,
4347
+ passport: Passport,
4348
+ primary_verification: PrimaryVerification,
4349
+ secondary_verification: SecondaryVerification,
4350
+ visa: Visa,
4351
+ }
4352
+ end
4353
+
4354
+ def self.field_remappings
4355
+ @field_remappings = {}
4356
+ end
4357
+ end
4358
+
4359
+ class IdNumber < ::Stripe::StripeObject
4360
+ # The ID number type of an individual.
4361
+ attr_reader :type
4362
+
4363
+ def self.inner_class_types
4364
+ @inner_class_types = {}
4365
+ end
4366
+
4367
+ def self.field_remappings
4368
+ @field_remappings = {}
4369
+ end
4370
+ end
4371
+
4372
+ class Relationship < ::Stripe::StripeObject
4373
+ # Whether the individual is an authorizer of the Account’s legal entity.
4374
+ attr_reader :authorizer
4375
+ # 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.
4376
+ attr_reader :director
4377
+ # Whether the individual has significant responsibility to control, manage, or direct the organization.
4378
+ attr_reader :executive
4379
+ # Whether the individual is the legal guardian of the Account’s representative.
4380
+ attr_reader :legal_guardian
4381
+ # Whether the individual is an owner of the Account’s legal entity.
4382
+ attr_reader :owner
4383
+ # The percent owned by the individual of the Account’s legal entity.
4384
+ attr_reader :percent_ownership
4385
+ # 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.
4386
+ attr_reader :representative
4387
+ # The individual's title (e.g., CEO, Support Engineer).
4388
+ attr_reader :title
4389
+
4390
+ def self.inner_class_types
4391
+ @inner_class_types = {}
4392
+ end
4393
+
4394
+ def self.field_remappings
4395
+ @field_remappings = {}
4396
+ end
4397
+ end
4398
+
4399
+ class ScriptAddresses < ::Stripe::StripeObject
4400
+ class Kana < ::Stripe::StripeObject
4401
+ # City, district, suburb, town, or village.
4402
+ attr_reader :city
4403
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4404
+ attr_reader :country
4405
+ # Address line 1 (e.g., street, PO Box, or company name).
4406
+ attr_reader :line1
4407
+ # Address line 2 (e.g., apartment, suite, unit, or building).
4408
+ attr_reader :line2
4409
+ # ZIP or postal code.
4410
+ attr_reader :postal_code
4411
+ # State, county, province, or region.
4412
+ attr_reader :state
4413
+ # Town or cho-me.
4414
+ attr_reader :town
4415
+
4416
+ def self.inner_class_types
4417
+ @inner_class_types = {}
4418
+ end
4419
+
4420
+ def self.field_remappings
4421
+ @field_remappings = {}
4422
+ end
4423
+ end
4424
+
4425
+ class Kanji < ::Stripe::StripeObject
4426
+ # City, district, suburb, town, or village.
4427
+ attr_reader :city
4428
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4429
+ attr_reader :country
4430
+ # Address line 1 (e.g., street, PO Box, or company name).
4431
+ attr_reader :line1
4432
+ # Address line 2 (e.g., apartment, suite, unit, or building).
4433
+ attr_reader :line2
4434
+ # ZIP or postal code.
4435
+ attr_reader :postal_code
4436
+ # State, county, province, or region.
4437
+ attr_reader :state
4438
+ # Town or cho-me.
4439
+ attr_reader :town
4440
+
4441
+ def self.inner_class_types
4442
+ @inner_class_types = {}
4443
+ end
4444
+
4445
+ def self.field_remappings
4446
+ @field_remappings = {}
4447
+ end
4448
+ end
4449
+ # Kana Address.
4450
+ attr_reader :kana
4451
+ # Kanji Address.
4452
+ attr_reader :kanji
4453
+
4454
+ def self.inner_class_types
4455
+ @inner_class_types = { kana: Kana, kanji: Kanji }
4456
+ end
4457
+
4458
+ def self.field_remappings
4459
+ @field_remappings = {}
4460
+ end
4461
+ end
4462
+
4463
+ class ScriptNames < ::Stripe::StripeObject
4464
+ class Kana < ::Stripe::StripeObject
4465
+ # The person's first or given name.
4466
+ attr_reader :given_name
4467
+ # The person's last or family name.
4468
+ attr_reader :surname
4469
+
4470
+ def self.inner_class_types
4471
+ @inner_class_types = {}
4472
+ end
4473
+
4474
+ def self.field_remappings
4475
+ @field_remappings = {}
4476
+ end
4477
+ end
4478
+
4479
+ class Kanji < ::Stripe::StripeObject
4480
+ # The person's first or given name.
4481
+ attr_reader :given_name
4482
+ # The person's last or family name.
4483
+ attr_reader :surname
4484
+
4485
+ def self.inner_class_types
4486
+ @inner_class_types = {}
4487
+ end
4488
+
4489
+ def self.field_remappings
4490
+ @field_remappings = {}
4491
+ end
4492
+ end
4493
+ # Persons name in kana script.
4494
+ attr_reader :kana
4495
+ # Persons name in kanji script.
4496
+ attr_reader :kanji
4497
+
4498
+ def self.inner_class_types
4499
+ @inner_class_types = { kana: Kana, kanji: Kanji }
4500
+ end
4501
+
4502
+ def self.field_remappings
4503
+ @field_remappings = {}
4504
+ end
4505
+ end
4506
+ # The account ID which the individual belongs to.
4507
+ attr_reader :account
4508
+ # Additional addresses associated with the individual.
4509
+ attr_reader :additional_addresses
4510
+ # Additional names (e.g. aliases) associated with the individual.
4511
+ attr_reader :additional_names
4512
+ # Terms of service acceptances.
4513
+ attr_reader :additional_terms_of_service
4514
+ # The individual's residential address.
4515
+ attr_reader :address
4516
+ # 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.
4517
+ attr_reader :created
4518
+ # The individual's date of birth.
4519
+ attr_reader :date_of_birth
4520
+ # Documents that may be submitted to satisfy various informational requests.
4521
+ attr_reader :documents
4522
+ # The individual's email address.
4523
+ attr_reader :email
4524
+ # The individual's first name.
4525
+ attr_reader :given_name
4526
+ # Unique identifier for the object.
4527
+ attr_reader :id
4528
+ # The identification numbers (e.g., SSN) associated with the individual.
4529
+ attr_reader :id_numbers
4530
+ # The individual's gender (International regulations require either "male” or "female").
4531
+ attr_reader :legal_gender
4532
+ # 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.
4533
+ attr_reader :metadata
4534
+ # 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)).
4535
+ attr_reader :nationalities
4536
+ # String representing the object's type. Objects of the same type share the same value.
4537
+ attr_reader :object
4538
+ # The individual's phone number.
4539
+ attr_reader :phone
4540
+ # 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.
4541
+ attr_reader :political_exposure
4542
+ # The relationship that this individual has with the Account's identity.
4543
+ attr_reader :relationship
4544
+ # The script addresses (e.g., non-Latin characters) associated with the individual.
4545
+ attr_reader :script_addresses
4546
+ # The script names (e.g. non-Latin characters) associated with the individual.
4547
+ attr_reader :script_names
4548
+ # The individual's last name.
4549
+ attr_reader :surname
4550
+ # Time at which the object was last updated.
4551
+ attr_reader :updated
4552
+
4553
+ def self.inner_class_types
4554
+ @inner_class_types = {
4555
+ additional_addresses: AdditionalAddress,
4556
+ additional_names: AdditionalName,
4557
+ additional_terms_of_service: AdditionalTermsOfService,
4558
+ address: Address,
4559
+ date_of_birth: DateOfBirth,
4560
+ documents: Documents,
4561
+ id_numbers: IdNumber,
4562
+ relationship: Relationship,
4563
+ script_addresses: ScriptAddresses,
4564
+ script_names: ScriptNames,
4565
+ }
4566
+ end
4567
+
4568
+ def self.field_remappings
4569
+ @field_remappings = {}
4570
+ end
4571
+ end
4572
+ # Attestations from the identity's key people, e.g. owners, executives, directors, representatives.
4573
+ attr_reader :attestations
4574
+ # Information about the company or business.
4575
+ attr_reader :business_details
4576
+ # 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.
4577
+ attr_reader :country
4578
+ # The entity type.
4579
+ attr_reader :entity_type
4580
+ # Information about the individual represented by the Account. This property is `null` unless `entity_type` is set to `individual`.
4581
+ attr_reader :individual
4582
+
4583
+ def self.inner_class_types
4584
+ @inner_class_types = {
4585
+ attestations: Attestations,
4586
+ business_details: BusinessDetails,
4587
+ individual: Individual,
4588
+ }
4589
+ end
4590
+
4591
+ def self.field_remappings
4592
+ @field_remappings = {}
4593
+ end
4594
+ end
4595
+
4596
+ class Requirements < ::Stripe::StripeObject
4597
+ class Entry < ::Stripe::StripeObject
4598
+ class Error < ::Stripe::StripeObject
4599
+ # Machine-readable code describing the error.
4600
+ attr_reader :code
4601
+ # Human-readable description of the error.
4602
+ attr_reader :description
4603
+
4604
+ def self.inner_class_types
4605
+ @inner_class_types = {}
4606
+ end
4607
+
4608
+ def self.field_remappings
4609
+ @field_remappings = {}
4610
+ end
4611
+ end
4612
+
4613
+ class Impact < ::Stripe::StripeObject
4614
+ class RestrictsCapability < ::Stripe::StripeObject
4615
+ class Deadline < ::Stripe::StripeObject
4616
+ # The current status of the requirement's impact.
4617
+ attr_reader :status
4618
+
4619
+ def self.inner_class_types
4620
+ @inner_class_types = {}
4621
+ end
4622
+
4623
+ def self.field_remappings
4624
+ @field_remappings = {}
4625
+ end
4626
+ end
4627
+ # The name of the Capability which will be restricted.
4628
+ attr_reader :capability
4629
+ # The configuration which specifies the Capability which will be restricted.
4630
+ attr_reader :configuration
4631
+ # Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction.
4632
+ attr_reader :deadline
4633
+
4634
+ def self.inner_class_types
4635
+ @inner_class_types = { deadline: Deadline }
4636
+ end
4637
+
4638
+ def self.field_remappings
4639
+ @field_remappings = {}
4640
+ end
4641
+ end
4642
+ # The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe.
4643
+ attr_reader :restricts_capabilities
4644
+
4645
+ def self.inner_class_types
4646
+ @inner_class_types = { restricts_capabilities: RestrictsCapability }
4647
+ end
4648
+
4649
+ def self.field_remappings
4650
+ @field_remappings = {}
4651
+ end
4652
+ end
4653
+
4654
+ class MinimumDeadline < ::Stripe::StripeObject
4655
+ # The current status of the requirement's impact.
4656
+ attr_reader :status
4657
+
4658
+ def self.inner_class_types
4659
+ @inner_class_types = {}
4660
+ end
4661
+
4662
+ def self.field_remappings
4663
+ @field_remappings = {}
4664
+ end
4665
+ end
4666
+
4667
+ class Reference < ::Stripe::StripeObject
4668
+ # If `inquiry` is the type, the inquiry token.
4669
+ attr_reader :inquiry
4670
+ # If `resource` is the type, the resource token.
4671
+ attr_reader :resource
4672
+ # The type of the reference. An additional hash is included with a name matching the type. It contains additional information specific to the type.
4673
+ attr_reader :type
4674
+
4675
+ def self.inner_class_types
4676
+ @inner_class_types = {}
4677
+ end
4678
+
4679
+ def self.field_remappings
4680
+ @field_remappings = {}
4681
+ end
4682
+ end
4683
+
4684
+ class RequestedReason < ::Stripe::StripeObject
4685
+ # Machine-readable description of Stripe's reason for collecting the requirement.
4686
+ attr_reader :code
4687
+
4688
+ def self.inner_class_types
4689
+ @inner_class_types = {}
4690
+ end
4691
+
4692
+ def self.field_remappings
4693
+ @field_remappings = {}
4694
+ end
4695
+ end
4696
+ # Whether the responsibility is with the integrator or with Stripe (to review info, to wait for some condition, etc.) to action the requirement.
4697
+ attr_reader :awaiting_action_from
4698
+ # Machine-readable string describing the requirement.
4699
+ attr_reader :description
4700
+ # Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe.
4701
+ attr_reader :errors
4702
+ # A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information.
4703
+ attr_reader :impact
4704
+ # The soonest point when the account will be impacted by not providing the requirement.
4705
+ attr_reader :minimum_deadline
4706
+ # A reference to the location of the requirement.
4707
+ attr_reader :reference
4708
+ # A list of reasons why Stripe is collecting the requirement.
4709
+ attr_reader :requested_reasons
4710
+
4711
+ def self.inner_class_types
4712
+ @inner_class_types = {
4713
+ errors: Error,
4714
+ impact: Impact,
4715
+ minimum_deadline: MinimumDeadline,
4716
+ reference: Reference,
4717
+ requested_reasons: RequestedReason,
4718
+ }
4719
+ end
4720
+
4721
+ def self.field_remappings
4722
+ @field_remappings = {}
4723
+ end
4724
+ end
4725
+
4726
+ class Summary < ::Stripe::StripeObject
4727
+ class MinimumDeadline < ::Stripe::StripeObject
4728
+ # The current strictest status of all requirements on the Account.
4729
+ attr_reader :status
4730
+ # The soonest RFC3339 date & time UTC value a requirement can impact the Account.
4731
+ attr_reader :time
4732
+
4733
+ def self.inner_class_types
4734
+ @inner_class_types = {}
4735
+ end
4736
+
4737
+ def self.field_remappings
4738
+ @field_remappings = {}
4739
+ end
4740
+ end
4741
+ # 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`.
4742
+ attr_reader :minimum_deadline
4743
+
4744
+ def self.inner_class_types
4745
+ @inner_class_types = { minimum_deadline: MinimumDeadline }
4746
+ end
4747
+
4748
+ def self.field_remappings
4749
+ @field_remappings = {}
4750
+ end
4751
+ end
4752
+ # A value indicating responsibility for collecting requirements on this account.
4753
+ attr_reader :collector
4754
+ # A list of requirements for the Account.
4755
+ attr_reader :entries
4756
+ # An object containing an overview of requirements for the Account.
4757
+ attr_reader :summary
4758
+
4759
+ def self.inner_class_types
4760
+ @inner_class_types = { entries: Entry, summary: Summary }
4761
+ end
4762
+
4763
+ def self.field_remappings
4764
+ @field_remappings = {}
4765
+ end
4766
+ end
4767
+ # Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.
4768
+ attr_reader :applied_configurations
4769
+ # A value indicating if the Account has been closed.
4770
+ attr_reader :closed
4771
+ # An Account Configuration which allows the Account to take on a key persona across Stripe products.
4772
+ attr_reader :configuration
4773
+ # The default contact email address for the Account. Required when configuring the account as a merchant or recipient.
4774
+ attr_reader :contact_email
4775
+ # 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.
4776
+ attr_reader :created
4777
+ # A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.
4778
+ attr_reader :dashboard
4779
+ # Default values to be used on Account Configurations.
4780
+ attr_reader :defaults
4781
+ # A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account.
4782
+ attr_reader :display_name
4783
+ # Unique identifier for the Account.
4784
+ attr_reader :id
4785
+ # Information about the company, individual, and business represented by the Account.
4786
+ attr_reader :identity
4787
+ # 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.
4788
+ attr_reader :metadata
4789
+ # String representing the object's type. Objects of the same type share the same value of the object field.
4790
+ attr_reader :object
4791
+ # Information about the requirements for the Account, including what information needs to be collected, and by when.
4792
+ attr_reader :requirements
4793
+ # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
4794
+ attr_reader :livemode
4795
+
4796
+ def self.inner_class_types
4797
+ @inner_class_types = {
4798
+ configuration: Configuration,
4799
+ defaults: Defaults,
4800
+ identity: Identity,
4801
+ requirements: Requirements,
4802
+ }
4803
+ end
4804
+
4805
+ def self.field_remappings
4806
+ @field_remappings = {}
4807
+ end
4808
+ end
4809
+ end
4810
+ end
4811
+ end