stripe 16.0.0 → 16.1.0.pre.alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (880) 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 +1032 -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_bill_setting_updated_event.rb +61 -0
  193. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +61 -0
  194. data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +44 -0
  195. data/lib/stripe/events/v2_billing_cadence_created_event.rb +61 -0
  196. data/lib/stripe/events/v2_billing_license_fee_created_event.rb +44 -0
  197. data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +44 -0
  198. data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +61 -0
  199. data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +44 -0
  200. data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +44 -0
  201. data/lib/stripe/events/v2_billing_metered_item_created_event.rb +44 -0
  202. data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +44 -0
  203. data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +61 -0
  204. data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +61 -0
  205. data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +44 -0
  206. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +44 -0
  207. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +44 -0
  208. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +44 -0
  209. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +44 -0
  210. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +44 -0
  211. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +44 -0
  212. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +44 -0
  213. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +44 -0
  214. data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +44 -0
  215. data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +61 -0
  216. data/lib/stripe/events/v2_billing_rate_card_created_event.rb +61 -0
  217. data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +67 -0
  218. data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +44 -0
  219. data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +44 -0
  220. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +44 -0
  221. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +44 -0
  222. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +44 -0
  223. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +44 -0
  224. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +44 -0
  225. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +44 -0
  226. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +44 -0
  227. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +44 -0
  228. data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +44 -0
  229. data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +61 -0
  230. data/lib/stripe/events/v2_core_account_closed_event.rb +44 -0
  231. data/lib/stripe/events/v2_core_account_created_event.rb +44 -0
  232. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +63 -0
  233. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +44 -0
  234. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +63 -0
  235. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +44 -0
  236. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +63 -0
  237. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +44 -0
  238. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +63 -0
  239. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +44 -0
  240. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +44 -0
  241. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +44 -0
  242. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +44 -0
  243. data/lib/stripe/events/v2_core_account_link_returned_event.rb +42 -0
  244. data/lib/stripe/events/v2_core_account_person_created_event.rb +61 -0
  245. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +61 -0
  246. data/lib/stripe/events/v2_core_account_person_updated_event.rb +61 -0
  247. data/lib/stripe/events/v2_core_account_updated_event.rb +44 -0
  248. data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +44 -0
  249. data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +44 -0
  250. data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +44 -0
  251. data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +44 -0
  252. data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +44 -0
  253. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +66 -0
  254. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +66 -0
  255. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +64 -0
  256. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +64 -0
  257. data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +80 -0
  258. data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +80 -0
  259. data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +66 -0
  260. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +64 -0
  261. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +62 -0
  262. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +64 -0
  263. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +64 -0
  264. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +64 -0
  265. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +62 -0
  266. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +62 -0
  267. data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +62 -0
  268. data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +62 -0
  269. data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +58 -0
  270. data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +58 -0
  271. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +44 -0
  272. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +44 -0
  273. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +44 -0
  274. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +44 -0
  275. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +44 -0
  276. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +61 -0
  277. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +44 -0
  278. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +44 -0
  279. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +44 -0
  280. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +44 -0
  281. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +44 -0
  282. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +44 -0
  283. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +44 -0
  284. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +44 -0
  285. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +44 -0
  286. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +44 -0
  287. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +44 -0
  288. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +44 -0
  289. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +44 -0
  290. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +44 -0
  291. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +44 -0
  292. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +44 -0
  293. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +44 -0
  294. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +44 -0
  295. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +61 -0
  296. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +44 -0
  297. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +44 -0
  298. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +44 -0
  299. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +44 -0
  300. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +44 -0
  301. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +44 -0
  302. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +44 -0
  303. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +44 -0
  304. data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +44 -0
  305. data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +44 -0
  306. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +44 -0
  307. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
  308. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +44 -0
  309. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +46 -0
  310. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +44 -0
  311. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +44 -0
  312. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +44 -0
  313. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +44 -0
  314. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +44 -0
  315. data/lib/stripe/object_types.rb +79 -0
  316. data/lib/stripe/params/account_create_params.rb +300 -1
  317. data/lib/stripe/params/account_notice_list_params.rb +25 -0
  318. data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
  319. data/lib/stripe/params/account_notice_update_params.rb +36 -0
  320. data/lib/stripe/params/account_session_create_params.rb +226 -1
  321. data/lib/stripe/params/account_update_params.rb +262 -0
  322. data/lib/stripe/params/billing/alert_create_params.rb +121 -1
  323. data/lib/stripe/params/billing/alert_list_params.rb +4 -0
  324. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +65 -0
  325. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +17 -2
  326. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +4 -0
  327. data/lib/stripe/params/billing/credit_grant_create_params.rb +33 -2
  328. data/lib/stripe/params/billing/credit_grant_list_params.rb +4 -0
  329. data/lib/stripe/params/billing_portal/session_create_params.rb +4 -0
  330. data/lib/stripe/params/capital/financing_offer_list_params.rb +58 -0
  331. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +15 -0
  332. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +15 -0
  333. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +15 -0
  334. data/lib/stripe/params/capital/financing_transaction_list_params.rb +45 -0
  335. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +15 -0
  336. data/lib/stripe/params/charge_capture_params.rb +709 -0
  337. data/lib/stripe/params/charge_update_params.rb +709 -0
  338. data/lib/stripe/params/checkout/session_create_params.rb +273 -4
  339. data/lib/stripe/params/checkout/session_list_params.rb +4 -0
  340. data/lib/stripe/params/checkout/session_update_params.rb +288 -1
  341. data/lib/stripe/params/confirmation_token_create_params.rb +97 -0
  342. data/lib/stripe/params/coupon_create_params.rb +17 -1
  343. data/lib/stripe/params/credit_note_create_params.rb +18 -1
  344. data/lib/stripe/params/credit_note_list_params.rb +4 -0
  345. data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +18 -1
  346. data/lib/stripe/params/credit_note_preview_lines_list_params.rb +18 -1
  347. data/lib/stripe/params/credit_note_preview_params.rb +18 -1
  348. data/lib/stripe/params/customer_session_create_params.rb +4 -1
  349. data/lib/stripe/params/dispute_update_params.rb +10 -1
  350. data/lib/stripe/params/external_account_create_params.rb +134 -0
  351. data/lib/stripe/params/external_account_delete_params.rb +6 -0
  352. data/lib/stripe/params/external_account_list_params.rb +25 -0
  353. data/lib/stripe/params/external_account_retrieve_params.rb +13 -0
  354. data/lib/stripe/params/external_account_update_params.rb +91 -0
  355. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
  356. data/lib/stripe/params/financial_connections/account_list_params.rb +4 -1
  357. data/lib/stripe/params/financial_connections/institution_list_params.rb +24 -0
  358. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +15 -0
  359. data/lib/stripe/params/financial_connections/session_create_params.rb +34 -2
  360. data/lib/stripe/params/fx_quote_create_params.rb +73 -0
  361. data/lib/stripe/params/fx_quote_list_params.rb +22 -0
  362. data/lib/stripe/params/fx_quote_retrieve_params.rb +13 -0
  363. data/lib/stripe/params/identity/verification_session_create_params.rb +4 -0
  364. data/lib/stripe/params/identity/verification_session_list_params.rb +4 -0
  365. data/lib/stripe/params/invoice_add_lines_params.rb +33 -1
  366. data/lib/stripe/params/invoice_attach_payment_params.rb +46 -1
  367. data/lib/stripe/params/invoice_create_params.rb +112 -2
  368. data/lib/stripe/params/invoice_create_preview_params.rb +826 -9
  369. data/lib/stripe/params/invoice_item_create_params.rb +37 -1
  370. data/lib/stripe/params/invoice_item_list_params.rb +4 -0
  371. data/lib/stripe/params/invoice_item_update_params.rb +33 -1
  372. data/lib/stripe/params/invoice_line_item_update_params.rb +33 -1
  373. data/lib/stripe/params/invoice_list_params.rb +8 -0
  374. data/lib/stripe/params/invoice_payment_list_params.rb +4 -1
  375. data/lib/stripe/params/invoice_update_lines_params.rb +33 -1
  376. data/lib/stripe/params/invoice_update_params.rb +108 -2
  377. data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
  378. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
  379. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
  380. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
  381. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
  382. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
  383. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
  384. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
  385. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
  386. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
  387. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
  388. data/lib/stripe/params/issuing/transaction_list_params.rb +4 -0
  389. data/lib/stripe/params/mandate_list_params.rb +39 -0
  390. data/lib/stripe/params/margin_create_params.rb +25 -0
  391. data/lib/stripe/params/margin_list_params.rb +25 -0
  392. data/lib/stripe/params/margin_retrieve_params.rb +13 -0
  393. data/lib/stripe/params/margin_update_params.rb +22 -0
  394. data/lib/stripe/params/order_cancel_params.rb +13 -0
  395. data/lib/stripe/params/order_create_params.rb +1124 -0
  396. data/lib/stripe/params/order_line_item_list_params.rb +22 -0
  397. data/lib/stripe/params/order_list_line_items_params.rb +22 -0
  398. data/lib/stripe/params/order_list_params.rb +25 -0
  399. data/lib/stripe/params/order_reopen_params.rb +13 -0
  400. data/lib/stripe/params/order_retrieve_params.rb +13 -0
  401. data/lib/stripe/params/order_submit_params.rb +16 -0
  402. data/lib/stripe/params/order_update_params.rb +1128 -0
  403. data/lib/stripe/params/payment_attempt_record_list_params.rb +19 -0
  404. data/lib/stripe/params/payment_attempt_record_retrieve_params.rb +13 -0
  405. data/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +22 -0
  406. data/lib/stripe/params/payment_intent_capture_params.rb +895 -0
  407. data/lib/stripe/params/payment_intent_confirm_params.rb +1373 -7
  408. data/lib/stripe/params/payment_intent_create_params.rb +1387 -13
  409. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +73 -0
  410. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +223 -0
  411. data/lib/stripe/params/payment_intent_list_params.rb +4 -0
  412. data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
  413. data/lib/stripe/params/payment_intent_update_params.rb +1409 -4
  414. data/lib/stripe/params/payment_method_attach_params.rb +4 -1
  415. data/lib/stripe/params/payment_method_configuration_create_params.rb +126 -0
  416. data/lib/stripe/params/payment_method_configuration_update_params.rb +126 -0
  417. data/lib/stripe/params/payment_method_create_params.rb +97 -0
  418. data/lib/stripe/params/payment_method_update_params.rb +19 -0
  419. data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +19 -0
  420. data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +19 -0
  421. data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +19 -0
  422. data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +93 -0
  423. data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +186 -0
  424. data/lib/stripe/params/payment_record_report_payment_params.rb +252 -0
  425. data/lib/stripe/params/payment_record_retrieve_params.rb +13 -0
  426. data/lib/stripe/params/price_update_params.rb +19 -0
  427. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +15 -0
  428. data/lib/stripe/params/privacy/redaction_job_create_params.rb +67 -0
  429. data/lib/stripe/params/privacy/redaction_job_list_params.rb +27 -0
  430. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +15 -0
  431. data/lib/stripe/params/privacy/redaction_job_run_params.rb +15 -0
  432. data/lib/stripe/params/privacy/redaction_job_update_params.rb +18 -0
  433. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +15 -0
  434. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +24 -0
  435. data/lib/stripe/params/promotion_code_create_params.rb +4 -0
  436. data/lib/stripe/params/promotion_code_list_params.rb +4 -0
  437. data/lib/stripe/params/quote_create_params.rb +805 -3
  438. data/lib/stripe/params/quote_line_list_params.rb +22 -0
  439. data/lib/stripe/params/quote_list_lines_params.rb +22 -0
  440. data/lib/stripe/params/quote_list_params.rb +8 -0
  441. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +22 -0
  442. data/lib/stripe/params/quote_mark_draft_params.rb +13 -0
  443. data/lib/stripe/params/quote_mark_stale_params.rb +16 -0
  444. data/lib/stripe/params/quote_preview_invoice_list_params.rb +22 -0
  445. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +22 -0
  446. data/lib/stripe/params/quote_reestimate_params.rb +13 -0
  447. data/lib/stripe/params/quote_update_params.rb +813 -4
  448. data/lib/stripe/params/setup_intent_confirm_params.rb +225 -3
  449. data/lib/stripe/params/setup_intent_create_params.rb +231 -3
  450. data/lib/stripe/params/setup_intent_list_params.rb +4 -0
  451. data/lib/stripe/params/setup_intent_update_params.rb +231 -3
  452. data/lib/stripe/params/subscription_attach_cadence_params.rb +16 -0
  453. data/lib/stripe/params/subscription_create_params.rb +259 -5
  454. data/lib/stripe/params/subscription_item_create_params.rb +46 -2
  455. data/lib/stripe/params/subscription_item_update_params.rb +29 -1
  456. data/lib/stripe/params/subscription_list_params.rb +4 -0
  457. data/lib/stripe/params/subscription_schedule_amend_params.rb +570 -0
  458. data/lib/stripe/params/subscription_schedule_create_params.rb +167 -5
  459. data/lib/stripe/params/subscription_schedule_list_params.rb +4 -0
  460. data/lib/stripe/params/subscription_schedule_update_params.rb +163 -5
  461. data/lib/stripe/params/subscription_update_params.rb +238 -4
  462. data/lib/stripe/params/tax/association_find_params.rb +18 -0
  463. data/lib/stripe/params/tax/form_list_params.rb +51 -0
  464. data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
  465. data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
  466. data/lib/stripe/params/tax_id_create_params.rb +4 -1
  467. data/lib/stripe/params/tax_id_list_params.rb +4 -1
  468. data/lib/stripe/params/terminal/configuration_create_params.rb +13 -0
  469. data/lib/stripe/params/terminal/configuration_update_params.rb +13 -0
  470. data/lib/stripe/params/terminal/onboarding_link_create_params.rb +43 -0
  471. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
  472. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +97 -0
  473. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +25 -1
  474. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +25 -1
  475. data/lib/stripe/params/transfer_create_params.rb +4 -0
  476. data/lib/stripe/params/treasury/financial_account_create_params.rb +8 -1
  477. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +4 -1
  478. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +4 -1
  479. data/lib/stripe/params/treasury/financial_account_update_params.rb +8 -1
  480. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +24 -0
  481. data/lib/stripe/params/treasury/received_credit_create_params.rb +25 -1
  482. data/lib/stripe/params/treasury/received_debit_create_params.rb +25 -1
  483. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +74 -0
  484. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +21 -0
  485. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +10 -0
  486. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +80 -0
  487. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +19 -0
  488. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +12 -0
  489. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +17 -0
  490. data/lib/stripe/params/v2/billing/cadence_create_params.rb +257 -0
  491. data/lib/stripe/params/v2/billing/cadence_list_params.rb +43 -0
  492. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +17 -0
  493. data/lib/stripe/params/v2/billing/cadence_update_params.rb +78 -0
  494. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +223 -0
  495. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +21 -0
  496. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +10 -0
  497. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +229 -0
  498. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +19 -0
  499. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +12 -0
  500. data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +26 -0
  501. data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +24 -0
  502. data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +10 -0
  503. data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +26 -0
  504. data/lib/stripe/params/v2/billing/intent_cancel_params.rb +10 -0
  505. data/lib/stripe/params/v2/billing/intent_commit_params.rb +17 -0
  506. data/lib/stripe/params/v2/billing/intent_create_params.rb +355 -0
  507. data/lib/stripe/params/v2/billing/intent_list_params.rb +17 -0
  508. data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +10 -0
  509. data/lib/stripe/params/v2/billing/intent_reserve_params.rb +10 -0
  510. data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +10 -0
  511. data/lib/stripe/params/v2/billing/intents/action_list_params.rb +19 -0
  512. data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +12 -0
  513. data/lib/stripe/params/v2/billing/license_fee_create_params.rb +103 -0
  514. data/lib/stripe/params/v2/billing/license_fee_list_params.rb +24 -0
  515. data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +10 -0
  516. data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +10 -0
  517. data/lib/stripe/params/v2/billing/license_fee_update_params.rb +84 -0
  518. data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +19 -0
  519. data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +12 -0
  520. data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +48 -0
  521. data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +21 -0
  522. data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +10 -0
  523. data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +48 -0
  524. data/lib/stripe/params/v2/billing/metered_item_create_params.rb +73 -0
  525. data/lib/stripe/params/v2/billing/metered_item_list_params.rb +21 -0
  526. data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +10 -0
  527. data/lib/stripe/params/v2/billing/metered_item_update_params.rb +50 -0
  528. data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +39 -0
  529. data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +24 -0
  530. data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +10 -0
  531. data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +50 -0
  532. data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +10 -0
  533. data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +20 -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 +2234 -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 +20 -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 +2262 -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_retrieve_params.rb +12 -0
  582. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +12 -0
  583. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +33 -0
  584. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +12 -0
  585. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +22 -0
  586. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +48 -0
  587. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +10 -0
  588. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +28 -0
  589. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +34 -0
  590. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +20 -0
  591. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +10 -0
  592. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +31 -0
  593. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +23 -0
  594. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +17 -0
  595. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +50 -0
  596. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +44 -0
  597. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +10 -0
  598. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +10 -0
  599. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +102 -0
  600. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +52 -0
  601. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +67 -0
  602. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
  603. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +10 -0
  604. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +10 -0
  605. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +103 -0
  606. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +17 -0
  607. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +10 -0
  608. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +80 -0
  609. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +10 -0
  610. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +81 -0
  611. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +48 -0
  612. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +10 -0
  613. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +10 -0
  614. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +31 -0
  615. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +10 -0
  616. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +10 -0
  617. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +17 -0
  618. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +44 -0
  619. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +10 -0
  620. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +17 -0
  621. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +10 -0
  622. data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +10 -0
  623. data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +20 -0
  624. data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +10 -0
  625. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +43 -0
  626. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +10 -0
  627. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +47 -0
  628. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +10 -0
  629. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +10 -0
  630. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +61 -0
  631. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +237 -0
  632. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +17 -0
  633. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +10 -0
  634. data/lib/stripe/params/v2/tax/automatic_rule_create_params.rb +20 -0
  635. data/lib/stripe/params/v2/tax/automatic_rule_deactivate_params.rb +10 -0
  636. data/lib/stripe/params/v2/tax/automatic_rule_find_params.rb +17 -0
  637. data/lib/stripe/params/v2/tax/automatic_rule_retrieve_params.rb +10 -0
  638. data/lib/stripe/params/v2/tax/automatic_rule_update_params.rb +17 -0
  639. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +23 -0
  640. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
  641. data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +23 -0
  642. data/lib/stripe/params.rb +240 -0
  643. data/lib/stripe/resources/account.rb +166 -1
  644. data/lib/stripe/resources/account_notice.rb +94 -0
  645. data/lib/stripe/resources/account_session.rb +81 -0
  646. data/lib/stripe/resources/billing/alert.rb +105 -1
  647. data/lib/stripe/resources/billing/alert_triggered.rb +6 -0
  648. data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
  649. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +38 -0
  650. data/lib/stripe/resources/billing/credit_balance_summary.rb +86 -2
  651. data/lib/stripe/resources/billing/credit_balance_transaction.rb +84 -2
  652. data/lib/stripe/resources/billing/credit_grant.rb +60 -2
  653. data/lib/stripe/resources/billing_portal/session.rb +2 -0
  654. data/lib/stripe/resources/capital/financing_offer.rb +142 -0
  655. data/lib/stripe/resources/capital/financing_summary.rb +79 -0
  656. data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
  657. data/lib/stripe/resources/card.rb +2 -0
  658. data/lib/stripe/resources/cash_balance.rb +2 -0
  659. data/lib/stripe/resources/charge.rb +234 -1
  660. data/lib/stripe/resources/checkout/session.rb +246 -4
  661. data/lib/stripe/resources/confirmation_token.rb +155 -0
  662. data/lib/stripe/resources/coupon.rb +26 -1
  663. data/lib/stripe/resources/credit_note.rb +21 -1
  664. data/lib/stripe/resources/credit_note_line_item.rb +18 -0
  665. data/lib/stripe/resources/customer.rb +2 -0
  666. data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
  667. data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
  668. data/lib/stripe/resources/customer_session.rb +2 -0
  669. data/lib/stripe/resources/discount.rb +2 -0
  670. data/lib/stripe/resources/dispute.rb +22 -0
  671. data/lib/stripe/resources/event.rb +64 -1
  672. data/lib/stripe/resources/financial_connections/account.rb +27 -0
  673. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
  674. data/lib/stripe/resources/financial_connections/institution.rb +127 -0
  675. data/lib/stripe/resources/financial_connections/session.rb +67 -1
  676. data/lib/stripe/resources/fx_quote.rb +147 -0
  677. data/lib/stripe/resources/identity/verification_session.rb +2 -0
  678. data/lib/stripe/resources/invoice.rb +152 -1
  679. data/lib/stripe/resources/invoice_item.rb +94 -2
  680. data/lib/stripe/resources/invoice_line_item.rb +131 -1
  681. data/lib/stripe/resources/invoice_payment.rb +2 -0
  682. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
  683. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +71 -0
  684. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +51 -0
  685. data/lib/stripe/resources/issuing/settlement.rb +61 -0
  686. data/lib/stripe/resources/issuing/transaction.rb +2 -0
  687. data/lib/stripe/resources/line_item.rb +68 -1
  688. data/lib/stripe/resources/mandate.rb +71 -0
  689. data/lib/stripe/resources/margin.rb +64 -0
  690. data/lib/stripe/resources/order.rb +987 -0
  691. data/lib/stripe/resources/payment_attempt_record.rb +2102 -0
  692. data/lib/stripe/resources/payment_intent.rb +848 -4
  693. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +128 -0
  694. data/lib/stripe/resources/payment_method.rb +157 -0
  695. data/lib/stripe/resources/payment_method_configuration.rb +204 -0
  696. data/lib/stripe/resources/payment_record.rb +2208 -0
  697. data/lib/stripe/resources/price.rb +20 -0
  698. data/lib/stripe/resources/privacy/redaction_job.rb +187 -0
  699. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
  700. data/lib/stripe/resources/promotion_code.rb +2 -0
  701. data/lib/stripe/resources/quote.rb +571 -2
  702. data/lib/stripe/resources/quote_line.rb +521 -0
  703. data/lib/stripe/resources/quote_preview_invoice.rb +1150 -0
  704. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +732 -0
  705. data/lib/stripe/resources/refund.rb +18 -0
  706. data/lib/stripe/resources/setup_attempt.rb +63 -0
  707. data/lib/stripe/resources/setup_intent.rb +132 -1
  708. data/lib/stripe/resources/source.rb +38 -0
  709. data/lib/stripe/resources/subscription.rb +232 -0
  710. data/lib/stripe/resources/subscription_item.rb +20 -1
  711. data/lib/stripe/resources/subscription_schedule.rb +198 -3
  712. data/lib/stripe/resources/tax/association.rb +86 -0
  713. data/lib/stripe/resources/tax/form.rb +264 -0
  714. data/lib/stripe/resources/tax_id.rb +4 -0
  715. data/lib/stripe/resources/terminal/configuration.rb +16 -0
  716. data/lib/stripe/resources/terminal/onboarding_link.rb +71 -0
  717. data/lib/stripe/resources/terminal/reader.rb +8 -0
  718. data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
  719. data/lib/stripe/resources/transfer.rb +2 -0
  720. data/lib/stripe/resources/treasury/financial_account.rb +2 -0
  721. data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
  722. data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -0
  723. data/lib/stripe/resources/treasury/received_credit.rb +30 -0
  724. data/lib/stripe/resources/treasury/received_debit.rb +32 -0
  725. data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
  726. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +90 -0
  727. data/lib/stripe/resources/v2/billing/cadence.rb +655 -0
  728. data/lib/stripe/resources/v2/billing/collection_setting.rb +274 -0
  729. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +262 -0
  730. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
  731. data/lib/stripe/resources/v2/billing/intent.rb +86 -0
  732. data/lib/stripe/resources/v2/billing/intent_action.rb +395 -0
  733. data/lib/stripe/resources/v2/billing/license_fee.rb +104 -0
  734. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +44 -0
  735. data/lib/stripe/resources/v2/billing/license_fee_version.rb +80 -0
  736. data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
  737. data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
  738. data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
  739. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +94 -0
  740. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +94 -0
  741. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +38 -0
  742. data/lib/stripe/resources/v2/billing/profile.rb +46 -0
  743. data/lib/stripe/resources/v2/billing/rate_card.rb +61 -0
  744. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +110 -0
  745. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +94 -0
  746. data/lib/stripe/resources/v2/billing/rate_card_version.rb +34 -0
  747. data/lib/stripe/resources/v2/billing/service_action.rb +244 -0
  748. data/lib/stripe/resources/v2/core/account.rb +3885 -0
  749. data/lib/stripe/resources/v2/core/account_link.rb +123 -0
  750. data/lib/stripe/resources/v2/core/account_person.rb +477 -0
  751. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +105 -0
  752. data/lib/stripe/resources/v2/core/event.rb +4 -0
  753. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +114 -0
  754. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +47 -0
  755. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +28 -0
  756. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +30 -0
  757. data/lib/stripe/resources/v2/money_management/adjustment.rb +67 -0
  758. data/lib/stripe/resources/v2/money_management/financial_account.rb +140 -0
  759. data/lib/stripe/resources/v2/money_management/financial_address.rb +132 -0
  760. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +148 -0
  761. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +219 -0
  762. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +144 -0
  763. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
  764. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +198 -0
  765. data/lib/stripe/resources/v2/money_management/payout_method.rb +137 -0
  766. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +81 -0
  767. data/lib/stripe/resources/v2/money_management/received_credit.rb +228 -0
  768. data/lib/stripe/resources/v2/money_management/received_debit.rb +138 -0
  769. data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
  770. data/lib/stripe/resources/v2/money_management/transaction.rb +116 -0
  771. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +105 -0
  772. data/lib/stripe/resources/v2/payments/off_session_payment.rb +242 -0
  773. data/lib/stripe/resources/v2/tax/automatic_rule.rb +39 -0
  774. data/lib/stripe/resources.rb +384 -0
  775. data/lib/stripe/services/account_notice_service.rb +39 -0
  776. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +21 -0
  777. data/lib/stripe/services/billing/analytics_service.rb +15 -0
  778. data/lib/stripe/services/billing_service.rb +2 -1
  779. data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
  780. data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
  781. data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
  782. data/lib/stripe/services/capital_service.rb +15 -0
  783. data/lib/stripe/services/external_account_service.rb +68 -0
  784. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
  785. data/lib/stripe/services/financial_connections/account_service.rb +3 -1
  786. data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
  787. data/lib/stripe/services/financial_connections_service.rb +2 -1
  788. data/lib/stripe/services/fx_quote_service.rb +27 -0
  789. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +74 -0
  790. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
  791. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
  792. data/lib/stripe/services/issuing_service.rb +5 -1
  793. data/lib/stripe/services/mandate_service.rb +5 -0
  794. data/lib/stripe/services/margin_service.rb +50 -0
  795. data/lib/stripe/services/order_line_item_service.rb +17 -0
  796. data/lib/stripe/services/order_service.rb +78 -0
  797. data/lib/stripe/services/payment_attempt_record_service.rb +28 -0
  798. data/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +17 -0
  799. data/lib/stripe/services/payment_intent_service.rb +44 -0
  800. data/lib/stripe/services/payment_record_service.rb +89 -0
  801. data/lib/stripe/services/privacy/redaction_job_service.rb +104 -0
  802. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +19 -0
  803. data/lib/stripe/services/privacy_service.rb +13 -0
  804. data/lib/stripe/services/quote_line_service.rb +17 -0
  805. data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
  806. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
  807. data/lib/stripe/services/quote_service.rb +49 -1
  808. data/lib/stripe/services/subscription_schedule_service.rb +11 -0
  809. data/lib/stripe/services/subscription_service.rb +11 -0
  810. data/lib/stripe/services/tax/association_service.rb +19 -0
  811. data/lib/stripe/services/tax/form_service.rb +37 -0
  812. data/lib/stripe/services/tax_service.rb +3 -1
  813. data/lib/stripe/services/terminal/onboarding_link_service.rb +19 -0
  814. data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
  815. data/lib/stripe/services/terminal_service.rb +3 -1
  816. data/lib/stripe/services/v1_services.rb +10 -1
  817. data/lib/stripe/services/v2/billing/bill_setting_service.rb +61 -0
  818. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +34 -0
  819. data/lib/stripe/services/v2/billing/cadence_service.rb +65 -0
  820. data/lib/stripe/services/v2/billing/collection_setting_service.rb +61 -0
  821. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
  822. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +54 -0
  823. data/lib/stripe/services/v2/billing/intent_service.rb +94 -0
  824. data/lib/stripe/services/v2/billing/intents/action_service.rb +34 -0
  825. data/lib/stripe/services/v2/billing/license_fee_service.rb +61 -0
  826. data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +21 -0
  827. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +34 -0
  828. data/lib/stripe/services/v2/billing/licensed_item_service.rb +54 -0
  829. data/lib/stripe/services/v2/billing/metered_item_service.rb +54 -0
  830. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +62 -0
  831. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +43 -0
  832. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +67 -0
  833. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +34 -0
  834. data/lib/stripe/services/v2/billing/profile_service.rb +54 -0
  835. data/lib/stripe/services/v2/billing/rate_card_service.rb +62 -0
  836. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +65 -0
  837. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +57 -0
  838. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +34 -0
  839. data/lib/stripe/services/v2/billing/service_action_service.rb +43 -0
  840. data/lib/stripe/services/v2/billing_service.rb +18 -1
  841. data/lib/stripe/services/v2/core/account_link_service.rb +21 -0
  842. data/lib/stripe/services/v2/core/account_service.rb +76 -0
  843. data/lib/stripe/services/v2/core/accounts/person_service.rb +67 -0
  844. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +35 -0
  845. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +74 -0
  846. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +68 -0
  847. data/lib/stripe/services/v2/core/vault_service.rb +18 -0
  848. data/lib/stripe/services/v2/core_service.rb +5 -1
  849. data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
  850. data/lib/stripe/services/v2/money_management/financial_account_service.rb +59 -0
  851. data/lib/stripe/services/v2/money_management/financial_address_service.rb +46 -0
  852. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +45 -0
  853. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +34 -0
  854. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +62 -0
  855. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +73 -0
  856. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +60 -0
  857. data/lib/stripe/services/v2/money_management/payout_method_service.rb +63 -0
  858. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +23 -0
  859. data/lib/stripe/services/v2/money_management/received_credit_service.rb +32 -0
  860. data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
  861. data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +43 -0
  862. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +32 -0
  863. data/lib/stripe/services/v2/money_management/transaction_service.rb +32 -0
  864. data/lib/stripe/services/v2/money_management_service.rb +33 -0
  865. data/lib/stripe/services/v2/payment_service.rb +15 -0
  866. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +65 -0
  867. data/lib/stripe/services/v2/tax/automatic_rule_service.rb +65 -0
  868. data/lib/stripe/services/v2/tax_service.rb +15 -0
  869. data/lib/stripe/services/v2/test_helper_service.rb +16 -0
  870. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
  871. data/lib/stripe/services/v2/test_helpers/money_management_service.rb +21 -0
  872. data/lib/stripe/services/v2_services.rb +5 -1
  873. data/lib/stripe/services.rb +83 -0
  874. data/lib/stripe/stripe_configuration.rb +3 -1
  875. data/lib/stripe/stripe_object.rb +1 -1
  876. data/lib/stripe/util.rb +7 -1
  877. data/lib/stripe/version.rb +1 -1
  878. data/lib/stripe.rb +53 -0
  879. data/rbi/stripe.rbi +165861 -94330
  880. metadata +711 -4
@@ -0,0 +1,3885 @@
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 Customer < Stripe::StripeObject
16
+ class AutomaticIndirectTax < Stripe::StripeObject
17
+ class Location < Stripe::StripeObject
18
+ # The identified tax country of the customer.
19
+ attr_reader :country
20
+ # The identified tax state, county, province, or region of the customer.
21
+ attr_reader :state
22
+
23
+ def self.inner_class_types
24
+ @inner_class_types = {}
25
+ end
26
+
27
+ def self.field_remappings
28
+ @field_remappings = {}
29
+ end
30
+ end
31
+ # 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”.
32
+ attr_reader :exempt
33
+ # A recent IP address of the customer used for tax reporting and tax location inference.
34
+ attr_reader :ip_address
35
+ # The customer’s identified tax location - uses `location_source`. Will only be rendered if the `automatic_indirect_tax` feature is requested and `active`.
36
+ attr_reader :location
37
+ # 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.
38
+ attr_reader :location_source
39
+
40
+ def self.inner_class_types
41
+ @inner_class_types = { location: Location }
42
+ end
43
+
44
+ def self.field_remappings
45
+ @field_remappings = {}
46
+ end
47
+ end
48
+
49
+ class Billing < Stripe::StripeObject
50
+ class Invoice < Stripe::StripeObject
51
+ class CustomField < Stripe::StripeObject
52
+ # The name of the custom field. This may be up to 40 characters.
53
+ attr_reader :name
54
+ # The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values.
55
+ attr_reader :value
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
+
66
+ class Rendering < Stripe::StripeObject
67
+ # 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.
68
+ attr_reader :amount_tax_display
69
+ # ID of the invoice rendering template to use for future invoices.
70
+ attr_reader :template
71
+
72
+ def self.inner_class_types
73
+ @inner_class_types = {}
74
+ end
75
+
76
+ def self.field_remappings
77
+ @field_remappings = {}
78
+ end
79
+ end
80
+ # 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.
81
+ attr_reader :custom_fields
82
+ # Default footer to be displayed on invoices for this customer.
83
+ attr_reader :footer
84
+ # The sequence to be used on the customer's next invoice. Defaults to 1.
85
+ attr_reader :next_sequence
86
+ # The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers.
87
+ attr_reader :prefix
88
+ # Default options for invoice PDF rendering for this customer.
89
+ attr_reader :rendering
90
+
91
+ def self.inner_class_types
92
+ @inner_class_types = { custom_fields: CustomField, rendering: Rendering }
93
+ end
94
+
95
+ def self.field_remappings
96
+ @field_remappings = {}
97
+ end
98
+ end
99
+ # 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.
100
+ attr_reader :default_payment_method
101
+ # Default settings used on invoices for this customer.
102
+ attr_reader :invoice
103
+
104
+ def self.inner_class_types
105
+ @inner_class_types = { invoice: Invoice }
106
+ end
107
+
108
+ def self.field_remappings
109
+ @field_remappings = {}
110
+ end
111
+ end
112
+
113
+ class Capabilities < Stripe::StripeObject
114
+ class AutomaticIndirectTax < Stripe::StripeObject
115
+ class StatusDetail < Stripe::StripeObject
116
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
117
+ attr_reader :code
118
+ # Machine-readable code explaining how to make the Capability active.
119
+ attr_reader :resolution
120
+
121
+ def self.inner_class_types
122
+ @inner_class_types = {}
123
+ end
124
+
125
+ def self.field_remappings
126
+ @field_remappings = {}
127
+ end
128
+ end
129
+ # Whether the Capability has been requested.
130
+ attr_reader :requested
131
+ # The status of the Capability.
132
+ attr_reader :status
133
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
134
+ attr_reader :status_details
135
+
136
+ def self.inner_class_types
137
+ @inner_class_types = { status_details: StatusDetail }
138
+ end
139
+
140
+ def self.field_remappings
141
+ @field_remappings = {}
142
+ end
143
+ end
144
+ # 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.
145
+ attr_reader :automatic_indirect_tax
146
+
147
+ def self.inner_class_types
148
+ @inner_class_types = { automatic_indirect_tax: AutomaticIndirectTax }
149
+ end
150
+
151
+ def self.field_remappings
152
+ @field_remappings = {}
153
+ end
154
+ end
155
+
156
+ class Shipping < Stripe::StripeObject
157
+ class Address < Stripe::StripeObject
158
+ # City, district, suburb, town, or village.
159
+ attr_reader :city
160
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
161
+ attr_reader :country
162
+ # Address line 1 (e.g., street, PO Box, or company name).
163
+ attr_reader :line1
164
+ # Address line 2 (e.g., apartment, suite, unit, or building).
165
+ attr_reader :line2
166
+ # ZIP or postal code.
167
+ attr_reader :postal_code
168
+ # State, county, province, or region.
169
+ attr_reader :state
170
+
171
+ def self.inner_class_types
172
+ @inner_class_types = {}
173
+ end
174
+
175
+ def self.field_remappings
176
+ @field_remappings = {}
177
+ end
178
+ end
179
+ # Customer shipping address.
180
+ attr_reader :address
181
+ # Customer name.
182
+ attr_reader :name
183
+ # Customer phone (including extension).
184
+ attr_reader :phone
185
+
186
+ def self.inner_class_types
187
+ @inner_class_types = { address: Address }
188
+ end
189
+
190
+ def self.field_remappings
191
+ @field_remappings = {}
192
+ end
193
+ end
194
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
195
+ attr_reader :applied
196
+ # 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.
197
+ attr_reader :automatic_indirect_tax
198
+ # Billing settings - default settings used for this customer in Billing flows such as Invoices and Subscriptions.
199
+ attr_reader :billing
200
+ # Capabilities that have been requested on the Customer Configuration.
201
+ attr_reader :capabilities
202
+ # The customer's shipping information. Appears on invoices emailed to this customer.
203
+ attr_reader :shipping
204
+ # 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.
205
+ attr_reader :test_clock
206
+
207
+ def self.inner_class_types
208
+ @inner_class_types = {
209
+ automatic_indirect_tax: AutomaticIndirectTax,
210
+ billing: Billing,
211
+ capabilities: Capabilities,
212
+ shipping: Shipping,
213
+ }
214
+ end
215
+
216
+ def self.field_remappings
217
+ @field_remappings = {}
218
+ end
219
+ end
220
+
221
+ class Merchant < Stripe::StripeObject
222
+ class BacsDebitPayments < Stripe::StripeObject
223
+ # Display name for Bacs debit payments.
224
+ attr_reader :display_name
225
+ # Service user number for Bacs debit payments.
226
+ attr_reader :service_user_number
227
+
228
+ def self.inner_class_types
229
+ @inner_class_types = {}
230
+ end
231
+
232
+ def self.field_remappings
233
+ @field_remappings = {}
234
+ end
235
+ end
236
+
237
+ class Branding < Stripe::StripeObject
238
+ # 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.
239
+ attr_reader :icon
240
+ # 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.
241
+ attr_reader :logo
242
+ # A CSS hex color value representing the primary branding color for the merchant.
243
+ attr_reader :primary_color
244
+ # A CSS hex color value representing the secondary branding color for the merchant.
245
+ attr_reader :secondary_color
246
+
247
+ def self.inner_class_types
248
+ @inner_class_types = {}
249
+ end
250
+
251
+ def self.field_remappings
252
+ @field_remappings = {}
253
+ end
254
+ end
255
+
256
+ class Capabilities < Stripe::StripeObject
257
+ class AchDebitPayments < Stripe::StripeObject
258
+ class StatusDetail < Stripe::StripeObject
259
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
260
+ attr_reader :code
261
+ # Machine-readable code explaining how to make the Capability active.
262
+ attr_reader :resolution
263
+
264
+ def self.inner_class_types
265
+ @inner_class_types = {}
266
+ end
267
+
268
+ def self.field_remappings
269
+ @field_remappings = {}
270
+ end
271
+ end
272
+ # Whether the Capability has been requested.
273
+ attr_reader :requested
274
+ # The status of the Capability.
275
+ attr_reader :status
276
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
277
+ attr_reader :status_details
278
+
279
+ def self.inner_class_types
280
+ @inner_class_types = { status_details: StatusDetail }
281
+ end
282
+
283
+ def self.field_remappings
284
+ @field_remappings = {}
285
+ end
286
+ end
287
+
288
+ class AcssDebitPayments < Stripe::StripeObject
289
+ class StatusDetail < Stripe::StripeObject
290
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
291
+ attr_reader :code
292
+ # Machine-readable code explaining how to make the Capability active.
293
+ attr_reader :resolution
294
+
295
+ def self.inner_class_types
296
+ @inner_class_types = {}
297
+ end
298
+
299
+ def self.field_remappings
300
+ @field_remappings = {}
301
+ end
302
+ end
303
+ # Whether the Capability has been requested.
304
+ attr_reader :requested
305
+ # The status of the Capability.
306
+ attr_reader :status
307
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
308
+ attr_reader :status_details
309
+
310
+ def self.inner_class_types
311
+ @inner_class_types = { status_details: StatusDetail }
312
+ end
313
+
314
+ def self.field_remappings
315
+ @field_remappings = {}
316
+ end
317
+ end
318
+
319
+ class AffirmPayments < Stripe::StripeObject
320
+ class StatusDetail < Stripe::StripeObject
321
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
322
+ attr_reader :code
323
+ # Machine-readable code explaining how to make the Capability active.
324
+ attr_reader :resolution
325
+
326
+ def self.inner_class_types
327
+ @inner_class_types = {}
328
+ end
329
+
330
+ def self.field_remappings
331
+ @field_remappings = {}
332
+ end
333
+ end
334
+ # Whether the Capability has been requested.
335
+ attr_reader :requested
336
+ # The status of the Capability.
337
+ attr_reader :status
338
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
339
+ attr_reader :status_details
340
+
341
+ def self.inner_class_types
342
+ @inner_class_types = { status_details: StatusDetail }
343
+ end
344
+
345
+ def self.field_remappings
346
+ @field_remappings = {}
347
+ end
348
+ end
349
+
350
+ class AfterpayClearpayPayments < Stripe::StripeObject
351
+ class StatusDetail < Stripe::StripeObject
352
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
353
+ attr_reader :code
354
+ # Machine-readable code explaining how to make the Capability active.
355
+ attr_reader :resolution
356
+
357
+ def self.inner_class_types
358
+ @inner_class_types = {}
359
+ end
360
+
361
+ def self.field_remappings
362
+ @field_remappings = {}
363
+ end
364
+ end
365
+ # Whether the Capability has been requested.
366
+ attr_reader :requested
367
+ # The status of the Capability.
368
+ attr_reader :status
369
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
370
+ attr_reader :status_details
371
+
372
+ def self.inner_class_types
373
+ @inner_class_types = { status_details: StatusDetail }
374
+ end
375
+
376
+ def self.field_remappings
377
+ @field_remappings = {}
378
+ end
379
+ end
380
+
381
+ class AlmaPayments < Stripe::StripeObject
382
+ class StatusDetail < Stripe::StripeObject
383
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
384
+ attr_reader :code
385
+ # Machine-readable code explaining how to make the Capability active.
386
+ attr_reader :resolution
387
+
388
+ def self.inner_class_types
389
+ @inner_class_types = {}
390
+ end
391
+
392
+ def self.field_remappings
393
+ @field_remappings = {}
394
+ end
395
+ end
396
+ # Whether the Capability has been requested.
397
+ attr_reader :requested
398
+ # The status of the Capability.
399
+ attr_reader :status
400
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
401
+ attr_reader :status_details
402
+
403
+ def self.inner_class_types
404
+ @inner_class_types = { status_details: StatusDetail }
405
+ end
406
+
407
+ def self.field_remappings
408
+ @field_remappings = {}
409
+ end
410
+ end
411
+
412
+ class AmazonPayPayments < Stripe::StripeObject
413
+ class StatusDetail < Stripe::StripeObject
414
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
415
+ attr_reader :code
416
+ # Machine-readable code explaining how to make the Capability active.
417
+ attr_reader :resolution
418
+
419
+ def self.inner_class_types
420
+ @inner_class_types = {}
421
+ end
422
+
423
+ def self.field_remappings
424
+ @field_remappings = {}
425
+ end
426
+ end
427
+ # Whether the Capability has been requested.
428
+ attr_reader :requested
429
+ # The status of the Capability.
430
+ attr_reader :status
431
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
432
+ attr_reader :status_details
433
+
434
+ def self.inner_class_types
435
+ @inner_class_types = { status_details: StatusDetail }
436
+ end
437
+
438
+ def self.field_remappings
439
+ @field_remappings = {}
440
+ end
441
+ end
442
+
443
+ class AuBecsDebitPayments < Stripe::StripeObject
444
+ class StatusDetail < Stripe::StripeObject
445
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
446
+ attr_reader :code
447
+ # Machine-readable code explaining how to make the Capability active.
448
+ attr_reader :resolution
449
+
450
+ def self.inner_class_types
451
+ @inner_class_types = {}
452
+ end
453
+
454
+ def self.field_remappings
455
+ @field_remappings = {}
456
+ end
457
+ end
458
+ # Whether the Capability has been requested.
459
+ attr_reader :requested
460
+ # The status of the Capability.
461
+ attr_reader :status
462
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
463
+ attr_reader :status_details
464
+
465
+ def self.inner_class_types
466
+ @inner_class_types = { status_details: StatusDetail }
467
+ end
468
+
469
+ def self.field_remappings
470
+ @field_remappings = {}
471
+ end
472
+ end
473
+
474
+ class BacsDebitPayments < Stripe::StripeObject
475
+ class StatusDetail < Stripe::StripeObject
476
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
477
+ attr_reader :code
478
+ # Machine-readable code explaining how to make the Capability active.
479
+ attr_reader :resolution
480
+
481
+ def self.inner_class_types
482
+ @inner_class_types = {}
483
+ end
484
+
485
+ def self.field_remappings
486
+ @field_remappings = {}
487
+ end
488
+ end
489
+ # Whether the Capability has been requested.
490
+ attr_reader :requested
491
+ # The status of the Capability.
492
+ attr_reader :status
493
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
494
+ attr_reader :status_details
495
+
496
+ def self.inner_class_types
497
+ @inner_class_types = { status_details: StatusDetail }
498
+ end
499
+
500
+ def self.field_remappings
501
+ @field_remappings = {}
502
+ end
503
+ end
504
+
505
+ class BancontactPayments < Stripe::StripeObject
506
+ class StatusDetail < Stripe::StripeObject
507
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
508
+ attr_reader :code
509
+ # Machine-readable code explaining how to make the Capability active.
510
+ attr_reader :resolution
511
+
512
+ def self.inner_class_types
513
+ @inner_class_types = {}
514
+ end
515
+
516
+ def self.field_remappings
517
+ @field_remappings = {}
518
+ end
519
+ end
520
+ # Whether the Capability has been requested.
521
+ attr_reader :requested
522
+ # The status of the Capability.
523
+ attr_reader :status
524
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
525
+ attr_reader :status_details
526
+
527
+ def self.inner_class_types
528
+ @inner_class_types = { status_details: StatusDetail }
529
+ end
530
+
531
+ def self.field_remappings
532
+ @field_remappings = {}
533
+ end
534
+ end
535
+
536
+ class BlikPayments < Stripe::StripeObject
537
+ class StatusDetail < Stripe::StripeObject
538
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
539
+ attr_reader :code
540
+ # Machine-readable code explaining how to make the Capability active.
541
+ attr_reader :resolution
542
+
543
+ def self.inner_class_types
544
+ @inner_class_types = {}
545
+ end
546
+
547
+ def self.field_remappings
548
+ @field_remappings = {}
549
+ end
550
+ end
551
+ # Whether the Capability has been requested.
552
+ attr_reader :requested
553
+ # The status of the Capability.
554
+ attr_reader :status
555
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
556
+ attr_reader :status_details
557
+
558
+ def self.inner_class_types
559
+ @inner_class_types = { status_details: StatusDetail }
560
+ end
561
+
562
+ def self.field_remappings
563
+ @field_remappings = {}
564
+ end
565
+ end
566
+
567
+ class BoletoPayments < Stripe::StripeObject
568
+ class StatusDetail < Stripe::StripeObject
569
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
570
+ attr_reader :code
571
+ # Machine-readable code explaining how to make the Capability active.
572
+ attr_reader :resolution
573
+
574
+ def self.inner_class_types
575
+ @inner_class_types = {}
576
+ end
577
+
578
+ def self.field_remappings
579
+ @field_remappings = {}
580
+ end
581
+ end
582
+ # Whether the Capability has been requested.
583
+ attr_reader :requested
584
+ # The status of the Capability.
585
+ attr_reader :status
586
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
587
+ attr_reader :status_details
588
+
589
+ def self.inner_class_types
590
+ @inner_class_types = { status_details: StatusDetail }
591
+ end
592
+
593
+ def self.field_remappings
594
+ @field_remappings = {}
595
+ end
596
+ end
597
+
598
+ class CardPayments < Stripe::StripeObject
599
+ class StatusDetail < Stripe::StripeObject
600
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
601
+ attr_reader :code
602
+ # Machine-readable code explaining how to make the Capability active.
603
+ attr_reader :resolution
604
+
605
+ def self.inner_class_types
606
+ @inner_class_types = {}
607
+ end
608
+
609
+ def self.field_remappings
610
+ @field_remappings = {}
611
+ end
612
+ end
613
+ # Whether the Capability has been requested.
614
+ attr_reader :requested
615
+ # The status of the Capability.
616
+ attr_reader :status
617
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
618
+ attr_reader :status_details
619
+
620
+ def self.inner_class_types
621
+ @inner_class_types = { status_details: StatusDetail }
622
+ end
623
+
624
+ def self.field_remappings
625
+ @field_remappings = {}
626
+ end
627
+ end
628
+
629
+ class CartesBancairesPayments < Stripe::StripeObject
630
+ class StatusDetail < Stripe::StripeObject
631
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
632
+ attr_reader :code
633
+ # Machine-readable code explaining how to make the Capability active.
634
+ attr_reader :resolution
635
+
636
+ def self.inner_class_types
637
+ @inner_class_types = {}
638
+ end
639
+
640
+ def self.field_remappings
641
+ @field_remappings = {}
642
+ end
643
+ end
644
+ # Whether the Capability has been requested.
645
+ attr_reader :requested
646
+ # The status of the Capability.
647
+ attr_reader :status
648
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
649
+ attr_reader :status_details
650
+
651
+ def self.inner_class_types
652
+ @inner_class_types = { status_details: StatusDetail }
653
+ end
654
+
655
+ def self.field_remappings
656
+ @field_remappings = {}
657
+ end
658
+ end
659
+
660
+ class CashappPayments < Stripe::StripeObject
661
+ class StatusDetail < Stripe::StripeObject
662
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
663
+ attr_reader :code
664
+ # Machine-readable code explaining how to make the Capability active.
665
+ attr_reader :resolution
666
+
667
+ def self.inner_class_types
668
+ @inner_class_types = {}
669
+ end
670
+
671
+ def self.field_remappings
672
+ @field_remappings = {}
673
+ end
674
+ end
675
+ # Whether the Capability has been requested.
676
+ attr_reader :requested
677
+ # The status of the Capability.
678
+ attr_reader :status
679
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
680
+ attr_reader :status_details
681
+
682
+ def self.inner_class_types
683
+ @inner_class_types = { status_details: StatusDetail }
684
+ end
685
+
686
+ def self.field_remappings
687
+ @field_remappings = {}
688
+ end
689
+ end
690
+
691
+ class EpsPayments < Stripe::StripeObject
692
+ class StatusDetail < Stripe::StripeObject
693
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
694
+ attr_reader :code
695
+ # Machine-readable code explaining how to make the Capability active.
696
+ attr_reader :resolution
697
+
698
+ def self.inner_class_types
699
+ @inner_class_types = {}
700
+ end
701
+
702
+ def self.field_remappings
703
+ @field_remappings = {}
704
+ end
705
+ end
706
+ # Whether the Capability has been requested.
707
+ attr_reader :requested
708
+ # The status of the Capability.
709
+ attr_reader :status
710
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
711
+ attr_reader :status_details
712
+
713
+ def self.inner_class_types
714
+ @inner_class_types = { status_details: StatusDetail }
715
+ end
716
+
717
+ def self.field_remappings
718
+ @field_remappings = {}
719
+ end
720
+ end
721
+
722
+ class FpxPayments < Stripe::StripeObject
723
+ class StatusDetail < Stripe::StripeObject
724
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
725
+ attr_reader :code
726
+ # Machine-readable code explaining how to make the Capability active.
727
+ attr_reader :resolution
728
+
729
+ def self.inner_class_types
730
+ @inner_class_types = {}
731
+ end
732
+
733
+ def self.field_remappings
734
+ @field_remappings = {}
735
+ end
736
+ end
737
+ # Whether the Capability has been requested.
738
+ attr_reader :requested
739
+ # The status of the Capability.
740
+ attr_reader :status
741
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
742
+ attr_reader :status_details
743
+
744
+ def self.inner_class_types
745
+ @inner_class_types = { status_details: StatusDetail }
746
+ end
747
+
748
+ def self.field_remappings
749
+ @field_remappings = {}
750
+ end
751
+ end
752
+
753
+ class GbBankTransferPayments < Stripe::StripeObject
754
+ class StatusDetail < Stripe::StripeObject
755
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
756
+ attr_reader :code
757
+ # Machine-readable code explaining how to make the Capability active.
758
+ attr_reader :resolution
759
+
760
+ def self.inner_class_types
761
+ @inner_class_types = {}
762
+ end
763
+
764
+ def self.field_remappings
765
+ @field_remappings = {}
766
+ end
767
+ end
768
+ # Whether the Capability has been requested.
769
+ attr_reader :requested
770
+ # The status of the Capability.
771
+ attr_reader :status
772
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
773
+ attr_reader :status_details
774
+
775
+ def self.inner_class_types
776
+ @inner_class_types = { status_details: StatusDetail }
777
+ end
778
+
779
+ def self.field_remappings
780
+ @field_remappings = {}
781
+ end
782
+ end
783
+
784
+ class GrabpayPayments < Stripe::StripeObject
785
+ class StatusDetail < Stripe::StripeObject
786
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
787
+ attr_reader :code
788
+ # Machine-readable code explaining how to make the Capability active.
789
+ attr_reader :resolution
790
+
791
+ def self.inner_class_types
792
+ @inner_class_types = {}
793
+ end
794
+
795
+ def self.field_remappings
796
+ @field_remappings = {}
797
+ end
798
+ end
799
+ # Whether the Capability has been requested.
800
+ attr_reader :requested
801
+ # The status of the Capability.
802
+ attr_reader :status
803
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
804
+ attr_reader :status_details
805
+
806
+ def self.inner_class_types
807
+ @inner_class_types = { status_details: StatusDetail }
808
+ end
809
+
810
+ def self.field_remappings
811
+ @field_remappings = {}
812
+ end
813
+ end
814
+
815
+ class IdealPayments < Stripe::StripeObject
816
+ class StatusDetail < Stripe::StripeObject
817
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
818
+ attr_reader :code
819
+ # Machine-readable code explaining how to make the Capability active.
820
+ attr_reader :resolution
821
+
822
+ def self.inner_class_types
823
+ @inner_class_types = {}
824
+ end
825
+
826
+ def self.field_remappings
827
+ @field_remappings = {}
828
+ end
829
+ end
830
+ # Whether the Capability has been requested.
831
+ attr_reader :requested
832
+ # The status of the Capability.
833
+ attr_reader :status
834
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
835
+ attr_reader :status_details
836
+
837
+ def self.inner_class_types
838
+ @inner_class_types = { status_details: StatusDetail }
839
+ end
840
+
841
+ def self.field_remappings
842
+ @field_remappings = {}
843
+ end
844
+ end
845
+
846
+ class JcbPayments < Stripe::StripeObject
847
+ class StatusDetail < Stripe::StripeObject
848
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
849
+ attr_reader :code
850
+ # Machine-readable code explaining how to make the Capability active.
851
+ attr_reader :resolution
852
+
853
+ def self.inner_class_types
854
+ @inner_class_types = {}
855
+ end
856
+
857
+ def self.field_remappings
858
+ @field_remappings = {}
859
+ end
860
+ end
861
+ # Whether the Capability has been requested.
862
+ attr_reader :requested
863
+ # The status of the Capability.
864
+ attr_reader :status
865
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
866
+ attr_reader :status_details
867
+
868
+ def self.inner_class_types
869
+ @inner_class_types = { status_details: StatusDetail }
870
+ end
871
+
872
+ def self.field_remappings
873
+ @field_remappings = {}
874
+ end
875
+ end
876
+
877
+ class JpBankTransferPayments < Stripe::StripeObject
878
+ class StatusDetail < Stripe::StripeObject
879
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
880
+ attr_reader :code
881
+ # Machine-readable code explaining how to make the Capability active.
882
+ attr_reader :resolution
883
+
884
+ def self.inner_class_types
885
+ @inner_class_types = {}
886
+ end
887
+
888
+ def self.field_remappings
889
+ @field_remappings = {}
890
+ end
891
+ end
892
+ # Whether the Capability has been requested.
893
+ attr_reader :requested
894
+ # The status of the Capability.
895
+ attr_reader :status
896
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
897
+ attr_reader :status_details
898
+
899
+ def self.inner_class_types
900
+ @inner_class_types = { status_details: StatusDetail }
901
+ end
902
+
903
+ def self.field_remappings
904
+ @field_remappings = {}
905
+ end
906
+ end
907
+
908
+ class KakaoPayPayments < Stripe::StripeObject
909
+ class StatusDetail < Stripe::StripeObject
910
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
911
+ attr_reader :code
912
+ # Machine-readable code explaining how to make the Capability active.
913
+ attr_reader :resolution
914
+
915
+ def self.inner_class_types
916
+ @inner_class_types = {}
917
+ end
918
+
919
+ def self.field_remappings
920
+ @field_remappings = {}
921
+ end
922
+ end
923
+ # Whether the Capability has been requested.
924
+ attr_reader :requested
925
+ # The status of the Capability.
926
+ attr_reader :status
927
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
928
+ attr_reader :status_details
929
+
930
+ def self.inner_class_types
931
+ @inner_class_types = { status_details: StatusDetail }
932
+ end
933
+
934
+ def self.field_remappings
935
+ @field_remappings = {}
936
+ end
937
+ end
938
+
939
+ class KlarnaPayments < Stripe::StripeObject
940
+ class StatusDetail < Stripe::StripeObject
941
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
942
+ attr_reader :code
943
+ # Machine-readable code explaining how to make the Capability active.
944
+ attr_reader :resolution
945
+
946
+ def self.inner_class_types
947
+ @inner_class_types = {}
948
+ end
949
+
950
+ def self.field_remappings
951
+ @field_remappings = {}
952
+ end
953
+ end
954
+ # Whether the Capability has been requested.
955
+ attr_reader :requested
956
+ # The status of the Capability.
957
+ attr_reader :status
958
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
959
+ attr_reader :status_details
960
+
961
+ def self.inner_class_types
962
+ @inner_class_types = { status_details: StatusDetail }
963
+ end
964
+
965
+ def self.field_remappings
966
+ @field_remappings = {}
967
+ end
968
+ end
969
+
970
+ class KonbiniPayments < Stripe::StripeObject
971
+ class StatusDetail < Stripe::StripeObject
972
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
973
+ attr_reader :code
974
+ # Machine-readable code explaining how to make the Capability active.
975
+ attr_reader :resolution
976
+
977
+ def self.inner_class_types
978
+ @inner_class_types = {}
979
+ end
980
+
981
+ def self.field_remappings
982
+ @field_remappings = {}
983
+ end
984
+ end
985
+ # Whether the Capability has been requested.
986
+ attr_reader :requested
987
+ # The status of the Capability.
988
+ attr_reader :status
989
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
990
+ attr_reader :status_details
991
+
992
+ def self.inner_class_types
993
+ @inner_class_types = { status_details: StatusDetail }
994
+ end
995
+
996
+ def self.field_remappings
997
+ @field_remappings = {}
998
+ end
999
+ end
1000
+
1001
+ class KrCardPayments < Stripe::StripeObject
1002
+ class StatusDetail < Stripe::StripeObject
1003
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1004
+ attr_reader :code
1005
+ # Machine-readable code explaining how to make the Capability active.
1006
+ attr_reader :resolution
1007
+
1008
+ def self.inner_class_types
1009
+ @inner_class_types = {}
1010
+ end
1011
+
1012
+ def self.field_remappings
1013
+ @field_remappings = {}
1014
+ end
1015
+ end
1016
+ # Whether the Capability has been requested.
1017
+ attr_reader :requested
1018
+ # The status of the Capability.
1019
+ attr_reader :status
1020
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1021
+ attr_reader :status_details
1022
+
1023
+ def self.inner_class_types
1024
+ @inner_class_types = { status_details: StatusDetail }
1025
+ end
1026
+
1027
+ def self.field_remappings
1028
+ @field_remappings = {}
1029
+ end
1030
+ end
1031
+
1032
+ class LinkPayments < Stripe::StripeObject
1033
+ class StatusDetail < Stripe::StripeObject
1034
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1035
+ attr_reader :code
1036
+ # Machine-readable code explaining how to make the Capability active.
1037
+ attr_reader :resolution
1038
+
1039
+ def self.inner_class_types
1040
+ @inner_class_types = {}
1041
+ end
1042
+
1043
+ def self.field_remappings
1044
+ @field_remappings = {}
1045
+ end
1046
+ end
1047
+ # Whether the Capability has been requested.
1048
+ attr_reader :requested
1049
+ # The status of the Capability.
1050
+ attr_reader :status
1051
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1052
+ attr_reader :status_details
1053
+
1054
+ def self.inner_class_types
1055
+ @inner_class_types = { status_details: StatusDetail }
1056
+ end
1057
+
1058
+ def self.field_remappings
1059
+ @field_remappings = {}
1060
+ end
1061
+ end
1062
+
1063
+ class MobilepayPayments < Stripe::StripeObject
1064
+ class StatusDetail < Stripe::StripeObject
1065
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1066
+ attr_reader :code
1067
+ # Machine-readable code explaining how to make the Capability active.
1068
+ attr_reader :resolution
1069
+
1070
+ def self.inner_class_types
1071
+ @inner_class_types = {}
1072
+ end
1073
+
1074
+ def self.field_remappings
1075
+ @field_remappings = {}
1076
+ end
1077
+ end
1078
+ # Whether the Capability has been requested.
1079
+ attr_reader :requested
1080
+ # The status of the Capability.
1081
+ attr_reader :status
1082
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1083
+ attr_reader :status_details
1084
+
1085
+ def self.inner_class_types
1086
+ @inner_class_types = { status_details: StatusDetail }
1087
+ end
1088
+
1089
+ def self.field_remappings
1090
+ @field_remappings = {}
1091
+ end
1092
+ end
1093
+
1094
+ class MultibancoPayments < Stripe::StripeObject
1095
+ class StatusDetail < Stripe::StripeObject
1096
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1097
+ attr_reader :code
1098
+ # Machine-readable code explaining how to make the Capability active.
1099
+ attr_reader :resolution
1100
+
1101
+ def self.inner_class_types
1102
+ @inner_class_types = {}
1103
+ end
1104
+
1105
+ def self.field_remappings
1106
+ @field_remappings = {}
1107
+ end
1108
+ end
1109
+ # Whether the Capability has been requested.
1110
+ attr_reader :requested
1111
+ # The status of the Capability.
1112
+ attr_reader :status
1113
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1114
+ attr_reader :status_details
1115
+
1116
+ def self.inner_class_types
1117
+ @inner_class_types = { status_details: StatusDetail }
1118
+ end
1119
+
1120
+ def self.field_remappings
1121
+ @field_remappings = {}
1122
+ end
1123
+ end
1124
+
1125
+ class MxBankTransferPayments < Stripe::StripeObject
1126
+ class StatusDetail < Stripe::StripeObject
1127
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1128
+ attr_reader :code
1129
+ # Machine-readable code explaining how to make the Capability active.
1130
+ attr_reader :resolution
1131
+
1132
+ def self.inner_class_types
1133
+ @inner_class_types = {}
1134
+ end
1135
+
1136
+ def self.field_remappings
1137
+ @field_remappings = {}
1138
+ end
1139
+ end
1140
+ # Whether the Capability has been requested.
1141
+ attr_reader :requested
1142
+ # The status of the Capability.
1143
+ attr_reader :status
1144
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1145
+ attr_reader :status_details
1146
+
1147
+ def self.inner_class_types
1148
+ @inner_class_types = { status_details: StatusDetail }
1149
+ end
1150
+
1151
+ def self.field_remappings
1152
+ @field_remappings = {}
1153
+ end
1154
+ end
1155
+
1156
+ class NaverPayPayments < Stripe::StripeObject
1157
+ class StatusDetail < Stripe::StripeObject
1158
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1159
+ attr_reader :code
1160
+ # Machine-readable code explaining how to make the Capability active.
1161
+ attr_reader :resolution
1162
+
1163
+ def self.inner_class_types
1164
+ @inner_class_types = {}
1165
+ end
1166
+
1167
+ def self.field_remappings
1168
+ @field_remappings = {}
1169
+ end
1170
+ end
1171
+ # Whether the Capability has been requested.
1172
+ attr_reader :requested
1173
+ # The status of the Capability.
1174
+ attr_reader :status
1175
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1176
+ attr_reader :status_details
1177
+
1178
+ def self.inner_class_types
1179
+ @inner_class_types = { status_details: StatusDetail }
1180
+ end
1181
+
1182
+ def self.field_remappings
1183
+ @field_remappings = {}
1184
+ end
1185
+ end
1186
+
1187
+ class OxxoPayments < Stripe::StripeObject
1188
+ class StatusDetail < Stripe::StripeObject
1189
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1190
+ attr_reader :code
1191
+ # Machine-readable code explaining how to make the Capability active.
1192
+ attr_reader :resolution
1193
+
1194
+ def self.inner_class_types
1195
+ @inner_class_types = {}
1196
+ end
1197
+
1198
+ def self.field_remappings
1199
+ @field_remappings = {}
1200
+ end
1201
+ end
1202
+ # Whether the Capability has been requested.
1203
+ attr_reader :requested
1204
+ # The status of the Capability.
1205
+ attr_reader :status
1206
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1207
+ attr_reader :status_details
1208
+
1209
+ def self.inner_class_types
1210
+ @inner_class_types = { status_details: StatusDetail }
1211
+ end
1212
+
1213
+ def self.field_remappings
1214
+ @field_remappings = {}
1215
+ end
1216
+ end
1217
+
1218
+ class P24Payments < Stripe::StripeObject
1219
+ class StatusDetail < Stripe::StripeObject
1220
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1221
+ attr_reader :code
1222
+ # Machine-readable code explaining how to make the Capability active.
1223
+ attr_reader :resolution
1224
+
1225
+ def self.inner_class_types
1226
+ @inner_class_types = {}
1227
+ end
1228
+
1229
+ def self.field_remappings
1230
+ @field_remappings = {}
1231
+ end
1232
+ end
1233
+ # Whether the Capability has been requested.
1234
+ attr_reader :requested
1235
+ # The status of the Capability.
1236
+ attr_reader :status
1237
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1238
+ attr_reader :status_details
1239
+
1240
+ def self.inner_class_types
1241
+ @inner_class_types = { status_details: StatusDetail }
1242
+ end
1243
+
1244
+ def self.field_remappings
1245
+ @field_remappings = {}
1246
+ end
1247
+ end
1248
+
1249
+ class PayByBankPayments < Stripe::StripeObject
1250
+ class StatusDetail < Stripe::StripeObject
1251
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1252
+ attr_reader :code
1253
+ # Machine-readable code explaining how to make the Capability active.
1254
+ attr_reader :resolution
1255
+
1256
+ def self.inner_class_types
1257
+ @inner_class_types = {}
1258
+ end
1259
+
1260
+ def self.field_remappings
1261
+ @field_remappings = {}
1262
+ end
1263
+ end
1264
+ # Whether the Capability has been requested.
1265
+ attr_reader :requested
1266
+ # The status of the Capability.
1267
+ attr_reader :status
1268
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1269
+ attr_reader :status_details
1270
+
1271
+ def self.inner_class_types
1272
+ @inner_class_types = { status_details: StatusDetail }
1273
+ end
1274
+
1275
+ def self.field_remappings
1276
+ @field_remappings = {}
1277
+ end
1278
+ end
1279
+
1280
+ class PaycoPayments < Stripe::StripeObject
1281
+ class StatusDetail < Stripe::StripeObject
1282
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1283
+ attr_reader :code
1284
+ # Machine-readable code explaining how to make the Capability active.
1285
+ attr_reader :resolution
1286
+
1287
+ def self.inner_class_types
1288
+ @inner_class_types = {}
1289
+ end
1290
+
1291
+ def self.field_remappings
1292
+ @field_remappings = {}
1293
+ end
1294
+ end
1295
+ # Whether the Capability has been requested.
1296
+ attr_reader :requested
1297
+ # The status of the Capability.
1298
+ attr_reader :status
1299
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1300
+ attr_reader :status_details
1301
+
1302
+ def self.inner_class_types
1303
+ @inner_class_types = { status_details: StatusDetail }
1304
+ end
1305
+
1306
+ def self.field_remappings
1307
+ @field_remappings = {}
1308
+ end
1309
+ end
1310
+
1311
+ class PaynowPayments < Stripe::StripeObject
1312
+ class StatusDetail < Stripe::StripeObject
1313
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1314
+ attr_reader :code
1315
+ # Machine-readable code explaining how to make the Capability active.
1316
+ attr_reader :resolution
1317
+
1318
+ def self.inner_class_types
1319
+ @inner_class_types = {}
1320
+ end
1321
+
1322
+ def self.field_remappings
1323
+ @field_remappings = {}
1324
+ end
1325
+ end
1326
+ # Whether the Capability has been requested.
1327
+ attr_reader :requested
1328
+ # The status of the Capability.
1329
+ attr_reader :status
1330
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1331
+ attr_reader :status_details
1332
+
1333
+ def self.inner_class_types
1334
+ @inner_class_types = { status_details: StatusDetail }
1335
+ end
1336
+
1337
+ def self.field_remappings
1338
+ @field_remappings = {}
1339
+ end
1340
+ end
1341
+
1342
+ class PromptpayPayments < Stripe::StripeObject
1343
+ class StatusDetail < Stripe::StripeObject
1344
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1345
+ attr_reader :code
1346
+ # Machine-readable code explaining how to make the Capability active.
1347
+ attr_reader :resolution
1348
+
1349
+ def self.inner_class_types
1350
+ @inner_class_types = {}
1351
+ end
1352
+
1353
+ def self.field_remappings
1354
+ @field_remappings = {}
1355
+ end
1356
+ end
1357
+ # Whether the Capability has been requested.
1358
+ attr_reader :requested
1359
+ # The status of the Capability.
1360
+ attr_reader :status
1361
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1362
+ attr_reader :status_details
1363
+
1364
+ def self.inner_class_types
1365
+ @inner_class_types = { status_details: StatusDetail }
1366
+ end
1367
+
1368
+ def self.field_remappings
1369
+ @field_remappings = {}
1370
+ end
1371
+ end
1372
+
1373
+ class RevolutPayPayments < Stripe::StripeObject
1374
+ class StatusDetail < Stripe::StripeObject
1375
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1376
+ attr_reader :code
1377
+ # Machine-readable code explaining how to make the Capability active.
1378
+ attr_reader :resolution
1379
+
1380
+ def self.inner_class_types
1381
+ @inner_class_types = {}
1382
+ end
1383
+
1384
+ def self.field_remappings
1385
+ @field_remappings = {}
1386
+ end
1387
+ end
1388
+ # Whether the Capability has been requested.
1389
+ attr_reader :requested
1390
+ # The status of the Capability.
1391
+ attr_reader :status
1392
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1393
+ attr_reader :status_details
1394
+
1395
+ def self.inner_class_types
1396
+ @inner_class_types = { status_details: StatusDetail }
1397
+ end
1398
+
1399
+ def self.field_remappings
1400
+ @field_remappings = {}
1401
+ end
1402
+ end
1403
+
1404
+ class SamsungPayPayments < Stripe::StripeObject
1405
+ class StatusDetail < Stripe::StripeObject
1406
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1407
+ attr_reader :code
1408
+ # Machine-readable code explaining how to make the Capability active.
1409
+ attr_reader :resolution
1410
+
1411
+ def self.inner_class_types
1412
+ @inner_class_types = {}
1413
+ end
1414
+
1415
+ def self.field_remappings
1416
+ @field_remappings = {}
1417
+ end
1418
+ end
1419
+ # Whether the Capability has been requested.
1420
+ attr_reader :requested
1421
+ # The status of the Capability.
1422
+ attr_reader :status
1423
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1424
+ attr_reader :status_details
1425
+
1426
+ def self.inner_class_types
1427
+ @inner_class_types = { status_details: StatusDetail }
1428
+ end
1429
+
1430
+ def self.field_remappings
1431
+ @field_remappings = {}
1432
+ end
1433
+ end
1434
+
1435
+ class SepaBankTransferPayments < Stripe::StripeObject
1436
+ class StatusDetail < Stripe::StripeObject
1437
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1438
+ attr_reader :code
1439
+ # Machine-readable code explaining how to make the Capability active.
1440
+ attr_reader :resolution
1441
+
1442
+ def self.inner_class_types
1443
+ @inner_class_types = {}
1444
+ end
1445
+
1446
+ def self.field_remappings
1447
+ @field_remappings = {}
1448
+ end
1449
+ end
1450
+ # Whether the Capability has been requested.
1451
+ attr_reader :requested
1452
+ # The status of the Capability.
1453
+ attr_reader :status
1454
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1455
+ attr_reader :status_details
1456
+
1457
+ def self.inner_class_types
1458
+ @inner_class_types = { status_details: StatusDetail }
1459
+ end
1460
+
1461
+ def self.field_remappings
1462
+ @field_remappings = {}
1463
+ end
1464
+ end
1465
+
1466
+ class SepaDebitPayments < Stripe::StripeObject
1467
+ class StatusDetail < Stripe::StripeObject
1468
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1469
+ attr_reader :code
1470
+ # Machine-readable code explaining how to make the Capability active.
1471
+ attr_reader :resolution
1472
+
1473
+ def self.inner_class_types
1474
+ @inner_class_types = {}
1475
+ end
1476
+
1477
+ def self.field_remappings
1478
+ @field_remappings = {}
1479
+ end
1480
+ end
1481
+ # Whether the Capability has been requested.
1482
+ attr_reader :requested
1483
+ # The status of the Capability.
1484
+ attr_reader :status
1485
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1486
+ attr_reader :status_details
1487
+
1488
+ def self.inner_class_types
1489
+ @inner_class_types = { status_details: StatusDetail }
1490
+ end
1491
+
1492
+ def self.field_remappings
1493
+ @field_remappings = {}
1494
+ end
1495
+ end
1496
+
1497
+ class StripeBalance < Stripe::StripeObject
1498
+ class Payouts < Stripe::StripeObject
1499
+ class StatusDetail < Stripe::StripeObject
1500
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1501
+ attr_reader :code
1502
+ # Machine-readable code explaining how to make the Capability active.
1503
+ attr_reader :resolution
1504
+
1505
+ def self.inner_class_types
1506
+ @inner_class_types = {}
1507
+ end
1508
+
1509
+ def self.field_remappings
1510
+ @field_remappings = {}
1511
+ end
1512
+ end
1513
+ # Whether the Capability has been requested.
1514
+ attr_reader :requested
1515
+ # The status of the Capability.
1516
+ attr_reader :status
1517
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1518
+ attr_reader :status_details
1519
+
1520
+ def self.inner_class_types
1521
+ @inner_class_types = { status_details: StatusDetail }
1522
+ end
1523
+
1524
+ def self.field_remappings
1525
+ @field_remappings = {}
1526
+ end
1527
+ end
1528
+ # Allows the account to do payouts using their Stripe Balance (/v1/balance).
1529
+ attr_reader :payouts
1530
+
1531
+ def self.inner_class_types
1532
+ @inner_class_types = { payouts: Payouts }
1533
+ end
1534
+
1535
+ def self.field_remappings
1536
+ @field_remappings = {}
1537
+ end
1538
+ end
1539
+
1540
+ class SwishPayments < Stripe::StripeObject
1541
+ class StatusDetail < Stripe::StripeObject
1542
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1543
+ attr_reader :code
1544
+ # Machine-readable code explaining how to make the Capability active.
1545
+ attr_reader :resolution
1546
+
1547
+ def self.inner_class_types
1548
+ @inner_class_types = {}
1549
+ end
1550
+
1551
+ def self.field_remappings
1552
+ @field_remappings = {}
1553
+ end
1554
+ end
1555
+ # Whether the Capability has been requested.
1556
+ attr_reader :requested
1557
+ # The status of the Capability.
1558
+ attr_reader :status
1559
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1560
+ attr_reader :status_details
1561
+
1562
+ def self.inner_class_types
1563
+ @inner_class_types = { status_details: StatusDetail }
1564
+ end
1565
+
1566
+ def self.field_remappings
1567
+ @field_remappings = {}
1568
+ end
1569
+ end
1570
+
1571
+ class TwintPayments < Stripe::StripeObject
1572
+ class StatusDetail < Stripe::StripeObject
1573
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1574
+ attr_reader :code
1575
+ # Machine-readable code explaining how to make the Capability active.
1576
+ attr_reader :resolution
1577
+
1578
+ def self.inner_class_types
1579
+ @inner_class_types = {}
1580
+ end
1581
+
1582
+ def self.field_remappings
1583
+ @field_remappings = {}
1584
+ end
1585
+ end
1586
+ # Whether the Capability has been requested.
1587
+ attr_reader :requested
1588
+ # The status of the Capability.
1589
+ attr_reader :status
1590
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1591
+ attr_reader :status_details
1592
+
1593
+ def self.inner_class_types
1594
+ @inner_class_types = { status_details: StatusDetail }
1595
+ end
1596
+
1597
+ def self.field_remappings
1598
+ @field_remappings = {}
1599
+ end
1600
+ end
1601
+
1602
+ class UsBankTransferPayments < Stripe::StripeObject
1603
+ class StatusDetail < Stripe::StripeObject
1604
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1605
+ attr_reader :code
1606
+ # Machine-readable code explaining how to make the Capability active.
1607
+ attr_reader :resolution
1608
+
1609
+ def self.inner_class_types
1610
+ @inner_class_types = {}
1611
+ end
1612
+
1613
+ def self.field_remappings
1614
+ @field_remappings = {}
1615
+ end
1616
+ end
1617
+ # Whether the Capability has been requested.
1618
+ attr_reader :requested
1619
+ # The status of the Capability.
1620
+ attr_reader :status
1621
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1622
+ attr_reader :status_details
1623
+
1624
+ def self.inner_class_types
1625
+ @inner_class_types = { status_details: StatusDetail }
1626
+ end
1627
+
1628
+ def self.field_remappings
1629
+ @field_remappings = {}
1630
+ end
1631
+ end
1632
+
1633
+ class ZipPayments < Stripe::StripeObject
1634
+ class StatusDetail < Stripe::StripeObject
1635
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1636
+ attr_reader :code
1637
+ # Machine-readable code explaining how to make the Capability active.
1638
+ attr_reader :resolution
1639
+
1640
+ def self.inner_class_types
1641
+ @inner_class_types = {}
1642
+ end
1643
+
1644
+ def self.field_remappings
1645
+ @field_remappings = {}
1646
+ end
1647
+ end
1648
+ # Whether the Capability has been requested.
1649
+ attr_reader :requested
1650
+ # The status of the Capability.
1651
+ attr_reader :status
1652
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1653
+ attr_reader :status_details
1654
+
1655
+ def self.inner_class_types
1656
+ @inner_class_types = { status_details: StatusDetail }
1657
+ end
1658
+
1659
+ def self.field_remappings
1660
+ @field_remappings = {}
1661
+ end
1662
+ end
1663
+ # Allow the merchant to process ACH debit payments.
1664
+ attr_reader :ach_debit_payments
1665
+ # Allow the merchant to process ACSS debit payments.
1666
+ attr_reader :acss_debit_payments
1667
+ # Allow the merchant to process Affirm payments.
1668
+ attr_reader :affirm_payments
1669
+ # Allow the merchant to process Afterpay/Clearpay payments.
1670
+ attr_reader :afterpay_clearpay_payments
1671
+ # Allow the merchant to process Alma payments.
1672
+ attr_reader :alma_payments
1673
+ # Allow the merchant to process Amazon Pay payments.
1674
+ attr_reader :amazon_pay_payments
1675
+ # Allow the merchant to process Australian BECS Direct Debit payments.
1676
+ attr_reader :au_becs_debit_payments
1677
+ # Allow the merchant to process BACS Direct Debit payments.
1678
+ attr_reader :bacs_debit_payments
1679
+ # Allow the merchant to process Bancontact payments.
1680
+ attr_reader :bancontact_payments
1681
+ # Allow the merchant to process BLIK payments.
1682
+ attr_reader :blik_payments
1683
+ # Allow the merchant to process Boleto payments.
1684
+ attr_reader :boleto_payments
1685
+ # Allow the merchant to collect card payments.
1686
+ attr_reader :card_payments
1687
+ # Allow the merchant to process Cartes Bancaires payments.
1688
+ attr_reader :cartes_bancaires_payments
1689
+ # Allow the merchant to process Cash App payments.
1690
+ attr_reader :cashapp_payments
1691
+ # Allow the merchant to process EPS payments.
1692
+ attr_reader :eps_payments
1693
+ # Allow the merchant to process FPX payments.
1694
+ attr_reader :fpx_payments
1695
+ # Allow the merchant to process UK bank transfer payments.
1696
+ attr_reader :gb_bank_transfer_payments
1697
+ # Allow the merchant to process GrabPay payments.
1698
+ attr_reader :grabpay_payments
1699
+ # Allow the merchant to process iDEAL payments.
1700
+ attr_reader :ideal_payments
1701
+ # Allow the merchant to process JCB card payments.
1702
+ attr_reader :jcb_payments
1703
+ # Allow the merchant to process Japanese bank transfer payments.
1704
+ attr_reader :jp_bank_transfer_payments
1705
+ # Allow the merchant to process Kakao Pay payments.
1706
+ attr_reader :kakao_pay_payments
1707
+ # Allow the merchant to process Klarna payments.
1708
+ attr_reader :klarna_payments
1709
+ # Allow the merchant to process Konbini convenience store payments.
1710
+ attr_reader :konbini_payments
1711
+ # Allow the merchant to process Korean card payments.
1712
+ attr_reader :kr_card_payments
1713
+ # Allow the merchant to process Link payments.
1714
+ attr_reader :link_payments
1715
+ # Allow the merchant to process MobilePay payments.
1716
+ attr_reader :mobilepay_payments
1717
+ # Allow the merchant to process Multibanco payments.
1718
+ attr_reader :multibanco_payments
1719
+ # Allow the merchant to process Mexican bank transfer payments.
1720
+ attr_reader :mx_bank_transfer_payments
1721
+ # Allow the merchant to process Naver Pay payments.
1722
+ attr_reader :naver_pay_payments
1723
+ # Allow the merchant to process OXXO payments.
1724
+ attr_reader :oxxo_payments
1725
+ # Allow the merchant to process Przelewy24 (P24) payments.
1726
+ attr_reader :p24_payments
1727
+ # Allow the merchant to process Pay by Bank payments.
1728
+ attr_reader :pay_by_bank_payments
1729
+ # Allow the merchant to process PAYCO payments.
1730
+ attr_reader :payco_payments
1731
+ # Allow the merchant to process PayNow payments.
1732
+ attr_reader :paynow_payments
1733
+ # Allow the merchant to process PromptPay payments.
1734
+ attr_reader :promptpay_payments
1735
+ # Allow the merchant to process Revolut Pay payments.
1736
+ attr_reader :revolut_pay_payments
1737
+ # Allow the merchant to process Samsung Pay payments.
1738
+ attr_reader :samsung_pay_payments
1739
+ # Allow the merchant to process SEPA bank transfer payments.
1740
+ attr_reader :sepa_bank_transfer_payments
1741
+ # Allow the merchant to process SEPA Direct Debit payments.
1742
+ attr_reader :sepa_debit_payments
1743
+ # Capabilities that enable the merchant to manage their Stripe Balance (/v1/balance).
1744
+ attr_reader :stripe_balance
1745
+ # Allow the merchant to process Swish payments.
1746
+ attr_reader :swish_payments
1747
+ # Allow the merchant to process TWINT payments.
1748
+ attr_reader :twint_payments
1749
+ # Allow the merchant to process US bank transfer payments.
1750
+ attr_reader :us_bank_transfer_payments
1751
+ # Allow the merchant to process Zip payments.
1752
+ attr_reader :zip_payments
1753
+
1754
+ def self.inner_class_types
1755
+ @inner_class_types = {
1756
+ ach_debit_payments: AchDebitPayments,
1757
+ acss_debit_payments: AcssDebitPayments,
1758
+ affirm_payments: AffirmPayments,
1759
+ afterpay_clearpay_payments: AfterpayClearpayPayments,
1760
+ alma_payments: AlmaPayments,
1761
+ amazon_pay_payments: AmazonPayPayments,
1762
+ au_becs_debit_payments: AuBecsDebitPayments,
1763
+ bacs_debit_payments: BacsDebitPayments,
1764
+ bancontact_payments: BancontactPayments,
1765
+ blik_payments: BlikPayments,
1766
+ boleto_payments: BoletoPayments,
1767
+ card_payments: CardPayments,
1768
+ cartes_bancaires_payments: CartesBancairesPayments,
1769
+ cashapp_payments: CashappPayments,
1770
+ eps_payments: EpsPayments,
1771
+ fpx_payments: FpxPayments,
1772
+ gb_bank_transfer_payments: GbBankTransferPayments,
1773
+ grabpay_payments: GrabpayPayments,
1774
+ ideal_payments: IdealPayments,
1775
+ jcb_payments: JcbPayments,
1776
+ jp_bank_transfer_payments: JpBankTransferPayments,
1777
+ kakao_pay_payments: KakaoPayPayments,
1778
+ klarna_payments: KlarnaPayments,
1779
+ konbini_payments: KonbiniPayments,
1780
+ kr_card_payments: KrCardPayments,
1781
+ link_payments: LinkPayments,
1782
+ mobilepay_payments: MobilepayPayments,
1783
+ multibanco_payments: MultibancoPayments,
1784
+ mx_bank_transfer_payments: MxBankTransferPayments,
1785
+ naver_pay_payments: NaverPayPayments,
1786
+ oxxo_payments: OxxoPayments,
1787
+ p24_payments: P24Payments,
1788
+ pay_by_bank_payments: PayByBankPayments,
1789
+ payco_payments: PaycoPayments,
1790
+ paynow_payments: PaynowPayments,
1791
+ promptpay_payments: PromptpayPayments,
1792
+ revolut_pay_payments: RevolutPayPayments,
1793
+ samsung_pay_payments: SamsungPayPayments,
1794
+ sepa_bank_transfer_payments: SepaBankTransferPayments,
1795
+ sepa_debit_payments: SepaDebitPayments,
1796
+ stripe_balance: StripeBalance,
1797
+ swish_payments: SwishPayments,
1798
+ twint_payments: TwintPayments,
1799
+ us_bank_transfer_payments: UsBankTransferPayments,
1800
+ zip_payments: ZipPayments,
1801
+ }
1802
+ end
1803
+
1804
+ def self.field_remappings
1805
+ @field_remappings = {}
1806
+ end
1807
+ end
1808
+
1809
+ class CardPayments < Stripe::StripeObject
1810
+ class DeclineOn < Stripe::StripeObject
1811
+ # 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.
1812
+ attr_reader :avs_failure
1813
+ # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
1814
+ attr_reader :cvc_failure
1815
+
1816
+ def self.inner_class_types
1817
+ @inner_class_types = {}
1818
+ end
1819
+
1820
+ def self.field_remappings
1821
+ @field_remappings = {}
1822
+ end
1823
+ end
1824
+ # Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
1825
+ attr_reader :decline_on
1826
+
1827
+ def self.inner_class_types
1828
+ @inner_class_types = { decline_on: DeclineOn }
1829
+ end
1830
+
1831
+ def self.field_remappings
1832
+ @field_remappings = {}
1833
+ end
1834
+ end
1835
+
1836
+ class SepaDebitPayments < Stripe::StripeObject
1837
+ # Creditor ID for SEPA debit payments.
1838
+ attr_reader :creditor_id
1839
+
1840
+ def self.inner_class_types
1841
+ @inner_class_types = {}
1842
+ end
1843
+
1844
+ def self.field_remappings
1845
+ @field_remappings = {}
1846
+ end
1847
+ end
1848
+
1849
+ class StatementDescriptor < Stripe::StripeObject
1850
+ # 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.
1851
+ attr_reader :descriptor
1852
+ # 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.
1853
+ attr_reader :prefix
1854
+
1855
+ def self.inner_class_types
1856
+ @inner_class_types = {}
1857
+ end
1858
+
1859
+ def self.field_remappings
1860
+ @field_remappings = {}
1861
+ end
1862
+ end
1863
+
1864
+ class Support < Stripe::StripeObject
1865
+ class Address < Stripe::StripeObject
1866
+ # City, district, suburb, town, or village.
1867
+ attr_reader :city
1868
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1869
+ attr_reader :country
1870
+ # Address line 1 (e.g., street, PO Box, or company name).
1871
+ attr_reader :line1
1872
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1873
+ attr_reader :line2
1874
+ # ZIP or postal code.
1875
+ attr_reader :postal_code
1876
+ # State, county, province, or region.
1877
+ attr_reader :state
1878
+ # Town or cho-me.
1879
+ attr_reader :town
1880
+
1881
+ def self.inner_class_types
1882
+ @inner_class_types = {}
1883
+ end
1884
+
1885
+ def self.field_remappings
1886
+ @field_remappings = {}
1887
+ end
1888
+ end
1889
+ # A publicly available mailing address for sending support issues to.
1890
+ attr_reader :address
1891
+ # A publicly available email address for sending support issues to.
1892
+ attr_reader :email
1893
+ # A publicly available phone number to call with support issues.
1894
+ attr_reader :phone
1895
+ # A publicly available website for handling support issues.
1896
+ attr_reader :url
1897
+
1898
+ def self.inner_class_types
1899
+ @inner_class_types = { address: Address }
1900
+ end
1901
+
1902
+ def self.field_remappings
1903
+ @field_remappings = {}
1904
+ end
1905
+ end
1906
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
1907
+ attr_reader :applied
1908
+ # Settings used for Bacs debit payments.
1909
+ attr_reader :bacs_debit_payments
1910
+ # Settings used to apply the merchant's branding to email receipts, invoices, Checkout, and other products.
1911
+ attr_reader :branding
1912
+ # Capabilities that have been requested on the Merchant Configuration.
1913
+ attr_reader :capabilities
1914
+ # Card payments settings.
1915
+ attr_reader :card_payments
1916
+ # The merchant category code for the merchant. MCCs are used to classify businesses based on the goods or services they provide.
1917
+ attr_reader :mcc
1918
+ # Settings used for SEPA debit payments.
1919
+ attr_reader :sepa_debit_payments
1920
+ # Statement descriptor.
1921
+ attr_reader :statement_descriptor
1922
+ # Publicly available contact information for sending support issues to.
1923
+ attr_reader :support
1924
+
1925
+ def self.inner_class_types
1926
+ @inner_class_types = {
1927
+ bacs_debit_payments: BacsDebitPayments,
1928
+ branding: Branding,
1929
+ capabilities: Capabilities,
1930
+ card_payments: CardPayments,
1931
+ sepa_debit_payments: SepaDebitPayments,
1932
+ statement_descriptor: StatementDescriptor,
1933
+ support: Support,
1934
+ }
1935
+ end
1936
+
1937
+ def self.field_remappings
1938
+ @field_remappings = {}
1939
+ end
1940
+ end
1941
+
1942
+ class Recipient < Stripe::StripeObject
1943
+ class Capabilities < Stripe::StripeObject
1944
+ class BankAccounts < Stripe::StripeObject
1945
+ class Local < Stripe::StripeObject
1946
+ class StatusDetail < Stripe::StripeObject
1947
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1948
+ attr_reader :code
1949
+ # Machine-readable code explaining how to make the Capability active.
1950
+ attr_reader :resolution
1951
+
1952
+ def self.inner_class_types
1953
+ @inner_class_types = {}
1954
+ end
1955
+
1956
+ def self.field_remappings
1957
+ @field_remappings = {}
1958
+ end
1959
+ end
1960
+ # Whether the Capability has been requested.
1961
+ attr_reader :requested
1962
+ # The status of the Capability.
1963
+ attr_reader :status
1964
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1965
+ attr_reader :status_details
1966
+
1967
+ def self.inner_class_types
1968
+ @inner_class_types = { status_details: StatusDetail }
1969
+ end
1970
+
1971
+ def self.field_remappings
1972
+ @field_remappings = {}
1973
+ end
1974
+ end
1975
+
1976
+ class Wire < Stripe::StripeObject
1977
+ class StatusDetail < Stripe::StripeObject
1978
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1979
+ attr_reader :code
1980
+ # Machine-readable code explaining how to make the Capability active.
1981
+ attr_reader :resolution
1982
+
1983
+ def self.inner_class_types
1984
+ @inner_class_types = {}
1985
+ end
1986
+
1987
+ def self.field_remappings
1988
+ @field_remappings = {}
1989
+ end
1990
+ end
1991
+ # Whether the Capability has been requested.
1992
+ attr_reader :requested
1993
+ # The status of the Capability.
1994
+ attr_reader :status
1995
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1996
+ attr_reader :status_details
1997
+
1998
+ def self.inner_class_types
1999
+ @inner_class_types = { status_details: StatusDetail }
2000
+ end
2001
+
2002
+ def self.field_remappings
2003
+ @field_remappings = {}
2004
+ end
2005
+ end
2006
+ # Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
2007
+ attr_reader :local
2008
+ # Enables this Account to receive OutboundPayments to linked bank accounts over wire.
2009
+ attr_reader :wire
2010
+
2011
+ def self.inner_class_types
2012
+ @inner_class_types = { local: Local, wire: Wire }
2013
+ end
2014
+
2015
+ def self.field_remappings
2016
+ @field_remappings = {}
2017
+ end
2018
+ end
2019
+
2020
+ class Cards < Stripe::StripeObject
2021
+ class StatusDetail < Stripe::StripeObject
2022
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2023
+ attr_reader :code
2024
+ # Machine-readable code explaining how to make the Capability active.
2025
+ attr_reader :resolution
2026
+
2027
+ def self.inner_class_types
2028
+ @inner_class_types = {}
2029
+ end
2030
+
2031
+ def self.field_remappings
2032
+ @field_remappings = {}
2033
+ end
2034
+ end
2035
+ # Whether the Capability has been requested.
2036
+ attr_reader :requested
2037
+ # The status of the Capability.
2038
+ attr_reader :status
2039
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2040
+ attr_reader :status_details
2041
+
2042
+ def self.inner_class_types
2043
+ @inner_class_types = { status_details: StatusDetail }
2044
+ end
2045
+
2046
+ def self.field_remappings
2047
+ @field_remappings = {}
2048
+ end
2049
+ end
2050
+
2051
+ class CryptoWallets < Stripe::StripeObject
2052
+ class StatusDetail < Stripe::StripeObject
2053
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2054
+ attr_reader :code
2055
+ # Machine-readable code explaining how to make the Capability active.
2056
+ attr_reader :resolution
2057
+
2058
+ def self.inner_class_types
2059
+ @inner_class_types = {}
2060
+ end
2061
+
2062
+ def self.field_remappings
2063
+ @field_remappings = {}
2064
+ end
2065
+ end
2066
+ # Whether the Capability has been requested.
2067
+ attr_reader :requested
2068
+ # The status of the Capability.
2069
+ attr_reader :status
2070
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2071
+ attr_reader :status_details
2072
+
2073
+ def self.inner_class_types
2074
+ @inner_class_types = { status_details: StatusDetail }
2075
+ end
2076
+
2077
+ def self.field_remappings
2078
+ @field_remappings = {}
2079
+ end
2080
+ end
2081
+
2082
+ class StripeBalance < Stripe::StripeObject
2083
+ class Payouts < Stripe::StripeObject
2084
+ class StatusDetail < Stripe::StripeObject
2085
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2086
+ attr_reader :code
2087
+ # Machine-readable code explaining how to make the Capability active.
2088
+ attr_reader :resolution
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
+ # Whether the Capability has been requested.
2099
+ attr_reader :requested
2100
+ # The status of the Capability.
2101
+ attr_reader :status
2102
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2103
+ attr_reader :status_details
2104
+
2105
+ def self.inner_class_types
2106
+ @inner_class_types = { status_details: StatusDetail }
2107
+ end
2108
+
2109
+ def self.field_remappings
2110
+ @field_remappings = {}
2111
+ end
2112
+ end
2113
+
2114
+ class StripeTransfers < Stripe::StripeObject
2115
+ class StatusDetail < Stripe::StripeObject
2116
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2117
+ attr_reader :code
2118
+ # Machine-readable code explaining how to make the Capability active.
2119
+ attr_reader :resolution
2120
+
2121
+ def self.inner_class_types
2122
+ @inner_class_types = {}
2123
+ end
2124
+
2125
+ def self.field_remappings
2126
+ @field_remappings = {}
2127
+ end
2128
+ end
2129
+ # Whether the Capability has been requested.
2130
+ attr_reader :requested
2131
+ # The status of the Capability.
2132
+ attr_reader :status
2133
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2134
+ attr_reader :status_details
2135
+
2136
+ def self.inner_class_types
2137
+ @inner_class_types = { status_details: StatusDetail }
2138
+ end
2139
+
2140
+ def self.field_remappings
2141
+ @field_remappings = {}
2142
+ end
2143
+ end
2144
+ # Allows the account to do payouts using their Stripe Balance (/v1/balance).
2145
+ attr_reader :payouts
2146
+ # Allows the account to receive /v1/transfers into their Stripe Balance (/v1/balance).
2147
+ attr_reader :stripe_transfers
2148
+
2149
+ def self.inner_class_types
2150
+ @inner_class_types = { payouts: Payouts, stripe_transfers: StripeTransfers }
2151
+ end
2152
+
2153
+ def self.field_remappings
2154
+ @field_remappings = {}
2155
+ end
2156
+ end
2157
+ # Capabilities that enable OutboundPayments to a bank account linked to this Account.
2158
+ attr_reader :bank_accounts
2159
+ # Capability that enable OutboundPayments to a debit card linked to this Account.
2160
+ attr_reader :cards
2161
+ # Capability that enable OutboundPayments to a crypto wallet linked to this Account.
2162
+ attr_reader :crypto_wallets
2163
+ # Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
2164
+ attr_reader :stripe_balance
2165
+
2166
+ def self.inner_class_types
2167
+ @inner_class_types = {
2168
+ bank_accounts: BankAccounts,
2169
+ cards: Cards,
2170
+ crypto_wallets: CryptoWallets,
2171
+ stripe_balance: StripeBalance,
2172
+ }
2173
+ end
2174
+
2175
+ def self.field_remappings
2176
+ @field_remappings = {}
2177
+ end
2178
+ end
2179
+
2180
+ class DefaultOutboundDestination < Stripe::StripeObject
2181
+ # The payout method ID of the default outbound destination.
2182
+ attr_reader :id
2183
+ # Closed Enum. The payout method type of the default outbound destination.
2184
+ attr_reader :type
2185
+
2186
+ def self.inner_class_types
2187
+ @inner_class_types = {}
2188
+ end
2189
+
2190
+ def self.field_remappings
2191
+ @field_remappings = {}
2192
+ end
2193
+ end
2194
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
2195
+ attr_reader :applied
2196
+ # Capabilities that have been requested on the Recipient Configuration.
2197
+ attr_reader :capabilities
2198
+ # 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.
2199
+ attr_reader :default_outbound_destination
2200
+
2201
+ def self.inner_class_types
2202
+ @inner_class_types = {
2203
+ capabilities: Capabilities,
2204
+ default_outbound_destination: DefaultOutboundDestination,
2205
+ }
2206
+ end
2207
+
2208
+ def self.field_remappings
2209
+ @field_remappings = {}
2210
+ end
2211
+ end
2212
+
2213
+ class Storer < Stripe::StripeObject
2214
+ class Capabilities < Stripe::StripeObject
2215
+ class FinancialAddresses < Stripe::StripeObject
2216
+ class BankAccounts < Stripe::StripeObject
2217
+ class StatusDetail < Stripe::StripeObject
2218
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2219
+ attr_reader :code
2220
+ # Machine-readable code explaining how to make the Capability active.
2221
+ attr_reader :resolution
2222
+
2223
+ def self.inner_class_types
2224
+ @inner_class_types = {}
2225
+ end
2226
+
2227
+ def self.field_remappings
2228
+ @field_remappings = {}
2229
+ end
2230
+ end
2231
+ # Whether the Capability has been requested.
2232
+ attr_reader :requested
2233
+ # The status of the Capability.
2234
+ attr_reader :status
2235
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2236
+ attr_reader :status_details
2237
+
2238
+ def self.inner_class_types
2239
+ @inner_class_types = { status_details: StatusDetail }
2240
+ end
2241
+
2242
+ def self.field_remappings
2243
+ @field_remappings = {}
2244
+ end
2245
+ end
2246
+ # Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount.
2247
+ attr_reader :bank_accounts
2248
+
2249
+ def self.inner_class_types
2250
+ @inner_class_types = { bank_accounts: BankAccounts }
2251
+ end
2252
+
2253
+ def self.field_remappings
2254
+ @field_remappings = {}
2255
+ end
2256
+ end
2257
+
2258
+ class HoldsCurrencies < Stripe::StripeObject
2259
+ class Gbp < Stripe::StripeObject
2260
+ class StatusDetail < Stripe::StripeObject
2261
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2262
+ attr_reader :code
2263
+ # Machine-readable code explaining how to make the Capability active.
2264
+ attr_reader :resolution
2265
+
2266
+ def self.inner_class_types
2267
+ @inner_class_types = {}
2268
+ end
2269
+
2270
+ def self.field_remappings
2271
+ @field_remappings = {}
2272
+ end
2273
+ end
2274
+ # Whether the Capability has been requested.
2275
+ attr_reader :requested
2276
+ # The status of the Capability.
2277
+ attr_reader :status
2278
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2279
+ attr_reader :status_details
2280
+
2281
+ def self.inner_class_types
2282
+ @inner_class_types = { status_details: StatusDetail }
2283
+ end
2284
+
2285
+ def self.field_remappings
2286
+ @field_remappings = {}
2287
+ end
2288
+ end
2289
+ # Can hold storage-type funds on Stripe in GBP.
2290
+ attr_reader :gbp
2291
+
2292
+ def self.inner_class_types
2293
+ @inner_class_types = { gbp: Gbp }
2294
+ end
2295
+
2296
+ def self.field_remappings
2297
+ @field_remappings = {}
2298
+ end
2299
+ end
2300
+
2301
+ class InboundTransfers < Stripe::StripeObject
2302
+ class BankAccounts < Stripe::StripeObject
2303
+ class StatusDetail < Stripe::StripeObject
2304
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2305
+ attr_reader :code
2306
+ # Machine-readable code explaining how to make the Capability active.
2307
+ attr_reader :resolution
2308
+
2309
+ def self.inner_class_types
2310
+ @inner_class_types = {}
2311
+ end
2312
+
2313
+ def self.field_remappings
2314
+ @field_remappings = {}
2315
+ end
2316
+ end
2317
+ # Whether the Capability has been requested.
2318
+ attr_reader :requested
2319
+ # The status of the Capability.
2320
+ attr_reader :status
2321
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2322
+ attr_reader :status_details
2323
+
2324
+ def self.inner_class_types
2325
+ @inner_class_types = { status_details: StatusDetail }
2326
+ end
2327
+
2328
+ def self.field_remappings
2329
+ @field_remappings = {}
2330
+ end
2331
+ end
2332
+ # Can pull funds from an external bank account, owned by yourself, to a FinancialAccount.
2333
+ attr_reader :bank_accounts
2334
+
2335
+ def self.inner_class_types
2336
+ @inner_class_types = { bank_accounts: BankAccounts }
2337
+ end
2338
+
2339
+ def self.field_remappings
2340
+ @field_remappings = {}
2341
+ end
2342
+ end
2343
+
2344
+ class OutboundPayments < Stripe::StripeObject
2345
+ class BankAccounts < Stripe::StripeObject
2346
+ class StatusDetail < Stripe::StripeObject
2347
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2348
+ attr_reader :code
2349
+ # Machine-readable code explaining how to make the Capability active.
2350
+ attr_reader :resolution
2351
+
2352
+ def self.inner_class_types
2353
+ @inner_class_types = {}
2354
+ end
2355
+
2356
+ def self.field_remappings
2357
+ @field_remappings = {}
2358
+ end
2359
+ end
2360
+ # Whether the Capability has been requested.
2361
+ attr_reader :requested
2362
+ # The status of the Capability.
2363
+ attr_reader :status
2364
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2365
+ attr_reader :status_details
2366
+
2367
+ def self.inner_class_types
2368
+ @inner_class_types = { status_details: StatusDetail }
2369
+ end
2370
+
2371
+ def self.field_remappings
2372
+ @field_remappings = {}
2373
+ end
2374
+ end
2375
+
2376
+ class Cards < Stripe::StripeObject
2377
+ class StatusDetail < Stripe::StripeObject
2378
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2379
+ attr_reader :code
2380
+ # Machine-readable code explaining how to make the Capability active.
2381
+ attr_reader :resolution
2382
+
2383
+ def self.inner_class_types
2384
+ @inner_class_types = {}
2385
+ end
2386
+
2387
+ def self.field_remappings
2388
+ @field_remappings = {}
2389
+ end
2390
+ end
2391
+ # Whether the Capability has been requested.
2392
+ attr_reader :requested
2393
+ # The status of the Capability.
2394
+ attr_reader :status
2395
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2396
+ attr_reader :status_details
2397
+
2398
+ def self.inner_class_types
2399
+ @inner_class_types = { status_details: StatusDetail }
2400
+ end
2401
+
2402
+ def self.field_remappings
2403
+ @field_remappings = {}
2404
+ end
2405
+ end
2406
+
2407
+ class FinancialAccounts < Stripe::StripeObject
2408
+ class StatusDetail < Stripe::StripeObject
2409
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2410
+ attr_reader :code
2411
+ # Machine-readable code explaining how to make the Capability active.
2412
+ attr_reader :resolution
2413
+
2414
+ def self.inner_class_types
2415
+ @inner_class_types = {}
2416
+ end
2417
+
2418
+ def self.field_remappings
2419
+ @field_remappings = {}
2420
+ end
2421
+ end
2422
+ # Whether the Capability has been requested.
2423
+ attr_reader :requested
2424
+ # The status of the Capability.
2425
+ attr_reader :status
2426
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2427
+ attr_reader :status_details
2428
+
2429
+ def self.inner_class_types
2430
+ @inner_class_types = { status_details: StatusDetail }
2431
+ end
2432
+
2433
+ def self.field_remappings
2434
+ @field_remappings = {}
2435
+ end
2436
+ end
2437
+ # Can send funds from a FinancialAccount to a bank account, owned by someone else.
2438
+ attr_reader :bank_accounts
2439
+ # Can send funds from a FinancialAccount to a debit card, owned by someone else.
2440
+ attr_reader :cards
2441
+ # Can send funds from a FinancialAccount to another FinancialAccount, owned by someone else.
2442
+ attr_reader :financial_accounts
2443
+
2444
+ def self.inner_class_types
2445
+ @inner_class_types = {
2446
+ bank_accounts: BankAccounts,
2447
+ cards: Cards,
2448
+ financial_accounts: FinancialAccounts,
2449
+ }
2450
+ end
2451
+
2452
+ def self.field_remappings
2453
+ @field_remappings = {}
2454
+ end
2455
+ end
2456
+
2457
+ class OutboundTransfers < Stripe::StripeObject
2458
+ class BankAccounts < Stripe::StripeObject
2459
+ class StatusDetail < Stripe::StripeObject
2460
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2461
+ attr_reader :code
2462
+ # Machine-readable code explaining how to make the Capability active.
2463
+ attr_reader :resolution
2464
+
2465
+ def self.inner_class_types
2466
+ @inner_class_types = {}
2467
+ end
2468
+
2469
+ def self.field_remappings
2470
+ @field_remappings = {}
2471
+ end
2472
+ end
2473
+ # Whether the Capability has been requested.
2474
+ attr_reader :requested
2475
+ # The status of the Capability.
2476
+ attr_reader :status
2477
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2478
+ attr_reader :status_details
2479
+
2480
+ def self.inner_class_types
2481
+ @inner_class_types = { status_details: StatusDetail }
2482
+ end
2483
+
2484
+ def self.field_remappings
2485
+ @field_remappings = {}
2486
+ end
2487
+ end
2488
+
2489
+ class FinancialAccounts < Stripe::StripeObject
2490
+ class StatusDetail < Stripe::StripeObject
2491
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2492
+ attr_reader :code
2493
+ # Machine-readable code explaining how to make the Capability active.
2494
+ attr_reader :resolution
2495
+
2496
+ def self.inner_class_types
2497
+ @inner_class_types = {}
2498
+ end
2499
+
2500
+ def self.field_remappings
2501
+ @field_remappings = {}
2502
+ end
2503
+ end
2504
+ # Whether the Capability has been requested.
2505
+ attr_reader :requested
2506
+ # The status of the Capability.
2507
+ attr_reader :status
2508
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2509
+ attr_reader :status_details
2510
+
2511
+ def self.inner_class_types
2512
+ @inner_class_types = { status_details: StatusDetail }
2513
+ end
2514
+
2515
+ def self.field_remappings
2516
+ @field_remappings = {}
2517
+ end
2518
+ end
2519
+ # Can send funds from a FinancialAccount, to a bank account, owned by yourself.
2520
+ attr_reader :bank_accounts
2521
+ # Can send funds from a FinancialAccount to another FinancialAccount, owned by yourself.
2522
+ attr_reader :financial_accounts
2523
+
2524
+ def self.inner_class_types
2525
+ @inner_class_types = {
2526
+ bank_accounts: BankAccounts,
2527
+ financial_accounts: FinancialAccounts,
2528
+ }
2529
+ end
2530
+
2531
+ def self.field_remappings
2532
+ @field_remappings = {}
2533
+ end
2534
+ end
2535
+ # Can provision a financial address to credit/debit a FinancialAccount.
2536
+ attr_reader :financial_addresses
2537
+ # Can hold storage-type funds on Stripe.
2538
+ attr_reader :holds_currencies
2539
+ # Can pull funds from an external source, owned by yourself, to a FinancialAccount.
2540
+ attr_reader :inbound_transfers
2541
+ # Can send funds from a FinancialAccount to a destination owned by someone else.
2542
+ attr_reader :outbound_payments
2543
+ # Can send funds from a FinancialAccount to a destination owned by yourself.
2544
+ attr_reader :outbound_transfers
2545
+
2546
+ def self.inner_class_types
2547
+ @inner_class_types = {
2548
+ financial_addresses: FinancialAddresses,
2549
+ holds_currencies: HoldsCurrencies,
2550
+ inbound_transfers: InboundTransfers,
2551
+ outbound_payments: OutboundPayments,
2552
+ outbound_transfers: OutboundTransfers,
2553
+ }
2554
+ end
2555
+
2556
+ def self.field_remappings
2557
+ @field_remappings = {}
2558
+ end
2559
+ end
2560
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
2561
+ attr_reader :applied
2562
+ # Capabilities that have been requested on the Storer Configuration.
2563
+ attr_reader :capabilities
2564
+
2565
+ def self.inner_class_types
2566
+ @inner_class_types = { capabilities: Capabilities }
2567
+ end
2568
+
2569
+ def self.field_remappings
2570
+ @field_remappings = {}
2571
+ end
2572
+ end
2573
+ # The Customer Configuration allows the Account to be used in inbound payment flows.
2574
+ attr_reader :customer
2575
+ # 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.
2576
+ attr_reader :merchant
2577
+ # The Recipient Configuration allows the Account to receive funds.
2578
+ attr_reader :recipient
2579
+ # The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
2580
+ attr_reader :storer
2581
+
2582
+ def self.inner_class_types
2583
+ @inner_class_types = {
2584
+ customer: Customer,
2585
+ merchant: Merchant,
2586
+ recipient: Recipient,
2587
+ storer: Storer,
2588
+ }
2589
+ end
2590
+
2591
+ def self.field_remappings
2592
+ @field_remappings = {}
2593
+ end
2594
+ end
2595
+
2596
+ class Defaults < Stripe::StripeObject
2597
+ class Profile < Stripe::StripeObject
2598
+ # The business's publicly-available website.
2599
+ attr_reader :business_url
2600
+ # The company’s legal name.
2601
+ attr_reader :doing_business_as
2602
+ # Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes.
2603
+ attr_reader :product_description
2604
+
2605
+ def self.inner_class_types
2606
+ @inner_class_types = {}
2607
+ end
2608
+
2609
+ def self.field_remappings
2610
+ @field_remappings = {}
2611
+ end
2612
+ end
2613
+
2614
+ class Responsibilities < Stripe::StripeObject
2615
+ # A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this Account.
2616
+ attr_reader :fees_collector
2617
+ # A value indicating who is responsible for losses when this Account can’t pay back negative balances from payments.
2618
+ attr_reader :losses_collector
2619
+
2620
+ def self.inner_class_types
2621
+ @inner_class_types = {}
2622
+ end
2623
+
2624
+ def self.field_remappings
2625
+ @field_remappings = {}
2626
+ end
2627
+ end
2628
+ # 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).
2629
+ attr_reader :currency
2630
+ # The Account's preferred locales (languages), ordered by preference.
2631
+ attr_reader :locales
2632
+ # Account profile information.
2633
+ attr_reader :profile
2634
+ # Default responsibilities held by either Stripe or the platform.
2635
+ attr_reader :responsibilities
2636
+
2637
+ def self.inner_class_types
2638
+ @inner_class_types = { profile: Profile, responsibilities: Responsibilities }
2639
+ end
2640
+
2641
+ def self.field_remappings
2642
+ @field_remappings = {}
2643
+ end
2644
+ end
2645
+
2646
+ class Identity < Stripe::StripeObject
2647
+ class Attestations < Stripe::StripeObject
2648
+ class DirectorshipDeclaration < Stripe::StripeObject
2649
+ # 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.
2650
+ attr_reader :date
2651
+ # The IP address from which the director attestation was made.
2652
+ attr_reader :ip
2653
+ # The user agent of the browser from which the director attestation was made.
2654
+ attr_reader :user_agent
2655
+
2656
+ def self.inner_class_types
2657
+ @inner_class_types = {}
2658
+ end
2659
+
2660
+ def self.field_remappings
2661
+ @field_remappings = {}
2662
+ end
2663
+ end
2664
+
2665
+ class OwnershipDeclaration < Stripe::StripeObject
2666
+ # 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.
2667
+ attr_reader :date
2668
+ # The IP address from which the beneficial owner attestation was made.
2669
+ attr_reader :ip
2670
+ # The user agent of the browser from which the beneficial owner attestation was made.
2671
+ attr_reader :user_agent
2672
+
2673
+ def self.inner_class_types
2674
+ @inner_class_types = {}
2675
+ end
2676
+
2677
+ def self.field_remappings
2678
+ @field_remappings = {}
2679
+ end
2680
+ end
2681
+
2682
+ class PersonsProvided < Stripe::StripeObject
2683
+ # 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).
2684
+ attr_reader :directors
2685
+ # 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).
2686
+ attr_reader :executives
2687
+ # 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).
2688
+ attr_reader :owners
2689
+ # Reason for why the company is exempt from providing ownership information.
2690
+ attr_reader :ownership_exemption_reason
2691
+
2692
+ def self.inner_class_types
2693
+ @inner_class_types = {}
2694
+ end
2695
+
2696
+ def self.field_remappings
2697
+ @field_remappings = {}
2698
+ end
2699
+ end
2700
+
2701
+ class TermsOfService < Stripe::StripeObject
2702
+ class Account < Stripe::StripeObject
2703
+ # 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.
2704
+ attr_reader :date
2705
+ # The IP address from which the Account's representative accepted the terms of service.
2706
+ attr_reader :ip
2707
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
2708
+ attr_reader :user_agent
2709
+
2710
+ def self.inner_class_types
2711
+ @inner_class_types = {}
2712
+ end
2713
+
2714
+ def self.field_remappings
2715
+ @field_remappings = {}
2716
+ end
2717
+ end
2718
+
2719
+ class Storer < Stripe::StripeObject
2720
+ # 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.
2721
+ attr_reader :date
2722
+ # The IP address from which the Account's representative accepted the terms of service.
2723
+ attr_reader :ip
2724
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
2725
+ attr_reader :user_agent
2726
+
2727
+ def self.inner_class_types
2728
+ @inner_class_types = {}
2729
+ end
2730
+
2731
+ def self.field_remappings
2732
+ @field_remappings = {}
2733
+ end
2734
+ end
2735
+ # Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
2736
+ attr_reader :account
2737
+ # Details on the Account's acceptance of Treasury-specific terms of service.
2738
+ attr_reader :storer
2739
+
2740
+ def self.inner_class_types
2741
+ @inner_class_types = { account: Account, storer: Storer }
2742
+ end
2743
+
2744
+ def self.field_remappings
2745
+ @field_remappings = {}
2746
+ end
2747
+ end
2748
+ # This hash is used to attest that the directors information provided to Stripe is both current and correct.
2749
+ attr_reader :directorship_declaration
2750
+ # This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
2751
+ attr_reader :ownership_declaration
2752
+ # Attestation that all Persons with a specific Relationship value have been provided.
2753
+ attr_reader :persons_provided
2754
+ # Attestations of accepted terms of service agreements.
2755
+ attr_reader :terms_of_service
2756
+
2757
+ def self.inner_class_types
2758
+ @inner_class_types = {
2759
+ directorship_declaration: DirectorshipDeclaration,
2760
+ ownership_declaration: OwnershipDeclaration,
2761
+ persons_provided: PersonsProvided,
2762
+ terms_of_service: TermsOfService,
2763
+ }
2764
+ end
2765
+
2766
+ def self.field_remappings
2767
+ @field_remappings = {}
2768
+ end
2769
+ end
2770
+
2771
+ class BusinessDetails < Stripe::StripeObject
2772
+ class Address < Stripe::StripeObject
2773
+ # City, district, suburb, town, or village.
2774
+ attr_reader :city
2775
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2776
+ attr_reader :country
2777
+ # Address line 1 (e.g., street, PO Box, or company name).
2778
+ attr_reader :line1
2779
+ # Address line 2 (e.g., apartment, suite, unit, or building).
2780
+ attr_reader :line2
2781
+ # ZIP or postal code.
2782
+ attr_reader :postal_code
2783
+ # State, county, province, or region.
2784
+ attr_reader :state
2785
+ # Town or cho-me.
2786
+ attr_reader :town
2787
+
2788
+ def self.inner_class_types
2789
+ @inner_class_types = {}
2790
+ end
2791
+
2792
+ def self.field_remappings
2793
+ @field_remappings = {}
2794
+ end
2795
+ end
2796
+
2797
+ class AnnualRevenue < Stripe::StripeObject
2798
+ # A non-negative integer representing the amount in the smallest currency unit.
2799
+ attr_reader :amount
2800
+ # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
2801
+ attr_reader :fiscal_year_end
2802
+
2803
+ def self.inner_class_types
2804
+ @inner_class_types = {}
2805
+ end
2806
+
2807
+ def self.field_remappings
2808
+ @field_remappings = {}
2809
+ end
2810
+ end
2811
+
2812
+ class Documents < Stripe::StripeObject
2813
+ class BankAccountOwnershipVerification < Stripe::StripeObject
2814
+ # 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`.
2815
+ attr_reader :files
2816
+ # The format of the document. Currently supports `files` only.
2817
+ attr_reader :type
2818
+
2819
+ def self.inner_class_types
2820
+ @inner_class_types = {}
2821
+ end
2822
+
2823
+ def self.field_remappings
2824
+ @field_remappings = {}
2825
+ end
2826
+ end
2827
+
2828
+ class CompanyLicense < Stripe::StripeObject
2829
+ # 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`.
2830
+ attr_reader :files
2831
+ # The format of the document. Currently supports `files` only.
2832
+ attr_reader :type
2833
+
2834
+ def self.inner_class_types
2835
+ @inner_class_types = {}
2836
+ end
2837
+
2838
+ def self.field_remappings
2839
+ @field_remappings = {}
2840
+ end
2841
+ end
2842
+
2843
+ class CompanyMemorandumOfAssociation < Stripe::StripeObject
2844
+ # 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`.
2845
+ attr_reader :files
2846
+ # The format of the document. Currently supports `files` only.
2847
+ attr_reader :type
2848
+
2849
+ def self.inner_class_types
2850
+ @inner_class_types = {}
2851
+ end
2852
+
2853
+ def self.field_remappings
2854
+ @field_remappings = {}
2855
+ end
2856
+ end
2857
+
2858
+ class CompanyMinisterialDecree < Stripe::StripeObject
2859
+ # 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`.
2860
+ attr_reader :files
2861
+ # The format of the document. Currently supports `files` only.
2862
+ attr_reader :type
2863
+
2864
+ def self.inner_class_types
2865
+ @inner_class_types = {}
2866
+ end
2867
+
2868
+ def self.field_remappings
2869
+ @field_remappings = {}
2870
+ end
2871
+ end
2872
+
2873
+ class CompanyRegistrationVerification < Stripe::StripeObject
2874
+ # 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`.
2875
+ attr_reader :files
2876
+ # The format of the document. Currently supports `files` only.
2877
+ attr_reader :type
2878
+
2879
+ def self.inner_class_types
2880
+ @inner_class_types = {}
2881
+ end
2882
+
2883
+ def self.field_remappings
2884
+ @field_remappings = {}
2885
+ end
2886
+ end
2887
+
2888
+ class CompanyTaxIdVerification < Stripe::StripeObject
2889
+ # 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`.
2890
+ attr_reader :files
2891
+ # The format of the document. Currently supports `files` only.
2892
+ attr_reader :type
2893
+
2894
+ def self.inner_class_types
2895
+ @inner_class_types = {}
2896
+ end
2897
+
2898
+ def self.field_remappings
2899
+ @field_remappings = {}
2900
+ end
2901
+ end
2902
+
2903
+ class PrimaryVerification < Stripe::StripeObject
2904
+ class FrontBack < Stripe::StripeObject
2905
+ # 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.
2906
+ attr_reader :back
2907
+ # 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.
2908
+ attr_reader :front
2909
+
2910
+ def self.inner_class_types
2911
+ @inner_class_types = {}
2912
+ end
2913
+
2914
+ def self.field_remappings
2915
+ @field_remappings = {}
2916
+ end
2917
+ end
2918
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
2919
+ attr_reader :front_back
2920
+ # The format of the verification document. Currently supports `front_back` only.
2921
+ attr_reader :type
2922
+
2923
+ def self.inner_class_types
2924
+ @inner_class_types = { front_back: FrontBack }
2925
+ end
2926
+
2927
+ def self.field_remappings
2928
+ @field_remappings = {}
2929
+ end
2930
+ end
2931
+
2932
+ class ProofOfAddress < Stripe::StripeObject
2933
+ # 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`.
2934
+ attr_reader :files
2935
+ # The format of the document. Currently supports `files` only.
2936
+ attr_reader :type
2937
+
2938
+ def self.inner_class_types
2939
+ @inner_class_types = {}
2940
+ end
2941
+
2942
+ def self.field_remappings
2943
+ @field_remappings = {}
2944
+ end
2945
+ end
2946
+
2947
+ class ProofOfRegistration < Stripe::StripeObject
2948
+ # 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`.
2949
+ attr_reader :files
2950
+ # The format of the document. Currently supports `files` only.
2951
+ attr_reader :type
2952
+
2953
+ def self.inner_class_types
2954
+ @inner_class_types = {}
2955
+ end
2956
+
2957
+ def self.field_remappings
2958
+ @field_remappings = {}
2959
+ end
2960
+ end
2961
+
2962
+ class ProofOfUltimateBeneficialOwnership < Stripe::StripeObject
2963
+ # 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`.
2964
+ attr_reader :files
2965
+ # The format of the document. Currently supports `files` only.
2966
+ attr_reader :type
2967
+
2968
+ def self.inner_class_types
2969
+ @inner_class_types = {}
2970
+ end
2971
+
2972
+ def self.field_remappings
2973
+ @field_remappings = {}
2974
+ end
2975
+ end
2976
+ # 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.
2977
+ attr_reader :bank_account_ownership_verification
2978
+ # One or more documents that demonstrate proof of a company’s license to operate.
2979
+ attr_reader :company_license
2980
+ # One or more documents showing the company’s Memorandum of Association.
2981
+ attr_reader :company_memorandum_of_association
2982
+ # Certain countries only: One or more documents showing the ministerial decree legalizing the company’s establishment.
2983
+ attr_reader :company_ministerial_decree
2984
+ # One or more documents that demonstrate proof of a company’s registration with the appropriate local authorities.
2985
+ attr_reader :company_registration_verification
2986
+ # One or more documents that demonstrate proof of a company’s tax ID.
2987
+ attr_reader :company_tax_id_verification
2988
+ # A document verifying the business.
2989
+ attr_reader :primary_verification
2990
+ # One or more documents that demonstrate proof of address.
2991
+ attr_reader :proof_of_address
2992
+ # One or more documents showing the company’s proof of registration with the national business registry.
2993
+ attr_reader :proof_of_registration
2994
+ # One or more documents that demonstrate proof of ultimate beneficial ownership.
2995
+ attr_reader :proof_of_ultimate_beneficial_ownership
2996
+
2997
+ def self.inner_class_types
2998
+ @inner_class_types = {
2999
+ bank_account_ownership_verification: BankAccountOwnershipVerification,
3000
+ company_license: CompanyLicense,
3001
+ company_memorandum_of_association: CompanyMemorandumOfAssociation,
3002
+ company_ministerial_decree: CompanyMinisterialDecree,
3003
+ company_registration_verification: CompanyRegistrationVerification,
3004
+ company_tax_id_verification: CompanyTaxIdVerification,
3005
+ primary_verification: PrimaryVerification,
3006
+ proof_of_address: ProofOfAddress,
3007
+ proof_of_registration: ProofOfRegistration,
3008
+ proof_of_ultimate_beneficial_ownership: ProofOfUltimateBeneficialOwnership,
3009
+ }
3010
+ end
3011
+
3012
+ def self.field_remappings
3013
+ @field_remappings = {}
3014
+ end
3015
+ end
3016
+
3017
+ class IdNumber < Stripe::StripeObject
3018
+ # The registrar of the ID number (Only valid for DE ID number types).
3019
+ attr_reader :registrar
3020
+ # Open Enum. The ID number type of a business entity.
3021
+ attr_reader :type
3022
+
3023
+ def self.inner_class_types
3024
+ @inner_class_types = {}
3025
+ end
3026
+
3027
+ def self.field_remappings
3028
+ @field_remappings = {}
3029
+ end
3030
+ end
3031
+
3032
+ class MonthlyEstimatedRevenue < Stripe::StripeObject
3033
+ # A non-negative integer representing the amount in the smallest currency unit.
3034
+ attr_reader :amount
3035
+
3036
+ def self.inner_class_types
3037
+ @inner_class_types = {}
3038
+ end
3039
+
3040
+ def self.field_remappings
3041
+ @field_remappings = {}
3042
+ end
3043
+ end
3044
+
3045
+ class ScriptAddresses < Stripe::StripeObject
3046
+ class Kana < Stripe::StripeObject
3047
+ # City, district, suburb, town, or village.
3048
+ attr_reader :city
3049
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3050
+ attr_reader :country
3051
+ # Address line 1 (e.g., street, PO Box, or company name).
3052
+ attr_reader :line1
3053
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3054
+ attr_reader :line2
3055
+ # ZIP or postal code.
3056
+ attr_reader :postal_code
3057
+ # State, county, province, or region.
3058
+ attr_reader :state
3059
+ # Town or cho-me.
3060
+ attr_reader :town
3061
+
3062
+ def self.inner_class_types
3063
+ @inner_class_types = {}
3064
+ end
3065
+
3066
+ def self.field_remappings
3067
+ @field_remappings = {}
3068
+ end
3069
+ end
3070
+
3071
+ class Kanji < Stripe::StripeObject
3072
+ # City, district, suburb, town, or village.
3073
+ attr_reader :city
3074
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3075
+ attr_reader :country
3076
+ # Address line 1 (e.g., street, PO Box, or company name).
3077
+ attr_reader :line1
3078
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3079
+ attr_reader :line2
3080
+ # ZIP or postal code.
3081
+ attr_reader :postal_code
3082
+ # State, county, province, or region.
3083
+ attr_reader :state
3084
+ # Town or cho-me.
3085
+ attr_reader :town
3086
+
3087
+ def self.inner_class_types
3088
+ @inner_class_types = {}
3089
+ end
3090
+
3091
+ def self.field_remappings
3092
+ @field_remappings = {}
3093
+ end
3094
+ end
3095
+ # Kana Address.
3096
+ attr_reader :kana
3097
+ # Kanji Address.
3098
+ attr_reader :kanji
3099
+
3100
+ def self.inner_class_types
3101
+ @inner_class_types = { kana: Kana, kanji: Kanji }
3102
+ end
3103
+
3104
+ def self.field_remappings
3105
+ @field_remappings = {}
3106
+ end
3107
+ end
3108
+
3109
+ class ScriptNames < Stripe::StripeObject
3110
+ class Kana < Stripe::StripeObject
3111
+ # Registered name of the business.
3112
+ attr_reader :registered_name
3113
+
3114
+ def self.inner_class_types
3115
+ @inner_class_types = {}
3116
+ end
3117
+
3118
+ def self.field_remappings
3119
+ @field_remappings = {}
3120
+ end
3121
+ end
3122
+
3123
+ class Kanji < Stripe::StripeObject
3124
+ # Registered name of the business.
3125
+ attr_reader :registered_name
3126
+
3127
+ def self.inner_class_types
3128
+ @inner_class_types = {}
3129
+ end
3130
+
3131
+ def self.field_remappings
3132
+ @field_remappings = {}
3133
+ end
3134
+ end
3135
+ # Kana name.
3136
+ attr_reader :kana
3137
+ # Kanji name.
3138
+ attr_reader :kanji
3139
+
3140
+ def self.inner_class_types
3141
+ @inner_class_types = { kana: Kana, kanji: Kanji }
3142
+ end
3143
+
3144
+ def self.field_remappings
3145
+ @field_remappings = {}
3146
+ end
3147
+ end
3148
+ # The company’s primary address.
3149
+ attr_reader :address
3150
+ # The business gross annual revenue for its preceding fiscal year.
3151
+ attr_reader :annual_revenue
3152
+ # Documents that may be submitted to satisfy various informational requests.
3153
+ attr_reader :documents
3154
+ # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
3155
+ attr_reader :estimated_worker_count
3156
+ # The provided ID numbers of a business entity.
3157
+ attr_reader :id_numbers
3158
+ # An estimate of the monthly revenue of the business.
3159
+ attr_reader :monthly_estimated_revenue
3160
+ # The company’s phone number (used for verification).
3161
+ attr_reader :phone
3162
+ # The business legal name.
3163
+ attr_reader :registered_name
3164
+ # The business registration address of the business entity in non latin script.
3165
+ attr_reader :script_addresses
3166
+ # The business legal name in non latin script.
3167
+ attr_reader :script_names
3168
+ # The category identifying the legal structure of the business.
3169
+ attr_reader :structure
3170
+
3171
+ def self.inner_class_types
3172
+ @inner_class_types = {
3173
+ address: Address,
3174
+ annual_revenue: AnnualRevenue,
3175
+ documents: Documents,
3176
+ id_numbers: IdNumber,
3177
+ monthly_estimated_revenue: MonthlyEstimatedRevenue,
3178
+ script_addresses: ScriptAddresses,
3179
+ script_names: ScriptNames,
3180
+ }
3181
+ end
3182
+
3183
+ def self.field_remappings
3184
+ @field_remappings = {}
3185
+ end
3186
+ end
3187
+
3188
+ class Individual < Stripe::StripeObject
3189
+ class AdditionalAddress < Stripe::StripeObject
3190
+ # City, district, suburb, town, or village.
3191
+ attr_reader :city
3192
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3193
+ attr_reader :country
3194
+ # Address line 1 (e.g., street, PO Box, or company name).
3195
+ attr_reader :line1
3196
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3197
+ attr_reader :line2
3198
+ # ZIP or postal code.
3199
+ attr_reader :postal_code
3200
+ # Purpose of additional address.
3201
+ attr_reader :purpose
3202
+ # State, county, province, or region.
3203
+ attr_reader :state
3204
+ # Town or cho-me.
3205
+ attr_reader :town
3206
+
3207
+ def self.inner_class_types
3208
+ @inner_class_types = {}
3209
+ end
3210
+
3211
+ def self.field_remappings
3212
+ @field_remappings = {}
3213
+ end
3214
+ end
3215
+
3216
+ class AdditionalName < Stripe::StripeObject
3217
+ # The individual's full name.
3218
+ attr_reader :full_name
3219
+ # The individual's first or given name.
3220
+ attr_reader :given_name
3221
+ # The purpose or type of the additional name.
3222
+ attr_reader :purpose
3223
+ # The individual's last or family name.
3224
+ attr_reader :surname
3225
+
3226
+ def self.inner_class_types
3227
+ @inner_class_types = {}
3228
+ end
3229
+
3230
+ def self.field_remappings
3231
+ @field_remappings = {}
3232
+ end
3233
+ end
3234
+
3235
+ class AdditionalTermsOfService < Stripe::StripeObject
3236
+ class Account < Stripe::StripeObject
3237
+ # 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.
3238
+ attr_reader :date
3239
+ # The IP address from which the Account's representative accepted the terms of service.
3240
+ attr_reader :ip
3241
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3242
+ attr_reader :user_agent
3243
+
3244
+ def self.inner_class_types
3245
+ @inner_class_types = {}
3246
+ end
3247
+
3248
+ def self.field_remappings
3249
+ @field_remappings = {}
3250
+ end
3251
+ end
3252
+ # Stripe terms of service agreement.
3253
+ attr_reader :account
3254
+
3255
+ def self.inner_class_types
3256
+ @inner_class_types = { account: Account }
3257
+ end
3258
+
3259
+ def self.field_remappings
3260
+ @field_remappings = {}
3261
+ end
3262
+ end
3263
+
3264
+ class Address < Stripe::StripeObject
3265
+ # City, district, suburb, town, or village.
3266
+ attr_reader :city
3267
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3268
+ attr_reader :country
3269
+ # Address line 1 (e.g., street, PO Box, or company name).
3270
+ attr_reader :line1
3271
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3272
+ attr_reader :line2
3273
+ # ZIP or postal code.
3274
+ attr_reader :postal_code
3275
+ # State, county, province, or region.
3276
+ attr_reader :state
3277
+ # Town or cho-me.
3278
+ attr_reader :town
3279
+
3280
+ def self.inner_class_types
3281
+ @inner_class_types = {}
3282
+ end
3283
+
3284
+ def self.field_remappings
3285
+ @field_remappings = {}
3286
+ end
3287
+ end
3288
+
3289
+ class DateOfBirth < Stripe::StripeObject
3290
+ # The day of birth, between 1 and 31.
3291
+ attr_reader :day
3292
+ # The month of birth, between 1 and 12.
3293
+ attr_reader :month
3294
+ # The four-digit year of birth.
3295
+ attr_reader :year
3296
+
3297
+ def self.inner_class_types
3298
+ @inner_class_types = {}
3299
+ end
3300
+
3301
+ def self.field_remappings
3302
+ @field_remappings = {}
3303
+ end
3304
+ end
3305
+
3306
+ class Documents < Stripe::StripeObject
3307
+ class CompanyAuthorization < Stripe::StripeObject
3308
+ # 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`.
3309
+ attr_reader :files
3310
+ # The format of the document. Currently supports `files` only.
3311
+ attr_reader :type
3312
+
3313
+ def self.inner_class_types
3314
+ @inner_class_types = {}
3315
+ end
3316
+
3317
+ def self.field_remappings
3318
+ @field_remappings = {}
3319
+ end
3320
+ end
3321
+
3322
+ class Passport < Stripe::StripeObject
3323
+ # 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`.
3324
+ attr_reader :files
3325
+ # The format of the document. Currently supports `files` only.
3326
+ attr_reader :type
3327
+
3328
+ def self.inner_class_types
3329
+ @inner_class_types = {}
3330
+ end
3331
+
3332
+ def self.field_remappings
3333
+ @field_remappings = {}
3334
+ end
3335
+ end
3336
+
3337
+ class PrimaryVerification < Stripe::StripeObject
3338
+ class FrontBack < Stripe::StripeObject
3339
+ # 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.
3340
+ attr_reader :back
3341
+ # 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.
3342
+ attr_reader :front
3343
+
3344
+ def self.inner_class_types
3345
+ @inner_class_types = {}
3346
+ end
3347
+
3348
+ def self.field_remappings
3349
+ @field_remappings = {}
3350
+ end
3351
+ end
3352
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
3353
+ attr_reader :front_back
3354
+ # The format of the verification document. Currently supports `front_back` only.
3355
+ attr_reader :type
3356
+
3357
+ def self.inner_class_types
3358
+ @inner_class_types = { front_back: FrontBack }
3359
+ end
3360
+
3361
+ def self.field_remappings
3362
+ @field_remappings = {}
3363
+ end
3364
+ end
3365
+
3366
+ class SecondaryVerification < Stripe::StripeObject
3367
+ class FrontBack < Stripe::StripeObject
3368
+ # 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.
3369
+ attr_reader :back
3370
+ # 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.
3371
+ attr_reader :front
3372
+
3373
+ def self.inner_class_types
3374
+ @inner_class_types = {}
3375
+ end
3376
+
3377
+ def self.field_remappings
3378
+ @field_remappings = {}
3379
+ end
3380
+ end
3381
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
3382
+ attr_reader :front_back
3383
+ # The format of the verification document. Currently supports `front_back` only.
3384
+ attr_reader :type
3385
+
3386
+ def self.inner_class_types
3387
+ @inner_class_types = { front_back: FrontBack }
3388
+ end
3389
+
3390
+ def self.field_remappings
3391
+ @field_remappings = {}
3392
+ end
3393
+ end
3394
+
3395
+ class Visa < Stripe::StripeObject
3396
+ # 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`.
3397
+ attr_reader :files
3398
+ # The format of the document. Currently supports `files` only.
3399
+ attr_reader :type
3400
+
3401
+ def self.inner_class_types
3402
+ @inner_class_types = {}
3403
+ end
3404
+
3405
+ def self.field_remappings
3406
+ @field_remappings = {}
3407
+ end
3408
+ end
3409
+ # One or more documents that demonstrate proof that this person is authorized to represent the company.
3410
+ attr_reader :company_authorization
3411
+ # One or more documents showing the person’s passport page with photo and personal data.
3412
+ attr_reader :passport
3413
+ # An identifying document showing the person's name, either a passport or local ID card.
3414
+ attr_reader :primary_verification
3415
+ # A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
3416
+ attr_reader :secondary_verification
3417
+ # One or more documents showing the person’s visa required for living in the country where they are residing.
3418
+ attr_reader :visa
3419
+
3420
+ def self.inner_class_types
3421
+ @inner_class_types = {
3422
+ company_authorization: CompanyAuthorization,
3423
+ passport: Passport,
3424
+ primary_verification: PrimaryVerification,
3425
+ secondary_verification: SecondaryVerification,
3426
+ visa: Visa,
3427
+ }
3428
+ end
3429
+
3430
+ def self.field_remappings
3431
+ @field_remappings = {}
3432
+ end
3433
+ end
3434
+
3435
+ class IdNumber < Stripe::StripeObject
3436
+ # The ID number type of an individual.
3437
+ attr_reader :type
3438
+
3439
+ def self.inner_class_types
3440
+ @inner_class_types = {}
3441
+ end
3442
+
3443
+ def self.field_remappings
3444
+ @field_remappings = {}
3445
+ end
3446
+ end
3447
+
3448
+ class Relationship < Stripe::StripeObject
3449
+ # Whether the individual is an authorizer of the Account’s legal entity.
3450
+ attr_reader :authorizer
3451
+ # 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.
3452
+ attr_reader :director
3453
+ # Whether the individual has significant responsibility to control, manage, or direct the organization.
3454
+ attr_reader :executive
3455
+ # Whether the individual is the legal guardian of the Account’s representative.
3456
+ attr_reader :legal_guardian
3457
+ # Whether the individual is an owner of the Account’s legal entity.
3458
+ attr_reader :owner
3459
+ # The percent owned by the individual of the Account’s legal entity.
3460
+ attr_reader :percent_ownership
3461
+ # 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.
3462
+ attr_reader :representative
3463
+ # The individual's title (e.g., CEO, Support Engineer).
3464
+ attr_reader :title
3465
+
3466
+ def self.inner_class_types
3467
+ @inner_class_types = {}
3468
+ end
3469
+
3470
+ def self.field_remappings
3471
+ @field_remappings = {}
3472
+ end
3473
+ end
3474
+
3475
+ class ScriptAddresses < Stripe::StripeObject
3476
+ class Kana < Stripe::StripeObject
3477
+ # City, district, suburb, town, or village.
3478
+ attr_reader :city
3479
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3480
+ attr_reader :country
3481
+ # Address line 1 (e.g., street, PO Box, or company name).
3482
+ attr_reader :line1
3483
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3484
+ attr_reader :line2
3485
+ # ZIP or postal code.
3486
+ attr_reader :postal_code
3487
+ # State, county, province, or region.
3488
+ attr_reader :state
3489
+ # Town or cho-me.
3490
+ attr_reader :town
3491
+
3492
+ def self.inner_class_types
3493
+ @inner_class_types = {}
3494
+ end
3495
+
3496
+ def self.field_remappings
3497
+ @field_remappings = {}
3498
+ end
3499
+ end
3500
+
3501
+ class Kanji < Stripe::StripeObject
3502
+ # City, district, suburb, town, or village.
3503
+ attr_reader :city
3504
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3505
+ attr_reader :country
3506
+ # Address line 1 (e.g., street, PO Box, or company name).
3507
+ attr_reader :line1
3508
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3509
+ attr_reader :line2
3510
+ # ZIP or postal code.
3511
+ attr_reader :postal_code
3512
+ # State, county, province, or region.
3513
+ attr_reader :state
3514
+ # Town or cho-me.
3515
+ attr_reader :town
3516
+
3517
+ def self.inner_class_types
3518
+ @inner_class_types = {}
3519
+ end
3520
+
3521
+ def self.field_remappings
3522
+ @field_remappings = {}
3523
+ end
3524
+ end
3525
+ # Kana Address.
3526
+ attr_reader :kana
3527
+ # Kanji Address.
3528
+ attr_reader :kanji
3529
+
3530
+ def self.inner_class_types
3531
+ @inner_class_types = { kana: Kana, kanji: Kanji }
3532
+ end
3533
+
3534
+ def self.field_remappings
3535
+ @field_remappings = {}
3536
+ end
3537
+ end
3538
+
3539
+ class ScriptNames < Stripe::StripeObject
3540
+ class Kana < Stripe::StripeObject
3541
+ # The person's first or given name.
3542
+ attr_reader :given_name
3543
+ # The person's last or family name.
3544
+ attr_reader :surname
3545
+
3546
+ def self.inner_class_types
3547
+ @inner_class_types = {}
3548
+ end
3549
+
3550
+ def self.field_remappings
3551
+ @field_remappings = {}
3552
+ end
3553
+ end
3554
+
3555
+ class Kanji < Stripe::StripeObject
3556
+ # The person's first or given name.
3557
+ attr_reader :given_name
3558
+ # The person's last or family name.
3559
+ attr_reader :surname
3560
+
3561
+ def self.inner_class_types
3562
+ @inner_class_types = {}
3563
+ end
3564
+
3565
+ def self.field_remappings
3566
+ @field_remappings = {}
3567
+ end
3568
+ end
3569
+ # Persons name in kana script.
3570
+ attr_reader :kana
3571
+ # Persons name in kanji script.
3572
+ attr_reader :kanji
3573
+
3574
+ def self.inner_class_types
3575
+ @inner_class_types = { kana: Kana, kanji: Kanji }
3576
+ end
3577
+
3578
+ def self.field_remappings
3579
+ @field_remappings = {}
3580
+ end
3581
+ end
3582
+ # The account ID which the individual belongs to.
3583
+ attr_reader :account
3584
+ # Additional addresses associated with the individual.
3585
+ attr_reader :additional_addresses
3586
+ # Additional names (e.g. aliases) associated with the individual.
3587
+ attr_reader :additional_names
3588
+ # Terms of service acceptances.
3589
+ attr_reader :additional_terms_of_service
3590
+ # The individual's residential address.
3591
+ attr_reader :address
3592
+ # 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.
3593
+ attr_reader :created
3594
+ # The individual's date of birth.
3595
+ attr_reader :date_of_birth
3596
+ # Documents that may be submitted to satisfy various informational requests.
3597
+ attr_reader :documents
3598
+ # The individual's email address.
3599
+ attr_reader :email
3600
+ # The individual's first name.
3601
+ attr_reader :given_name
3602
+ # Unique identifier for the object.
3603
+ attr_reader :id
3604
+ # The identification numbers (e.g., SSN) associated with the individual.
3605
+ attr_reader :id_numbers
3606
+ # The individual's gender (International regulations require either "male” or "female").
3607
+ attr_reader :legal_gender
3608
+ # 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.
3609
+ attr_reader :metadata
3610
+ # 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)).
3611
+ attr_reader :nationalities
3612
+ # String representing the object's type. Objects of the same type share the same value.
3613
+ attr_reader :object
3614
+ # The individual's phone number.
3615
+ attr_reader :phone
3616
+ # 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.
3617
+ attr_reader :political_exposure
3618
+ # The relationship that this individual has with the Account's identity.
3619
+ attr_reader :relationship
3620
+ # The script addresses (e.g., non-Latin characters) associated with the individual.
3621
+ attr_reader :script_addresses
3622
+ # The script names (e.g. non-Latin characters) associated with the individual.
3623
+ attr_reader :script_names
3624
+ # The individual's last name.
3625
+ attr_reader :surname
3626
+ # Time at which the object was last updated.
3627
+ attr_reader :updated
3628
+
3629
+ def self.inner_class_types
3630
+ @inner_class_types = {
3631
+ additional_addresses: AdditionalAddress,
3632
+ additional_names: AdditionalName,
3633
+ additional_terms_of_service: AdditionalTermsOfService,
3634
+ address: Address,
3635
+ date_of_birth: DateOfBirth,
3636
+ documents: Documents,
3637
+ id_numbers: IdNumber,
3638
+ relationship: Relationship,
3639
+ script_addresses: ScriptAddresses,
3640
+ script_names: ScriptNames,
3641
+ }
3642
+ end
3643
+
3644
+ def self.field_remappings
3645
+ @field_remappings = {}
3646
+ end
3647
+ end
3648
+ # Attestations from the identity's key people, e.g. owners, executives, directors.
3649
+ attr_reader :attestations
3650
+ # Information about the company or business.
3651
+ attr_reader :business_details
3652
+ # 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.
3653
+ attr_reader :country
3654
+ # The entity type.
3655
+ attr_reader :entity_type
3656
+ # Information about the individual represented by the Account. This property is `null` unless `entity_type` is set to `individual`.
3657
+ attr_reader :individual
3658
+
3659
+ def self.inner_class_types
3660
+ @inner_class_types = {
3661
+ attestations: Attestations,
3662
+ business_details: BusinessDetails,
3663
+ individual: Individual,
3664
+ }
3665
+ end
3666
+
3667
+ def self.field_remappings
3668
+ @field_remappings = {}
3669
+ end
3670
+ end
3671
+
3672
+ class Requirements < Stripe::StripeObject
3673
+ class Entry < Stripe::StripeObject
3674
+ class Error < Stripe::StripeObject
3675
+ # Machine-readable code describing the error.
3676
+ attr_reader :code
3677
+ # Human-readable description of the error.
3678
+ attr_reader :description
3679
+
3680
+ def self.inner_class_types
3681
+ @inner_class_types = {}
3682
+ end
3683
+
3684
+ def self.field_remappings
3685
+ @field_remappings = {}
3686
+ end
3687
+ end
3688
+
3689
+ class Impact < Stripe::StripeObject
3690
+ class RestrictsCapability < Stripe::StripeObject
3691
+ class Deadline < Stripe::StripeObject
3692
+ # The current status of the requirement's impact.
3693
+ attr_reader :status
3694
+
3695
+ def self.inner_class_types
3696
+ @inner_class_types = {}
3697
+ end
3698
+
3699
+ def self.field_remappings
3700
+ @field_remappings = {}
3701
+ end
3702
+ end
3703
+ # The name of the Capability which will be restricted.
3704
+ attr_reader :capability
3705
+ # The configuration which specifies the Capability which will be restricted.
3706
+ attr_reader :configuration
3707
+ # Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction.
3708
+ attr_reader :deadline
3709
+
3710
+ def self.inner_class_types
3711
+ @inner_class_types = { deadline: Deadline }
3712
+ end
3713
+
3714
+ def self.field_remappings
3715
+ @field_remappings = {}
3716
+ end
3717
+ end
3718
+ # The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe.
3719
+ attr_reader :restricts_capabilities
3720
+
3721
+ def self.inner_class_types
3722
+ @inner_class_types = { restricts_capabilities: RestrictsCapability }
3723
+ end
3724
+
3725
+ def self.field_remappings
3726
+ @field_remappings = {}
3727
+ end
3728
+ end
3729
+
3730
+ class MinimumDeadline < Stripe::StripeObject
3731
+ # The current status of the requirement's impact.
3732
+ attr_reader :status
3733
+
3734
+ def self.inner_class_types
3735
+ @inner_class_types = {}
3736
+ end
3737
+
3738
+ def self.field_remappings
3739
+ @field_remappings = {}
3740
+ end
3741
+ end
3742
+
3743
+ class Reference < Stripe::StripeObject
3744
+ # If `inquiry` is the type, the inquiry token.
3745
+ attr_reader :inquiry
3746
+ # If `resource` is the type, the resource token.
3747
+ attr_reader :resource
3748
+ # The type of the reference. An additional hash is included with a name matching the type. It contains additional information specific to the type.
3749
+ attr_reader :type
3750
+
3751
+ def self.inner_class_types
3752
+ @inner_class_types = {}
3753
+ end
3754
+
3755
+ def self.field_remappings
3756
+ @field_remappings = {}
3757
+ end
3758
+ end
3759
+
3760
+ class RequestedReason < Stripe::StripeObject
3761
+ # Machine-readable description of Stripe's reason for collecting the requirement.
3762
+ attr_reader :code
3763
+
3764
+ def self.inner_class_types
3765
+ @inner_class_types = {}
3766
+ end
3767
+
3768
+ def self.field_remappings
3769
+ @field_remappings = {}
3770
+ end
3771
+ end
3772
+ # Whether the responsibility is with the integrator or with Stripe (to review info, to wait for some condition, etc.) to action the requirement.
3773
+ attr_reader :awaiting_action_from
3774
+ # Machine-readable string describing the requirement.
3775
+ attr_reader :description
3776
+ # Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe.
3777
+ attr_reader :errors
3778
+ # A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information.
3779
+ attr_reader :impact
3780
+ # The soonest point when the account will be impacted by not providing the requirement.
3781
+ attr_reader :minimum_deadline
3782
+ # A reference to the location of the requirement.
3783
+ attr_reader :reference
3784
+ # A list of reasons why Stripe is collecting the requirement.
3785
+ attr_reader :requested_reasons
3786
+
3787
+ def self.inner_class_types
3788
+ @inner_class_types = {
3789
+ errors: Error,
3790
+ impact: Impact,
3791
+ minimum_deadline: MinimumDeadline,
3792
+ reference: Reference,
3793
+ requested_reasons: RequestedReason,
3794
+ }
3795
+ end
3796
+
3797
+ def self.field_remappings
3798
+ @field_remappings = {}
3799
+ end
3800
+ end
3801
+
3802
+ class Summary < Stripe::StripeObject
3803
+ class MinimumDeadline < Stripe::StripeObject
3804
+ # The current strictest status of all requirements on the Account.
3805
+ attr_reader :status
3806
+ # The soonest RFC3339 date & time UTC value a requirement can impact the Account.
3807
+ attr_reader :time
3808
+
3809
+ def self.inner_class_types
3810
+ @inner_class_types = {}
3811
+ end
3812
+
3813
+ def self.field_remappings
3814
+ @field_remappings = {}
3815
+ end
3816
+ end
3817
+ # 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`.
3818
+ attr_reader :minimum_deadline
3819
+
3820
+ def self.inner_class_types
3821
+ @inner_class_types = { minimum_deadline: MinimumDeadline }
3822
+ end
3823
+
3824
+ def self.field_remappings
3825
+ @field_remappings = {}
3826
+ end
3827
+ end
3828
+ # A value indicating responsibility for collecting requirements on this account.
3829
+ attr_reader :collector
3830
+ # A list of requirements for the Account.
3831
+ attr_reader :entries
3832
+ # An object containing an overview of requirements for the Account.
3833
+ attr_reader :summary
3834
+
3835
+ def self.inner_class_types
3836
+ @inner_class_types = { entries: Entry, summary: Summary }
3837
+ end
3838
+
3839
+ def self.field_remappings
3840
+ @field_remappings = {}
3841
+ end
3842
+ end
3843
+ # Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.
3844
+ attr_reader :applied_configurations
3845
+ # An Account Configuration which allows the Account to take on a key persona across Stripe products.
3846
+ attr_reader :configuration
3847
+ # The default contact email address for the Account. Required when configuring the account as a merchant or recipient.
3848
+ attr_reader :contact_email
3849
+ # 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.
3850
+ attr_reader :created
3851
+ # A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.
3852
+ attr_reader :dashboard
3853
+ # Default values to be used on Account Configurations.
3854
+ attr_reader :defaults
3855
+ # A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account.
3856
+ attr_reader :display_name
3857
+ # Unique identifier for the Account.
3858
+ attr_reader :id
3859
+ # Information about the company, individual, and business represented by the Account.
3860
+ attr_reader :identity
3861
+ # 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.
3862
+ attr_reader :metadata
3863
+ # String representing the object's type. Objects of the same type share the same value of the object field.
3864
+ attr_reader :object
3865
+ # Information about the requirements for the Account, including what information needs to be collected, and by when.
3866
+ attr_reader :requirements
3867
+ # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
3868
+ attr_reader :livemode
3869
+
3870
+ def self.inner_class_types
3871
+ @inner_class_types = {
3872
+ configuration: Configuration,
3873
+ defaults: Defaults,
3874
+ identity: Identity,
3875
+ requirements: Requirements,
3876
+ }
3877
+ end
3878
+
3879
+ def self.field_remappings
3880
+ @field_remappings = {}
3881
+ end
3882
+ end
3883
+ end
3884
+ end
3885
+ end