stripe 16.1.0.pre.alpha.1 → 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (880) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +0 -34
  3. data/lib/stripe/api_version.rb +2 -1
  4. data/lib/stripe/errors.rb +0 -63
  5. data/lib/stripe/event_types.rb +0 -1032
  6. data/lib/stripe/object_types.rb +0 -79
  7. data/lib/stripe/params/account_create_params.rb +1 -300
  8. data/lib/stripe/params/account_session_create_params.rb +1 -226
  9. data/lib/stripe/params/account_update_params.rb +0 -262
  10. data/lib/stripe/params/billing/alert_create_params.rb +1 -121
  11. data/lib/stripe/params/billing/alert_list_params.rb +0 -4
  12. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +2 -17
  13. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +0 -4
  14. data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -33
  15. data/lib/stripe/params/billing/credit_grant_list_params.rb +0 -4
  16. data/lib/stripe/params/billing_portal/session_create_params.rb +0 -4
  17. data/lib/stripe/params/charge_capture_params.rb +0 -709
  18. data/lib/stripe/params/charge_update_params.rb +0 -709
  19. data/lib/stripe/params/checkout/session_create_params.rb +4 -273
  20. data/lib/stripe/params/checkout/session_list_params.rb +0 -4
  21. data/lib/stripe/params/checkout/session_update_params.rb +1 -288
  22. data/lib/stripe/params/confirmation_token_create_params.rb +0 -97
  23. data/lib/stripe/params/coupon_create_params.rb +1 -17
  24. data/lib/stripe/params/credit_note_create_params.rb +1 -18
  25. data/lib/stripe/params/credit_note_list_params.rb +0 -4
  26. data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +1 -18
  27. data/lib/stripe/params/credit_note_preview_lines_list_params.rb +1 -18
  28. data/lib/stripe/params/credit_note_preview_params.rb +1 -18
  29. data/lib/stripe/params/customer_session_create_params.rb +1 -4
  30. data/lib/stripe/params/dispute_update_params.rb +1 -10
  31. data/lib/stripe/params/financial_connections/account_list_params.rb +1 -4
  32. data/lib/stripe/params/financial_connections/session_create_params.rb +2 -34
  33. data/lib/stripe/params/identity/verification_session_create_params.rb +0 -4
  34. data/lib/stripe/params/identity/verification_session_list_params.rb +0 -4
  35. data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
  36. data/lib/stripe/params/invoice_attach_payment_params.rb +1 -46
  37. data/lib/stripe/params/invoice_create_params.rb +2 -112
  38. data/lib/stripe/params/invoice_create_preview_params.rb +9 -826
  39. data/lib/stripe/params/invoice_item_create_params.rb +1 -37
  40. data/lib/stripe/params/invoice_item_list_params.rb +0 -4
  41. data/lib/stripe/params/invoice_item_update_params.rb +1 -33
  42. data/lib/stripe/params/invoice_line_item_update_params.rb +1 -33
  43. data/lib/stripe/params/invoice_list_params.rb +0 -8
  44. data/lib/stripe/params/invoice_payment_list_params.rb +1 -4
  45. data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
  46. data/lib/stripe/params/invoice_update_params.rb +2 -108
  47. data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
  48. data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
  49. data/lib/stripe/params/payment_intent_capture_params.rb +0 -895
  50. data/lib/stripe/params/payment_intent_confirm_params.rb +18 -1384
  51. data/lib/stripe/params/payment_intent_create_params.rb +16 -1390
  52. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -223
  53. data/lib/stripe/params/payment_intent_list_params.rb +0 -4
  54. data/lib/stripe/params/payment_intent_update_params.rb +4 -1409
  55. data/lib/stripe/params/payment_method_attach_params.rb +1 -4
  56. data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -126
  57. data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -126
  58. data/lib/stripe/params/payment_method_create_params.rb +0 -97
  59. data/lib/stripe/params/payment_method_update_params.rb +0 -19
  60. data/lib/stripe/params/price_update_params.rb +0 -19
  61. data/lib/stripe/params/promotion_code_create_params.rb +0 -4
  62. data/lib/stripe/params/promotion_code_list_params.rb +0 -4
  63. data/lib/stripe/params/quote_create_params.rb +3 -805
  64. data/lib/stripe/params/quote_list_params.rb +0 -8
  65. data/lib/stripe/params/quote_update_params.rb +4 -813
  66. data/lib/stripe/params/setup_intent_confirm_params.rb +3 -225
  67. data/lib/stripe/params/setup_intent_create_params.rb +3 -231
  68. data/lib/stripe/params/setup_intent_list_params.rb +0 -4
  69. data/lib/stripe/params/setup_intent_update_params.rb +3 -231
  70. data/lib/stripe/params/subscription_create_params.rb +5 -259
  71. data/lib/stripe/params/subscription_item_create_params.rb +2 -46
  72. data/lib/stripe/params/subscription_item_update_params.rb +1 -29
  73. data/lib/stripe/params/subscription_list_params.rb +0 -4
  74. data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
  75. data/lib/stripe/params/subscription_schedule_list_params.rb +0 -4
  76. data/lib/stripe/params/subscription_schedule_update_params.rb +5 -163
  77. data/lib/stripe/params/subscription_update_params.rb +4 -238
  78. data/lib/stripe/params/tax_id_create_params.rb +1 -4
  79. data/lib/stripe/params/tax_id_list_params.rb +1 -4
  80. data/lib/stripe/params/terminal/configuration_create_params.rb +0 -13
  81. data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
  82. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -97
  83. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
  84. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
  85. data/lib/stripe/params/transfer_create_params.rb +0 -4
  86. data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
  87. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
  88. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
  89. data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
  90. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
  91. data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
  92. data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
  93. data/lib/stripe/params.rb +0 -240
  94. data/lib/stripe/resources/account.rb +1 -166
  95. data/lib/stripe/resources/account_session.rb +0 -81
  96. data/lib/stripe/resources/billing/alert.rb +1 -105
  97. data/lib/stripe/resources/billing/alert_triggered.rb +0 -6
  98. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -86
  99. data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -84
  100. data/lib/stripe/resources/billing/credit_grant.rb +2 -60
  101. data/lib/stripe/resources/billing_portal/session.rb +0 -2
  102. data/lib/stripe/resources/card.rb +0 -2
  103. data/lib/stripe/resources/cash_balance.rb +0 -2
  104. data/lib/stripe/resources/charge.rb +1 -234
  105. data/lib/stripe/resources/checkout/session.rb +4 -246
  106. data/lib/stripe/resources/confirmation_token.rb +0 -155
  107. data/lib/stripe/resources/coupon.rb +1 -26
  108. data/lib/stripe/resources/credit_note.rb +1 -21
  109. data/lib/stripe/resources/credit_note_line_item.rb +0 -18
  110. data/lib/stripe/resources/customer.rb +0 -2
  111. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  112. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  113. data/lib/stripe/resources/customer_session.rb +0 -2
  114. data/lib/stripe/resources/discount.rb +0 -2
  115. data/lib/stripe/resources/dispute.rb +0 -22
  116. data/lib/stripe/resources/event.rb +1 -64
  117. data/lib/stripe/resources/financial_connections/account.rb +0 -27
  118. data/lib/stripe/resources/financial_connections/session.rb +1 -67
  119. data/lib/stripe/resources/identity/verification_session.rb +0 -2
  120. data/lib/stripe/resources/invoice.rb +1 -152
  121. data/lib/stripe/resources/invoice_item.rb +2 -94
  122. data/lib/stripe/resources/invoice_line_item.rb +1 -131
  123. data/lib/stripe/resources/invoice_payment.rb +0 -2
  124. data/lib/stripe/resources/issuing/transaction.rb +0 -2
  125. data/lib/stripe/resources/line_item.rb +1 -68
  126. data/lib/stripe/resources/mandate.rb +0 -71
  127. data/lib/stripe/resources/payment_intent.rb +4 -848
  128. data/lib/stripe/resources/payment_method.rb +0 -157
  129. data/lib/stripe/resources/payment_method_configuration.rb +0 -204
  130. data/lib/stripe/resources/price.rb +0 -20
  131. data/lib/stripe/resources/promotion_code.rb +0 -2
  132. data/lib/stripe/resources/quote.rb +2 -571
  133. data/lib/stripe/resources/refund.rb +0 -18
  134. data/lib/stripe/resources/setup_attempt.rb +0 -63
  135. data/lib/stripe/resources/setup_intent.rb +1 -132
  136. data/lib/stripe/resources/source.rb +0 -38
  137. data/lib/stripe/resources/subscription.rb +0 -232
  138. data/lib/stripe/resources/subscription_item.rb +1 -20
  139. data/lib/stripe/resources/subscription_schedule.rb +3 -198
  140. data/lib/stripe/resources/tax_id.rb +0 -4
  141. data/lib/stripe/resources/terminal/configuration.rb +0 -16
  142. data/lib/stripe/resources/terminal/reader.rb +0 -8
  143. data/lib/stripe/resources/transfer.rb +0 -2
  144. data/lib/stripe/resources/treasury/financial_account.rb +0 -2
  145. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  146. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
  147. data/lib/stripe/resources/treasury/received_credit.rb +0 -30
  148. data/lib/stripe/resources/treasury/received_debit.rb +0 -32
  149. data/lib/stripe/resources/v2/core/event.rb +0 -4
  150. data/lib/stripe/resources.rb +0 -384
  151. data/lib/stripe/services/billing_service.rb +1 -2
  152. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  153. data/lib/stripe/services/financial_connections_service.rb +1 -2
  154. data/lib/stripe/services/issuing_service.rb +1 -5
  155. data/lib/stripe/services/mandate_service.rb +0 -5
  156. data/lib/stripe/services/payment_intent_service.rb +0 -44
  157. data/lib/stripe/services/quote_service.rb +1 -49
  158. data/lib/stripe/services/subscription_schedule_service.rb +0 -11
  159. data/lib/stripe/services/subscription_service.rb +0 -11
  160. data/lib/stripe/services/tax_service.rb +1 -3
  161. data/lib/stripe/services/terminal_service.rb +1 -3
  162. data/lib/stripe/services/v1_services.rb +1 -10
  163. data/lib/stripe/services/v2/billing_service.rb +1 -18
  164. data/lib/stripe/services/v2/core_service.rb +1 -5
  165. data/lib/stripe/services/v2_services.rb +1 -5
  166. data/lib/stripe/services.rb +0 -83
  167. data/lib/stripe/stripe_configuration.rb +1 -3
  168. data/lib/stripe/stripe_object.rb +7 -1
  169. data/lib/stripe/util.rb +1 -7
  170. data/lib/stripe/version.rb +1 -1
  171. data/lib/stripe.rb +0 -53
  172. data/rbi/stripe.rbi +98295 -169826
  173. metadata +4 -711
  174. data/lib/stripe/events/v1_account_updated_event.rb +0 -44
  175. data/lib/stripe/events/v1_application_fee_created_event.rb +0 -44
  176. data/lib/stripe/events/v1_application_fee_refunded_event.rb +0 -44
  177. data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +0 -44
  178. data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +0 -44
  179. data/lib/stripe/events/v1_capability_updated_event.rb +0 -44
  180. data/lib/stripe/events/v1_charge_captured_event.rb +0 -44
  181. data/lib/stripe/events/v1_charge_dispute_closed_event.rb +0 -44
  182. data/lib/stripe/events/v1_charge_dispute_created_event.rb +0 -44
  183. data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +0 -44
  184. data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +0 -44
  185. data/lib/stripe/events/v1_charge_dispute_updated_event.rb +0 -44
  186. data/lib/stripe/events/v1_charge_expired_event.rb +0 -44
  187. data/lib/stripe/events/v1_charge_failed_event.rb +0 -44
  188. data/lib/stripe/events/v1_charge_pending_event.rb +0 -44
  189. data/lib/stripe/events/v1_charge_refund_updated_event.rb +0 -44
  190. data/lib/stripe/events/v1_charge_refunded_event.rb +0 -44
  191. data/lib/stripe/events/v1_charge_succeeded_event.rb +0 -44
  192. data/lib/stripe/events/v1_charge_updated_event.rb +0 -44
  193. data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +0 -44
  194. data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +0 -44
  195. data/lib/stripe/events/v1_checkout_session_completed_event.rb +0 -44
  196. data/lib/stripe/events/v1_checkout_session_expired_event.rb +0 -44
  197. data/lib/stripe/events/v1_climate_order_canceled_event.rb +0 -44
  198. data/lib/stripe/events/v1_climate_order_created_event.rb +0 -44
  199. data/lib/stripe/events/v1_climate_order_delayed_event.rb +0 -44
  200. data/lib/stripe/events/v1_climate_order_delivered_event.rb +0 -44
  201. data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +0 -44
  202. data/lib/stripe/events/v1_climate_product_created_event.rb +0 -44
  203. data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +0 -44
  204. data/lib/stripe/events/v1_coupon_created_event.rb +0 -44
  205. data/lib/stripe/events/v1_coupon_deleted_event.rb +0 -44
  206. data/lib/stripe/events/v1_coupon_updated_event.rb +0 -44
  207. data/lib/stripe/events/v1_credit_note_created_event.rb +0 -44
  208. data/lib/stripe/events/v1_credit_note_updated_event.rb +0 -44
  209. data/lib/stripe/events/v1_credit_note_voided_event.rb +0 -44
  210. data/lib/stripe/events/v1_customer_created_event.rb +0 -44
  211. data/lib/stripe/events/v1_customer_deleted_event.rb +0 -44
  212. data/lib/stripe/events/v1_customer_subscription_created_event.rb +0 -44
  213. data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +0 -44
  214. data/lib/stripe/events/v1_customer_subscription_paused_event.rb +0 -44
  215. data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +0 -44
  216. data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +0 -44
  217. data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +0 -44
  218. data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +0 -44
  219. data/lib/stripe/events/v1_customer_subscription_updated_event.rb +0 -44
  220. data/lib/stripe/events/v1_customer_tax_id_created_event.rb +0 -44
  221. data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +0 -44
  222. data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +0 -44
  223. data/lib/stripe/events/v1_customer_updated_event.rb +0 -44
  224. data/lib/stripe/events/v1_file_created_event.rb +0 -44
  225. data/lib/stripe/events/v1_financial_connections_account_created_event.rb +0 -44
  226. data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +0 -44
  227. data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +0 -44
  228. data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +0 -44
  229. data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +0 -44
  230. data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +0 -44
  231. data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +0 -44
  232. data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +0 -44
  233. data/lib/stripe/events/v1_identity_verification_session_created_event.rb +0 -44
  234. data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +0 -44
  235. data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +0 -44
  236. data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +0 -44
  237. data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +0 -44
  238. data/lib/stripe/events/v1_invoice_created_event.rb +0 -44
  239. data/lib/stripe/events/v1_invoice_deleted_event.rb +0 -44
  240. data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +0 -44
  241. data/lib/stripe/events/v1_invoice_finalized_event.rb +0 -44
  242. data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +0 -44
  243. data/lib/stripe/events/v1_invoice_overdue_event.rb +0 -44
  244. data/lib/stripe/events/v1_invoice_overpaid_event.rb +0 -44
  245. data/lib/stripe/events/v1_invoice_paid_event.rb +0 -44
  246. data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +0 -44
  247. data/lib/stripe/events/v1_invoice_payment_failed_event.rb +0 -44
  248. data/lib/stripe/events/v1_invoice_payment_paid_event.rb +0 -44
  249. data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +0 -44
  250. data/lib/stripe/events/v1_invoice_sent_event.rb +0 -44
  251. data/lib/stripe/events/v1_invoice_upcoming_event.rb +0 -44
  252. data/lib/stripe/events/v1_invoice_updated_event.rb +0 -44
  253. data/lib/stripe/events/v1_invoice_voided_event.rb +0 -44
  254. data/lib/stripe/events/v1_invoice_will_be_due_event.rb +0 -44
  255. data/lib/stripe/events/v1_invoiceitem_created_event.rb +0 -44
  256. data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +0 -44
  257. data/lib/stripe/events/v1_issuing_authorization_created_event.rb +0 -44
  258. data/lib/stripe/events/v1_issuing_authorization_request_event.rb +0 -44
  259. data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +0 -44
  260. data/lib/stripe/events/v1_issuing_card_created_event.rb +0 -44
  261. data/lib/stripe/events/v1_issuing_card_updated_event.rb +0 -44
  262. data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +0 -44
  263. data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +0 -44
  264. data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +0 -44
  265. data/lib/stripe/events/v1_issuing_dispute_created_event.rb +0 -44
  266. data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +0 -44
  267. data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +0 -44
  268. data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +0 -44
  269. data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +0 -44
  270. data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +0 -44
  271. data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +0 -44
  272. data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +0 -44
  273. data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +0 -44
  274. data/lib/stripe/events/v1_issuing_token_created_event.rb +0 -44
  275. data/lib/stripe/events/v1_issuing_token_updated_event.rb +0 -44
  276. data/lib/stripe/events/v1_issuing_transaction_created_event.rb +0 -44
  277. data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +0 -44
  278. data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +0 -44
  279. data/lib/stripe/events/v1_mandate_updated_event.rb +0 -44
  280. data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +0 -44
  281. data/lib/stripe/events/v1_payment_intent_canceled_event.rb +0 -44
  282. data/lib/stripe/events/v1_payment_intent_created_event.rb +0 -44
  283. data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +0 -44
  284. data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +0 -44
  285. data/lib/stripe/events/v1_payment_intent_processing_event.rb +0 -44
  286. data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +0 -44
  287. data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +0 -44
  288. data/lib/stripe/events/v1_payment_link_created_event.rb +0 -44
  289. data/lib/stripe/events/v1_payment_link_updated_event.rb +0 -44
  290. data/lib/stripe/events/v1_payment_method_attached_event.rb +0 -44
  291. data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +0 -44
  292. data/lib/stripe/events/v1_payment_method_detached_event.rb +0 -44
  293. data/lib/stripe/events/v1_payment_method_updated_event.rb +0 -44
  294. data/lib/stripe/events/v1_payout_canceled_event.rb +0 -44
  295. data/lib/stripe/events/v1_payout_created_event.rb +0 -44
  296. data/lib/stripe/events/v1_payout_failed_event.rb +0 -44
  297. data/lib/stripe/events/v1_payout_paid_event.rb +0 -44
  298. data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +0 -44
  299. data/lib/stripe/events/v1_payout_updated_event.rb +0 -44
  300. data/lib/stripe/events/v1_person_created_event.rb +0 -44
  301. data/lib/stripe/events/v1_person_deleted_event.rb +0 -44
  302. data/lib/stripe/events/v1_person_updated_event.rb +0 -44
  303. data/lib/stripe/events/v1_plan_created_event.rb +0 -44
  304. data/lib/stripe/events/v1_plan_deleted_event.rb +0 -44
  305. data/lib/stripe/events/v1_plan_updated_event.rb +0 -44
  306. data/lib/stripe/events/v1_price_created_event.rb +0 -44
  307. data/lib/stripe/events/v1_price_deleted_event.rb +0 -44
  308. data/lib/stripe/events/v1_price_updated_event.rb +0 -44
  309. data/lib/stripe/events/v1_product_created_event.rb +0 -44
  310. data/lib/stripe/events/v1_product_deleted_event.rb +0 -44
  311. data/lib/stripe/events/v1_product_updated_event.rb +0 -44
  312. data/lib/stripe/events/v1_promotion_code_created_event.rb +0 -44
  313. data/lib/stripe/events/v1_promotion_code_updated_event.rb +0 -44
  314. data/lib/stripe/events/v1_quote_accepted_event.rb +0 -44
  315. data/lib/stripe/events/v1_quote_canceled_event.rb +0 -44
  316. data/lib/stripe/events/v1_quote_created_event.rb +0 -44
  317. data/lib/stripe/events/v1_quote_finalized_event.rb +0 -44
  318. data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +0 -44
  319. data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +0 -44
  320. data/lib/stripe/events/v1_refund_created_event.rb +0 -44
  321. data/lib/stripe/events/v1_refund_failed_event.rb +0 -44
  322. data/lib/stripe/events/v1_refund_updated_event.rb +0 -44
  323. data/lib/stripe/events/v1_review_closed_event.rb +0 -44
  324. data/lib/stripe/events/v1_review_opened_event.rb +0 -44
  325. data/lib/stripe/events/v1_setup_intent_canceled_event.rb +0 -44
  326. data/lib/stripe/events/v1_setup_intent_created_event.rb +0 -44
  327. data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +0 -44
  328. data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +0 -44
  329. data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +0 -44
  330. data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +0 -44
  331. data/lib/stripe/events/v1_source_canceled_event.rb +0 -44
  332. data/lib/stripe/events/v1_source_chargeable_event.rb +0 -44
  333. data/lib/stripe/events/v1_source_failed_event.rb +0 -44
  334. data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +0 -44
  335. data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +0 -44
  336. data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +0 -44
  337. data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +0 -44
  338. data/lib/stripe/events/v1_subscription_schedule_created_event.rb +0 -44
  339. data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +0 -44
  340. data/lib/stripe/events/v1_subscription_schedule_released_event.rb +0 -44
  341. data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +0 -44
  342. data/lib/stripe/events/v1_tax_rate_created_event.rb +0 -44
  343. data/lib/stripe/events/v1_tax_rate_updated_event.rb +0 -44
  344. data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +0 -44
  345. data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +0 -44
  346. data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +0 -44
  347. data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +0 -44
  348. data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +0 -44
  349. data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +0 -44
  350. data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +0 -44
  351. data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +0 -44
  352. data/lib/stripe/events/v1_topup_canceled_event.rb +0 -44
  353. data/lib/stripe/events/v1_topup_created_event.rb +0 -44
  354. data/lib/stripe/events/v1_topup_failed_event.rb +0 -44
  355. data/lib/stripe/events/v1_topup_reversed_event.rb +0 -44
  356. data/lib/stripe/events/v1_topup_succeeded_event.rb +0 -44
  357. data/lib/stripe/events/v1_transfer_created_event.rb +0 -44
  358. data/lib/stripe/events/v1_transfer_reversed_event.rb +0 -44
  359. data/lib/stripe/events/v1_transfer_updated_event.rb +0 -44
  360. data/lib/stripe/events/v2_billing_bill_setting_updated_event.rb +0 -61
  361. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -61
  362. data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -44
  363. data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -61
  364. data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -44
  365. data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -44
  366. data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -61
  367. data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -44
  368. data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -44
  369. data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -44
  370. data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -44
  371. data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -61
  372. data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -61
  373. data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -44
  374. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -44
  375. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -44
  376. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -44
  377. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -44
  378. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -44
  379. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -44
  380. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -44
  381. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -44
  382. data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -44
  383. data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -61
  384. data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -61
  385. data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -67
  386. data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -44
  387. data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -44
  388. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -44
  389. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -44
  390. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -44
  391. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -44
  392. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -44
  393. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -44
  394. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -44
  395. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -44
  396. data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -44
  397. data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -61
  398. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
  399. data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
  400. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
  401. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
  402. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
  403. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
  404. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
  405. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
  406. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
  407. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
  408. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
  409. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
  410. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
  411. data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
  412. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
  413. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
  414. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
  415. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
  416. data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +0 -44
  417. data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +0 -44
  418. data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +0 -44
  419. data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +0 -44
  420. data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +0 -44
  421. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -66
  422. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -66
  423. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -64
  424. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -64
  425. data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -80
  426. data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -80
  427. data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -66
  428. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -64
  429. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -62
  430. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -64
  431. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -64
  432. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -64
  433. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -62
  434. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -62
  435. data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -62
  436. data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -62
  437. data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -58
  438. data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -58
  439. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
  440. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
  441. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
  442. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
  443. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
  444. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
  445. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
  446. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
  447. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
  448. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
  449. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
  450. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
  451. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
  452. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
  453. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
  454. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
  455. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
  456. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
  457. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
  458. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
  459. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
  460. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
  461. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
  462. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
  463. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
  464. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
  465. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
  466. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
  467. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
  468. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
  469. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
  470. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
  471. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
  472. data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +0 -44
  473. data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +0 -44
  474. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -44
  475. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
  476. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -44
  477. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -46
  478. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
  479. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
  480. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
  481. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
  482. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
  483. data/lib/stripe/params/account_notice_list_params.rb +0 -25
  484. data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
  485. data/lib/stripe/params/account_notice_update_params.rb +0 -36
  486. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
  487. data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
  488. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
  489. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
  490. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
  491. data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
  492. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
  493. data/lib/stripe/params/external_account_create_params.rb +0 -134
  494. data/lib/stripe/params/external_account_delete_params.rb +0 -6
  495. data/lib/stripe/params/external_account_list_params.rb +0 -25
  496. data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
  497. data/lib/stripe/params/external_account_update_params.rb +0 -91
  498. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
  499. data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
  500. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
  501. data/lib/stripe/params/fx_quote_create_params.rb +0 -73
  502. data/lib/stripe/params/fx_quote_list_params.rb +0 -22
  503. data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
  504. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
  505. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
  506. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
  507. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
  508. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
  509. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
  510. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
  511. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
  512. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
  513. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
  514. data/lib/stripe/params/mandate_list_params.rb +0 -39
  515. data/lib/stripe/params/margin_create_params.rb +0 -25
  516. data/lib/stripe/params/margin_list_params.rb +0 -25
  517. data/lib/stripe/params/margin_retrieve_params.rb +0 -13
  518. data/lib/stripe/params/margin_update_params.rb +0 -22
  519. data/lib/stripe/params/order_cancel_params.rb +0 -13
  520. data/lib/stripe/params/order_create_params.rb +0 -1124
  521. data/lib/stripe/params/order_line_item_list_params.rb +0 -22
  522. data/lib/stripe/params/order_list_line_items_params.rb +0 -22
  523. data/lib/stripe/params/order_list_params.rb +0 -25
  524. data/lib/stripe/params/order_reopen_params.rb +0 -13
  525. data/lib/stripe/params/order_retrieve_params.rb +0 -13
  526. data/lib/stripe/params/order_submit_params.rb +0 -16
  527. data/lib/stripe/params/order_update_params.rb +0 -1128
  528. data/lib/stripe/params/payment_attempt_record_list_params.rb +0 -19
  529. data/lib/stripe/params/payment_attempt_record_retrieve_params.rb +0 -13
  530. data/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +0 -22
  531. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
  532. data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
  533. data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +0 -19
  534. data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +0 -19
  535. data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +0 -19
  536. data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +0 -93
  537. data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +0 -186
  538. data/lib/stripe/params/payment_record_report_payment_params.rb +0 -252
  539. data/lib/stripe/params/payment_record_retrieve_params.rb +0 -13
  540. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
  541. data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
  542. data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
  543. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
  544. data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
  545. data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
  546. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
  547. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
  548. data/lib/stripe/params/quote_line_list_params.rb +0 -22
  549. data/lib/stripe/params/quote_list_lines_params.rb +0 -22
  550. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
  551. data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
  552. data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
  553. data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
  554. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
  555. data/lib/stripe/params/quote_reestimate_params.rb +0 -13
  556. data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
  557. data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
  558. data/lib/stripe/params/tax/association_find_params.rb +0 -18
  559. data/lib/stripe/params/tax/form_list_params.rb +0 -51
  560. data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
  561. data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
  562. data/lib/stripe/params/terminal/onboarding_link_create_params.rb +0 -43
  563. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
  564. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
  565. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
  566. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
  567. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
  568. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
  569. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
  570. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -17
  571. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -257
  572. data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
  573. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
  574. data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -78
  575. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
  576. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
  577. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
  578. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
  579. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
  580. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
  581. data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +0 -26
  582. data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +0 -24
  583. data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +0 -10
  584. data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +0 -26
  585. data/lib/stripe/params/v2/billing/intent_cancel_params.rb +0 -10
  586. data/lib/stripe/params/v2/billing/intent_commit_params.rb +0 -17
  587. data/lib/stripe/params/v2/billing/intent_create_params.rb +0 -355
  588. data/lib/stripe/params/v2/billing/intent_list_params.rb +0 -17
  589. data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +0 -10
  590. data/lib/stripe/params/v2/billing/intent_reserve_params.rb +0 -10
  591. data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +0 -10
  592. data/lib/stripe/params/v2/billing/intents/action_list_params.rb +0 -19
  593. data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +0 -12
  594. data/lib/stripe/params/v2/billing/license_fee_create_params.rb +0 -103
  595. data/lib/stripe/params/v2/billing/license_fee_list_params.rb +0 -24
  596. data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +0 -10
  597. data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +0 -10
  598. data/lib/stripe/params/v2/billing/license_fee_update_params.rb +0 -84
  599. data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +0 -19
  600. data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +0 -12
  601. data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +0 -48
  602. data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +0 -21
  603. data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +0 -10
  604. data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +0 -48
  605. data/lib/stripe/params/v2/billing/metered_item_create_params.rb +0 -73
  606. data/lib/stripe/params/v2/billing/metered_item_list_params.rb +0 -21
  607. data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +0 -10
  608. data/lib/stripe/params/v2/billing/metered_item_update_params.rb +0 -50
  609. data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +0 -39
  610. data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +0 -24
  611. data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +0 -10
  612. data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +0 -50
  613. data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +0 -10
  614. data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +0 -20
  615. data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +0 -39
  616. data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +0 -73
  617. data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +0 -12
  618. data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +0 -27
  619. data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +0 -12
  620. data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +0 -22
  621. data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +0 -19
  622. data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +0 -12
  623. data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
  624. data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
  625. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
  626. data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
  627. data/lib/stripe/params/v2/billing/rate_card_create_params.rb +0 -49
  628. data/lib/stripe/params/v2/billing/rate_card_list_params.rb +0 -24
  629. data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +0 -10
  630. data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +0 -10
  631. data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +0 -26
  632. data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +0 -51
  633. data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +0 -10
  634. data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +0 -17
  635. data/lib/stripe/params/v2/billing/rate_card_update_params.rb +0 -38
  636. data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +0 -91
  637. data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +0 -12
  638. data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +0 -25
  639. data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +0 -12
  640. data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +0 -19
  641. data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +0 -12
  642. data/lib/stripe/params/v2/billing/service_action_create_params.rb +0 -254
  643. data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +0 -10
  644. data/lib/stripe/params/v2/billing/service_action_update_params.rb +0 -40
  645. data/lib/stripe/params/v2/core/account_close_params.rb +0 -17
  646. data/lib/stripe/params/v2/core/account_create_params.rb +0 -2234
  647. data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -101
  648. data/lib/stripe/params/v2/core/account_list_params.rb +0 -20
  649. data/lib/stripe/params/v2/core/account_retrieve_params.rb +0 -17
  650. data/lib/stripe/params/v2/core/account_update_params.rb +0 -2262
  651. data/lib/stripe/params/v2/core/accounts/person_create_params.rb +0 -493
  652. data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +0 -12
  653. data/lib/stripe/params/v2/core/accounts/person_list_params.rb +0 -19
  654. data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +0 -12
  655. data/lib/stripe/params/v2/core/accounts/person_update_params.rb +0 -493
  656. data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +0 -36
  657. data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +0 -10
  658. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
  659. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
  660. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
  661. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
  662. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
  663. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
  664. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
  665. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
  666. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
  667. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
  668. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
  669. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
  670. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
  671. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
  672. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
  673. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -31
  674. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
  675. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
  676. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
  677. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
  678. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
  679. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
  680. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -102
  681. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
  682. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
  683. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
  684. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
  685. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
  686. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -103
  687. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
  688. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
  689. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
  690. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
  691. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -81
  692. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
  693. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
  694. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
  695. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
  696. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
  697. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
  698. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
  699. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
  700. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
  701. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
  702. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
  703. data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +0 -10
  704. data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +0 -20
  705. data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +0 -10
  706. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
  707. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
  708. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
  709. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
  710. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
  711. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -61
  712. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -237
  713. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
  714. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
  715. data/lib/stripe/params/v2/tax/automatic_rule_create_params.rb +0 -20
  716. data/lib/stripe/params/v2/tax/automatic_rule_deactivate_params.rb +0 -10
  717. data/lib/stripe/params/v2/tax/automatic_rule_find_params.rb +0 -17
  718. data/lib/stripe/params/v2/tax/automatic_rule_retrieve_params.rb +0 -10
  719. data/lib/stripe/params/v2/tax/automatic_rule_update_params.rb +0 -17
  720. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
  721. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
  722. data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -23
  723. data/lib/stripe/resources/account_notice.rb +0 -94
  724. data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
  725. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
  726. data/lib/stripe/resources/capital/financing_offer.rb +0 -142
  727. data/lib/stripe/resources/capital/financing_summary.rb +0 -79
  728. data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
  729. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
  730. data/lib/stripe/resources/financial_connections/institution.rb +0 -127
  731. data/lib/stripe/resources/fx_quote.rb +0 -147
  732. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
  733. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
  734. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
  735. data/lib/stripe/resources/issuing/settlement.rb +0 -61
  736. data/lib/stripe/resources/margin.rb +0 -64
  737. data/lib/stripe/resources/order.rb +0 -987
  738. data/lib/stripe/resources/payment_attempt_record.rb +0 -2102
  739. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -128
  740. data/lib/stripe/resources/payment_record.rb +0 -2208
  741. data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
  742. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
  743. data/lib/stripe/resources/quote_line.rb +0 -521
  744. data/lib/stripe/resources/quote_preview_invoice.rb +0 -1150
  745. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -732
  746. data/lib/stripe/resources/tax/association.rb +0 -86
  747. data/lib/stripe/resources/tax/form.rb +0 -264
  748. data/lib/stripe/resources/terminal/onboarding_link.rb +0 -71
  749. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
  750. data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
  751. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
  752. data/lib/stripe/resources/v2/billing/cadence.rb +0 -655
  753. data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
  754. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
  755. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
  756. data/lib/stripe/resources/v2/billing/intent.rb +0 -86
  757. data/lib/stripe/resources/v2/billing/intent_action.rb +0 -395
  758. data/lib/stripe/resources/v2/billing/license_fee.rb +0 -104
  759. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
  760. data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
  761. data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
  762. data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
  763. data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
  764. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
  765. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -94
  766. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
  767. data/lib/stripe/resources/v2/billing/profile.rb +0 -46
  768. data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
  769. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -110
  770. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -94
  771. data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
  772. data/lib/stripe/resources/v2/billing/service_action.rb +0 -244
  773. data/lib/stripe/resources/v2/core/account.rb +0 -3885
  774. data/lib/stripe/resources/v2/core/account_link.rb +0 -123
  775. data/lib/stripe/resources/v2/core/account_person.rb +0 -477
  776. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
  777. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
  778. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -47
  779. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
  780. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
  781. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
  782. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
  783. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
  784. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
  785. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -219
  786. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
  787. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
  788. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -198
  789. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -137
  790. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
  791. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -228
  792. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -138
  793. data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
  794. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
  795. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
  796. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -242
  797. data/lib/stripe/resources/v2/tax/automatic_rule.rb +0 -39
  798. data/lib/stripe/services/account_notice_service.rb +0 -39
  799. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
  800. data/lib/stripe/services/billing/analytics_service.rb +0 -15
  801. data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
  802. data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
  803. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
  804. data/lib/stripe/services/capital_service.rb +0 -15
  805. data/lib/stripe/services/external_account_service.rb +0 -68
  806. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
  807. data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
  808. data/lib/stripe/services/fx_quote_service.rb +0 -27
  809. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
  810. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
  811. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
  812. data/lib/stripe/services/margin_service.rb +0 -50
  813. data/lib/stripe/services/order_line_item_service.rb +0 -17
  814. data/lib/stripe/services/order_service.rb +0 -78
  815. data/lib/stripe/services/payment_attempt_record_service.rb +0 -28
  816. data/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +0 -17
  817. data/lib/stripe/services/payment_record_service.rb +0 -89
  818. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
  819. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
  820. data/lib/stripe/services/privacy_service.rb +0 -13
  821. data/lib/stripe/services/quote_line_service.rb +0 -17
  822. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
  823. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
  824. data/lib/stripe/services/tax/association_service.rb +0 -19
  825. data/lib/stripe/services/tax/form_service.rb +0 -37
  826. data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -19
  827. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
  828. data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
  829. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
  830. data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
  831. data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
  832. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
  833. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -54
  834. data/lib/stripe/services/v2/billing/intent_service.rb +0 -94
  835. data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -34
  836. data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -61
  837. data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -21
  838. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -34
  839. data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -54
  840. data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -54
  841. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -62
  842. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -43
  843. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -67
  844. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -34
  845. data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
  846. data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -62
  847. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -65
  848. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -57
  849. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -34
  850. data/lib/stripe/services/v2/billing/service_action_service.rb +0 -43
  851. data/lib/stripe/services/v2/core/account_link_service.rb +0 -21
  852. data/lib/stripe/services/v2/core/account_service.rb +0 -76
  853. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -67
  854. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -35
  855. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -74
  856. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -68
  857. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  858. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
  859. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -59
  860. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
  861. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
  862. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
  863. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
  864. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
  865. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
  866. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
  867. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
  868. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
  869. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
  870. data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +0 -43
  871. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
  872. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
  873. data/lib/stripe/services/v2/money_management_service.rb +0 -33
  874. data/lib/stripe/services/v2/payment_service.rb +0 -15
  875. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
  876. data/lib/stripe/services/v2/tax/automatic_rule_service.rb +0 -65
  877. data/lib/stripe/services/v2/tax_service.rb +0 -15
  878. data/lib/stripe/services/v2/test_helper_service.rb +0 -16
  879. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
  880. data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
@@ -1,2262 +0,0 @@
1
- # File generated from our OpenAPI spec
2
- # frozen_string_literal: true
3
-
4
- module Stripe
5
- module V2
6
- module Core
7
- class AccountUpdateParams < Stripe::RequestParams
8
- class Configuration < Stripe::RequestParams
9
- class Customer < Stripe::RequestParams
10
- class AutomaticIndirectTax < Stripe::RequestParams
11
- # 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”.
12
- attr_accessor :exempt
13
- # A recent IP address of the customer used for tax reporting and tax location inference.
14
- attr_accessor :ip_address
15
- # 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.
16
- attr_accessor :location_source
17
- # A per-request flag that indicates when Stripe should validate the customer tax location - defaults to 'auto'.
18
- attr_accessor :validate_location
19
-
20
- def initialize(
21
- exempt: nil,
22
- ip_address: nil,
23
- location_source: nil,
24
- validate_location: nil
25
- )
26
- @exempt = exempt
27
- @ip_address = ip_address
28
- @location_source = location_source
29
- @validate_location = validate_location
30
- end
31
- end
32
-
33
- class Billing < Stripe::RequestParams
34
- class Invoice < Stripe::RequestParams
35
- class CustomField < Stripe::RequestParams
36
- # The name of the custom field. This may be up to 40 characters.
37
- attr_accessor :name
38
- # The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values.
39
- attr_accessor :value
40
-
41
- def initialize(name: nil, value: nil)
42
- @name = name
43
- @value = value
44
- end
45
- end
46
-
47
- class Rendering < Stripe::RequestParams
48
- # 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.
49
- attr_accessor :amount_tax_display
50
- # ID of the invoice rendering template to use for future invoices.
51
- attr_accessor :template
52
-
53
- def initialize(amount_tax_display: nil, template: nil)
54
- @amount_tax_display = amount_tax_display
55
- @template = template
56
- end
57
- end
58
- # The list of up to 4 default custom fields to be displayed on invoices for this customer.
59
- attr_accessor :custom_fields
60
- # Default footer to be displayed on invoices for this customer.
61
- attr_accessor :footer
62
- # The sequence to be used on the customer's next invoice. Defaults to 1.
63
- attr_accessor :next_sequence
64
- # The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers.
65
- attr_accessor :prefix
66
- # Default options for invoice PDF rendering for this customer.
67
- attr_accessor :rendering
68
-
69
- def initialize(
70
- custom_fields: nil,
71
- footer: nil,
72
- next_sequence: nil,
73
- prefix: nil,
74
- rendering: nil
75
- )
76
- @custom_fields = custom_fields
77
- @footer = footer
78
- @next_sequence = next_sequence
79
- @prefix = prefix
80
- @rendering = rendering
81
- end
82
- end
83
- # 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.
84
- attr_accessor :default_payment_method
85
- # Default settings used on invoices for this customer.
86
- attr_accessor :invoice
87
-
88
- def initialize(default_payment_method: nil, invoice: nil)
89
- @default_payment_method = default_payment_method
90
- @invoice = invoice
91
- end
92
- end
93
-
94
- class Capabilities < Stripe::RequestParams
95
- class AutomaticIndirectTax < Stripe::RequestParams
96
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
97
- attr_accessor :requested
98
-
99
- def initialize(requested: nil)
100
- @requested = requested
101
- end
102
- end
103
- # 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.
104
- attr_accessor :automatic_indirect_tax
105
-
106
- def initialize(automatic_indirect_tax: nil)
107
- @automatic_indirect_tax = automatic_indirect_tax
108
- end
109
- end
110
-
111
- class Shipping < Stripe::RequestParams
112
- class Address < Stripe::RequestParams
113
- # City, district, suburb, town, or village.
114
- attr_accessor :city
115
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
116
- attr_accessor :country
117
- # Address line 1 (e.g., street, PO Box, or company name).
118
- attr_accessor :line1
119
- # Address line 2 (e.g., apartment, suite, unit, or building).
120
- attr_accessor :line2
121
- # ZIP or postal code.
122
- attr_accessor :postal_code
123
- # State, county, province, or region.
124
- attr_accessor :state
125
-
126
- def initialize(
127
- city: nil,
128
- country: nil,
129
- line1: nil,
130
- line2: nil,
131
- postal_code: nil,
132
- state: nil
133
- )
134
- @city = city
135
- @country = country
136
- @line1 = line1
137
- @line2 = line2
138
- @postal_code = postal_code
139
- @state = state
140
- end
141
- end
142
- # Customer shipping address.
143
- attr_accessor :address
144
- # Customer name.
145
- attr_accessor :name
146
- # Customer phone (including extension).
147
- attr_accessor :phone
148
-
149
- def initialize(address: nil, name: nil, phone: nil)
150
- @address = address
151
- @name = name
152
- @phone = phone
153
- end
154
- end
155
- # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
156
- attr_accessor :applied
157
- # 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.
158
- attr_accessor :automatic_indirect_tax
159
- # Billing settings - default settings used for this customer in Billing flows such as Invoices and Subscriptions.
160
- attr_accessor :billing
161
- # Capabilities that have been requested on the Customer Configuration.
162
- attr_accessor :capabilities
163
- # The customer's shipping information. Appears on invoices emailed to this customer.
164
- attr_accessor :shipping
165
- # 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.
166
- attr_accessor :test_clock
167
-
168
- def initialize(
169
- applied: nil,
170
- automatic_indirect_tax: nil,
171
- billing: nil,
172
- capabilities: nil,
173
- shipping: nil,
174
- test_clock: nil
175
- )
176
- @applied = applied
177
- @automatic_indirect_tax = automatic_indirect_tax
178
- @billing = billing
179
- @capabilities = capabilities
180
- @shipping = shipping
181
- @test_clock = test_clock
182
- end
183
- end
184
-
185
- class Merchant < Stripe::RequestParams
186
- class BacsDebitPayments < Stripe::RequestParams
187
- # Display name for Bacs debit payments.
188
- attr_accessor :display_name
189
-
190
- def initialize(display_name: nil)
191
- @display_name = display_name
192
- end
193
- end
194
-
195
- class Branding < Stripe::RequestParams
196
- # 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.
197
- attr_accessor :icon
198
- # 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.
199
- attr_accessor :logo
200
- # A CSS hex color value representing the primary branding color for the merchant.
201
- attr_accessor :primary_color
202
- # A CSS hex color value representing the secondary branding color for the merchant.
203
- attr_accessor :secondary_color
204
-
205
- def initialize(icon: nil, logo: nil, primary_color: nil, secondary_color: nil)
206
- @icon = icon
207
- @logo = logo
208
- @primary_color = primary_color
209
- @secondary_color = secondary_color
210
- end
211
- end
212
-
213
- class Capabilities < Stripe::RequestParams
214
- class AchDebitPayments < Stripe::RequestParams
215
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
216
- attr_accessor :requested
217
-
218
- def initialize(requested: nil)
219
- @requested = requested
220
- end
221
- end
222
-
223
- class AcssDebitPayments < Stripe::RequestParams
224
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
225
- attr_accessor :requested
226
-
227
- def initialize(requested: nil)
228
- @requested = requested
229
- end
230
- end
231
-
232
- class AffirmPayments < Stripe::RequestParams
233
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
234
- attr_accessor :requested
235
-
236
- def initialize(requested: nil)
237
- @requested = requested
238
- end
239
- end
240
-
241
- class AfterpayClearpayPayments < Stripe::RequestParams
242
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
243
- attr_accessor :requested
244
-
245
- def initialize(requested: nil)
246
- @requested = requested
247
- end
248
- end
249
-
250
- class AlmaPayments < Stripe::RequestParams
251
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
252
- attr_accessor :requested
253
-
254
- def initialize(requested: nil)
255
- @requested = requested
256
- end
257
- end
258
-
259
- class AmazonPayPayments < Stripe::RequestParams
260
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
261
- attr_accessor :requested
262
-
263
- def initialize(requested: nil)
264
- @requested = requested
265
- end
266
- end
267
-
268
- class AuBecsDebitPayments < Stripe::RequestParams
269
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
270
- attr_accessor :requested
271
-
272
- def initialize(requested: nil)
273
- @requested = requested
274
- end
275
- end
276
-
277
- class BacsDebitPayments < Stripe::RequestParams
278
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
279
- attr_accessor :requested
280
-
281
- def initialize(requested: nil)
282
- @requested = requested
283
- end
284
- end
285
-
286
- class BancontactPayments < Stripe::RequestParams
287
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
288
- attr_accessor :requested
289
-
290
- def initialize(requested: nil)
291
- @requested = requested
292
- end
293
- end
294
-
295
- class BlikPayments < Stripe::RequestParams
296
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
297
- attr_accessor :requested
298
-
299
- def initialize(requested: nil)
300
- @requested = requested
301
- end
302
- end
303
-
304
- class BoletoPayments < Stripe::RequestParams
305
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
306
- attr_accessor :requested
307
-
308
- def initialize(requested: nil)
309
- @requested = requested
310
- end
311
- end
312
-
313
- class CardPayments < Stripe::RequestParams
314
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
315
- attr_accessor :requested
316
-
317
- def initialize(requested: nil)
318
- @requested = requested
319
- end
320
- end
321
-
322
- class CartesBancairesPayments < Stripe::RequestParams
323
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
324
- attr_accessor :requested
325
-
326
- def initialize(requested: nil)
327
- @requested = requested
328
- end
329
- end
330
-
331
- class CashappPayments < Stripe::RequestParams
332
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
333
- attr_accessor :requested
334
-
335
- def initialize(requested: nil)
336
- @requested = requested
337
- end
338
- end
339
-
340
- class EpsPayments < Stripe::RequestParams
341
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
342
- attr_accessor :requested
343
-
344
- def initialize(requested: nil)
345
- @requested = requested
346
- end
347
- end
348
-
349
- class FpxPayments < Stripe::RequestParams
350
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
351
- attr_accessor :requested
352
-
353
- def initialize(requested: nil)
354
- @requested = requested
355
- end
356
- end
357
-
358
- class GbBankTransferPayments < Stripe::RequestParams
359
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
360
- attr_accessor :requested
361
-
362
- def initialize(requested: nil)
363
- @requested = requested
364
- end
365
- end
366
-
367
- class GrabpayPayments < Stripe::RequestParams
368
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
369
- attr_accessor :requested
370
-
371
- def initialize(requested: nil)
372
- @requested = requested
373
- end
374
- end
375
-
376
- class IdealPayments < Stripe::RequestParams
377
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
378
- attr_accessor :requested
379
-
380
- def initialize(requested: nil)
381
- @requested = requested
382
- end
383
- end
384
-
385
- class JcbPayments < Stripe::RequestParams
386
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
387
- attr_accessor :requested
388
-
389
- def initialize(requested: nil)
390
- @requested = requested
391
- end
392
- end
393
-
394
- class JpBankTransferPayments < Stripe::RequestParams
395
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
396
- attr_accessor :requested
397
-
398
- def initialize(requested: nil)
399
- @requested = requested
400
- end
401
- end
402
-
403
- class KakaoPayPayments < Stripe::RequestParams
404
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
405
- attr_accessor :requested
406
-
407
- def initialize(requested: nil)
408
- @requested = requested
409
- end
410
- end
411
-
412
- class KlarnaPayments < Stripe::RequestParams
413
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
414
- attr_accessor :requested
415
-
416
- def initialize(requested: nil)
417
- @requested = requested
418
- end
419
- end
420
-
421
- class KonbiniPayments < Stripe::RequestParams
422
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
423
- attr_accessor :requested
424
-
425
- def initialize(requested: nil)
426
- @requested = requested
427
- end
428
- end
429
-
430
- class KrCardPayments < Stripe::RequestParams
431
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
432
- attr_accessor :requested
433
-
434
- def initialize(requested: nil)
435
- @requested = requested
436
- end
437
- end
438
-
439
- class LinkPayments < Stripe::RequestParams
440
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
441
- attr_accessor :requested
442
-
443
- def initialize(requested: nil)
444
- @requested = requested
445
- end
446
- end
447
-
448
- class MobilepayPayments < Stripe::RequestParams
449
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
450
- attr_accessor :requested
451
-
452
- def initialize(requested: nil)
453
- @requested = requested
454
- end
455
- end
456
-
457
- class MultibancoPayments < Stripe::RequestParams
458
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
459
- attr_accessor :requested
460
-
461
- def initialize(requested: nil)
462
- @requested = requested
463
- end
464
- end
465
-
466
- class MxBankTransferPayments < Stripe::RequestParams
467
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
468
- attr_accessor :requested
469
-
470
- def initialize(requested: nil)
471
- @requested = requested
472
- end
473
- end
474
-
475
- class NaverPayPayments < Stripe::RequestParams
476
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
477
- attr_accessor :requested
478
-
479
- def initialize(requested: nil)
480
- @requested = requested
481
- end
482
- end
483
-
484
- class OxxoPayments < Stripe::RequestParams
485
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
486
- attr_accessor :requested
487
-
488
- def initialize(requested: nil)
489
- @requested = requested
490
- end
491
- end
492
-
493
- class P24Payments < Stripe::RequestParams
494
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
495
- attr_accessor :requested
496
-
497
- def initialize(requested: nil)
498
- @requested = requested
499
- end
500
- end
501
-
502
- class PayByBankPayments < Stripe::RequestParams
503
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
504
- attr_accessor :requested
505
-
506
- def initialize(requested: nil)
507
- @requested = requested
508
- end
509
- end
510
-
511
- class PaycoPayments < Stripe::RequestParams
512
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
513
- attr_accessor :requested
514
-
515
- def initialize(requested: nil)
516
- @requested = requested
517
- end
518
- end
519
-
520
- class PaynowPayments < Stripe::RequestParams
521
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
522
- attr_accessor :requested
523
-
524
- def initialize(requested: nil)
525
- @requested = requested
526
- end
527
- end
528
-
529
- class PromptpayPayments < Stripe::RequestParams
530
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
531
- attr_accessor :requested
532
-
533
- def initialize(requested: nil)
534
- @requested = requested
535
- end
536
- end
537
-
538
- class RevolutPayPayments < Stripe::RequestParams
539
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
540
- attr_accessor :requested
541
-
542
- def initialize(requested: nil)
543
- @requested = requested
544
- end
545
- end
546
-
547
- class SamsungPayPayments < Stripe::RequestParams
548
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
549
- attr_accessor :requested
550
-
551
- def initialize(requested: nil)
552
- @requested = requested
553
- end
554
- end
555
-
556
- class SepaBankTransferPayments < Stripe::RequestParams
557
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
558
- attr_accessor :requested
559
-
560
- def initialize(requested: nil)
561
- @requested = requested
562
- end
563
- end
564
-
565
- class SepaDebitPayments < Stripe::RequestParams
566
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
567
- attr_accessor :requested
568
-
569
- def initialize(requested: nil)
570
- @requested = requested
571
- end
572
- end
573
-
574
- class SwishPayments < Stripe::RequestParams
575
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
576
- attr_accessor :requested
577
-
578
- def initialize(requested: nil)
579
- @requested = requested
580
- end
581
- end
582
-
583
- class TwintPayments < Stripe::RequestParams
584
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
585
- attr_accessor :requested
586
-
587
- def initialize(requested: nil)
588
- @requested = requested
589
- end
590
- end
591
-
592
- class UsBankTransferPayments < Stripe::RequestParams
593
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
594
- attr_accessor :requested
595
-
596
- def initialize(requested: nil)
597
- @requested = requested
598
- end
599
- end
600
-
601
- class ZipPayments < Stripe::RequestParams
602
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
603
- attr_accessor :requested
604
-
605
- def initialize(requested: nil)
606
- @requested = requested
607
- end
608
- end
609
- # Allow the merchant to process ACH debit payments.
610
- attr_accessor :ach_debit_payments
611
- # Allow the merchant to process ACSS debit payments.
612
- attr_accessor :acss_debit_payments
613
- # Allow the merchant to process Affirm payments.
614
- attr_accessor :affirm_payments
615
- # Allow the merchant to process Afterpay/Clearpay payments.
616
- attr_accessor :afterpay_clearpay_payments
617
- # Allow the merchant to process Alma payments.
618
- attr_accessor :alma_payments
619
- # Allow the merchant to process Amazon Pay payments.
620
- attr_accessor :amazon_pay_payments
621
- # Allow the merchant to process Australian BECS Direct Debit payments.
622
- attr_accessor :au_becs_debit_payments
623
- # Allow the merchant to process BACS Direct Debit payments.
624
- attr_accessor :bacs_debit_payments
625
- # Allow the merchant to process Bancontact payments.
626
- attr_accessor :bancontact_payments
627
- # Allow the merchant to process BLIK payments.
628
- attr_accessor :blik_payments
629
- # Allow the merchant to process Boleto payments.
630
- attr_accessor :boleto_payments
631
- # Allow the merchant to collect card payments.
632
- attr_accessor :card_payments
633
- # Allow the merchant to process Cartes Bancaires payments.
634
- attr_accessor :cartes_bancaires_payments
635
- # Allow the merchant to process Cash App payments.
636
- attr_accessor :cashapp_payments
637
- # Allow the merchant to process EPS payments.
638
- attr_accessor :eps_payments
639
- # Allow the merchant to process FPX payments.
640
- attr_accessor :fpx_payments
641
- # Allow the merchant to process UK bank transfer payments.
642
- attr_accessor :gb_bank_transfer_payments
643
- # Allow the merchant to process GrabPay payments.
644
- attr_accessor :grabpay_payments
645
- # Allow the merchant to process iDEAL payments.
646
- attr_accessor :ideal_payments
647
- # Allow the merchant to process JCB card payments.
648
- attr_accessor :jcb_payments
649
- # Allow the merchant to process Japanese bank transfer payments.
650
- attr_accessor :jp_bank_transfer_payments
651
- # Allow the merchant to process Kakao Pay payments.
652
- attr_accessor :kakao_pay_payments
653
- # Allow the merchant to process Klarna payments.
654
- attr_accessor :klarna_payments
655
- # Allow the merchant to process Konbini convenience store payments.
656
- attr_accessor :konbini_payments
657
- # Allow the merchant to process Korean card payments.
658
- attr_accessor :kr_card_payments
659
- # Allow the merchant to process Link payments.
660
- attr_accessor :link_payments
661
- # Allow the merchant to process MobilePay payments.
662
- attr_accessor :mobilepay_payments
663
- # Allow the merchant to process Multibanco payments.
664
- attr_accessor :multibanco_payments
665
- # Allow the merchant to process Mexican bank transfer payments.
666
- attr_accessor :mx_bank_transfer_payments
667
- # Allow the merchant to process Naver Pay payments.
668
- attr_accessor :naver_pay_payments
669
- # Allow the merchant to process OXXO payments.
670
- attr_accessor :oxxo_payments
671
- # Allow the merchant to process Przelewy24 (P24) payments.
672
- attr_accessor :p24_payments
673
- # Allow the merchant to process Pay by Bank payments.
674
- attr_accessor :pay_by_bank_payments
675
- # Allow the merchant to process PAYCO payments.
676
- attr_accessor :payco_payments
677
- # Allow the merchant to process PayNow payments.
678
- attr_accessor :paynow_payments
679
- # Allow the merchant to process PromptPay payments.
680
- attr_accessor :promptpay_payments
681
- # Allow the merchant to process Revolut Pay payments.
682
- attr_accessor :revolut_pay_payments
683
- # Allow the merchant to process Samsung Pay payments.
684
- attr_accessor :samsung_pay_payments
685
- # Allow the merchant to process SEPA bank transfer payments.
686
- attr_accessor :sepa_bank_transfer_payments
687
- # Allow the merchant to process SEPA Direct Debit payments.
688
- attr_accessor :sepa_debit_payments
689
- # Allow the merchant to process Swish payments.
690
- attr_accessor :swish_payments
691
- # Allow the merchant to process TWINT payments.
692
- attr_accessor :twint_payments
693
- # Allow the merchant to process US bank transfer payments.
694
- attr_accessor :us_bank_transfer_payments
695
- # Allow the merchant to process Zip payments.
696
- attr_accessor :zip_payments
697
-
698
- def initialize(
699
- ach_debit_payments: nil,
700
- acss_debit_payments: nil,
701
- affirm_payments: nil,
702
- afterpay_clearpay_payments: nil,
703
- alma_payments: nil,
704
- amazon_pay_payments: nil,
705
- au_becs_debit_payments: nil,
706
- bacs_debit_payments: nil,
707
- bancontact_payments: nil,
708
- blik_payments: nil,
709
- boleto_payments: nil,
710
- card_payments: nil,
711
- cartes_bancaires_payments: nil,
712
- cashapp_payments: nil,
713
- eps_payments: nil,
714
- fpx_payments: nil,
715
- gb_bank_transfer_payments: nil,
716
- grabpay_payments: nil,
717
- ideal_payments: nil,
718
- jcb_payments: nil,
719
- jp_bank_transfer_payments: nil,
720
- kakao_pay_payments: nil,
721
- klarna_payments: nil,
722
- konbini_payments: nil,
723
- kr_card_payments: nil,
724
- link_payments: nil,
725
- mobilepay_payments: nil,
726
- multibanco_payments: nil,
727
- mx_bank_transfer_payments: nil,
728
- naver_pay_payments: nil,
729
- oxxo_payments: nil,
730
- p24_payments: nil,
731
- pay_by_bank_payments: nil,
732
- payco_payments: nil,
733
- paynow_payments: nil,
734
- promptpay_payments: nil,
735
- revolut_pay_payments: nil,
736
- samsung_pay_payments: nil,
737
- sepa_bank_transfer_payments: nil,
738
- sepa_debit_payments: nil,
739
- swish_payments: nil,
740
- twint_payments: nil,
741
- us_bank_transfer_payments: nil,
742
- zip_payments: nil
743
- )
744
- @ach_debit_payments = ach_debit_payments
745
- @acss_debit_payments = acss_debit_payments
746
- @affirm_payments = affirm_payments
747
- @afterpay_clearpay_payments = afterpay_clearpay_payments
748
- @alma_payments = alma_payments
749
- @amazon_pay_payments = amazon_pay_payments
750
- @au_becs_debit_payments = au_becs_debit_payments
751
- @bacs_debit_payments = bacs_debit_payments
752
- @bancontact_payments = bancontact_payments
753
- @blik_payments = blik_payments
754
- @boleto_payments = boleto_payments
755
- @card_payments = card_payments
756
- @cartes_bancaires_payments = cartes_bancaires_payments
757
- @cashapp_payments = cashapp_payments
758
- @eps_payments = eps_payments
759
- @fpx_payments = fpx_payments
760
- @gb_bank_transfer_payments = gb_bank_transfer_payments
761
- @grabpay_payments = grabpay_payments
762
- @ideal_payments = ideal_payments
763
- @jcb_payments = jcb_payments
764
- @jp_bank_transfer_payments = jp_bank_transfer_payments
765
- @kakao_pay_payments = kakao_pay_payments
766
- @klarna_payments = klarna_payments
767
- @konbini_payments = konbini_payments
768
- @kr_card_payments = kr_card_payments
769
- @link_payments = link_payments
770
- @mobilepay_payments = mobilepay_payments
771
- @multibanco_payments = multibanco_payments
772
- @mx_bank_transfer_payments = mx_bank_transfer_payments
773
- @naver_pay_payments = naver_pay_payments
774
- @oxxo_payments = oxxo_payments
775
- @p24_payments = p24_payments
776
- @pay_by_bank_payments = pay_by_bank_payments
777
- @payco_payments = payco_payments
778
- @paynow_payments = paynow_payments
779
- @promptpay_payments = promptpay_payments
780
- @revolut_pay_payments = revolut_pay_payments
781
- @samsung_pay_payments = samsung_pay_payments
782
- @sepa_bank_transfer_payments = sepa_bank_transfer_payments
783
- @sepa_debit_payments = sepa_debit_payments
784
- @swish_payments = swish_payments
785
- @twint_payments = twint_payments
786
- @us_bank_transfer_payments = us_bank_transfer_payments
787
- @zip_payments = zip_payments
788
- end
789
- end
790
-
791
- class CardPayments < Stripe::RequestParams
792
- class DeclineOn < Stripe::RequestParams
793
- # 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.
794
- attr_accessor :avs_failure
795
- # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
796
- attr_accessor :cvc_failure
797
-
798
- def initialize(avs_failure: nil, cvc_failure: nil)
799
- @avs_failure = avs_failure
800
- @cvc_failure = cvc_failure
801
- end
802
- end
803
- # Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
804
- attr_accessor :decline_on
805
-
806
- def initialize(decline_on: nil)
807
- @decline_on = decline_on
808
- end
809
- end
810
-
811
- class StatementDescriptor < Stripe::RequestParams
812
- # 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.
813
- attr_accessor :descriptor
814
- # 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.
815
- attr_accessor :prefix
816
-
817
- def initialize(descriptor: nil, prefix: nil)
818
- @descriptor = descriptor
819
- @prefix = prefix
820
- end
821
- end
822
-
823
- class Support < Stripe::RequestParams
824
- class Address < Stripe::RequestParams
825
- # City, district, suburb, town, or village.
826
- attr_accessor :city
827
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
828
- attr_accessor :country
829
- # Address line 1 (e.g., street, PO Box, or company name).
830
- attr_accessor :line1
831
- # Address line 2 (e.g., apartment, suite, unit, or building).
832
- attr_accessor :line2
833
- # ZIP or postal code.
834
- attr_accessor :postal_code
835
- # State, county, province, or region.
836
- attr_accessor :state
837
- # Town or cho-me.
838
- attr_accessor :town
839
-
840
- def initialize(
841
- city: nil,
842
- country: nil,
843
- line1: nil,
844
- line2: nil,
845
- postal_code: nil,
846
- state: nil,
847
- town: nil
848
- )
849
- @city = city
850
- @country = country
851
- @line1 = line1
852
- @line2 = line2
853
- @postal_code = postal_code
854
- @state = state
855
- @town = town
856
- end
857
- end
858
- # A publicly available mailing address for sending support issues to.
859
- attr_accessor :address
860
- # A publicly available email address for sending support issues to.
861
- attr_accessor :email
862
- # A publicly available phone number to call with support issues.
863
- attr_accessor :phone
864
- # A publicly available website for handling support issues.
865
- attr_accessor :url
866
-
867
- def initialize(address: nil, email: nil, phone: nil, url: nil)
868
- @address = address
869
- @email = email
870
- @phone = phone
871
- @url = url
872
- end
873
- end
874
- # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
875
- attr_accessor :applied
876
- # Settings used for Bacs debit payments.
877
- attr_accessor :bacs_debit_payments
878
- # Settings used to apply the merchant's branding to email receipts, invoices, Checkout, and other products.
879
- attr_accessor :branding
880
- # Capabilities to request on the Merchant Configuration.
881
- attr_accessor :capabilities
882
- # Card payments settings.
883
- attr_accessor :card_payments
884
- # The merchant category code for the merchant. MCCs are used to classify businesses based on the goods or services they provide.
885
- attr_accessor :mcc
886
- # Statement descriptor.
887
- attr_accessor :statement_descriptor
888
- # Publicly available contact information for sending support issues to.
889
- attr_accessor :support
890
-
891
- def initialize(
892
- applied: nil,
893
- bacs_debit_payments: nil,
894
- branding: nil,
895
- capabilities: nil,
896
- card_payments: nil,
897
- mcc: nil,
898
- statement_descriptor: nil,
899
- support: nil
900
- )
901
- @applied = applied
902
- @bacs_debit_payments = bacs_debit_payments
903
- @branding = branding
904
- @capabilities = capabilities
905
- @card_payments = card_payments
906
- @mcc = mcc
907
- @statement_descriptor = statement_descriptor
908
- @support = support
909
- end
910
- end
911
-
912
- class Recipient < Stripe::RequestParams
913
- class Capabilities < Stripe::RequestParams
914
- class BankAccounts < Stripe::RequestParams
915
- class Local < Stripe::RequestParams
916
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
917
- attr_accessor :requested
918
-
919
- def initialize(requested: nil)
920
- @requested = requested
921
- end
922
- end
923
-
924
- class Wire < Stripe::RequestParams
925
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
926
- attr_accessor :requested
927
-
928
- def initialize(requested: nil)
929
- @requested = requested
930
- end
931
- end
932
- # Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
933
- attr_accessor :local
934
- # Enables this Account to receive OutboundPayments to linked bank accounts over wire.
935
- attr_accessor :wire
936
-
937
- def initialize(local: nil, wire: nil)
938
- @local = local
939
- @wire = wire
940
- end
941
- end
942
-
943
- class Cards < Stripe::RequestParams
944
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
945
- attr_accessor :requested
946
-
947
- def initialize(requested: nil)
948
- @requested = requested
949
- end
950
- end
951
-
952
- class CryptoWallets < Stripe::RequestParams
953
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
954
- attr_accessor :requested
955
-
956
- def initialize(requested: nil)
957
- @requested = requested
958
- end
959
- end
960
-
961
- class StripeBalance < Stripe::RequestParams
962
- class StripeTransfers < Stripe::RequestParams
963
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
964
- attr_accessor :requested
965
-
966
- def initialize(requested: nil)
967
- @requested = requested
968
- end
969
- end
970
- # Allows the account to receive /v1/transfers into their Stripe Balance (/v1/balance).
971
- attr_accessor :stripe_transfers
972
-
973
- def initialize(stripe_transfers: nil)
974
- @stripe_transfers = stripe_transfers
975
- end
976
- end
977
- # Capabilities that enable OutboundPayments to a bank account linked to this Account.
978
- attr_accessor :bank_accounts
979
- # Capability that enable OutboundPayments to a debit card linked to this Account.
980
- attr_accessor :cards
981
- # Capabilities that enable OutboundPayments to a crypto wallet linked to this Account.
982
- attr_accessor :crypto_wallets
983
- # Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
984
- attr_accessor :stripe_balance
985
-
986
- def initialize(
987
- bank_accounts: nil,
988
- cards: nil,
989
- crypto_wallets: nil,
990
- stripe_balance: nil
991
- )
992
- @bank_accounts = bank_accounts
993
- @cards = cards
994
- @crypto_wallets = crypto_wallets
995
- @stripe_balance = stripe_balance
996
- end
997
- end
998
- # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
999
- attr_accessor :applied
1000
- # Capabilities to request on the Recipient Configuration.
1001
- attr_accessor :capabilities
1002
- # The payout method id to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through API or sending payouts via dashboard. Can also be explicitly set to `null` to clear the existing default outbound destination. For further details about creating an Outbound Destination, see [Collect recipient's payment details](https://docs.corp.stripe.com/global-payouts-private-preview/quickstart?dashboard-or-api=api#collect-bank-account-details).
1003
- attr_accessor :default_outbound_destination
1004
-
1005
- def initialize(applied: nil, capabilities: nil, default_outbound_destination: nil)
1006
- @applied = applied
1007
- @capabilities = capabilities
1008
- @default_outbound_destination = default_outbound_destination
1009
- end
1010
- end
1011
-
1012
- class Storer < Stripe::RequestParams
1013
- class Capabilities < Stripe::RequestParams
1014
- class FinancialAddresses < Stripe::RequestParams
1015
- class BankAccounts < Stripe::RequestParams
1016
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1017
- attr_accessor :requested
1018
-
1019
- def initialize(requested: nil)
1020
- @requested = requested
1021
- end
1022
- end
1023
- # Can provision a bank-account-like financial address (VBAN) to credit/debit a FinancialAccount.
1024
- attr_accessor :bank_accounts
1025
-
1026
- def initialize(bank_accounts: nil)
1027
- @bank_accounts = bank_accounts
1028
- end
1029
- end
1030
-
1031
- class HoldsCurrencies < Stripe::RequestParams
1032
- class Gbp < Stripe::RequestParams
1033
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1034
- attr_accessor :requested
1035
-
1036
- def initialize(requested: nil)
1037
- @requested = requested
1038
- end
1039
- end
1040
- # Can hold storage-type funds on Stripe in GBP.
1041
- attr_accessor :gbp
1042
-
1043
- def initialize(gbp: nil)
1044
- @gbp = gbp
1045
- end
1046
- end
1047
-
1048
- class InboundTransfers < Stripe::RequestParams
1049
- class BankAccounts < Stripe::RequestParams
1050
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1051
- attr_accessor :requested
1052
-
1053
- def initialize(requested: nil)
1054
- @requested = requested
1055
- end
1056
- end
1057
- # Can pull funds from an external bank account owned by yourself to a FinancialAccount.
1058
- attr_accessor :bank_accounts
1059
-
1060
- def initialize(bank_accounts: nil)
1061
- @bank_accounts = bank_accounts
1062
- end
1063
- end
1064
-
1065
- class OutboundPayments < Stripe::RequestParams
1066
- class BankAccounts < Stripe::RequestParams
1067
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1068
- attr_accessor :requested
1069
-
1070
- def initialize(requested: nil)
1071
- @requested = requested
1072
- end
1073
- end
1074
-
1075
- class Cards < Stripe::RequestParams
1076
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1077
- attr_accessor :requested
1078
-
1079
- def initialize(requested: nil)
1080
- @requested = requested
1081
- end
1082
- end
1083
-
1084
- class FinancialAccounts < Stripe::RequestParams
1085
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1086
- attr_accessor :requested
1087
-
1088
- def initialize(requested: nil)
1089
- @requested = requested
1090
- end
1091
- end
1092
- # Can send funds from a FinancialAccount to a bank account owned by someone else.
1093
- attr_accessor :bank_accounts
1094
- # Can send funds from a FinancialAccount to a debit card owned by someone else.
1095
- attr_accessor :cards
1096
- # Can send funds from a FinancialAccount to another FinancialAccount owned by someone else.
1097
- attr_accessor :financial_accounts
1098
-
1099
- def initialize(bank_accounts: nil, cards: nil, financial_accounts: nil)
1100
- @bank_accounts = bank_accounts
1101
- @cards = cards
1102
- @financial_accounts = financial_accounts
1103
- end
1104
- end
1105
-
1106
- class OutboundTransfers < Stripe::RequestParams
1107
- class BankAccounts < Stripe::RequestParams
1108
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1109
- attr_accessor :requested
1110
-
1111
- def initialize(requested: nil)
1112
- @requested = requested
1113
- end
1114
- end
1115
-
1116
- class FinancialAccounts < Stripe::RequestParams
1117
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1118
- attr_accessor :requested
1119
-
1120
- def initialize(requested: nil)
1121
- @requested = requested
1122
- end
1123
- end
1124
- # Can send funds from a FinancialAccount to a bank account owned by yourself.
1125
- attr_accessor :bank_accounts
1126
- # Can send funds from a FinancialAccount to another FinancialAccount owned by yourself.
1127
- attr_accessor :financial_accounts
1128
-
1129
- def initialize(bank_accounts: nil, financial_accounts: nil)
1130
- @bank_accounts = bank_accounts
1131
- @financial_accounts = financial_accounts
1132
- end
1133
- end
1134
- # Can provision a financial address to credit/debit a FinancialAccount.
1135
- attr_accessor :financial_addresses
1136
- # Can hold storage-type funds on Stripe.
1137
- attr_accessor :holds_currencies
1138
- # Can pull funds from an external source, owned by yourself, to a FinancialAccount.
1139
- attr_accessor :inbound_transfers
1140
- # Can send funds from a FinancialAccount to a destination owned by someone else.
1141
- attr_accessor :outbound_payments
1142
- # Can send funds from a FinancialAccount to a destination owned by yourself.
1143
- attr_accessor :outbound_transfers
1144
-
1145
- def initialize(
1146
- financial_addresses: nil,
1147
- holds_currencies: nil,
1148
- inbound_transfers: nil,
1149
- outbound_payments: nil,
1150
- outbound_transfers: nil
1151
- )
1152
- @financial_addresses = financial_addresses
1153
- @holds_currencies = holds_currencies
1154
- @inbound_transfers = inbound_transfers
1155
- @outbound_payments = outbound_payments
1156
- @outbound_transfers = outbound_transfers
1157
- end
1158
- end
1159
- # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
1160
- attr_accessor :applied
1161
- # Capabilities to request on the Storer Configuration.
1162
- attr_accessor :capabilities
1163
-
1164
- def initialize(applied: nil, capabilities: nil)
1165
- @applied = applied
1166
- @capabilities = capabilities
1167
- end
1168
- end
1169
- # The Customer Configuration allows the Account to be charged.
1170
- attr_accessor :customer
1171
- # 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.
1172
- attr_accessor :merchant
1173
- # The Recipient Configuration allows the Account to receive funds.
1174
- attr_accessor :recipient
1175
- # The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
1176
- attr_accessor :storer
1177
-
1178
- def initialize(customer: nil, merchant: nil, recipient: nil, storer: nil)
1179
- @customer = customer
1180
- @merchant = merchant
1181
- @recipient = recipient
1182
- @storer = storer
1183
- end
1184
- end
1185
-
1186
- class Defaults < Stripe::RequestParams
1187
- class Profile < Stripe::RequestParams
1188
- # The business's publicly-available website.
1189
- attr_accessor :business_url
1190
- # The name which is used by the business.
1191
- attr_accessor :doing_business_as
1192
- # Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes.
1193
- attr_accessor :product_description
1194
-
1195
- def initialize(business_url: nil, doing_business_as: nil, product_description: nil)
1196
- @business_url = business_url
1197
- @doing_business_as = doing_business_as
1198
- @product_description = product_description
1199
- end
1200
- end
1201
-
1202
- class Responsibilities < Stripe::RequestParams
1203
- # A value indicating the party responsible for collecting fees from this account.
1204
- attr_accessor :fees_collector
1205
- # A value indicating who is responsible for losses when this Account can’t pay back negative balances from payments.
1206
- attr_accessor :losses_collector
1207
-
1208
- def initialize(fees_collector: nil, losses_collector: nil)
1209
- @fees_collector = fees_collector
1210
- @losses_collector = losses_collector
1211
- end
1212
- end
1213
- # 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).
1214
- attr_accessor :currency
1215
- # The Account's preferred locales (languages), ordered by preference.
1216
- attr_accessor :locales
1217
- # Account profile information.
1218
- attr_accessor :profile
1219
- # Default responsibilities held by either Stripe or the platform.
1220
- attr_accessor :responsibilities
1221
-
1222
- def initialize(currency: nil, locales: nil, profile: nil, responsibilities: nil)
1223
- @currency = currency
1224
- @locales = locales
1225
- @profile = profile
1226
- @responsibilities = responsibilities
1227
- end
1228
- end
1229
-
1230
- class Identity < Stripe::RequestParams
1231
- class Attestations < Stripe::RequestParams
1232
- class DirectorshipDeclaration < Stripe::RequestParams
1233
- # 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.
1234
- attr_accessor :date
1235
- # The IP address from which the director attestation was made.
1236
- attr_accessor :ip
1237
- # The user agent of the browser from which the director attestation was made.
1238
- attr_accessor :user_agent
1239
-
1240
- def initialize(date: nil, ip: nil, user_agent: nil)
1241
- @date = date
1242
- @ip = ip
1243
- @user_agent = user_agent
1244
- end
1245
- end
1246
-
1247
- class OwnershipDeclaration < Stripe::RequestParams
1248
- # 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.
1249
- attr_accessor :date
1250
- # The IP address from which the beneficial owner attestation was made.
1251
- attr_accessor :ip
1252
- # The user agent of the browser from which the beneficial owner attestation was made.
1253
- attr_accessor :user_agent
1254
-
1255
- def initialize(date: nil, ip: nil, user_agent: nil)
1256
- @date = date
1257
- @ip = ip
1258
- @user_agent = user_agent
1259
- end
1260
- end
1261
-
1262
- class PersonsProvided < Stripe::RequestParams
1263
- # 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).
1264
- attr_accessor :directors
1265
- # 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).
1266
- attr_accessor :executives
1267
- # 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).
1268
- attr_accessor :owners
1269
- # Reason for why the company is exempt from providing ownership information.
1270
- attr_accessor :ownership_exemption_reason
1271
-
1272
- def initialize(
1273
- directors: nil,
1274
- executives: nil,
1275
- owners: nil,
1276
- ownership_exemption_reason: nil
1277
- )
1278
- @directors = directors
1279
- @executives = executives
1280
- @owners = owners
1281
- @ownership_exemption_reason = ownership_exemption_reason
1282
- end
1283
- end
1284
-
1285
- class TermsOfService < Stripe::RequestParams
1286
- class Account < Stripe::RequestParams
1287
- # 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.
1288
- attr_accessor :date
1289
- # The IP address from which the Account's representative accepted the terms of service.
1290
- attr_accessor :ip
1291
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1292
- attr_accessor :user_agent
1293
-
1294
- def initialize(date: nil, ip: nil, user_agent: nil)
1295
- @date = date
1296
- @ip = ip
1297
- @user_agent = user_agent
1298
- end
1299
- end
1300
-
1301
- class Storer < Stripe::RequestParams
1302
- # 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.
1303
- attr_accessor :date
1304
- # The IP address from which the Account's representative accepted the terms of service.
1305
- attr_accessor :ip
1306
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1307
- attr_accessor :user_agent
1308
-
1309
- def initialize(date: nil, ip: nil, user_agent: nil)
1310
- @date = date
1311
- @ip = ip
1312
- @user_agent = user_agent
1313
- end
1314
- end
1315
- # Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
1316
- attr_accessor :account
1317
- # Details on the Account's acceptance of Treasury-specific terms of service.
1318
- attr_accessor :storer
1319
-
1320
- def initialize(account: nil, storer: nil)
1321
- @account = account
1322
- @storer = storer
1323
- end
1324
- end
1325
- # This hash is used to attest that the directors information provided to Stripe is both current and correct.
1326
- attr_accessor :directorship_declaration
1327
- # This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
1328
- attr_accessor :ownership_declaration
1329
- # Attestation that all Persons with a specific Relationship value have been provided.
1330
- attr_accessor :persons_provided
1331
- # Attestations of accepted terms of service agreements.
1332
- attr_accessor :terms_of_service
1333
-
1334
- def initialize(
1335
- directorship_declaration: nil,
1336
- ownership_declaration: nil,
1337
- persons_provided: nil,
1338
- terms_of_service: nil
1339
- )
1340
- @directorship_declaration = directorship_declaration
1341
- @ownership_declaration = ownership_declaration
1342
- @persons_provided = persons_provided
1343
- @terms_of_service = terms_of_service
1344
- end
1345
- end
1346
-
1347
- class BusinessDetails < Stripe::RequestParams
1348
- class Address < Stripe::RequestParams
1349
- # City, district, suburb, town, or village.
1350
- attr_accessor :city
1351
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1352
- attr_accessor :country
1353
- # Address line 1 (e.g., street, PO Box, or company name).
1354
- attr_accessor :line1
1355
- # Address line 2 (e.g., apartment, suite, unit, or building).
1356
- attr_accessor :line2
1357
- # ZIP or postal code.
1358
- attr_accessor :postal_code
1359
- # State, county, province, or region.
1360
- attr_accessor :state
1361
- # Town or cho-me.
1362
- attr_accessor :town
1363
-
1364
- def initialize(
1365
- city: nil,
1366
- country: nil,
1367
- line1: nil,
1368
- line2: nil,
1369
- postal_code: nil,
1370
- state: nil,
1371
- town: nil
1372
- )
1373
- @city = city
1374
- @country = country
1375
- @line1 = line1
1376
- @line2 = line2
1377
- @postal_code = postal_code
1378
- @state = state
1379
- @town = town
1380
- end
1381
- end
1382
-
1383
- class AnnualRevenue < Stripe::RequestParams
1384
- # A non-negative integer representing the amount in the smallest currency unit.
1385
- attr_accessor :amount
1386
- # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
1387
- attr_accessor :fiscal_year_end
1388
-
1389
- def initialize(amount: nil, fiscal_year_end: nil)
1390
- @amount = amount
1391
- @fiscal_year_end = fiscal_year_end
1392
- end
1393
- end
1394
-
1395
- class Documents < Stripe::RequestParams
1396
- class BankAccountOwnershipVerification < Stripe::RequestParams
1397
- # 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`.
1398
- attr_accessor :files
1399
- # The format of the document. Currently supports `files` only.
1400
- attr_accessor :type
1401
-
1402
- def initialize(files: nil, type: nil)
1403
- @files = files
1404
- @type = type
1405
- end
1406
- end
1407
-
1408
- class CompanyLicense < Stripe::RequestParams
1409
- # 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`.
1410
- attr_accessor :files
1411
- # The format of the document. Currently supports `files` only.
1412
- attr_accessor :type
1413
-
1414
- def initialize(files: nil, type: nil)
1415
- @files = files
1416
- @type = type
1417
- end
1418
- end
1419
-
1420
- class CompanyMemorandumOfAssociation < Stripe::RequestParams
1421
- # 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`.
1422
- attr_accessor :files
1423
- # The format of the document. Currently supports `files` only.
1424
- attr_accessor :type
1425
-
1426
- def initialize(files: nil, type: nil)
1427
- @files = files
1428
- @type = type
1429
- end
1430
- end
1431
-
1432
- class CompanyMinisterialDecree < Stripe::RequestParams
1433
- # 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`.
1434
- attr_accessor :files
1435
- # The format of the document. Currently supports `files` only.
1436
- attr_accessor :type
1437
-
1438
- def initialize(files: nil, type: nil)
1439
- @files = files
1440
- @type = type
1441
- end
1442
- end
1443
-
1444
- class CompanyRegistrationVerification < Stripe::RequestParams
1445
- # 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`.
1446
- attr_accessor :files
1447
- # The format of the document. Currently supports `files` only.
1448
- attr_accessor :type
1449
-
1450
- def initialize(files: nil, type: nil)
1451
- @files = files
1452
- @type = type
1453
- end
1454
- end
1455
-
1456
- class CompanyTaxIdVerification < Stripe::RequestParams
1457
- # 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`.
1458
- attr_accessor :files
1459
- # The format of the document. Currently supports `files` only.
1460
- attr_accessor :type
1461
-
1462
- def initialize(files: nil, type: nil)
1463
- @files = files
1464
- @type = type
1465
- end
1466
- end
1467
-
1468
- class PrimaryVerification < Stripe::RequestParams
1469
- class FrontBack < Stripe::RequestParams
1470
- # 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.
1471
- attr_accessor :back
1472
- # 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.
1473
- attr_accessor :front
1474
-
1475
- def initialize(back: nil, front: nil)
1476
- @back = back
1477
- @front = front
1478
- end
1479
- end
1480
- # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document.
1481
- attr_accessor :front_back
1482
- # The format of the verification document. Currently supports `front_back` only.
1483
- attr_accessor :type
1484
-
1485
- def initialize(front_back: nil, type: nil)
1486
- @front_back = front_back
1487
- @type = type
1488
- end
1489
- end
1490
-
1491
- class ProofOfAddress < Stripe::RequestParams
1492
- # 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`.
1493
- attr_accessor :files
1494
- # The format of the document. Currently supports `files` only.
1495
- attr_accessor :type
1496
-
1497
- def initialize(files: nil, type: nil)
1498
- @files = files
1499
- @type = type
1500
- end
1501
- end
1502
-
1503
- class ProofOfRegistration < Stripe::RequestParams
1504
- # 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`.
1505
- attr_accessor :files
1506
- # The format of the document. Currently supports `files` only.
1507
- attr_accessor :type
1508
-
1509
- def initialize(files: nil, type: nil)
1510
- @files = files
1511
- @type = type
1512
- end
1513
- end
1514
-
1515
- class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams
1516
- # 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`.
1517
- attr_accessor :files
1518
- # The format of the document. Currently supports `files` only.
1519
- attr_accessor :type
1520
-
1521
- def initialize(files: nil, type: nil)
1522
- @files = files
1523
- @type = type
1524
- end
1525
- end
1526
- # 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.
1527
- attr_accessor :bank_account_ownership_verification
1528
- # One or more documents that demonstrate proof of a company’s license to operate.
1529
- attr_accessor :company_license
1530
- # One or more documents showing the company’s Memorandum of Association.
1531
- attr_accessor :company_memorandum_of_association
1532
- # Certain countries only: One or more documents showing the ministerial decree legalizing the company’s establishment.
1533
- attr_accessor :company_ministerial_decree
1534
- # One or more documents that demonstrate proof of a company’s registration with the appropriate local authorities.
1535
- attr_accessor :company_registration_verification
1536
- # One or more documents that demonstrate proof of a company’s tax ID.
1537
- attr_accessor :company_tax_id_verification
1538
- # A document verifying the business.
1539
- attr_accessor :primary_verification
1540
- # One or more documents that demonstrate proof of address.
1541
- attr_accessor :proof_of_address
1542
- # One or more documents showing the company’s proof of registration with the national business registry.
1543
- attr_accessor :proof_of_registration
1544
- # One or more documents that demonstrate proof of ultimate beneficial ownership.
1545
- attr_accessor :proof_of_ultimate_beneficial_ownership
1546
-
1547
- def initialize(
1548
- bank_account_ownership_verification: nil,
1549
- company_license: nil,
1550
- company_memorandum_of_association: nil,
1551
- company_ministerial_decree: nil,
1552
- company_registration_verification: nil,
1553
- company_tax_id_verification: nil,
1554
- primary_verification: nil,
1555
- proof_of_address: nil,
1556
- proof_of_registration: nil,
1557
- proof_of_ultimate_beneficial_ownership: nil
1558
- )
1559
- @bank_account_ownership_verification = bank_account_ownership_verification
1560
- @company_license = company_license
1561
- @company_memorandum_of_association = company_memorandum_of_association
1562
- @company_ministerial_decree = company_ministerial_decree
1563
- @company_registration_verification = company_registration_verification
1564
- @company_tax_id_verification = company_tax_id_verification
1565
- @primary_verification = primary_verification
1566
- @proof_of_address = proof_of_address
1567
- @proof_of_registration = proof_of_registration
1568
- @proof_of_ultimate_beneficial_ownership = proof_of_ultimate_beneficial_ownership
1569
- end
1570
- end
1571
-
1572
- class IdNumber < Stripe::RequestParams
1573
- # The registrar of the ID number (Only valid for DE ID number types).
1574
- attr_accessor :registrar
1575
- # Open Enum. The ID number type of a business entity.
1576
- attr_accessor :type
1577
- # The value of the ID number.
1578
- attr_accessor :value
1579
-
1580
- def initialize(registrar: nil, type: nil, value: nil)
1581
- @registrar = registrar
1582
- @type = type
1583
- @value = value
1584
- end
1585
- end
1586
-
1587
- class MonthlyEstimatedRevenue < Stripe::RequestParams
1588
- # A non-negative integer representing the amount in the smallest currency unit.
1589
- attr_accessor :amount
1590
-
1591
- def initialize(amount: nil)
1592
- @amount = amount
1593
- end
1594
- end
1595
-
1596
- class ScriptAddresses < Stripe::RequestParams
1597
- class Kana < Stripe::RequestParams
1598
- # City, district, suburb, town, or village.
1599
- attr_accessor :city
1600
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1601
- attr_accessor :country
1602
- # Address line 1 (e.g., street, PO Box, or company name).
1603
- attr_accessor :line1
1604
- # Address line 2 (e.g., apartment, suite, unit, or building).
1605
- attr_accessor :line2
1606
- # ZIP or postal code.
1607
- attr_accessor :postal_code
1608
- # State, county, province, or region.
1609
- attr_accessor :state
1610
- # Town or cho-me.
1611
- attr_accessor :town
1612
-
1613
- def initialize(
1614
- city: nil,
1615
- country: nil,
1616
- line1: nil,
1617
- line2: nil,
1618
- postal_code: nil,
1619
- state: nil,
1620
- town: nil
1621
- )
1622
- @city = city
1623
- @country = country
1624
- @line1 = line1
1625
- @line2 = line2
1626
- @postal_code = postal_code
1627
- @state = state
1628
- @town = town
1629
- end
1630
- end
1631
-
1632
- class Kanji < Stripe::RequestParams
1633
- # City, district, suburb, town, or village.
1634
- attr_accessor :city
1635
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1636
- attr_accessor :country
1637
- # Address line 1 (e.g., street, PO Box, or company name).
1638
- attr_accessor :line1
1639
- # Address line 2 (e.g., apartment, suite, unit, or building).
1640
- attr_accessor :line2
1641
- # ZIP or postal code.
1642
- attr_accessor :postal_code
1643
- # State, county, province, or region.
1644
- attr_accessor :state
1645
- # Town or cho-me.
1646
- attr_accessor :town
1647
-
1648
- def initialize(
1649
- city: nil,
1650
- country: nil,
1651
- line1: nil,
1652
- line2: nil,
1653
- postal_code: nil,
1654
- state: nil,
1655
- town: nil
1656
- )
1657
- @city = city
1658
- @country = country
1659
- @line1 = line1
1660
- @line2 = line2
1661
- @postal_code = postal_code
1662
- @state = state
1663
- @town = town
1664
- end
1665
- end
1666
- # Kana Address.
1667
- attr_accessor :kana
1668
- # Kanji Address.
1669
- attr_accessor :kanji
1670
-
1671
- def initialize(kana: nil, kanji: nil)
1672
- @kana = kana
1673
- @kanji = kanji
1674
- end
1675
- end
1676
-
1677
- class ScriptNames < Stripe::RequestParams
1678
- class Kana < Stripe::RequestParams
1679
- # Registered name of the business.
1680
- attr_accessor :registered_name
1681
-
1682
- def initialize(registered_name: nil)
1683
- @registered_name = registered_name
1684
- end
1685
- end
1686
-
1687
- class Kanji < Stripe::RequestParams
1688
- # Registered name of the business.
1689
- attr_accessor :registered_name
1690
-
1691
- def initialize(registered_name: nil)
1692
- @registered_name = registered_name
1693
- end
1694
- end
1695
- # Kana name.
1696
- attr_accessor :kana
1697
- # Kanji name.
1698
- attr_accessor :kanji
1699
-
1700
- def initialize(kana: nil, kanji: nil)
1701
- @kana = kana
1702
- @kanji = kanji
1703
- end
1704
- end
1705
- # The business registration address of the business entity.
1706
- attr_accessor :address
1707
- # The business gross annual revenue for its preceding fiscal year.
1708
- attr_accessor :annual_revenue
1709
- # A document verifying the business.
1710
- attr_accessor :documents
1711
- # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
1712
- attr_accessor :estimated_worker_count
1713
- # The ID numbers of a business entity.
1714
- attr_accessor :id_numbers
1715
- # An estimate of the monthly revenue of the business.
1716
- attr_accessor :monthly_estimated_revenue
1717
- # The phone number of the Business Entity.
1718
- attr_accessor :phone
1719
- # The business legal name.
1720
- attr_accessor :registered_name
1721
- # The business registration address of the business entity in non latin script.
1722
- attr_accessor :script_addresses
1723
- # The business legal name in non latin script.
1724
- attr_accessor :script_names
1725
- # The category identifying the legal structure of the business.
1726
- attr_accessor :structure
1727
-
1728
- def initialize(
1729
- address: nil,
1730
- annual_revenue: nil,
1731
- documents: nil,
1732
- estimated_worker_count: nil,
1733
- id_numbers: nil,
1734
- monthly_estimated_revenue: nil,
1735
- phone: nil,
1736
- registered_name: nil,
1737
- script_addresses: nil,
1738
- script_names: nil,
1739
- structure: nil
1740
- )
1741
- @address = address
1742
- @annual_revenue = annual_revenue
1743
- @documents = documents
1744
- @estimated_worker_count = estimated_worker_count
1745
- @id_numbers = id_numbers
1746
- @monthly_estimated_revenue = monthly_estimated_revenue
1747
- @phone = phone
1748
- @registered_name = registered_name
1749
- @script_addresses = script_addresses
1750
- @script_names = script_names
1751
- @structure = structure
1752
- end
1753
- end
1754
-
1755
- class Individual < Stripe::RequestParams
1756
- class AdditionalAddress < Stripe::RequestParams
1757
- # City, district, suburb, town, or village.
1758
- attr_accessor :city
1759
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1760
- attr_accessor :country
1761
- # Address line 1 (e.g., street, PO Box, or company name).
1762
- attr_accessor :line1
1763
- # Address line 2 (e.g., apartment, suite, unit, or building).
1764
- attr_accessor :line2
1765
- # ZIP or postal code.
1766
- attr_accessor :postal_code
1767
- # Purpose of additional address.
1768
- attr_accessor :purpose
1769
- # State, county, province, or region.
1770
- attr_accessor :state
1771
- # Town or cho-me.
1772
- attr_accessor :town
1773
-
1774
- def initialize(
1775
- city: nil,
1776
- country: nil,
1777
- line1: nil,
1778
- line2: nil,
1779
- postal_code: nil,
1780
- purpose: nil,
1781
- state: nil,
1782
- town: nil
1783
- )
1784
- @city = city
1785
- @country = country
1786
- @line1 = line1
1787
- @line2 = line2
1788
- @postal_code = postal_code
1789
- @purpose = purpose
1790
- @state = state
1791
- @town = town
1792
- end
1793
- end
1794
-
1795
- class AdditionalName < Stripe::RequestParams
1796
- # The person's full name.
1797
- attr_accessor :full_name
1798
- # The person's first or given name.
1799
- attr_accessor :given_name
1800
- # The purpose or type of the additional name.
1801
- attr_accessor :purpose
1802
- # The person's last or family name.
1803
- attr_accessor :surname
1804
-
1805
- def initialize(full_name: nil, given_name: nil, purpose: nil, surname: nil)
1806
- @full_name = full_name
1807
- @given_name = given_name
1808
- @purpose = purpose
1809
- @surname = surname
1810
- end
1811
- end
1812
-
1813
- class Address < Stripe::RequestParams
1814
- # City, district, suburb, town, or village.
1815
- attr_accessor :city
1816
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1817
- attr_accessor :country
1818
- # Address line 1 (e.g., street, PO Box, or company name).
1819
- attr_accessor :line1
1820
- # Address line 2 (e.g., apartment, suite, unit, or building).
1821
- attr_accessor :line2
1822
- # ZIP or postal code.
1823
- attr_accessor :postal_code
1824
- # State, county, province, or region.
1825
- attr_accessor :state
1826
- # Town or cho-me.
1827
- attr_accessor :town
1828
-
1829
- def initialize(
1830
- city: nil,
1831
- country: nil,
1832
- line1: nil,
1833
- line2: nil,
1834
- postal_code: nil,
1835
- state: nil,
1836
- town: nil
1837
- )
1838
- @city = city
1839
- @country = country
1840
- @line1 = line1
1841
- @line2 = line2
1842
- @postal_code = postal_code
1843
- @state = state
1844
- @town = town
1845
- end
1846
- end
1847
-
1848
- class DateOfBirth < Stripe::RequestParams
1849
- # The day of the birth.
1850
- attr_accessor :day
1851
- # The month of birth.
1852
- attr_accessor :month
1853
- # The year of birth.
1854
- attr_accessor :year
1855
-
1856
- def initialize(day: nil, month: nil, year: nil)
1857
- @day = day
1858
- @month = month
1859
- @year = year
1860
- end
1861
- end
1862
-
1863
- class Documents < Stripe::RequestParams
1864
- class CompanyAuthorization < Stripe::RequestParams
1865
- # 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`.
1866
- attr_accessor :files
1867
- # The format of the document. Currently supports `files` only.
1868
- attr_accessor :type
1869
-
1870
- def initialize(files: nil, type: nil)
1871
- @files = files
1872
- @type = type
1873
- end
1874
- end
1875
-
1876
- class Passport < Stripe::RequestParams
1877
- # 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`.
1878
- attr_accessor :files
1879
- # The format of the document. Currently supports `files` only.
1880
- attr_accessor :type
1881
-
1882
- def initialize(files: nil, type: nil)
1883
- @files = files
1884
- @type = type
1885
- end
1886
- end
1887
-
1888
- class PrimaryVerification < Stripe::RequestParams
1889
- class FrontBack < Stripe::RequestParams
1890
- # 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.
1891
- attr_accessor :back
1892
- # 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.
1893
- attr_accessor :front
1894
-
1895
- def initialize(back: nil, front: nil)
1896
- @back = back
1897
- @front = front
1898
- end
1899
- end
1900
- # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document.
1901
- attr_accessor :front_back
1902
- # The format of the verification document. Currently supports `front_back` only.
1903
- attr_accessor :type
1904
-
1905
- def initialize(front_back: nil, type: nil)
1906
- @front_back = front_back
1907
- @type = type
1908
- end
1909
- end
1910
-
1911
- class SecondaryVerification < Stripe::RequestParams
1912
- class FrontBack < Stripe::RequestParams
1913
- # 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.
1914
- attr_accessor :back
1915
- # 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.
1916
- attr_accessor :front
1917
-
1918
- def initialize(back: nil, front: nil)
1919
- @back = back
1920
- @front = front
1921
- end
1922
- end
1923
- # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document.
1924
- attr_accessor :front_back
1925
- # The format of the verification document. Currently supports `front_back` only.
1926
- attr_accessor :type
1927
-
1928
- def initialize(front_back: nil, type: nil)
1929
- @front_back = front_back
1930
- @type = type
1931
- end
1932
- end
1933
-
1934
- class Visa < Stripe::RequestParams
1935
- # 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`.
1936
- attr_accessor :files
1937
- # The format of the document. Currently supports `files` only.
1938
- attr_accessor :type
1939
-
1940
- def initialize(files: nil, type: nil)
1941
- @files = files
1942
- @type = type
1943
- end
1944
- end
1945
- # One or more documents that demonstrate proof that this person is authorized to represent the company.
1946
- attr_accessor :company_authorization
1947
- # One or more documents showing the person’s passport page with photo and personal data.
1948
- attr_accessor :passport
1949
- # An identifying document showing the person's name, either a passport or local ID card.
1950
- attr_accessor :primary_verification
1951
- # A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
1952
- attr_accessor :secondary_verification
1953
- # One or more documents showing the person’s visa required for living in the country where they are residing.
1954
- attr_accessor :visa
1955
-
1956
- def initialize(
1957
- company_authorization: nil,
1958
- passport: nil,
1959
- primary_verification: nil,
1960
- secondary_verification: nil,
1961
- visa: nil
1962
- )
1963
- @company_authorization = company_authorization
1964
- @passport = passport
1965
- @primary_verification = primary_verification
1966
- @secondary_verification = secondary_verification
1967
- @visa = visa
1968
- end
1969
- end
1970
-
1971
- class IdNumber < Stripe::RequestParams
1972
- # The ID number type of an individual.
1973
- attr_accessor :type
1974
- # The value of the ID number.
1975
- attr_accessor :value
1976
-
1977
- def initialize(type: nil, value: nil)
1978
- @type = type
1979
- @value = value
1980
- end
1981
- end
1982
-
1983
- class Relationship < Stripe::RequestParams
1984
- # Whether the person is a director of the account's identity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
1985
- attr_accessor :director
1986
- # Whether the person has significant responsibility to control, manage, or direct the organization.
1987
- attr_accessor :executive
1988
- # Whether the person is an owner of the account’s identity.
1989
- attr_accessor :owner
1990
- # The percent owned by the person of the account's legal entity.
1991
- attr_accessor :percent_ownership
1992
- # The person's title (e.g., CEO, Support Engineer).
1993
- attr_accessor :title
1994
-
1995
- def initialize(
1996
- director: nil,
1997
- executive: nil,
1998
- owner: nil,
1999
- percent_ownership: nil,
2000
- title: nil
2001
- )
2002
- @director = director
2003
- @executive = executive
2004
- @owner = owner
2005
- @percent_ownership = percent_ownership
2006
- @title = title
2007
- end
2008
- end
2009
-
2010
- class ScriptAddresses < Stripe::RequestParams
2011
- class Kana < Stripe::RequestParams
2012
- # City, district, suburb, town, or village.
2013
- attr_accessor :city
2014
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2015
- attr_accessor :country
2016
- # Address line 1 (e.g., street, PO Box, or company name).
2017
- attr_accessor :line1
2018
- # Address line 2 (e.g., apartment, suite, unit, or building).
2019
- attr_accessor :line2
2020
- # ZIP or postal code.
2021
- attr_accessor :postal_code
2022
- # State, county, province, or region.
2023
- attr_accessor :state
2024
- # Town or cho-me.
2025
- attr_accessor :town
2026
-
2027
- def initialize(
2028
- city: nil,
2029
- country: nil,
2030
- line1: nil,
2031
- line2: nil,
2032
- postal_code: nil,
2033
- state: nil,
2034
- town: nil
2035
- )
2036
- @city = city
2037
- @country = country
2038
- @line1 = line1
2039
- @line2 = line2
2040
- @postal_code = postal_code
2041
- @state = state
2042
- @town = town
2043
- end
2044
- end
2045
-
2046
- class Kanji < Stripe::RequestParams
2047
- # City, district, suburb, town, or village.
2048
- attr_accessor :city
2049
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2050
- attr_accessor :country
2051
- # Address line 1 (e.g., street, PO Box, or company name).
2052
- attr_accessor :line1
2053
- # Address line 2 (e.g., apartment, suite, unit, or building).
2054
- attr_accessor :line2
2055
- # ZIP or postal code.
2056
- attr_accessor :postal_code
2057
- # State, county, province, or region.
2058
- attr_accessor :state
2059
- # Town or cho-me.
2060
- attr_accessor :town
2061
-
2062
- def initialize(
2063
- city: nil,
2064
- country: nil,
2065
- line1: nil,
2066
- line2: nil,
2067
- postal_code: nil,
2068
- state: nil,
2069
- town: nil
2070
- )
2071
- @city = city
2072
- @country = country
2073
- @line1 = line1
2074
- @line2 = line2
2075
- @postal_code = postal_code
2076
- @state = state
2077
- @town = town
2078
- end
2079
- end
2080
- # Kana Address.
2081
- attr_accessor :kana
2082
- # Kanji Address.
2083
- attr_accessor :kanji
2084
-
2085
- def initialize(kana: nil, kanji: nil)
2086
- @kana = kana
2087
- @kanji = kanji
2088
- end
2089
- end
2090
-
2091
- class ScriptNames < Stripe::RequestParams
2092
- class Kana < Stripe::RequestParams
2093
- # The person's first or given name.
2094
- attr_accessor :given_name
2095
- # The person's last or family name.
2096
- attr_accessor :surname
2097
-
2098
- def initialize(given_name: nil, surname: nil)
2099
- @given_name = given_name
2100
- @surname = surname
2101
- end
2102
- end
2103
-
2104
- class Kanji < Stripe::RequestParams
2105
- # The person's first or given name.
2106
- attr_accessor :given_name
2107
- # The person's last or family name.
2108
- attr_accessor :surname
2109
-
2110
- def initialize(given_name: nil, surname: nil)
2111
- @given_name = given_name
2112
- @surname = surname
2113
- end
2114
- end
2115
- # Persons name in kana script.
2116
- attr_accessor :kana
2117
- # Persons name in kanji script.
2118
- attr_accessor :kanji
2119
-
2120
- def initialize(kana: nil, kanji: nil)
2121
- @kana = kana
2122
- @kanji = kanji
2123
- end
2124
- end
2125
- # Additional addresses associated with the individual.
2126
- attr_accessor :additional_addresses
2127
- # Additional names (e.g. aliases) associated with the individual.
2128
- attr_accessor :additional_names
2129
- # The individual's residential address.
2130
- attr_accessor :address
2131
- # The individual's date of birth.
2132
- attr_accessor :date_of_birth
2133
- # Documents that may be submitted to satisfy various informational requests.
2134
- attr_accessor :documents
2135
- # The individual's email address.
2136
- attr_accessor :email
2137
- # The individual's first name.
2138
- attr_accessor :given_name
2139
- # The identification numbers (e.g., SSN) associated with the individual.
2140
- attr_accessor :id_numbers
2141
- # The individual's gender (International regulations require either "male" or "female").
2142
- attr_accessor :legal_gender
2143
- # 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.
2144
- attr_accessor :metadata
2145
- # 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)).
2146
- attr_accessor :nationalities
2147
- # The individual's phone number.
2148
- attr_accessor :phone
2149
- # The individual's political exposure.
2150
- attr_accessor :political_exposure
2151
- # The relationship that this individual has with the account's identity.
2152
- attr_accessor :relationship
2153
- # The script addresses (e.g., non-Latin characters) associated with the individual.
2154
- attr_accessor :script_addresses
2155
- # The individuals primary name in non latin script.
2156
- attr_accessor :script_names
2157
- # The individual's last name.
2158
- attr_accessor :surname
2159
-
2160
- def initialize(
2161
- additional_addresses: nil,
2162
- additional_names: nil,
2163
- address: nil,
2164
- date_of_birth: nil,
2165
- documents: nil,
2166
- email: nil,
2167
- given_name: nil,
2168
- id_numbers: nil,
2169
- legal_gender: nil,
2170
- metadata: nil,
2171
- nationalities: nil,
2172
- phone: nil,
2173
- political_exposure: nil,
2174
- relationship: nil,
2175
- script_addresses: nil,
2176
- script_names: nil,
2177
- surname: nil
2178
- )
2179
- @additional_addresses = additional_addresses
2180
- @additional_names = additional_names
2181
- @address = address
2182
- @date_of_birth = date_of_birth
2183
- @documents = documents
2184
- @email = email
2185
- @given_name = given_name
2186
- @id_numbers = id_numbers
2187
- @legal_gender = legal_gender
2188
- @metadata = metadata
2189
- @nationalities = nationalities
2190
- @phone = phone
2191
- @political_exposure = political_exposure
2192
- @relationship = relationship
2193
- @script_addresses = script_addresses
2194
- @script_names = script_names
2195
- @surname = surname
2196
- end
2197
- end
2198
- # Attestations from the identity's key people, e.g. owners, executives, directors.
2199
- attr_accessor :attestations
2200
- # Information about the company or business.
2201
- attr_accessor :business_details
2202
- # 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.
2203
- attr_accessor :country
2204
- # The entity type.
2205
- attr_accessor :entity_type
2206
- # Information about the individual represented by the Account. This property is `null` unless `entity_type` is set to `individual`.
2207
- attr_accessor :individual
2208
-
2209
- def initialize(
2210
- attestations: nil,
2211
- business_details: nil,
2212
- country: nil,
2213
- entity_type: nil,
2214
- individual: nil
2215
- )
2216
- @attestations = attestations
2217
- @business_details = business_details
2218
- @country = country
2219
- @entity_type = entity_type
2220
- @individual = individual
2221
- end
2222
- end
2223
- # An Account Configuration which allows the Account to take on a key persona across Stripe products.
2224
- attr_accessor :configuration
2225
- # The default contact email address for the Account. Required when configuring the account as a merchant or recipient.
2226
- attr_accessor :contact_email
2227
- # A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.
2228
- attr_accessor :dashboard
2229
- # Default values to be used on Account Configurations.
2230
- attr_accessor :defaults
2231
- # A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account.
2232
- attr_accessor :display_name
2233
- # Information about the company, individual, and business represented by the Account.
2234
- attr_accessor :identity
2235
- # Additional fields to include in the response.
2236
- attr_accessor :include
2237
- # 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.
2238
- attr_accessor :metadata
2239
-
2240
- def initialize(
2241
- configuration: nil,
2242
- contact_email: nil,
2243
- dashboard: nil,
2244
- defaults: nil,
2245
- display_name: nil,
2246
- identity: nil,
2247
- include: nil,
2248
- metadata: nil
2249
- )
2250
- @configuration = configuration
2251
- @contact_email = contact_email
2252
- @dashboard = dashboard
2253
- @defaults = defaults
2254
- @display_name = display_name
2255
- @identity = identity
2256
- @include = include
2257
- @metadata = metadata
2258
- end
2259
- end
2260
- end
2261
- end
2262
- end