stripe 15.5.0 → 15.6.0.pre.alpha.2

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 (803) hide show
  1. checksums.yaml +4 -4
  2. data/API_VERSION +1 -1
  3. data/CHANGELOG.md +1723 -642
  4. data/OPENAPI_VERSION +1 -1
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_requestor.rb +34 -0
  7. data/lib/stripe/api_version.rb +1 -2
  8. data/lib/stripe/errors.rb +63 -0
  9. data/lib/stripe/event_types.rb +185 -0
  10. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +21 -0
  11. data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +21 -0
  12. data/lib/stripe/events/v2_billing_cadence_created_event.rb +23 -0
  13. data/lib/stripe/events/v2_billing_cadence_errored_event.rb +21 -0
  14. data/lib/stripe/events/v2_billing_license_fee_created_event.rb +21 -0
  15. data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +21 -0
  16. data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +23 -0
  17. data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +21 -0
  18. data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +21 -0
  19. data/lib/stripe/events/v2_billing_metered_item_created_event.rb +21 -0
  20. data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +21 -0
  21. data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +23 -0
  22. data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +23 -0
  23. data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +21 -0
  24. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +21 -0
  25. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +21 -0
  26. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +21 -0
  27. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +21 -0
  28. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +21 -0
  29. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +21 -0
  30. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +21 -0
  31. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +21 -0
  32. data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +21 -0
  33. data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +23 -0
  34. data/lib/stripe/events/v2_billing_rate_card_created_event.rb +23 -0
  35. data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +23 -0
  36. data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +21 -0
  37. data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +21 -0
  38. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +21 -0
  39. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +21 -0
  40. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +21 -0
  41. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +21 -0
  42. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +21 -0
  43. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +21 -0
  44. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +21 -0
  45. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +21 -0
  46. data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +21 -0
  47. data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +23 -0
  48. data/lib/stripe/events/v2_core_account_closed_event.rb +21 -0
  49. data/lib/stripe/events/v2_core_account_created_event.rb +21 -0
  50. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +23 -0
  51. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +21 -0
  52. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +23 -0
  53. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +21 -0
  54. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +23 -0
  55. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +21 -0
  56. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +23 -0
  57. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +21 -0
  58. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +21 -0
  59. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +21 -0
  60. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +21 -0
  61. data/lib/stripe/events/v2_core_account_link_returned_event.rb +13 -0
  62. data/lib/stripe/events/v2_core_account_person_created_event.rb +23 -0
  63. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +23 -0
  64. data/lib/stripe/events/v2_core_account_person_updated_event.rb +23 -0
  65. data/lib/stripe/events/v2_core_account_updated_event.rb +21 -0
  66. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +13 -0
  67. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +13 -0
  68. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +13 -0
  69. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +13 -0
  70. data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +13 -0
  71. data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +13 -0
  72. data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +13 -0
  73. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +13 -0
  74. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +13 -0
  75. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +13 -0
  76. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +13 -0
  77. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +13 -0
  78. data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +13 -0
  79. data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +13 -0
  80. data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +13 -0
  81. data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +13 -0
  82. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +21 -0
  83. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +21 -0
  84. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +21 -0
  85. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +21 -0
  86. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +21 -0
  87. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +23 -0
  88. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +21 -0
  89. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +21 -0
  90. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +21 -0
  91. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +21 -0
  92. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +21 -0
  93. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +21 -0
  94. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +21 -0
  95. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +21 -0
  96. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +21 -0
  97. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +21 -0
  98. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +21 -0
  99. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +21 -0
  100. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +21 -0
  101. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +21 -0
  102. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +21 -0
  103. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +21 -0
  104. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +21 -0
  105. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +21 -0
  106. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +23 -0
  107. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +21 -0
  108. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +21 -0
  109. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +21 -0
  110. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +21 -0
  111. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +21 -0
  112. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +21 -0
  113. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +21 -0
  114. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +21 -0
  115. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +21 -0
  116. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +21 -0
  117. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +21 -0
  118. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +22 -0
  119. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +21 -0
  120. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +21 -0
  121. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +21 -0
  122. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +21 -0
  123. data/lib/stripe/events/v2_reporting_report_run_created_event.rb +21 -0
  124. data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +21 -0
  125. data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +21 -0
  126. data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +21 -0
  127. data/lib/stripe/object_types.rb +80 -0
  128. data/lib/stripe/resources/account.rb +1137 -42
  129. data/lib/stripe/resources/account_link.rb +8 -0
  130. data/lib/stripe/resources/account_notice.rb +147 -0
  131. data/lib/stripe/resources/account_session.rb +688 -8
  132. data/lib/stripe/resources/apple_pay_domain.rb +8 -0
  133. data/lib/stripe/resources/application.rb +8 -0
  134. data/lib/stripe/resources/application_fee.rb +16 -0
  135. data/lib/stripe/resources/application_fee_refund.rb +8 -0
  136. data/lib/stripe/resources/apps/secret.rb +16 -0
  137. data/lib/stripe/resources/balance.rb +159 -0
  138. data/lib/stripe/resources/balance_settings.rb +152 -0
  139. data/lib/stripe/resources/balance_transaction.rb +16 -0
  140. data/lib/stripe/resources/bank_account.rb +40 -0
  141. data/lib/stripe/resources/billing/alert.rb +203 -1
  142. data/lib/stripe/resources/billing/alert_triggered.rb +14 -0
  143. data/lib/stripe/resources/billing/credit_balance_summary.rb +132 -0
  144. data/lib/stripe/resources/billing/credit_balance_transaction.rb +161 -0
  145. data/lib/stripe/resources/billing/credit_grant.rb +143 -2
  146. data/lib/stripe/resources/billing/meter.rb +45 -0
  147. data/lib/stripe/resources/billing/meter_event.rb +8 -0
  148. data/lib/stripe/resources/billing/meter_event_adjustment.rb +16 -0
  149. data/lib/stripe/resources/billing/meter_event_summary.rb +8 -0
  150. data/lib/stripe/resources/billing/meter_usage.rb +31 -0
  151. data/lib/stripe/resources/billing/meter_usage_row.rb +36 -0
  152. data/lib/stripe/resources/billing_portal/configuration.rb +122 -0
  153. data/lib/stripe/resources/billing_portal/session.rb +107 -0
  154. data/lib/stripe/resources/capability.rb +56 -0
  155. data/lib/stripe/resources/capital/financing_offer.rb +203 -0
  156. data/lib/stripe/resources/capital/financing_summary.rb +79 -0
  157. data/lib/stripe/resources/capital/financing_transaction.rb +138 -0
  158. data/lib/stripe/resources/card.rb +18 -0
  159. data/lib/stripe/resources/cash_balance.rb +18 -0
  160. data/lib/stripe/resources/charge.rb +2587 -15
  161. data/lib/stripe/resources/checkout/session.rb +1583 -15
  162. data/lib/stripe/resources/climate/order.rb +32 -0
  163. data/lib/stripe/resources/climate/product.rb +16 -0
  164. data/lib/stripe/resources/climate/supplier.rb +16 -0
  165. data/lib/stripe/resources/confirmation_token.rb +1126 -34
  166. data/lib/stripe/resources/connect_collection_transfer.rb +8 -0
  167. data/lib/stripe/resources/country_spec.rb +32 -0
  168. data/lib/stripe/resources/coupon.rb +66 -1
  169. data/lib/stripe/resources/credit_note.rb +76 -0
  170. data/lib/stripe/resources/credit_note_line_item.rb +62 -0
  171. data/lib/stripe/resources/customer.rb +79 -0
  172. data/lib/stripe/resources/customer_balance_transaction.rb +10 -0
  173. data/lib/stripe/resources/customer_cash_balance_transaction.rb +110 -0
  174. data/lib/stripe/resources/customer_session.rb +58 -1
  175. data/lib/stripe/resources/discount.rb +10 -0
  176. data/lib/stripe/resources/dispute.rb +177 -0
  177. data/lib/stripe/resources/entitlements/active_entitlement.rb +8 -0
  178. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +8 -0
  179. data/lib/stripe/resources/entitlements/feature.rb +8 -0
  180. data/lib/stripe/resources/ephemeral_key.rb +8 -0
  181. data/lib/stripe/resources/event.rb +87 -0
  182. data/lib/stripe/resources/exchange_rate.rb +8 -0
  183. data/lib/stripe/resources/file.rb +8 -0
  184. data/lib/stripe/resources/file_link.rb +8 -0
  185. data/lib/stripe/resources/financial_connections/account.rb +101 -1
  186. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
  187. data/lib/stripe/resources/financial_connections/account_owner.rb +8 -0
  188. data/lib/stripe/resources/financial_connections/account_ownership.rb +8 -0
  189. data/lib/stripe/resources/financial_connections/institution.rb +145 -0
  190. data/lib/stripe/resources/financial_connections/session.rb +124 -2
  191. data/lib/stripe/resources/financial_connections/transaction.rb +16 -0
  192. data/lib/stripe/resources/forwarding/request.rb +52 -0
  193. data/lib/stripe/resources/funding_instructions.rb +193 -0
  194. data/lib/stripe/resources/fx_quote.rb +234 -0
  195. data/lib/stripe/resources/identity/verification_report.rb +166 -1
  196. data/lib/stripe/resources/identity/verification_session.rb +136 -1
  197. data/lib/stripe/resources/invoice.rb +1591 -18
  198. data/lib/stripe/resources/invoice_item.rb +214 -2
  199. data/lib/stripe/resources/invoice_line_item.rb +293 -1
  200. data/lib/stripe/resources/invoice_payment.rb +30 -1
  201. data/lib/stripe/resources/invoice_rendering_template.rb +8 -0
  202. data/lib/stripe/resources/issuing/authorization.rb +177 -0
  203. data/lib/stripe/resources/issuing/card.rb +96 -8
  204. data/lib/stripe/resources/issuing/cardholder.rb +112 -1
  205. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +684 -0
  206. data/lib/stripe/resources/issuing/dispute.rb +97 -0
  207. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +98 -0
  208. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +94 -0
  209. data/lib/stripe/resources/issuing/personalization_design.rb +36 -0
  210. data/lib/stripe/resources/issuing/physical_bundle.rb +16 -0
  211. data/lib/stripe/resources/issuing/settlement.rb +61 -0
  212. data/lib/stripe/resources/issuing/token.rb +61 -0
  213. data/lib/stripe/resources/issuing/transaction.rb +157 -0
  214. data/lib/stripe/resources/line_item.rb +91 -0
  215. data/lib/stripe/resources/login_link.rb +8 -0
  216. data/lib/stripe/resources/mandate.rb +331 -12
  217. data/lib/stripe/resources/margin.rb +123 -0
  218. data/lib/stripe/resources/order.rb +3306 -0
  219. data/lib/stripe/resources/payment_attempt_record.rb +2056 -0
  220. data/lib/stripe/resources/payment_intent.rb +11019 -3714
  221. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +128 -0
  222. data/lib/stripe/resources/payment_link.rb +337 -0
  223. data/lib/stripe/resources/payment_method.rb +1074 -35
  224. data/lib/stripe/resources/payment_method_configuration.rb +1260 -4
  225. data/lib/stripe/resources/payment_method_domain.rb +111 -0
  226. data/lib/stripe/resources/payment_record.rb +2602 -0
  227. data/lib/stripe/resources/payout.rb +16 -0
  228. data/lib/stripe/resources/person.rb +180 -0
  229. data/lib/stripe/resources/plan.rb +24 -0
  230. data/lib/stripe/resources/price.rb +109 -0
  231. data/lib/stripe/resources/privacy/redaction_job.rb +314 -0
  232. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
  233. data/lib/stripe/resources/product.rb +27 -0
  234. data/lib/stripe/resources/product_feature.rb +8 -0
  235. data/lib/stripe/resources/promotion_code.rb +34 -0
  236. data/lib/stripe/resources/quote.rb +2512 -49
  237. data/lib/stripe/resources/quote_line.rb +521 -0
  238. data/lib/stripe/resources/quote_preview_invoice.rb +1134 -0
  239. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +718 -0
  240. data/lib/stripe/resources/radar/early_fraud_warning.rb +8 -0
  241. data/lib/stripe/resources/radar/value_list.rb +8 -0
  242. data/lib/stripe/resources/radar/value_list_item.rb +8 -0
  243. data/lib/stripe/resources/refund.rb +389 -19
  244. data/lib/stripe/resources/reporting/report_run.rb +16 -0
  245. data/lib/stripe/resources/reporting/report_type.rb +8 -0
  246. data/lib/stripe/resources/reserve_transaction.rb +8 -0
  247. data/lib/stripe/resources/reversal.rb +8 -0
  248. data/lib/stripe/resources/review.rb +24 -0
  249. data/lib/stripe/resources/setup_attempt.rb +352 -17
  250. data/lib/stripe/resources/setup_intent.rb +1065 -12
  251. data/lib/stripe/resources/shipping_rate.rb +48 -0
  252. data/lib/stripe/resources/sigma/scheduled_query_run.rb +16 -0
  253. data/lib/stripe/resources/source.rb +303 -0
  254. data/lib/stripe/resources/source_mandate_notification.rb +32 -0
  255. data/lib/stripe/resources/source_transaction.rb +54 -0
  256. data/lib/stripe/resources/subscription.rb +720 -11
  257. data/lib/stripe/resources/subscription_item.rb +108 -3
  258. data/lib/stripe/resources/subscription_schedule.rb +1321 -10
  259. data/lib/stripe/resources/tax/association.rb +98 -0
  260. data/lib/stripe/resources/tax/calculation.rb +109 -0
  261. data/lib/stripe/resources/tax/calculation_line_item.rb +32 -0
  262. data/lib/stripe/resources/tax/form.rb +318 -0
  263. data/lib/stripe/resources/tax/registration.rb +1232 -0
  264. data/lib/stripe/resources/tax/settings.rb +61 -1
  265. data/lib/stripe/resources/tax/transaction.rb +93 -0
  266. data/lib/stripe/resources/tax/transaction_line_item.rb +16 -0
  267. data/lib/stripe/resources/tax_code.rb +8 -0
  268. data/lib/stripe/resources/tax_deducted_at_source.rb +8 -0
  269. data/lib/stripe/resources/tax_id.rb +36 -2
  270. data/lib/stripe/resources/tax_rate.rb +16 -0
  271. data/lib/stripe/resources/terminal/configuration.rb +332 -0
  272. data/lib/stripe/resources/terminal/connection_token.rb +8 -0
  273. data/lib/stripe/resources/terminal/location.rb +16 -0
  274. data/lib/stripe/resources/terminal/onboarding_link.rb +108 -0
  275. data/lib/stripe/resources/terminal/reader.rb +249 -0
  276. data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
  277. data/lib/stripe/resources/test_helpers/test_clock.rb +24 -0
  278. data/lib/stripe/resources/token.rb +8 -0
  279. data/lib/stripe/resources/topup.rb +8 -0
  280. data/lib/stripe/resources/transfer.rb +14 -0
  281. data/lib/stripe/resources/treasury/credit_reversal.rb +16 -0
  282. data/lib/stripe/resources/treasury/debit_reversal.rb +24 -0
  283. data/lib/stripe/resources/treasury/financial_account.rb +83 -3
  284. data/lib/stripe/resources/treasury/financial_account_features.rb +194 -0
  285. data/lib/stripe/resources/treasury/inbound_transfer.rb +69 -0
  286. data/lib/stripe/resources/treasury/outbound_payment.rb +106 -0
  287. data/lib/stripe/resources/treasury/outbound_transfer.rb +151 -0
  288. data/lib/stripe/resources/treasury/received_credit.rb +135 -1
  289. data/lib/stripe/resources/treasury/received_debit.rb +129 -1
  290. data/lib/stripe/resources/treasury/transaction.rb +36 -0
  291. data/lib/stripe/resources/treasury/transaction_entry.rb +24 -0
  292. data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
  293. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +90 -0
  294. data/lib/stripe/resources/v2/billing/cadence.rb +323 -0
  295. data/lib/stripe/resources/v2/billing/collection_setting.rb +296 -0
  296. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +284 -0
  297. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
  298. data/lib/stripe/resources/v2/billing/intent.rb +86 -0
  299. data/lib/stripe/resources/v2/billing/intent_action.rb +395 -0
  300. data/lib/stripe/resources/v2/billing/license_fee.rb +103 -0
  301. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +44 -0
  302. data/lib/stripe/resources/v2/billing/license_fee_version.rb +80 -0
  303. data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
  304. data/lib/stripe/resources/v2/billing/meter_event.rb +8 -0
  305. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +16 -0
  306. data/lib/stripe/resources/v2/billing/meter_event_session.rb +8 -0
  307. data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
  308. data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
  309. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +94 -0
  310. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +90 -0
  311. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +38 -0
  312. data/lib/stripe/resources/v2/billing/profile.rb +46 -0
  313. data/lib/stripe/resources/v2/billing/rate_card.rb +61 -0
  314. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +107 -0
  315. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +90 -0
  316. data/lib/stripe/resources/v2/billing/rate_card_version.rb +34 -0
  317. data/lib/stripe/resources/v2/billing/service_action.rb +232 -0
  318. data/lib/stripe/resources/v2/core/account.rb +3838 -0
  319. data/lib/stripe/resources/v2/core/account_link.rb +123 -0
  320. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +81 -0
  321. data/lib/stripe/resources/v2/core/person.rb +477 -0
  322. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +114 -0
  323. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +47 -0
  324. data/lib/stripe/resources/v2/event.rb +26 -0
  325. data/lib/stripe/resources/v2/event_destination.rb +44 -0
  326. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +28 -0
  327. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +30 -0
  328. data/lib/stripe/resources/v2/money_management/adjustment.rb +67 -0
  329. data/lib/stripe/resources/v2/money_management/financial_account.rb +140 -0
  330. data/lib/stripe/resources/v2/money_management/financial_address.rb +100 -0
  331. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +181 -0
  332. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +217 -0
  333. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +144 -0
  334. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
  335. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +196 -0
  336. data/lib/stripe/resources/v2/money_management/payout_method.rb +109 -0
  337. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +81 -0
  338. data/lib/stripe/resources/v2/money_management/received_credit.rb +199 -0
  339. data/lib/stripe/resources/v2/money_management/received_debit.rb +136 -0
  340. data/lib/stripe/resources/v2/money_management/transaction.rb +116 -0
  341. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +105 -0
  342. data/lib/stripe/resources/v2/payments/off_session_payment.rb +113 -0
  343. data/lib/stripe/resources/v2/reporting/report.rb +116 -0
  344. data/lib/stripe/resources/v2/reporting/report_run.rb +158 -0
  345. data/lib/stripe/resources/v2/tax/automatic_rule.rb +39 -0
  346. data/lib/stripe/resources/webhook_endpoint.rb +8 -0
  347. data/lib/stripe/resources.rb +194 -0
  348. data/lib/stripe/services/account_notice_service.rb +101 -0
  349. data/lib/stripe/services/account_service.rb +562 -1
  350. data/lib/stripe/services/account_session_service.rb +226 -1
  351. data/lib/stripe/services/balance_settings_service.rb +99 -0
  352. data/lib/stripe/services/billing/alert_service.rb +75 -1
  353. data/lib/stripe/services/billing/credit_balance_summary_service.rb +17 -2
  354. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +4 -0
  355. data/lib/stripe/services/billing/credit_grant_service.rb +37 -2
  356. data/lib/stripe/services/billing/meter_usage_service.rb +76 -0
  357. data/lib/stripe/services/billing_portal/session_service.rb +4 -0
  358. data/lib/stripe/services/billing_service.rb +2 -1
  359. data/lib/stripe/services/capital/financing_offer_service.rb +112 -0
  360. data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
  361. data/lib/stripe/services/capital/financing_transaction_service.rb +79 -0
  362. data/lib/stripe/services/capital_service.rb +15 -0
  363. data/lib/stripe/services/charge_service.rb +1418 -0
  364. data/lib/stripe/services/checkout/session_service.rb +472 -5
  365. data/lib/stripe/services/coupon_service.rb +17 -1
  366. data/lib/stripe/services/credit_note_service.rb +4 -0
  367. data/lib/stripe/services/customer_session_service.rb +4 -1
  368. data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -122
  369. data/{rbi/stripe/services/tax/transaction_line_item_service.rbi → lib/stripe/services/financial_connections/account_inferred_balance_service.rb} +21 -17
  370. data/lib/stripe/services/financial_connections/account_service.rb +7 -2
  371. data/{rbi/stripe/services/climate/supplier_service.rbi → lib/stripe/services/financial_connections/institution_service.rb} +36 -25
  372. data/lib/stripe/services/financial_connections/session_service.rb +34 -2
  373. data/lib/stripe/services/financial_connections_service.rb +2 -1
  374. data/lib/stripe/services/fx_quote_service.rb +123 -0
  375. data/lib/stripe/services/identity/verification_session_service.rb +8 -0
  376. data/lib/stripe/services/invoice_item_service.rb +74 -2
  377. data/lib/stripe/services/invoice_line_item_service.rb +33 -1
  378. data/lib/stripe/services/invoice_payment_service.rb +4 -1
  379. data/lib/stripe/services/invoice_service.rb +1078 -16
  380. data/lib/stripe/services/issuing/card_service.rb +0 -8
  381. data/lib/stripe/services/issuing/cardholder_service.rb +2 -1
  382. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +504 -0
  383. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +66 -0
  384. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +83 -0
  385. data/lib/stripe/services/issuing/transaction_service.rb +4 -0
  386. data/lib/stripe/services/issuing_service.rb +5 -1
  387. data/lib/stripe/services/mandate_service.rb +40 -0
  388. data/lib/stripe/services/margin_service.rb +119 -0
  389. data/{rbi/stripe/services/source_transaction_service.rbi → lib/stripe/services/order_line_item_service.rb} +20 -16
  390. data/lib/stripe/services/order_service.rb +2388 -0
  391. data/lib/stripe/services/payment_attempt_record_service.rb +52 -0
  392. data/{rbi/stripe/services/quote_line_item_service.rbi → lib/stripe/services/payment_intent_amount_details_line_item_service.rb} +20 -16
  393. data/lib/stripe/services/payment_intent_service.rb +7630 -2215
  394. data/lib/stripe/services/payment_method_configuration_service.rb +210 -0
  395. data/lib/stripe/services/payment_method_service.rb +120 -1
  396. data/lib/stripe/services/payment_record_service.rb +562 -0
  397. data/lib/stripe/services/price_service.rb +19 -0
  398. data/lib/stripe/services/privacy/redaction_job_service.rb +240 -0
  399. data/{rbi/stripe/services/tax/calculation_line_item_service.rbi → lib/stripe/services/privacy/redaction_job_validation_error_service.rb} +21 -17
  400. data/lib/stripe/services/privacy_service.rb +13 -0
  401. data/lib/stripe/services/promotion_code_service.rb +8 -0
  402. data/{rbi/stripe/services/credit_note_line_item_service.rbi → lib/stripe/services/quote_line_service.rb} +20 -16
  403. data/{rbi/stripe/services/payment_link_line_item_service.rbi → lib/stripe/services/quote_preview_invoice_service.rb} +20 -16
  404. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +35 -0
  405. data/lib/stripe/services/quote_service.rb +1723 -8
  406. data/lib/stripe/services/setup_intent_service.rb +691 -9
  407. data/lib/stripe/services/subscription_item_service.rb +75 -3
  408. data/lib/stripe/services/subscription_schedule_service.rb +911 -10
  409. data/lib/stripe/services/subscription_service.rb +336 -9
  410. data/lib/stripe/services/tax/association_service.rb +31 -0
  411. data/lib/stripe/services/tax/form_service.rb +100 -0
  412. data/lib/stripe/services/tax_id_service.rb +8 -2
  413. data/lib/stripe/services/tax_service.rb +3 -1
  414. data/lib/stripe/services/terminal/configuration_service.rb +26 -0
  415. data/lib/stripe/services/terminal/onboarding_link_service.rb +56 -0
  416. data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
  417. data/lib/stripe/services/terminal_service.rb +3 -1
  418. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +97 -0
  419. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +25 -1
  420. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +25 -1
  421. data/lib/stripe/services/transfer_service.rb +4 -0
  422. data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
  423. data/lib/stripe/services/treasury/financial_account_service.rb +16 -2
  424. data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
  425. data/lib/stripe/services/v1_services.rb +11 -1
  426. data/lib/stripe/services/v2/billing/bill_setting_service.rb +214 -0
  427. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +45 -0
  428. data/lib/stripe/services/v2/billing/cadence_service.rb +428 -0
  429. data/lib/stripe/services/v2/billing/collection_setting_service.rb +518 -0
  430. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +45 -0
  431. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +108 -0
  432. data/lib/stripe/services/v2/billing/intent_service.rb +465 -0
  433. data/lib/stripe/services/v2/billing/intents/action_service.rb +45 -0
  434. data/lib/stripe/services/v2/billing/license_fee_service.rb +250 -0
  435. data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +23 -0
  436. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +45 -0
  437. data/lib/stripe/services/v2/billing/licensed_item_service.rb +149 -0
  438. data/lib/stripe/services/v2/billing/metered_item_service.rb +176 -0
  439. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +142 -0
  440. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +76 -0
  441. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +162 -0
  442. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +45 -0
  443. data/lib/stripe/services/v2/billing/profile_service.rb +144 -0
  444. data/lib/stripe/services/v2/billing/rate_card_service.rb +151 -0
  445. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +144 -0
  446. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +161 -0
  447. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +45 -0
  448. data/lib/stripe/services/v2/billing/service_action_service.rb +259 -0
  449. data/lib/stripe/services/v2/billing_service.rb +18 -1
  450. data/lib/stripe/services/v2/core/account_link_service.rb +114 -0
  451. data/lib/stripe/services/v2/core/account_service.rb +4536 -0
  452. data/lib/stripe/services/v2/core/accounts/person_service.rb +1045 -0
  453. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +50 -0
  454. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +130 -0
  455. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +107 -0
  456. data/lib/stripe/services/v2/core/vault_service.rb +18 -0
  457. data/lib/stripe/services/v2/core_service.rb +5 -1
  458. data/lib/stripe/services/v2/money_management/adjustment_service.rb +74 -0
  459. data/lib/stripe/services/v2/money_management/financial_account_service.rb +119 -0
  460. data/lib/stripe/services/v2/money_management/financial_address_service.rb +82 -0
  461. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +125 -0
  462. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +95 -0
  463. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +199 -0
  464. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +235 -0
  465. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +172 -0
  466. data/lib/stripe/services/v2/money_management/payout_method_service.rb +90 -0
  467. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +32 -0
  468. data/lib/stripe/services/v2/money_management/received_credit_service.rb +70 -0
  469. data/lib/stripe/services/v2/money_management/received_debit_service.rb +43 -0
  470. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +69 -0
  471. data/lib/stripe/services/v2/money_management/transaction_service.rb +73 -0
  472. data/lib/stripe/services/v2/money_management_service.rb +31 -0
  473. data/lib/stripe/services/v2/payment_service.rb +15 -0
  474. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +152 -0
  475. data/lib/stripe/services/v2/reporting/report_run_service.rb +88 -0
  476. data/lib/stripe/services/v2/reporting/report_service.rb +25 -0
  477. data/lib/stripe/services/v2/reporting_service.rb +16 -0
  478. data/lib/stripe/services/v2/tax/automatic_rule_service.rb +99 -0
  479. data/lib/stripe/services/v2/tax_service.rb +15 -0
  480. data/lib/stripe/services/v2/test_helper_service.rb +15 -0
  481. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +53 -0
  482. data/lib/stripe/services/v2_services.rb +6 -1
  483. data/lib/stripe/services.rb +84 -0
  484. data/lib/stripe/stripe_configuration.rb +3 -1
  485. data/lib/stripe/stripe_object.rb +26 -2
  486. data/lib/stripe/util.rb +16 -6
  487. data/lib/stripe/version.rb +1 -1
  488. data/lib/stripe.rb +53 -0
  489. data/rbi/stripe.rbi +280174 -0
  490. data/stripe.gemspec +4 -1
  491. metadata +283 -324
  492. data/rbi/stripe/resources/account.rbi +0 -4991
  493. data/rbi/stripe/resources/account_link.rbi +0 -76
  494. data/rbi/stripe/resources/account_session.rbi +0 -1173
  495. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -88
  496. data/rbi/stripe/resources/application.rbi +0 -20
  497. data/rbi/stripe/resources/application_fee.rbi +0 -118
  498. data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
  499. data/rbi/stripe/resources/apps/secret.rbi +0 -195
  500. data/rbi/stripe/resources/balance.rbi +0 -230
  501. data/rbi/stripe/resources/balance_transaction.rbi +0 -147
  502. data/rbi/stripe/resources/bank_account.rbi +0 -127
  503. data/rbi/stripe/resources/billing/alert.rbi +0 -201
  504. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
  505. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
  506. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
  507. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
  508. data/rbi/stripe/resources/billing/meter.rbi +0 -226
  509. data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
  510. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
  511. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
  512. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -712
  513. data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
  514. data/rbi/stripe/resources/capability.rbi +0 -125
  515. data/rbi/stripe/resources/card.rbi +0 -125
  516. data/rbi/stripe/resources/cash_balance.rbi +0 -32
  517. data/rbi/stripe/resources/charge.rbi +0 -2136
  518. data/rbi/stripe/resources/checkout/session.rbi +0 -4105
  519. data/rbi/stripe/resources/climate/order.rbi +0 -245
  520. data/rbi/stripe/resources/climate/product.rbi +0 -75
  521. data/rbi/stripe/resources/climate/supplier.rbi +0 -72
  522. data/rbi/stripe/resources/confirmation_token.rbi +0 -1818
  523. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
  524. data/rbi/stripe/resources/country_spec.rbi +0 -85
  525. data/rbi/stripe/resources/coupon.rbi +0 -250
  526. data/rbi/stripe/resources/credit_note.rbi +0 -752
  527. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
  528. data/rbi/stripe/resources/customer.rbi +0 -993
  529. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
  530. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
  531. data/rbi/stripe/resources/customer_session.rbi +0 -200
  532. data/rbi/stripe/resources/discount.rbi +0 -53
  533. data/rbi/stripe/resources/dispute.rbi +0 -761
  534. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
  535. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
  536. data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
  537. data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
  538. data/rbi/stripe/resources/event.rbi +0 -137
  539. data/rbi/stripe/resources/exchange_rate.rbi +0 -66
  540. data/rbi/stripe/resources/file.rbi +0 -143
  541. data/rbi/stripe/resources/file_link.rbi +0 -141
  542. data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
  543. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
  544. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
  545. data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
  546. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
  547. data/rbi/stripe/resources/forwarding/request.rbi +0 -216
  548. data/rbi/stripe/resources/funding_instructions.rbi +0 -437
  549. data/rbi/stripe/resources/identity/verification_report.rbi +0 -360
  550. data/rbi/stripe/resources/identity/verification_session.rbi +0 -564
  551. data/rbi/stripe/resources/invoice.rbi +0 -3894
  552. data/rbi/stripe/resources/invoice_item.rbi +0 -470
  553. data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
  554. data/rbi/stripe/resources/invoice_payment.rbi +0 -121
  555. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
  556. data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
  557. data/rbi/stripe/resources/issuing/card.rbi +0 -749
  558. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
  559. data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
  560. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
  561. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
  562. data/rbi/stripe/resources/issuing/token.rbi +0 -226
  563. data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
  564. data/rbi/stripe/resources/line_item.rbi +0 -72
  565. data/rbi/stripe/resources/login_link.rbi +0 -19
  566. data/rbi/stripe/resources/mandate.rbi +0 -191
  567. data/rbi/stripe/resources/payment_intent.rbi +0 -10011
  568. data/rbi/stripe/resources/payment_link.rbi +0 -1891
  569. data/rbi/stripe/resources/payment_method.rbi +0 -1770
  570. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3550
  571. data/rbi/stripe/resources/payment_method_domain.rbi +0 -228
  572. data/rbi/stripe/resources/payout.rbi +0 -307
  573. data/rbi/stripe/resources/person.rbi +0 -401
  574. data/rbi/stripe/resources/plan.rbi +0 -371
  575. data/rbi/stripe/resources/price.rbi +0 -694
  576. data/rbi/stripe/resources/product.rbi +0 -553
  577. data/rbi/stripe/resources/product_feature.rbi +0 -26
  578. data/rbi/stripe/resources/promotion_code.rbi +0 -264
  579. data/rbi/stripe/resources/quote.rbi +0 -1137
  580. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
  581. data/rbi/stripe/resources/radar/value_list.rbi +0 -168
  582. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -129
  583. data/rbi/stripe/resources/refund.rbi +0 -523
  584. data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
  585. data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
  586. data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
  587. data/rbi/stripe/resources/reversal.rbi +0 -51
  588. data/rbi/stripe/resources/review.rbi +0 -154
  589. data/rbi/stripe/resources/setup_attempt.rbi +0 -477
  590. data/rbi/stripe/resources/setup_intent.rbi +0 -3974
  591. data/rbi/stripe/resources/shipping_rate.rbi +0 -305
  592. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
  593. data/rbi/stripe/resources/source.rbi +0 -1496
  594. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
  595. data/rbi/stripe/resources/source_transaction.rbi +0 -127
  596. data/rbi/stripe/resources/subscription.rbi +0 -2154
  597. data/rbi/stripe/resources/subscription_item.rbi +0 -404
  598. data/rbi/stripe/resources/subscription_schedule.rbi +0 -1795
  599. data/rbi/stripe/resources/tax/calculation.rbi +0 -478
  600. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -91
  601. data/rbi/stripe/resources/tax/registration.rbi +0 -3216
  602. data/rbi/stripe/resources/tax/settings.rbi +0 -141
  603. data/rbi/stripe/resources/tax/transaction.rbi +0 -351
  604. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
  605. data/rbi/stripe/resources/tax_code.rbi +0 -44
  606. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
  607. data/rbi/stripe/resources/tax_id.rbi +0 -165
  608. data/rbi/stripe/resources/tax_rate.rbi +0 -239
  609. data/rbi/stripe/resources/terminal/configuration.rbi +0 -1647
  610. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
  611. data/rbi/stripe/resources/terminal/location.rbi +0 -222
  612. data/rbi/stripe/resources/terminal/reader.rbi +0 -1016
  613. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -132
  614. data/rbi/stripe/resources/token.rbi +0 -1281
  615. data/rbi/stripe/resources/topup.rbi +0 -222
  616. data/rbi/stripe/resources/transfer.rbi +0 -199
  617. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
  618. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
  619. data/rbi/stripe/resources/treasury/financial_account.rbi +0 -869
  620. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
  621. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
  622. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
  623. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
  624. data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
  625. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
  626. data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
  627. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
  628. data/rbi/stripe/resources/v2/amount.rbi +0 -14
  629. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
  630. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
  631. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
  632. data/rbi/stripe/resources/v2/event.rbi +0 -48
  633. data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
  634. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -168
  635. data/rbi/stripe/services/account_capability_service.rbi +0 -51
  636. data/rbi/stripe/services/account_link_service.rbi +0 -60
  637. data/rbi/stripe/services/account_login_link_service.rbi +0 -22
  638. data/rbi/stripe/services/account_person_service.rbi +0 -1007
  639. data/rbi/stripe/services/account_service.rbi +0 -4281
  640. data/rbi/stripe/services/account_session_service.rbi +0 -748
  641. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -76
  642. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
  643. data/rbi/stripe/services/application_fee_service.rbi +0 -78
  644. data/rbi/stripe/services/apps/secret_service.rbi +0 -151
  645. data/rbi/stripe/services/apps_service.rbi +0 -9
  646. data/rbi/stripe/services/balance_service.rbi +0 -21
  647. data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
  648. data/rbi/stripe/services/billing/alert_service.rbi +0 -152
  649. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
  650. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
  651. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
  652. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
  653. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
  654. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
  655. data/rbi/stripe/services/billing/meter_service.rbi +0 -163
  656. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -561
  657. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
  658. data/rbi/stripe/services/billing_portal_service.rbi +0 -10
  659. data/rbi/stripe/services/billing_service.rbi +0 -15
  660. data/rbi/stripe/services/charge_service.rbi +0 -448
  661. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
  662. data/rbi/stripe/services/checkout/session_service.rbi +0 -2697
  663. data/rbi/stripe/services/checkout_service.rbi +0 -9
  664. data/rbi/stripe/services/climate/order_service.rbi +0 -142
  665. data/rbi/stripe/services/climate/product_service.rbi +0 -46
  666. data/rbi/stripe/services/climate_service.rbi +0 -11
  667. data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
  668. data/rbi/stripe/services/country_spec_service.rbi +0 -44
  669. data/rbi/stripe/services/coupon_service.rbi +0 -194
  670. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
  671. data/rbi/stripe/services/credit_note_service.rbi +0 -415
  672. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
  673. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
  674. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
  675. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
  676. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
  677. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
  678. data/rbi/stripe/services/customer_service.rbi +0 -635
  679. data/rbi/stripe/services/customer_session_service.rbi +0 -116
  680. data/rbi/stripe/services/customer_tax_id_service.rbi +0 -70
  681. data/rbi/stripe/services/dispute_service.rbi +0 -424
  682. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
  683. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
  684. data/rbi/stripe/services/entitlements_service.rbi +0 -10
  685. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
  686. data/rbi/stripe/services/event_service.rbi +0 -83
  687. data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
  688. data/rbi/stripe/services/file_link_service.rbi +0 -124
  689. data/rbi/stripe/services/file_service.rbi +0 -116
  690. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
  691. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
  692. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
  693. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
  694. data/rbi/stripe/services/financial_connections_service.rbi +0 -11
  695. data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
  696. data/rbi/stripe/services/forwarding_service.rbi +0 -9
  697. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
  698. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -339
  699. data/rbi/stripe/services/identity_service.rbi +0 -10
  700. data/rbi/stripe/services/invoice_item_service.rbi +0 -366
  701. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
  702. data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
  703. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
  704. data/rbi/stripe/services/invoice_service.rbi +0 -3073
  705. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
  706. data/rbi/stripe/services/issuing/card_service.rbi +0 -503
  707. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
  708. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
  709. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
  710. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
  711. data/rbi/stripe/services/issuing/token_service.rbi +0 -99
  712. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
  713. data/rbi/stripe/services/issuing_service.rbi +0 -16
  714. data/rbi/stripe/services/mandate_service.rbi +0 -20
  715. data/rbi/stripe/services/payment_intent_service.rbi +0 -8010
  716. data/rbi/stripe/services/payment_link_service.rbi +0 -1441
  717. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2487
  718. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
  719. data/rbi/stripe/services/payment_method_service.rbi +0 -781
  720. data/rbi/stripe/services/payout_service.rbi +0 -209
  721. data/rbi/stripe/services/plan_service.rbi +0 -282
  722. data/rbi/stripe/services/price_service.rbi +0 -546
  723. data/rbi/stripe/services/product_feature_service.rbi +0 -67
  724. data/rbi/stripe/services/product_service.rbi +0 -477
  725. data/rbi/stripe/services/promotion_code_service.rbi +0 -214
  726. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
  727. data/rbi/stripe/services/quote_service.rbi +0 -695
  728. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
  729. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -109
  730. data/rbi/stripe/services/radar/value_list_service.rbi +0 -141
  731. data/rbi/stripe/services/radar_service.rbi +0 -11
  732. data/rbi/stripe/services/refund_service.rbi +0 -185
  733. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
  734. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
  735. data/rbi/stripe/services/reporting_service.rbi +0 -10
  736. data/rbi/stripe/services/review_service.rbi +0 -84
  737. data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
  738. data/rbi/stripe/services/setup_intent_service.rbi +0 -3709
  739. data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
  740. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
  741. data/rbi/stripe/services/sigma_service.rbi +0 -9
  742. data/rbi/stripe/services/source_service.rbi +0 -663
  743. data/rbi/stripe/services/subscription_item_service.rbi +0 -350
  744. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1425
  745. data/rbi/stripe/services/subscription_service.rbi +0 -1768
  746. data/rbi/stripe/services/tax/calculation_service.rbi +0 -234
  747. data/rbi/stripe/services/tax/registration_service.rbi +0 -2278
  748. data/rbi/stripe/services/tax/settings_service.rbi +0 -93
  749. data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
  750. data/rbi/stripe/services/tax_code_service.rbi +0 -44
  751. data/rbi/stripe/services/tax_id_service.rbi +0 -110
  752. data/rbi/stripe/services/tax_rate_service.rbi +0 -185
  753. data/rbi/stripe/services/tax_service.rbi +0 -12
  754. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1328
  755. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
  756. data/rbi/stripe/services/terminal/location_service.rbi +0 -182
  757. data/rbi/stripe/services/terminal/reader_service.rbi +0 -540
  758. data/rbi/stripe/services/terminal_service.rbi +0 -12
  759. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -746
  760. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
  761. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
  762. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
  763. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
  764. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
  765. data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
  766. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
  767. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -117
  768. data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
  769. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -90
  770. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
  771. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
  772. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
  773. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
  774. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
  775. data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
  776. data/rbi/stripe/services/test_helpers_service.rbi +0 -15
  777. data/rbi/stripe/services/token_service.rbi +0 -1255
  778. data/rbi/stripe/services/topup_service.rbi +0 -176
  779. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
  780. data/rbi/stripe/services/transfer_service.rbi +0 -152
  781. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
  782. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
  783. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
  784. data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -566
  785. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
  786. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
  787. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
  788. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
  789. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
  790. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
  791. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
  792. data/rbi/stripe/services/treasury_service.rbi +0 -18
  793. data/rbi/stripe/services/v1_services.rbi +0 -77
  794. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
  795. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
  796. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -18
  797. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
  798. data/rbi/stripe/services/v2/billing_service.rbi +0 -14
  799. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -192
  800. data/rbi/stripe/services/v2/core/event_service.rbi +0 -36
  801. data/rbi/stripe/services/v2/core_service.rbi +0 -12
  802. data/rbi/stripe/services/v2_services.rbi +0 -10
  803. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -129
@@ -0,0 +1,3838 @@
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 StripeBalance < Stripe::StripeObject
2052
+ class Payouts < Stripe::StripeObject
2053
+ class StatusDetail < Stripe::StripeObject
2054
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2055
+ attr_reader :code
2056
+ # Machine-readable code explaining how to make the Capability active.
2057
+ attr_reader :resolution
2058
+
2059
+ def self.inner_class_types
2060
+ @inner_class_types = {}
2061
+ end
2062
+
2063
+ def self.field_remappings
2064
+ @field_remappings = {}
2065
+ end
2066
+ end
2067
+ # Whether the Capability has been requested.
2068
+ attr_reader :requested
2069
+ # The status of the Capability.
2070
+ attr_reader :status
2071
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2072
+ attr_reader :status_details
2073
+
2074
+ def self.inner_class_types
2075
+ @inner_class_types = { status_details: StatusDetail }
2076
+ end
2077
+
2078
+ def self.field_remappings
2079
+ @field_remappings = {}
2080
+ end
2081
+ end
2082
+
2083
+ class StripeTransfers < 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
+ # Allows the account to do payouts using their Stripe Balance (/v1/balance).
2114
+ attr_reader :payouts
2115
+ # Allows the account to receive /v1/transfers into their Stripe Balance (/v1/balance).
2116
+ attr_reader :stripe_transfers
2117
+
2118
+ def self.inner_class_types
2119
+ @inner_class_types = { payouts: Payouts, stripe_transfers: StripeTransfers }
2120
+ end
2121
+
2122
+ def self.field_remappings
2123
+ @field_remappings = {}
2124
+ end
2125
+ end
2126
+ # Capabilities that enable OutboundPayments to a bank account linked to this Account.
2127
+ attr_reader :bank_accounts
2128
+ # Capability that enable OutboundPayments to a debit card linked to this Account.
2129
+ attr_reader :cards
2130
+ # Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
2131
+ attr_reader :stripe_balance
2132
+
2133
+ def self.inner_class_types
2134
+ @inner_class_types = {
2135
+ bank_accounts: BankAccounts,
2136
+ cards: Cards,
2137
+ stripe_balance: StripeBalance,
2138
+ }
2139
+ end
2140
+
2141
+ def self.field_remappings
2142
+ @field_remappings = {}
2143
+ end
2144
+ end
2145
+
2146
+ class DefaultOutboundDestination < Stripe::StripeObject
2147
+ # The payout method ID of the default outbound destination.
2148
+ attr_reader :id
2149
+ # Closed Enum. The payout method type of the default outbound destination.
2150
+ attr_reader :type
2151
+
2152
+ def self.inner_class_types
2153
+ @inner_class_types = {}
2154
+ end
2155
+
2156
+ def self.field_remappings
2157
+ @field_remappings = {}
2158
+ end
2159
+ end
2160
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
2161
+ attr_reader :applied
2162
+ # Capabilities that have been requested on the Recipient Configuration.
2163
+ attr_reader :capabilities
2164
+ # 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.
2165
+ attr_reader :default_outbound_destination
2166
+
2167
+ def self.inner_class_types
2168
+ @inner_class_types = {
2169
+ capabilities: Capabilities,
2170
+ default_outbound_destination: DefaultOutboundDestination,
2171
+ }
2172
+ end
2173
+
2174
+ def self.field_remappings
2175
+ @field_remappings = {}
2176
+ end
2177
+ end
2178
+
2179
+ class Storer < Stripe::StripeObject
2180
+ class Capabilities < Stripe::StripeObject
2181
+ class FinancialAddresses < Stripe::StripeObject
2182
+ class BankAccounts < Stripe::StripeObject
2183
+ class StatusDetail < Stripe::StripeObject
2184
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2185
+ attr_reader :code
2186
+ # Machine-readable code explaining how to make the Capability active.
2187
+ attr_reader :resolution
2188
+
2189
+ def self.inner_class_types
2190
+ @inner_class_types = {}
2191
+ end
2192
+
2193
+ def self.field_remappings
2194
+ @field_remappings = {}
2195
+ end
2196
+ end
2197
+ # Whether the Capability has been requested.
2198
+ attr_reader :requested
2199
+ # The status of the Capability.
2200
+ attr_reader :status
2201
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2202
+ attr_reader :status_details
2203
+
2204
+ def self.inner_class_types
2205
+ @inner_class_types = { status_details: StatusDetail }
2206
+ end
2207
+
2208
+ def self.field_remappings
2209
+ @field_remappings = {}
2210
+ end
2211
+ end
2212
+ # Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount.
2213
+ attr_reader :bank_accounts
2214
+
2215
+ def self.inner_class_types
2216
+ @inner_class_types = { bank_accounts: BankAccounts }
2217
+ end
2218
+
2219
+ def self.field_remappings
2220
+ @field_remappings = {}
2221
+ end
2222
+ end
2223
+
2224
+ class HoldsCurrencies < Stripe::StripeObject
2225
+ class Gbp < Stripe::StripeObject
2226
+ class StatusDetail < Stripe::StripeObject
2227
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2228
+ attr_reader :code
2229
+ # Machine-readable code explaining how to make the Capability active.
2230
+ attr_reader :resolution
2231
+
2232
+ def self.inner_class_types
2233
+ @inner_class_types = {}
2234
+ end
2235
+
2236
+ def self.field_remappings
2237
+ @field_remappings = {}
2238
+ end
2239
+ end
2240
+ # Whether the Capability has been requested.
2241
+ attr_reader :requested
2242
+ # The status of the Capability.
2243
+ attr_reader :status
2244
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2245
+ attr_reader :status_details
2246
+
2247
+ def self.inner_class_types
2248
+ @inner_class_types = { status_details: StatusDetail }
2249
+ end
2250
+
2251
+ def self.field_remappings
2252
+ @field_remappings = {}
2253
+ end
2254
+ end
2255
+ # Can hold storage-type funds on Stripe in GBP.
2256
+ attr_reader :gbp
2257
+
2258
+ def self.inner_class_types
2259
+ @inner_class_types = { gbp: Gbp }
2260
+ end
2261
+
2262
+ def self.field_remappings
2263
+ @field_remappings = {}
2264
+ end
2265
+ end
2266
+
2267
+ class InboundTransfers < Stripe::StripeObject
2268
+ class BankAccounts < Stripe::StripeObject
2269
+ class StatusDetail < Stripe::StripeObject
2270
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2271
+ attr_reader :code
2272
+ # Machine-readable code explaining how to make the Capability active.
2273
+ attr_reader :resolution
2274
+
2275
+ def self.inner_class_types
2276
+ @inner_class_types = {}
2277
+ end
2278
+
2279
+ def self.field_remappings
2280
+ @field_remappings = {}
2281
+ end
2282
+ end
2283
+ # Whether the Capability has been requested.
2284
+ attr_reader :requested
2285
+ # The status of the Capability.
2286
+ attr_reader :status
2287
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2288
+ attr_reader :status_details
2289
+
2290
+ def self.inner_class_types
2291
+ @inner_class_types = { status_details: StatusDetail }
2292
+ end
2293
+
2294
+ def self.field_remappings
2295
+ @field_remappings = {}
2296
+ end
2297
+ end
2298
+ # Can pull funds from an external bank account, owned by yourself, to a FinancialAccount.
2299
+ attr_reader :bank_accounts
2300
+
2301
+ def self.inner_class_types
2302
+ @inner_class_types = { bank_accounts: BankAccounts }
2303
+ end
2304
+
2305
+ def self.field_remappings
2306
+ @field_remappings = {}
2307
+ end
2308
+ end
2309
+
2310
+ class OutboundPayments < Stripe::StripeObject
2311
+ class BankAccounts < Stripe::StripeObject
2312
+ class StatusDetail < Stripe::StripeObject
2313
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2314
+ attr_reader :code
2315
+ # Machine-readable code explaining how to make the Capability active.
2316
+ attr_reader :resolution
2317
+
2318
+ def self.inner_class_types
2319
+ @inner_class_types = {}
2320
+ end
2321
+
2322
+ def self.field_remappings
2323
+ @field_remappings = {}
2324
+ end
2325
+ end
2326
+ # Whether the Capability has been requested.
2327
+ attr_reader :requested
2328
+ # The status of the Capability.
2329
+ attr_reader :status
2330
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2331
+ attr_reader :status_details
2332
+
2333
+ def self.inner_class_types
2334
+ @inner_class_types = { status_details: StatusDetail }
2335
+ end
2336
+
2337
+ def self.field_remappings
2338
+ @field_remappings = {}
2339
+ end
2340
+ end
2341
+
2342
+ class Cards < Stripe::StripeObject
2343
+ class StatusDetail < Stripe::StripeObject
2344
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2345
+ attr_reader :code
2346
+ # Machine-readable code explaining how to make the Capability active.
2347
+ attr_reader :resolution
2348
+
2349
+ def self.inner_class_types
2350
+ @inner_class_types = {}
2351
+ end
2352
+
2353
+ def self.field_remappings
2354
+ @field_remappings = {}
2355
+ end
2356
+ end
2357
+ # Whether the Capability has been requested.
2358
+ attr_reader :requested
2359
+ # The status of the Capability.
2360
+ attr_reader :status
2361
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2362
+ attr_reader :status_details
2363
+
2364
+ def self.inner_class_types
2365
+ @inner_class_types = { status_details: StatusDetail }
2366
+ end
2367
+
2368
+ def self.field_remappings
2369
+ @field_remappings = {}
2370
+ end
2371
+ end
2372
+
2373
+ class FinancialAccounts < Stripe::StripeObject
2374
+ class StatusDetail < Stripe::StripeObject
2375
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2376
+ attr_reader :code
2377
+ # Machine-readable code explaining how to make the Capability active.
2378
+ attr_reader :resolution
2379
+
2380
+ def self.inner_class_types
2381
+ @inner_class_types = {}
2382
+ end
2383
+
2384
+ def self.field_remappings
2385
+ @field_remappings = {}
2386
+ end
2387
+ end
2388
+ # Whether the Capability has been requested.
2389
+ attr_reader :requested
2390
+ # The status of the Capability.
2391
+ attr_reader :status
2392
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2393
+ attr_reader :status_details
2394
+
2395
+ def self.inner_class_types
2396
+ @inner_class_types = { status_details: StatusDetail }
2397
+ end
2398
+
2399
+ def self.field_remappings
2400
+ @field_remappings = {}
2401
+ end
2402
+ end
2403
+ # Can send funds from a FinancialAccount to a bank account, owned by someone else.
2404
+ attr_reader :bank_accounts
2405
+ # Can send funds from a FinancialAccount to a debit card, owned by someone else.
2406
+ attr_reader :cards
2407
+ # Can send funds from a FinancialAccount to another FinancialAccount, owned by someone else.
2408
+ attr_reader :financial_accounts
2409
+
2410
+ def self.inner_class_types
2411
+ @inner_class_types = {
2412
+ bank_accounts: BankAccounts,
2413
+ cards: Cards,
2414
+ financial_accounts: FinancialAccounts,
2415
+ }
2416
+ end
2417
+
2418
+ def self.field_remappings
2419
+ @field_remappings = {}
2420
+ end
2421
+ end
2422
+
2423
+ class OutboundTransfers < Stripe::StripeObject
2424
+ class BankAccounts < Stripe::StripeObject
2425
+ class StatusDetail < Stripe::StripeObject
2426
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2427
+ attr_reader :code
2428
+ # Machine-readable code explaining how to make the Capability active.
2429
+ attr_reader :resolution
2430
+
2431
+ def self.inner_class_types
2432
+ @inner_class_types = {}
2433
+ end
2434
+
2435
+ def self.field_remappings
2436
+ @field_remappings = {}
2437
+ end
2438
+ end
2439
+ # Whether the Capability has been requested.
2440
+ attr_reader :requested
2441
+ # The status of the Capability.
2442
+ attr_reader :status
2443
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2444
+ attr_reader :status_details
2445
+
2446
+ def self.inner_class_types
2447
+ @inner_class_types = { status_details: StatusDetail }
2448
+ end
2449
+
2450
+ def self.field_remappings
2451
+ @field_remappings = {}
2452
+ end
2453
+ end
2454
+
2455
+ class FinancialAccounts < Stripe::StripeObject
2456
+ class StatusDetail < Stripe::StripeObject
2457
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2458
+ attr_reader :code
2459
+ # Machine-readable code explaining how to make the Capability active.
2460
+ attr_reader :resolution
2461
+
2462
+ def self.inner_class_types
2463
+ @inner_class_types = {}
2464
+ end
2465
+
2466
+ def self.field_remappings
2467
+ @field_remappings = {}
2468
+ end
2469
+ end
2470
+ # Whether the Capability has been requested.
2471
+ attr_reader :requested
2472
+ # The status of the Capability.
2473
+ attr_reader :status
2474
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2475
+ attr_reader :status_details
2476
+
2477
+ def self.inner_class_types
2478
+ @inner_class_types = { status_details: StatusDetail }
2479
+ end
2480
+
2481
+ def self.field_remappings
2482
+ @field_remappings = {}
2483
+ end
2484
+ end
2485
+ # Can send funds from a FinancialAccount, to a bank account, owned by yourself.
2486
+ attr_reader :bank_accounts
2487
+ # Can send funds from a FinancialAccount to another FinancialAccount, owned by yourself.
2488
+ attr_reader :financial_accounts
2489
+
2490
+ def self.inner_class_types
2491
+ @inner_class_types = {
2492
+ bank_accounts: BankAccounts,
2493
+ financial_accounts: FinancialAccounts,
2494
+ }
2495
+ end
2496
+
2497
+ def self.field_remappings
2498
+ @field_remappings = {}
2499
+ end
2500
+ end
2501
+ # Can provision a financial address to credit/debit a FinancialAccount.
2502
+ attr_reader :financial_addresses
2503
+ # Can hold storage-type funds on Stripe.
2504
+ attr_reader :holds_currencies
2505
+ # Can pull funds from an external source, owned by yourself, to a FinancialAccount.
2506
+ attr_reader :inbound_transfers
2507
+ # Can send funds from a FinancialAccount to a destination owned by someone else.
2508
+ attr_reader :outbound_payments
2509
+ # Can send funds from a FinancialAccount to a destination owned by yourself.
2510
+ attr_reader :outbound_transfers
2511
+
2512
+ def self.inner_class_types
2513
+ @inner_class_types = {
2514
+ financial_addresses: FinancialAddresses,
2515
+ holds_currencies: HoldsCurrencies,
2516
+ inbound_transfers: InboundTransfers,
2517
+ outbound_payments: OutboundPayments,
2518
+ outbound_transfers: OutboundTransfers,
2519
+ }
2520
+ end
2521
+
2522
+ def self.field_remappings
2523
+ @field_remappings = {}
2524
+ end
2525
+ end
2526
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
2527
+ attr_reader :applied
2528
+ # Capabilities that have been requested on the Storer Configuration.
2529
+ attr_reader :capabilities
2530
+
2531
+ def self.inner_class_types
2532
+ @inner_class_types = { capabilities: Capabilities }
2533
+ end
2534
+
2535
+ def self.field_remappings
2536
+ @field_remappings = {}
2537
+ end
2538
+ end
2539
+ # The Customer Configuration allows the Account to be used in inbound payment flows.
2540
+ attr_reader :customer
2541
+ # 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.
2542
+ attr_reader :merchant
2543
+ # The Recipient Configuration allows the Account to receive funds.
2544
+ attr_reader :recipient
2545
+ # The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
2546
+ attr_reader :storer
2547
+
2548
+ def self.inner_class_types
2549
+ @inner_class_types = {
2550
+ customer: Customer,
2551
+ merchant: Merchant,
2552
+ recipient: Recipient,
2553
+ storer: Storer,
2554
+ }
2555
+ end
2556
+
2557
+ def self.field_remappings
2558
+ @field_remappings = {}
2559
+ end
2560
+ end
2561
+
2562
+ class Defaults < Stripe::StripeObject
2563
+ class Responsibilities < Stripe::StripeObject
2564
+ # A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this Account.
2565
+ attr_reader :fees_collector
2566
+ # A value indicating who is responsible for losses when this Account can’t pay back negative balances from payments.
2567
+ attr_reader :losses_collector
2568
+
2569
+ def self.inner_class_types
2570
+ @inner_class_types = {}
2571
+ end
2572
+
2573
+ def self.field_remappings
2574
+ @field_remappings = {}
2575
+ end
2576
+ end
2577
+ # 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).
2578
+ attr_reader :currency
2579
+ # The Account's preferred locales (languages), ordered by preference.
2580
+ attr_reader :locales
2581
+ # Default responsibilities held by either Stripe or the platform.
2582
+ attr_reader :responsibilities
2583
+
2584
+ def self.inner_class_types
2585
+ @inner_class_types = { responsibilities: Responsibilities }
2586
+ end
2587
+
2588
+ def self.field_remappings
2589
+ @field_remappings = {}
2590
+ end
2591
+ end
2592
+
2593
+ class Identity < Stripe::StripeObject
2594
+ class Attestations < Stripe::StripeObject
2595
+ class DirectorshipDeclaration < Stripe::StripeObject
2596
+ # 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.
2597
+ attr_reader :date
2598
+ # The IP address from which the director attestation was made.
2599
+ attr_reader :ip
2600
+ # The user agent of the browser from which the director attestation was made.
2601
+ attr_reader :user_agent
2602
+
2603
+ def self.inner_class_types
2604
+ @inner_class_types = {}
2605
+ end
2606
+
2607
+ def self.field_remappings
2608
+ @field_remappings = {}
2609
+ end
2610
+ end
2611
+
2612
+ class OwnershipDeclaration < Stripe::StripeObject
2613
+ # 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.
2614
+ attr_reader :date
2615
+ # The IP address from which the beneficial owner attestation was made.
2616
+ attr_reader :ip
2617
+ # The user agent of the browser from which the beneficial owner attestation was made.
2618
+ attr_reader :user_agent
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
+
2629
+ class PersonsProvided < Stripe::StripeObject
2630
+ # 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).
2631
+ attr_reader :directors
2632
+ # 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).
2633
+ attr_reader :executives
2634
+ # 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).
2635
+ attr_reader :owners
2636
+ # Reason for why the company is exempt from providing ownership information.
2637
+ attr_reader :ownership_exemption_reason
2638
+
2639
+ def self.inner_class_types
2640
+ @inner_class_types = {}
2641
+ end
2642
+
2643
+ def self.field_remappings
2644
+ @field_remappings = {}
2645
+ end
2646
+ end
2647
+
2648
+ class TermsOfService < Stripe::StripeObject
2649
+ class Account < Stripe::StripeObject
2650
+ # 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.
2651
+ attr_reader :date
2652
+ # The IP address from which the Account's representative accepted the terms of service.
2653
+ attr_reader :ip
2654
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
2655
+ attr_reader :user_agent
2656
+
2657
+ def self.inner_class_types
2658
+ @inner_class_types = {}
2659
+ end
2660
+
2661
+ def self.field_remappings
2662
+ @field_remappings = {}
2663
+ end
2664
+ end
2665
+
2666
+ class Storer < Stripe::StripeObject
2667
+ # 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.
2668
+ attr_reader :date
2669
+ # The IP address from which the Account's representative accepted the terms of service.
2670
+ attr_reader :ip
2671
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
2672
+ attr_reader :user_agent
2673
+
2674
+ def self.inner_class_types
2675
+ @inner_class_types = {}
2676
+ end
2677
+
2678
+ def self.field_remappings
2679
+ @field_remappings = {}
2680
+ end
2681
+ end
2682
+ # Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
2683
+ attr_reader :account
2684
+ # Details on the Account's acceptance of Treasury-specific terms of service.
2685
+ attr_reader :storer
2686
+
2687
+ def self.inner_class_types
2688
+ @inner_class_types = { account: Account, storer: Storer }
2689
+ end
2690
+
2691
+ def self.field_remappings
2692
+ @field_remappings = {}
2693
+ end
2694
+ end
2695
+ # This hash is used to attest that the directors information provided to Stripe is both current and correct.
2696
+ attr_reader :directorship_declaration
2697
+ # This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
2698
+ attr_reader :ownership_declaration
2699
+ # Attestation that all Persons with a specific Relationship value have been provided.
2700
+ attr_reader :persons_provided
2701
+ # Attestations of accepted terms of service agreements.
2702
+ attr_reader :terms_of_service
2703
+
2704
+ def self.inner_class_types
2705
+ @inner_class_types = {
2706
+ directorship_declaration: DirectorshipDeclaration,
2707
+ ownership_declaration: OwnershipDeclaration,
2708
+ persons_provided: PersonsProvided,
2709
+ terms_of_service: TermsOfService,
2710
+ }
2711
+ end
2712
+
2713
+ def self.field_remappings
2714
+ @field_remappings = {}
2715
+ end
2716
+ end
2717
+
2718
+ class BusinessDetails < Stripe::StripeObject
2719
+ class Address < Stripe::StripeObject
2720
+ # City, district, suburb, town, or village.
2721
+ attr_reader :city
2722
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2723
+ attr_reader :country
2724
+ # Address line 1 (e.g., street, PO Box, or company name).
2725
+ attr_reader :line1
2726
+ # Address line 2 (e.g., apartment, suite, unit, or building).
2727
+ attr_reader :line2
2728
+ # ZIP or postal code.
2729
+ attr_reader :postal_code
2730
+ # State, county, province, or region.
2731
+ attr_reader :state
2732
+ # Town or cho-me.
2733
+ attr_reader :town
2734
+
2735
+ def self.inner_class_types
2736
+ @inner_class_types = {}
2737
+ end
2738
+
2739
+ def self.field_remappings
2740
+ @field_remappings = {}
2741
+ end
2742
+ end
2743
+
2744
+ class AnnualRevenue < Stripe::StripeObject
2745
+ # A non-negative integer representing the amount in the smallest currency unit.
2746
+ attr_reader :amount
2747
+ # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
2748
+ attr_reader :fiscal_year_end
2749
+
2750
+ def self.inner_class_types
2751
+ @inner_class_types = {}
2752
+ end
2753
+
2754
+ def self.field_remappings
2755
+ @field_remappings = {}
2756
+ end
2757
+ end
2758
+
2759
+ class Documents < Stripe::StripeObject
2760
+ class BankAccountOwnershipVerification < Stripe::StripeObject
2761
+ # 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`.
2762
+ attr_reader :files
2763
+ # The format of the document. Currently supports `files` only.
2764
+ attr_reader :type
2765
+
2766
+ def self.inner_class_types
2767
+ @inner_class_types = {}
2768
+ end
2769
+
2770
+ def self.field_remappings
2771
+ @field_remappings = {}
2772
+ end
2773
+ end
2774
+
2775
+ class CompanyLicense < Stripe::StripeObject
2776
+ # 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`.
2777
+ attr_reader :files
2778
+ # The format of the document. Currently supports `files` only.
2779
+ attr_reader :type
2780
+
2781
+ def self.inner_class_types
2782
+ @inner_class_types = {}
2783
+ end
2784
+
2785
+ def self.field_remappings
2786
+ @field_remappings = {}
2787
+ end
2788
+ end
2789
+
2790
+ class CompanyMemorandumOfAssociation < Stripe::StripeObject
2791
+ # 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`.
2792
+ attr_reader :files
2793
+ # The format of the document. Currently supports `files` only.
2794
+ attr_reader :type
2795
+
2796
+ def self.inner_class_types
2797
+ @inner_class_types = {}
2798
+ end
2799
+
2800
+ def self.field_remappings
2801
+ @field_remappings = {}
2802
+ end
2803
+ end
2804
+
2805
+ class CompanyMinisterialDecree < Stripe::StripeObject
2806
+ # 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`.
2807
+ attr_reader :files
2808
+ # The format of the document. Currently supports `files` only.
2809
+ attr_reader :type
2810
+
2811
+ def self.inner_class_types
2812
+ @inner_class_types = {}
2813
+ end
2814
+
2815
+ def self.field_remappings
2816
+ @field_remappings = {}
2817
+ end
2818
+ end
2819
+
2820
+ class CompanyRegistrationVerification < Stripe::StripeObject
2821
+ # 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`.
2822
+ attr_reader :files
2823
+ # The format of the document. Currently supports `files` only.
2824
+ attr_reader :type
2825
+
2826
+ def self.inner_class_types
2827
+ @inner_class_types = {}
2828
+ end
2829
+
2830
+ def self.field_remappings
2831
+ @field_remappings = {}
2832
+ end
2833
+ end
2834
+
2835
+ class CompanyTaxIdVerification < Stripe::StripeObject
2836
+ # 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`.
2837
+ attr_reader :files
2838
+ # The format of the document. Currently supports `files` only.
2839
+ attr_reader :type
2840
+
2841
+ def self.inner_class_types
2842
+ @inner_class_types = {}
2843
+ end
2844
+
2845
+ def self.field_remappings
2846
+ @field_remappings = {}
2847
+ end
2848
+ end
2849
+
2850
+ class PrimaryVerification < Stripe::StripeObject
2851
+ class FrontBack < Stripe::StripeObject
2852
+ # 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.
2853
+ attr_reader :back
2854
+ # 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.
2855
+ attr_reader :front
2856
+
2857
+ def self.inner_class_types
2858
+ @inner_class_types = {}
2859
+ end
2860
+
2861
+ def self.field_remappings
2862
+ @field_remappings = {}
2863
+ end
2864
+ end
2865
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
2866
+ attr_reader :front_back
2867
+ # The format of the verification document. Currently supports `front_back` only.
2868
+ attr_reader :type
2869
+
2870
+ def self.inner_class_types
2871
+ @inner_class_types = { front_back: FrontBack }
2872
+ end
2873
+
2874
+ def self.field_remappings
2875
+ @field_remappings = {}
2876
+ end
2877
+ end
2878
+
2879
+ class ProofOfAddress < Stripe::StripeObject
2880
+ # 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`.
2881
+ attr_reader :files
2882
+ # The format of the document. Currently supports `files` only.
2883
+ attr_reader :type
2884
+
2885
+ def self.inner_class_types
2886
+ @inner_class_types = {}
2887
+ end
2888
+
2889
+ def self.field_remappings
2890
+ @field_remappings = {}
2891
+ end
2892
+ end
2893
+
2894
+ class ProofOfRegistration < Stripe::StripeObject
2895
+ # 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`.
2896
+ attr_reader :files
2897
+ # The format of the document. Currently supports `files` only.
2898
+ attr_reader :type
2899
+
2900
+ def self.inner_class_types
2901
+ @inner_class_types = {}
2902
+ end
2903
+
2904
+ def self.field_remappings
2905
+ @field_remappings = {}
2906
+ end
2907
+ end
2908
+
2909
+ class ProofOfUltimateBeneficialOwnership < Stripe::StripeObject
2910
+ # 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`.
2911
+ attr_reader :files
2912
+ # The format of the document. Currently supports `files` only.
2913
+ attr_reader :type
2914
+
2915
+ def self.inner_class_types
2916
+ @inner_class_types = {}
2917
+ end
2918
+
2919
+ def self.field_remappings
2920
+ @field_remappings = {}
2921
+ end
2922
+ end
2923
+ # 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.
2924
+ attr_reader :bank_account_ownership_verification
2925
+ # One or more documents that demonstrate proof of a company’s license to operate.
2926
+ attr_reader :company_license
2927
+ # One or more documents showing the company’s Memorandum of Association.
2928
+ attr_reader :company_memorandum_of_association
2929
+ # Certain countries only: One or more documents showing the ministerial decree legalizing the company’s establishment.
2930
+ attr_reader :company_ministerial_decree
2931
+ # One or more documents that demonstrate proof of a company’s registration with the appropriate local authorities.
2932
+ attr_reader :company_registration_verification
2933
+ # One or more documents that demonstrate proof of a company’s tax ID.
2934
+ attr_reader :company_tax_id_verification
2935
+ # A document verifying the business.
2936
+ attr_reader :primary_verification
2937
+ # One or more documents that demonstrate proof of address.
2938
+ attr_reader :proof_of_address
2939
+ # One or more documents showing the company’s proof of registration with the national business registry.
2940
+ attr_reader :proof_of_registration
2941
+ # One or more documents that demonstrate proof of ultimate beneficial ownership.
2942
+ attr_reader :proof_of_ultimate_beneficial_ownership
2943
+
2944
+ def self.inner_class_types
2945
+ @inner_class_types = {
2946
+ bank_account_ownership_verification: BankAccountOwnershipVerification,
2947
+ company_license: CompanyLicense,
2948
+ company_memorandum_of_association: CompanyMemorandumOfAssociation,
2949
+ company_ministerial_decree: CompanyMinisterialDecree,
2950
+ company_registration_verification: CompanyRegistrationVerification,
2951
+ company_tax_id_verification: CompanyTaxIdVerification,
2952
+ primary_verification: PrimaryVerification,
2953
+ proof_of_address: ProofOfAddress,
2954
+ proof_of_registration: ProofOfRegistration,
2955
+ proof_of_ultimate_beneficial_ownership: ProofOfUltimateBeneficialOwnership,
2956
+ }
2957
+ end
2958
+
2959
+ def self.field_remappings
2960
+ @field_remappings = {}
2961
+ end
2962
+ end
2963
+
2964
+ class IdNumber < Stripe::StripeObject
2965
+ # The registrar of the ID number (Only valid for DE ID number types).
2966
+ attr_reader :registrar
2967
+ # Open Enum. The ID number type of a business entity.
2968
+ attr_reader :type
2969
+
2970
+ def self.inner_class_types
2971
+ @inner_class_types = {}
2972
+ end
2973
+
2974
+ def self.field_remappings
2975
+ @field_remappings = {}
2976
+ end
2977
+ end
2978
+
2979
+ class MonthlyEstimatedRevenue < Stripe::StripeObject
2980
+ # A non-negative integer representing the amount in the smallest currency unit.
2981
+ attr_reader :amount
2982
+
2983
+ def self.inner_class_types
2984
+ @inner_class_types = {}
2985
+ end
2986
+
2987
+ def self.field_remappings
2988
+ @field_remappings = {}
2989
+ end
2990
+ end
2991
+
2992
+ class ScriptAddresses < Stripe::StripeObject
2993
+ class Kana < Stripe::StripeObject
2994
+ # City, district, suburb, town, or village.
2995
+ attr_reader :city
2996
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2997
+ attr_reader :country
2998
+ # Address line 1 (e.g., street, PO Box, or company name).
2999
+ attr_reader :line1
3000
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3001
+ attr_reader :line2
3002
+ # ZIP or postal code.
3003
+ attr_reader :postal_code
3004
+ # State, county, province, or region.
3005
+ attr_reader :state
3006
+ # Town or cho-me.
3007
+ attr_reader :town
3008
+
3009
+ def self.inner_class_types
3010
+ @inner_class_types = {}
3011
+ end
3012
+
3013
+ def self.field_remappings
3014
+ @field_remappings = {}
3015
+ end
3016
+ end
3017
+
3018
+ class Kanji < Stripe::StripeObject
3019
+ # City, district, suburb, town, or village.
3020
+ attr_reader :city
3021
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3022
+ attr_reader :country
3023
+ # Address line 1 (e.g., street, PO Box, or company name).
3024
+ attr_reader :line1
3025
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3026
+ attr_reader :line2
3027
+ # ZIP or postal code.
3028
+ attr_reader :postal_code
3029
+ # State, county, province, or region.
3030
+ attr_reader :state
3031
+ # Town or cho-me.
3032
+ attr_reader :town
3033
+
3034
+ def self.inner_class_types
3035
+ @inner_class_types = {}
3036
+ end
3037
+
3038
+ def self.field_remappings
3039
+ @field_remappings = {}
3040
+ end
3041
+ end
3042
+ # Kana Address.
3043
+ attr_reader :kana
3044
+ # Kanji Address.
3045
+ attr_reader :kanji
3046
+
3047
+ def self.inner_class_types
3048
+ @inner_class_types = { kana: Kana, kanji: Kanji }
3049
+ end
3050
+
3051
+ def self.field_remappings
3052
+ @field_remappings = {}
3053
+ end
3054
+ end
3055
+
3056
+ class ScriptNames < Stripe::StripeObject
3057
+ class Kana < Stripe::StripeObject
3058
+ # Registered name of the business.
3059
+ attr_reader :registered_name
3060
+
3061
+ def self.inner_class_types
3062
+ @inner_class_types = {}
3063
+ end
3064
+
3065
+ def self.field_remappings
3066
+ @field_remappings = {}
3067
+ end
3068
+ end
3069
+
3070
+ class Kanji < Stripe::StripeObject
3071
+ # Registered name of the business.
3072
+ attr_reader :registered_name
3073
+
3074
+ def self.inner_class_types
3075
+ @inner_class_types = {}
3076
+ end
3077
+
3078
+ def self.field_remappings
3079
+ @field_remappings = {}
3080
+ end
3081
+ end
3082
+ # Kana name.
3083
+ attr_reader :kana
3084
+ # Kanji name.
3085
+ attr_reader :kanji
3086
+
3087
+ def self.inner_class_types
3088
+ @inner_class_types = { kana: Kana, kanji: Kanji }
3089
+ end
3090
+
3091
+ def self.field_remappings
3092
+ @field_remappings = {}
3093
+ end
3094
+ end
3095
+ # The company’s primary address.
3096
+ attr_reader :address
3097
+ # The business gross annual revenue for its preceding fiscal year.
3098
+ attr_reader :annual_revenue
3099
+ # Documents that may be submitted to satisfy various informational requests.
3100
+ attr_reader :documents
3101
+ # The company’s legal name.
3102
+ attr_reader :doing_business_as
3103
+ # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
3104
+ attr_reader :estimated_worker_count
3105
+ # The provided ID numbers of a business entity.
3106
+ attr_reader :id_numbers
3107
+ # An estimate of the monthly revenue of the business.
3108
+ attr_reader :monthly_estimated_revenue
3109
+ # The company’s phone number (used for verification).
3110
+ attr_reader :phone
3111
+ # Internal-only description of the product sold or service provided by the business. It’s used by Stripe for risk and underwriting purposes.
3112
+ attr_reader :product_description
3113
+ # The business legal name.
3114
+ attr_reader :registered_name
3115
+ # The business registration address of the business entity in non latin script.
3116
+ attr_reader :script_addresses
3117
+ # The business legal name in non latin script.
3118
+ attr_reader :script_names
3119
+ # The category identifying the legal structure of the business.
3120
+ attr_reader :structure
3121
+ # The business's publicly available website.
3122
+ attr_reader :url
3123
+
3124
+ def self.inner_class_types
3125
+ @inner_class_types = {
3126
+ address: Address,
3127
+ annual_revenue: AnnualRevenue,
3128
+ documents: Documents,
3129
+ id_numbers: IdNumber,
3130
+ monthly_estimated_revenue: MonthlyEstimatedRevenue,
3131
+ script_addresses: ScriptAddresses,
3132
+ script_names: ScriptNames,
3133
+ }
3134
+ end
3135
+
3136
+ def self.field_remappings
3137
+ @field_remappings = {}
3138
+ end
3139
+ end
3140
+
3141
+ class Individual < Stripe::StripeObject
3142
+ class AdditionalAddress < Stripe::StripeObject
3143
+ # City, district, suburb, town, or village.
3144
+ attr_reader :city
3145
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3146
+ attr_reader :country
3147
+ # Address line 1 (e.g., street, PO Box, or company name).
3148
+ attr_reader :line1
3149
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3150
+ attr_reader :line2
3151
+ # ZIP or postal code.
3152
+ attr_reader :postal_code
3153
+ # Purpose of additional address.
3154
+ attr_reader :purpose
3155
+ # State, county, province, or region.
3156
+ attr_reader :state
3157
+ # Town or cho-me.
3158
+ attr_reader :town
3159
+
3160
+ def self.inner_class_types
3161
+ @inner_class_types = {}
3162
+ end
3163
+
3164
+ def self.field_remappings
3165
+ @field_remappings = {}
3166
+ end
3167
+ end
3168
+
3169
+ class AdditionalName < Stripe::StripeObject
3170
+ # The individual's full name.
3171
+ attr_reader :full_name
3172
+ # The individual's first or given name.
3173
+ attr_reader :given_name
3174
+ # The purpose or type of the additional name.
3175
+ attr_reader :purpose
3176
+ # The individual's last or family name.
3177
+ attr_reader :surname
3178
+
3179
+ def self.inner_class_types
3180
+ @inner_class_types = {}
3181
+ end
3182
+
3183
+ def self.field_remappings
3184
+ @field_remappings = {}
3185
+ end
3186
+ end
3187
+
3188
+ class AdditionalTermsOfService < Stripe::StripeObject
3189
+ class Account < Stripe::StripeObject
3190
+ # 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.
3191
+ attr_reader :date
3192
+ # The IP address from which the Account's representative accepted the terms of service.
3193
+ attr_reader :ip
3194
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3195
+ attr_reader :user_agent
3196
+
3197
+ def self.inner_class_types
3198
+ @inner_class_types = {}
3199
+ end
3200
+
3201
+ def self.field_remappings
3202
+ @field_remappings = {}
3203
+ end
3204
+ end
3205
+ # Stripe terms of service agreement.
3206
+ attr_reader :account
3207
+
3208
+ def self.inner_class_types
3209
+ @inner_class_types = { account: Account }
3210
+ end
3211
+
3212
+ def self.field_remappings
3213
+ @field_remappings = {}
3214
+ end
3215
+ end
3216
+
3217
+ class Address < Stripe::StripeObject
3218
+ # City, district, suburb, town, or village.
3219
+ attr_reader :city
3220
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3221
+ attr_reader :country
3222
+ # Address line 1 (e.g., street, PO Box, or company name).
3223
+ attr_reader :line1
3224
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3225
+ attr_reader :line2
3226
+ # ZIP or postal code.
3227
+ attr_reader :postal_code
3228
+ # State, county, province, or region.
3229
+ attr_reader :state
3230
+ # Town or cho-me.
3231
+ attr_reader :town
3232
+
3233
+ def self.inner_class_types
3234
+ @inner_class_types = {}
3235
+ end
3236
+
3237
+ def self.field_remappings
3238
+ @field_remappings = {}
3239
+ end
3240
+ end
3241
+
3242
+ class DateOfBirth < Stripe::StripeObject
3243
+ # The day of birth, between 1 and 31.
3244
+ attr_reader :day
3245
+ # The month of birth, between 1 and 12.
3246
+ attr_reader :month
3247
+ # The four-digit year of birth.
3248
+ attr_reader :year
3249
+
3250
+ def self.inner_class_types
3251
+ @inner_class_types = {}
3252
+ end
3253
+
3254
+ def self.field_remappings
3255
+ @field_remappings = {}
3256
+ end
3257
+ end
3258
+
3259
+ class Documents < Stripe::StripeObject
3260
+ class CompanyAuthorization < Stripe::StripeObject
3261
+ # 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`.
3262
+ attr_reader :files
3263
+ # The format of the document. Currently supports `files` only.
3264
+ attr_reader :type
3265
+
3266
+ def self.inner_class_types
3267
+ @inner_class_types = {}
3268
+ end
3269
+
3270
+ def self.field_remappings
3271
+ @field_remappings = {}
3272
+ end
3273
+ end
3274
+
3275
+ class Passport < Stripe::StripeObject
3276
+ # 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`.
3277
+ attr_reader :files
3278
+ # The format of the document. Currently supports `files` only.
3279
+ attr_reader :type
3280
+
3281
+ def self.inner_class_types
3282
+ @inner_class_types = {}
3283
+ end
3284
+
3285
+ def self.field_remappings
3286
+ @field_remappings = {}
3287
+ end
3288
+ end
3289
+
3290
+ class PrimaryVerification < Stripe::StripeObject
3291
+ class FrontBack < Stripe::StripeObject
3292
+ # 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.
3293
+ attr_reader :back
3294
+ # 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.
3295
+ attr_reader :front
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
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
3306
+ attr_reader :front_back
3307
+ # The format of the verification document. Currently supports `front_back` only.
3308
+ attr_reader :type
3309
+
3310
+ def self.inner_class_types
3311
+ @inner_class_types = { front_back: FrontBack }
3312
+ end
3313
+
3314
+ def self.field_remappings
3315
+ @field_remappings = {}
3316
+ end
3317
+ end
3318
+
3319
+ class SecondaryVerification < Stripe::StripeObject
3320
+ class FrontBack < Stripe::StripeObject
3321
+ # 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.
3322
+ attr_reader :back
3323
+ # 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.
3324
+ attr_reader :front
3325
+
3326
+ def self.inner_class_types
3327
+ @inner_class_types = {}
3328
+ end
3329
+
3330
+ def self.field_remappings
3331
+ @field_remappings = {}
3332
+ end
3333
+ end
3334
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
3335
+ attr_reader :front_back
3336
+ # The format of the verification document. Currently supports `front_back` only.
3337
+ attr_reader :type
3338
+
3339
+ def self.inner_class_types
3340
+ @inner_class_types = { front_back: FrontBack }
3341
+ end
3342
+
3343
+ def self.field_remappings
3344
+ @field_remappings = {}
3345
+ end
3346
+ end
3347
+
3348
+ class Visa < Stripe::StripeObject
3349
+ # 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`.
3350
+ attr_reader :files
3351
+ # The format of the document. Currently supports `files` only.
3352
+ attr_reader :type
3353
+
3354
+ def self.inner_class_types
3355
+ @inner_class_types = {}
3356
+ end
3357
+
3358
+ def self.field_remappings
3359
+ @field_remappings = {}
3360
+ end
3361
+ end
3362
+ # One or more documents that demonstrate proof that this person is authorized to represent the company.
3363
+ attr_reader :company_authorization
3364
+ # One or more documents showing the person’s passport page with photo and personal data.
3365
+ attr_reader :passport
3366
+ # An identifying document showing the person's name, either a passport or local ID card.
3367
+ attr_reader :primary_verification
3368
+ # A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
3369
+ attr_reader :secondary_verification
3370
+ # One or more documents showing the person’s visa required for living in the country where they are residing.
3371
+ attr_reader :visa
3372
+
3373
+ def self.inner_class_types
3374
+ @inner_class_types = {
3375
+ company_authorization: CompanyAuthorization,
3376
+ passport: Passport,
3377
+ primary_verification: PrimaryVerification,
3378
+ secondary_verification: SecondaryVerification,
3379
+ visa: Visa,
3380
+ }
3381
+ end
3382
+
3383
+ def self.field_remappings
3384
+ @field_remappings = {}
3385
+ end
3386
+ end
3387
+
3388
+ class IdNumber < Stripe::StripeObject
3389
+ # The ID number type of an individual.
3390
+ attr_reader :type
3391
+
3392
+ def self.inner_class_types
3393
+ @inner_class_types = {}
3394
+ end
3395
+
3396
+ def self.field_remappings
3397
+ @field_remappings = {}
3398
+ end
3399
+ end
3400
+
3401
+ class Relationship < Stripe::StripeObject
3402
+ # Whether the individual is an authorizer of the Account’s legal entity.
3403
+ attr_reader :authorizer
3404
+ # 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.
3405
+ attr_reader :director
3406
+ # Whether the individual has significant responsibility to control, manage, or direct the organization.
3407
+ attr_reader :executive
3408
+ # Whether the individual is the legal guardian of the Account’s representative.
3409
+ attr_reader :legal_guardian
3410
+ # Whether the individual is an owner of the Account’s legal entity.
3411
+ attr_reader :owner
3412
+ # The percent owned by the individual of the Account’s legal entity.
3413
+ attr_reader :percent_ownership
3414
+ # 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.
3415
+ attr_reader :representative
3416
+ # The individual's title (e.g., CEO, Support Engineer).
3417
+ attr_reader :title
3418
+
3419
+ def self.inner_class_types
3420
+ @inner_class_types = {}
3421
+ end
3422
+
3423
+ def self.field_remappings
3424
+ @field_remappings = {}
3425
+ end
3426
+ end
3427
+
3428
+ class ScriptAddresses < Stripe::StripeObject
3429
+ class Kana < Stripe::StripeObject
3430
+ # City, district, suburb, town, or village.
3431
+ attr_reader :city
3432
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3433
+ attr_reader :country
3434
+ # Address line 1 (e.g., street, PO Box, or company name).
3435
+ attr_reader :line1
3436
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3437
+ attr_reader :line2
3438
+ # ZIP or postal code.
3439
+ attr_reader :postal_code
3440
+ # State, county, province, or region.
3441
+ attr_reader :state
3442
+ # Town or cho-me.
3443
+ attr_reader :town
3444
+
3445
+ def self.inner_class_types
3446
+ @inner_class_types = {}
3447
+ end
3448
+
3449
+ def self.field_remappings
3450
+ @field_remappings = {}
3451
+ end
3452
+ end
3453
+
3454
+ class Kanji < Stripe::StripeObject
3455
+ # City, district, suburb, town, or village.
3456
+ attr_reader :city
3457
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3458
+ attr_reader :country
3459
+ # Address line 1 (e.g., street, PO Box, or company name).
3460
+ attr_reader :line1
3461
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3462
+ attr_reader :line2
3463
+ # ZIP or postal code.
3464
+ attr_reader :postal_code
3465
+ # State, county, province, or region.
3466
+ attr_reader :state
3467
+ # Town or cho-me.
3468
+ attr_reader :town
3469
+
3470
+ def self.inner_class_types
3471
+ @inner_class_types = {}
3472
+ end
3473
+
3474
+ def self.field_remappings
3475
+ @field_remappings = {}
3476
+ end
3477
+ end
3478
+ # Kana Address.
3479
+ attr_reader :kana
3480
+ # Kanji Address.
3481
+ attr_reader :kanji
3482
+
3483
+ def self.inner_class_types
3484
+ @inner_class_types = { kana: Kana, kanji: Kanji }
3485
+ end
3486
+
3487
+ def self.field_remappings
3488
+ @field_remappings = {}
3489
+ end
3490
+ end
3491
+
3492
+ class ScriptNames < Stripe::StripeObject
3493
+ class Kana < Stripe::StripeObject
3494
+ # The person's first or given name.
3495
+ attr_reader :given_name
3496
+ # The person's last or family name.
3497
+ attr_reader :surname
3498
+
3499
+ def self.inner_class_types
3500
+ @inner_class_types = {}
3501
+ end
3502
+
3503
+ def self.field_remappings
3504
+ @field_remappings = {}
3505
+ end
3506
+ end
3507
+
3508
+ class Kanji < Stripe::StripeObject
3509
+ # The person's first or given name.
3510
+ attr_reader :given_name
3511
+ # The person's last or family name.
3512
+ attr_reader :surname
3513
+
3514
+ def self.inner_class_types
3515
+ @inner_class_types = {}
3516
+ end
3517
+
3518
+ def self.field_remappings
3519
+ @field_remappings = {}
3520
+ end
3521
+ end
3522
+ # Persons name in kana script.
3523
+ attr_reader :kana
3524
+ # Persons name in kanji script.
3525
+ attr_reader :kanji
3526
+
3527
+ def self.inner_class_types
3528
+ @inner_class_types = { kana: Kana, kanji: Kanji }
3529
+ end
3530
+
3531
+ def self.field_remappings
3532
+ @field_remappings = {}
3533
+ end
3534
+ end
3535
+ # The account ID which the individual belongs to.
3536
+ attr_reader :account
3537
+ # Additional addresses associated with the individual.
3538
+ attr_reader :additional_addresses
3539
+ # Additional names (e.g. aliases) associated with the individual.
3540
+ attr_reader :additional_names
3541
+ # Terms of service acceptances.
3542
+ attr_reader :additional_terms_of_service
3543
+ # The individual's residential address.
3544
+ attr_reader :address
3545
+ # 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.
3546
+ attr_reader :created
3547
+ # The individual's date of birth.
3548
+ attr_reader :date_of_birth
3549
+ # Documents that may be submitted to satisfy various informational requests.
3550
+ attr_reader :documents
3551
+ # The individual's email address.
3552
+ attr_reader :email
3553
+ # The individual's first name.
3554
+ attr_reader :given_name
3555
+ # Unique identifier for the object.
3556
+ attr_reader :id
3557
+ # The identification numbers (e.g., SSN) associated with the individual.
3558
+ attr_reader :id_numbers
3559
+ # The individual's gender (International regulations require either "male” or "female").
3560
+ attr_reader :legal_gender
3561
+ # 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.
3562
+ attr_reader :metadata
3563
+ # 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)).
3564
+ attr_reader :nationalities
3565
+ # String representing the object's type. Objects of the same type share the same value.
3566
+ attr_reader :object
3567
+ # The individual's phone number.
3568
+ attr_reader :phone
3569
+ # 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.
3570
+ attr_reader :political_exposure
3571
+ # The relationship that this individual has with the Account's identity.
3572
+ attr_reader :relationship
3573
+ # The script addresses (e.g., non-Latin characters) associated with the individual.
3574
+ attr_reader :script_addresses
3575
+ # The script names (e.g. non-Latin characters) associated with the individual.
3576
+ attr_reader :script_names
3577
+ # The individual's last name.
3578
+ attr_reader :surname
3579
+ # Time at which the object was last updated.
3580
+ attr_reader :updated
3581
+
3582
+ def self.inner_class_types
3583
+ @inner_class_types = {
3584
+ additional_addresses: AdditionalAddress,
3585
+ additional_names: AdditionalName,
3586
+ additional_terms_of_service: AdditionalTermsOfService,
3587
+ address: Address,
3588
+ date_of_birth: DateOfBirth,
3589
+ documents: Documents,
3590
+ id_numbers: IdNumber,
3591
+ relationship: Relationship,
3592
+ script_addresses: ScriptAddresses,
3593
+ script_names: ScriptNames,
3594
+ }
3595
+ end
3596
+
3597
+ def self.field_remappings
3598
+ @field_remappings = {}
3599
+ end
3600
+ end
3601
+ # Attestations from the identity's key people, e.g. owners, executives, directors.
3602
+ attr_reader :attestations
3603
+ # Information about the company or business.
3604
+ attr_reader :business_details
3605
+ # 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.
3606
+ attr_reader :country
3607
+ # The entity type.
3608
+ attr_reader :entity_type
3609
+ # Information about the individual represented by the Account. This property is `null` unless `entity_type` is set to `individual`.
3610
+ attr_reader :individual
3611
+
3612
+ def self.inner_class_types
3613
+ @inner_class_types = {
3614
+ attestations: Attestations,
3615
+ business_details: BusinessDetails,
3616
+ individual: Individual,
3617
+ }
3618
+ end
3619
+
3620
+ def self.field_remappings
3621
+ @field_remappings = {}
3622
+ end
3623
+ end
3624
+
3625
+ class Requirements < Stripe::StripeObject
3626
+ class Entry < Stripe::StripeObject
3627
+ class Error < Stripe::StripeObject
3628
+ # Machine-readable code describing the error.
3629
+ attr_reader :code
3630
+ # Human-readable description of the error.
3631
+ attr_reader :description
3632
+
3633
+ def self.inner_class_types
3634
+ @inner_class_types = {}
3635
+ end
3636
+
3637
+ def self.field_remappings
3638
+ @field_remappings = {}
3639
+ end
3640
+ end
3641
+
3642
+ class Impact < Stripe::StripeObject
3643
+ class RestrictsCapability < Stripe::StripeObject
3644
+ class Deadline < Stripe::StripeObject
3645
+ # The current status of the requirement's impact.
3646
+ attr_reader :status
3647
+
3648
+ def self.inner_class_types
3649
+ @inner_class_types = {}
3650
+ end
3651
+
3652
+ def self.field_remappings
3653
+ @field_remappings = {}
3654
+ end
3655
+ end
3656
+ # The name of the Capability which will be restricted.
3657
+ attr_reader :capability
3658
+ # The configuration which specifies the Capability which will be restricted.
3659
+ attr_reader :configuration
3660
+ # Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction.
3661
+ attr_reader :deadline
3662
+
3663
+ def self.inner_class_types
3664
+ @inner_class_types = { deadline: Deadline }
3665
+ end
3666
+
3667
+ def self.field_remappings
3668
+ @field_remappings = {}
3669
+ end
3670
+ end
3671
+ # The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe.
3672
+ attr_reader :restricts_capabilities
3673
+
3674
+ def self.inner_class_types
3675
+ @inner_class_types = { restricts_capabilities: RestrictsCapability }
3676
+ end
3677
+
3678
+ def self.field_remappings
3679
+ @field_remappings = {}
3680
+ end
3681
+ end
3682
+
3683
+ class MinimumDeadline < Stripe::StripeObject
3684
+ # The current status of the requirement's impact.
3685
+ attr_reader :status
3686
+
3687
+ def self.inner_class_types
3688
+ @inner_class_types = {}
3689
+ end
3690
+
3691
+ def self.field_remappings
3692
+ @field_remappings = {}
3693
+ end
3694
+ end
3695
+
3696
+ class Reference < Stripe::StripeObject
3697
+ # If `inquiry` is the type, the inquiry token.
3698
+ attr_reader :inquiry
3699
+ # If `resource` is the type, the resource token.
3700
+ attr_reader :resource
3701
+ # The type of the reference. An additional hash is included with a name matching the type. It contains additional information specific to the type.
3702
+ attr_reader :type
3703
+
3704
+ def self.inner_class_types
3705
+ @inner_class_types = {}
3706
+ end
3707
+
3708
+ def self.field_remappings
3709
+ @field_remappings = {}
3710
+ end
3711
+ end
3712
+
3713
+ class RequestedReason < Stripe::StripeObject
3714
+ # Machine-readable description of Stripe's reason for collecting the requirement.
3715
+ attr_reader :code
3716
+
3717
+ def self.inner_class_types
3718
+ @inner_class_types = {}
3719
+ end
3720
+
3721
+ def self.field_remappings
3722
+ @field_remappings = {}
3723
+ end
3724
+ end
3725
+ # Whether the responsibility is with the integrator or with Stripe (to review info, to wait for some condition, etc.) to action the requirement.
3726
+ attr_reader :awaiting_action_from
3727
+ # Machine-readable string describing the requirement.
3728
+ attr_reader :description
3729
+ # Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe.
3730
+ attr_reader :errors
3731
+ # A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information.
3732
+ attr_reader :impact
3733
+ # The soonest point when the account will be impacted by not providing the requirement.
3734
+ attr_reader :minimum_deadline
3735
+ # A reference to the location of the requirement.
3736
+ attr_reader :reference
3737
+ # A list of reasons why Stripe is collecting the requirement.
3738
+ attr_reader :requested_reasons
3739
+
3740
+ def self.inner_class_types
3741
+ @inner_class_types = {
3742
+ errors: Error,
3743
+ impact: Impact,
3744
+ minimum_deadline: MinimumDeadline,
3745
+ reference: Reference,
3746
+ requested_reasons: RequestedReason,
3747
+ }
3748
+ end
3749
+
3750
+ def self.field_remappings
3751
+ @field_remappings = {}
3752
+ end
3753
+ end
3754
+
3755
+ class Summary < Stripe::StripeObject
3756
+ class MinimumDeadline < Stripe::StripeObject
3757
+ # The current strictest status of all requirements on the Account.
3758
+ attr_reader :status
3759
+ # The soonest RFC3339 date & time UTC value a requirement can impact the Account.
3760
+ attr_reader :time
3761
+
3762
+ def self.inner_class_types
3763
+ @inner_class_types = {}
3764
+ end
3765
+
3766
+ def self.field_remappings
3767
+ @field_remappings = {}
3768
+ end
3769
+ end
3770
+ # 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`.
3771
+ attr_reader :minimum_deadline
3772
+
3773
+ def self.inner_class_types
3774
+ @inner_class_types = { minimum_deadline: MinimumDeadline }
3775
+ end
3776
+
3777
+ def self.field_remappings
3778
+ @field_remappings = {}
3779
+ end
3780
+ end
3781
+ # A value indicating responsibility for collecting requirements on this account.
3782
+ attr_reader :collector
3783
+ # A list of requirements for the Account.
3784
+ attr_reader :entries
3785
+ # An object containing an overview of requirements for the Account.
3786
+ attr_reader :summary
3787
+
3788
+ def self.inner_class_types
3789
+ @inner_class_types = { entries: Entry, summary: Summary }
3790
+ end
3791
+
3792
+ def self.field_remappings
3793
+ @field_remappings = {}
3794
+ end
3795
+ end
3796
+ # Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.
3797
+ attr_reader :applied_configurations
3798
+ # An Account Configuration which allows the Account to take on a key persona across Stripe products.
3799
+ attr_reader :configuration
3800
+ # The default contact email address for the Account. Required when configuring the account as a merchant or recipient.
3801
+ attr_reader :contact_email
3802
+ # 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.
3803
+ attr_reader :created
3804
+ # A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.
3805
+ attr_reader :dashboard
3806
+ # Default values to be used on Account Configurations.
3807
+ attr_reader :defaults
3808
+ # A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account.
3809
+ attr_reader :display_name
3810
+ # Unique identifier for the Account.
3811
+ attr_reader :id
3812
+ # Information about the company, individual, and business represented by the Account.
3813
+ attr_reader :identity
3814
+ # 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.
3815
+ attr_reader :metadata
3816
+ # String representing the object's type. Objects of the same type share the same value of the object field.
3817
+ attr_reader :object
3818
+ # Information about the requirements for the Account, including what information needs to be collected, and by when.
3819
+ attr_reader :requirements
3820
+ # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
3821
+ attr_reader :livemode
3822
+
3823
+ def self.inner_class_types
3824
+ @inner_class_types = {
3825
+ configuration: Configuration,
3826
+ defaults: Defaults,
3827
+ identity: Identity,
3828
+ requirements: Requirements,
3829
+ }
3830
+ end
3831
+
3832
+ def self.field_remappings
3833
+ @field_remappings = {}
3834
+ end
3835
+ end
3836
+ end
3837
+ end
3838
+ end