stripe 15.6.0.pre.alpha.2 → 15.6.0.pre.beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (333) hide show
  1. checksums.yaml +4 -4
  2. data/API_VERSION +1 -1
  3. data/CHANGELOG.md +1 -71
  4. data/OPENAPI_VERSION +1 -1
  5. data/README.md +4 -6
  6. data/VERSION +1 -1
  7. data/lib/stripe/api_requestor.rb +0 -2
  8. data/lib/stripe/errors.rb +0 -3
  9. data/lib/stripe/event_types.rb +0 -83
  10. data/lib/stripe/object_types.rb +0 -27
  11. data/lib/stripe/resources/account.rb +0 -443
  12. data/lib/stripe/resources/account_link.rb +0 -8
  13. data/lib/stripe/resources/account_notice.rb +0 -24
  14. data/lib/stripe/resources/account_session.rb +10 -435
  15. data/lib/stripe/resources/apple_pay_domain.rb +0 -8
  16. data/lib/stripe/resources/application.rb +0 -8
  17. data/lib/stripe/resources/application_fee.rb +0 -16
  18. data/lib/stripe/resources/application_fee_refund.rb +0 -8
  19. data/lib/stripe/resources/apps/secret.rb +0 -16
  20. data/lib/stripe/resources/balance.rb +0 -159
  21. data/lib/stripe/resources/balance_settings.rb +0 -40
  22. data/lib/stripe/resources/balance_transaction.rb +0 -16
  23. data/lib/stripe/resources/bank_account.rb +0 -40
  24. data/lib/stripe/resources/billing/alert.rb +1 -203
  25. data/lib/stripe/resources/billing/alert_triggered.rb +0 -14
  26. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -130
  27. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -157
  28. data/lib/stripe/resources/billing/credit_grant.rb +2 -133
  29. data/lib/stripe/resources/billing/meter.rb +0 -45
  30. data/lib/stripe/resources/billing/meter_event.rb +0 -8
  31. data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -16
  32. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -8
  33. data/lib/stripe/resources/billing/meter_usage.rb +0 -8
  34. data/lib/stripe/resources/billing/meter_usage_row.rb +0 -8
  35. data/lib/stripe/resources/billing_portal/configuration.rb +0 -122
  36. data/lib/stripe/resources/billing_portal/session.rb +0 -101
  37. data/lib/stripe/resources/capability.rb +0 -56
  38. data/lib/stripe/resources/capital/financing_offer.rb +0 -24
  39. data/lib/stripe/resources/capital/financing_summary.rb +0 -24
  40. data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
  41. data/lib/stripe/resources/card.rb +0 -16
  42. data/lib/stripe/resources/cash_balance.rb +0 -16
  43. data/lib/stripe/resources/charge.rb +20 -1052
  44. data/lib/stripe/resources/checkout/session.rb +1 -1078
  45. data/lib/stripe/resources/climate/order.rb +0 -32
  46. data/lib/stripe/resources/climate/product.rb +0 -16
  47. data/lib/stripe/resources/climate/supplier.rb +0 -16
  48. data/lib/stripe/resources/confirmation_token.rb +38 -960
  49. data/lib/stripe/resources/connect_collection_transfer.rb +0 -8
  50. data/lib/stripe/resources/country_spec.rb +0 -32
  51. data/lib/stripe/resources/coupon.rb +0 -36
  52. data/lib/stripe/resources/credit_note.rb +0 -70
  53. data/lib/stripe/resources/credit_note_line_item.rb +0 -53
  54. data/lib/stripe/resources/customer.rb +0 -77
  55. data/lib/stripe/resources/customer_balance_transaction.rb +0 -8
  56. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -108
  57. data/lib/stripe/resources/customer_session.rb +0 -52
  58. data/lib/stripe/resources/discount.rb +0 -8
  59. data/lib/stripe/resources/dispute.rb +0 -166
  60. data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -8
  61. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -8
  62. data/lib/stripe/resources/entitlements/feature.rb +0 -8
  63. data/lib/stripe/resources/ephemeral_key.rb +0 -8
  64. data/lib/stripe/resources/event.rb +0 -56
  65. data/lib/stripe/resources/exchange_rate.rb +0 -8
  66. data/lib/stripe/resources/file.rb +0 -8
  67. data/lib/stripe/resources/file_link.rb +0 -8
  68. data/lib/stripe/resources/financial_connections/account.rb +0 -79
  69. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -8
  70. data/lib/stripe/resources/financial_connections/account_owner.rb +0 -8
  71. data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -8
  72. data/lib/stripe/resources/financial_connections/institution.rb +0 -53
  73. data/lib/stripe/resources/financial_connections/session.rb +1 -63
  74. data/lib/stripe/resources/financial_connections/transaction.rb +0 -16
  75. data/lib/stripe/resources/forwarding/request.rb +0 -52
  76. data/lib/stripe/resources/funding_instructions.rb +0 -193
  77. data/lib/stripe/resources/fx_quote.rb +0 -48
  78. data/lib/stripe/resources/identity/verification_report.rb +1 -166
  79. data/lib/stripe/resources/identity/verification_session.rb +1 -126
  80. data/lib/stripe/resources/invoice.rb +3 -452
  81. data/lib/stripe/resources/invoice_item.rb +0 -136
  82. data/lib/stripe/resources/invoice_line_item.rb +0 -238
  83. data/lib/stripe/resources/invoice_payment.rb +0 -24
  84. data/lib/stripe/resources/invoice_rendering_template.rb +0 -8
  85. data/lib/stripe/resources/issuing/authorization.rb +0 -177
  86. data/lib/stripe/resources/issuing/card.rb +8 -96
  87. data/lib/stripe/resources/issuing/cardholder.rb +0 -110
  88. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -82
  89. data/lib/stripe/resources/issuing/dispute.rb +0 -97
  90. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -16
  91. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -8
  92. data/lib/stripe/resources/issuing/personalization_design.rb +0 -36
  93. data/lib/stripe/resources/issuing/physical_bundle.rb +0 -16
  94. data/lib/stripe/resources/issuing/settlement.rb +0 -8
  95. data/lib/stripe/resources/issuing/token.rb +0 -61
  96. data/lib/stripe/resources/issuing/transaction.rb +0 -151
  97. data/lib/stripe/resources/line_item.rb +0 -54
  98. data/lib/stripe/resources/login_link.rb +0 -8
  99. data/lib/stripe/resources/mandate.rb +11 -242
  100. data/lib/stripe/resources/margin.rb +0 -8
  101. data/lib/stripe/resources/order.rb +0 -348
  102. data/lib/stripe/resources/payment_attempt_record.rb +15 -890
  103. data/lib/stripe/resources/payment_intent.rb +3 -1405
  104. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -56
  105. data/lib/stripe/resources/payment_link.rb +0 -337
  106. data/lib/stripe/resources/payment_method.rb +38 -884
  107. data/lib/stripe/resources/payment_method_configuration.rb +0 -961
  108. data/lib/stripe/resources/payment_method_domain.rb +0 -111
  109. data/lib/stripe/resources/payment_record.rb +15 -890
  110. data/lib/stripe/resources/payout.rb +0 -16
  111. data/lib/stripe/resources/person.rb +0 -180
  112. data/lib/stripe/resources/plan.rb +0 -24
  113. data/lib/stripe/resources/price.rb +0 -79
  114. data/lib/stripe/resources/privacy/redaction_job.rb +0 -16
  115. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -16
  116. data/lib/stripe/resources/product.rb +0 -27
  117. data/lib/stripe/resources/product_feature.rb +0 -8
  118. data/lib/stripe/resources/promotion_code.rb +0 -24
  119. data/lib/stripe/resources/quote.rb +0 -432
  120. data/lib/stripe/resources/quote_line.rb +0 -247
  121. data/lib/stripe/resources/quote_preview_invoice.rb +3 -457
  122. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -323
  123. data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -8
  124. data/lib/stripe/resources/radar/value_list.rb +0 -8
  125. data/lib/stripe/resources/radar/value_list_item.rb +0 -8
  126. data/lib/stripe/resources/refund.rb +19 -380
  127. data/lib/stripe/resources/reporting/report_run.rb +0 -16
  128. data/lib/stripe/resources/reporting/report_type.rb +0 -8
  129. data/lib/stripe/resources/reserve_transaction.rb +0 -8
  130. data/lib/stripe/resources/reversal.rb +0 -8
  131. data/lib/stripe/resources/review.rb +0 -24
  132. data/lib/stripe/resources/setup_attempt.rb +20 -331
  133. data/lib/stripe/resources/setup_intent.rb +2 -293
  134. data/lib/stripe/resources/shipping_rate.rb +0 -48
  135. data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -16
  136. data/lib/stripe/resources/source.rb +0 -274
  137. data/lib/stripe/resources/source_mandate_notification.rb +0 -32
  138. data/lib/stripe/resources/source_transaction.rb +0 -54
  139. data/lib/stripe/resources/subscription.rb +3 -356
  140. data/lib/stripe/resources/subscription_item.rb +0 -24
  141. data/lib/stripe/resources/subscription_schedule.rb +0 -314
  142. data/lib/stripe/resources/tax/association.rb +0 -32
  143. data/lib/stripe/resources/tax/calculation.rb +0 -109
  144. data/lib/stripe/resources/tax/calculation_line_item.rb +0 -32
  145. data/lib/stripe/resources/tax/form.rb +0 -107
  146. data/lib/stripe/resources/tax/registration.rb +0 -1232
  147. data/lib/stripe/resources/tax/settings.rb +1 -61
  148. data/lib/stripe/resources/tax/transaction.rb +0 -93
  149. data/lib/stripe/resources/tax/transaction_line_item.rb +0 -16
  150. data/lib/stripe/resources/tax_code.rb +0 -8
  151. data/lib/stripe/resources/tax_deducted_at_source.rb +0 -8
  152. data/lib/stripe/resources/tax_id.rb +0 -24
  153. data/lib/stripe/resources/tax_rate.rb +0 -16
  154. data/lib/stripe/resources/terminal/configuration.rb +0 -299
  155. data/lib/stripe/resources/terminal/connection_token.rb +0 -8
  156. data/lib/stripe/resources/terminal/location.rb +0 -16
  157. data/lib/stripe/resources/terminal/onboarding_link.rb +0 -24
  158. data/lib/stripe/resources/terminal/reader.rb +0 -241
  159. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -16
  160. data/lib/stripe/resources/test_helpers/test_clock.rb +0 -24
  161. data/lib/stripe/resources/token.rb +0 -8
  162. data/lib/stripe/resources/topup.rb +0 -8
  163. data/lib/stripe/resources/transfer.rb +0 -8
  164. data/lib/stripe/resources/treasury/credit_reversal.rb +0 -16
  165. data/lib/stripe/resources/treasury/debit_reversal.rb +0 -24
  166. data/lib/stripe/resources/treasury/financial_account.rb +0 -61
  167. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -192
  168. data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -69
  169. data/lib/stripe/resources/treasury/outbound_payment.rb +0 -106
  170. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -114
  171. data/lib/stripe/resources/treasury/received_credit.rb +0 -97
  172. data/lib/stripe/resources/treasury/received_debit.rb +0 -89
  173. data/lib/stripe/resources/treasury/transaction.rb +0 -36
  174. data/lib/stripe/resources/treasury/transaction_entry.rb +0 -24
  175. data/lib/stripe/resources/v2/billing/meter_event.rb +0 -8
  176. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -16
  177. data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -8
  178. data/lib/stripe/resources/v2/core/account.rb +0 -1900
  179. data/lib/stripe/resources/v2/core/account_link.rb +0 -51
  180. data/lib/stripe/resources/v2/core/person.rb +0 -201
  181. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -40
  182. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -8
  183. data/lib/stripe/resources/v2/event.rb +0 -26
  184. data/lib/stripe/resources/v2/event_destination.rb +0 -44
  185. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -8
  186. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -8
  187. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -16
  188. data/lib/stripe/resources/v2/money_management/financial_account.rb +2 -63
  189. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -32
  190. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +3 -90
  191. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -88
  192. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -62
  193. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -24
  194. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -79
  195. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -32
  196. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -32
  197. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -77
  198. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -52
  199. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -36
  200. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -35
  201. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -24
  202. data/lib/stripe/resources/webhook_endpoint.rb +0 -8
  203. data/lib/stripe/resources.rb +0 -85
  204. data/lib/stripe/services/billing/alert_service.rb +1 -75
  205. data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -13
  206. data/lib/stripe/services/billing/credit_grant_service.rb +2 -29
  207. data/lib/stripe/services/checkout/session_service.rb +1 -80
  208. data/lib/stripe/services/invoice_service.rb +0 -4
  209. data/lib/stripe/services/issuing/card_service.rb +8 -0
  210. data/lib/stripe/services/subscription_service.rb +0 -27
  211. data/lib/stripe/services/v2/billing_service.rb +1 -18
  212. data/lib/stripe/services/v2/core_service.rb +1 -2
  213. data/lib/stripe/services/v2_services.rb +1 -3
  214. data/lib/stripe/services.rb +0 -29
  215. data/lib/stripe/stripe_object.rb +1 -25
  216. data/lib/stripe/util.rb +5 -9
  217. data/lib/stripe/version.rb +1 -1
  218. data/rbi/stripe.rbi +37685 -116505
  219. metadata +2 -116
  220. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -21
  221. data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -21
  222. data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -23
  223. data/lib/stripe/events/v2_billing_cadence_errored_event.rb +0 -21
  224. data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -21
  225. data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -21
  226. data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -23
  227. data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -21
  228. data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -21
  229. data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -21
  230. data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -21
  231. data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -23
  232. data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -23
  233. data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -21
  234. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -21
  235. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -21
  236. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -21
  237. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -21
  238. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -21
  239. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -21
  240. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -21
  241. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -21
  242. data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -21
  243. data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -23
  244. data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -23
  245. data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -23
  246. data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -21
  247. data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -21
  248. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -21
  249. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -21
  250. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -21
  251. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -21
  252. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -21
  253. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -21
  254. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -21
  255. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -21
  256. data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -21
  257. data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -23
  258. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -13
  259. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -13
  260. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -13
  261. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -13
  262. data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -13
  263. data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -13
  264. data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -13
  265. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -13
  266. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -13
  267. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -13
  268. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -13
  269. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -13
  270. data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -13
  271. data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -13
  272. data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -13
  273. data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -13
  274. data/lib/stripe/events/v2_reporting_report_run_created_event.rb +0 -21
  275. data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +0 -21
  276. data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +0 -21
  277. data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +0 -21
  278. data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
  279. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
  280. data/lib/stripe/resources/v2/billing/cadence.rb +0 -323
  281. data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -296
  282. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -284
  283. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
  284. data/lib/stripe/resources/v2/billing/intent.rb +0 -86
  285. data/lib/stripe/resources/v2/billing/intent_action.rb +0 -395
  286. data/lib/stripe/resources/v2/billing/license_fee.rb +0 -103
  287. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
  288. data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
  289. data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
  290. data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
  291. data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
  292. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
  293. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -90
  294. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
  295. data/lib/stripe/resources/v2/billing/profile.rb +0 -46
  296. data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
  297. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -107
  298. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -90
  299. data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
  300. data/lib/stripe/resources/v2/billing/service_action.rb +0 -232
  301. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -81
  302. data/lib/stripe/resources/v2/reporting/report.rb +0 -116
  303. data/lib/stripe/resources/v2/reporting/report_run.rb +0 -158
  304. data/lib/stripe/resources/v2/tax/automatic_rule.rb +0 -39
  305. data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -214
  306. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -45
  307. data/lib/stripe/services/v2/billing/cadence_service.rb +0 -428
  308. data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -518
  309. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -45
  310. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -108
  311. data/lib/stripe/services/v2/billing/intent_service.rb +0 -465
  312. data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -45
  313. data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -250
  314. data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -23
  315. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -45
  316. data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -149
  317. data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -176
  318. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -142
  319. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -76
  320. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -162
  321. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -45
  322. data/lib/stripe/services/v2/billing/profile_service.rb +0 -144
  323. data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -151
  324. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -144
  325. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -161
  326. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -45
  327. data/lib/stripe/services/v2/billing/service_action_service.rb +0 -259
  328. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -50
  329. data/lib/stripe/services/v2/reporting/report_run_service.rb +0 -88
  330. data/lib/stripe/services/v2/reporting/report_service.rb +0 -25
  331. data/lib/stripe/services/v2/reporting_service.rb +0 -16
  332. data/lib/stripe/services/v2/tax/automatic_rule_service.rb +0 -99
  333. data/lib/stripe/services/v2/tax_service.rb +0 -15
@@ -30,14 +30,6 @@ module Stripe
30
30
  class AdaptivePricing < Stripe::StripeObject
31
31
  # If enabled, Adaptive Pricing is available on [eligible sessions](https://docs.stripe.com/payments/currencies/localize-prices/adaptive-pricing?payment-ui=stripe-hosted#restrictions).
32
32
  attr_reader :enabled
33
-
34
- def self.inner_class_types
35
- @inner_class_types = {}
36
- end
37
-
38
- def self.field_remappings
39
- @field_remappings = {}
40
- end
41
33
  end
42
34
 
43
35
  class AfterExpiration < Stripe::StripeObject
@@ -52,25 +44,9 @@ module Stripe
52
44
  attr_reader :expires_at
53
45
  # URL that creates a new Checkout Session when clicked that is a copy of this expired Checkout Session
54
46
  attr_reader :url
55
-
56
- def self.inner_class_types
57
- @inner_class_types = {}
58
- end
59
-
60
- def self.field_remappings
61
- @field_remappings = {}
62
- end
63
47
  end
64
48
  # When set, configuration used to recover the Checkout Session on expiry.
65
49
  attr_reader :recovery
66
-
67
- def self.inner_class_types
68
- @inner_class_types = { recovery: Recovery }
69
- end
70
-
71
- def self.field_remappings
72
- @field_remappings = {}
73
- end
74
50
  end
75
51
 
76
52
  class AutomaticTax < Stripe::StripeObject
@@ -79,14 +55,6 @@ module Stripe
79
55
  attr_reader :account
80
56
  # Type of the account referenced.
81
57
  attr_reader :type
82
-
83
- def self.inner_class_types
84
- @inner_class_types = {}
85
- end
86
-
87
- def self.field_remappings
88
- @field_remappings = {}
89
- end
90
58
  end
91
59
  # Indicates whether automatic tax is enabled for the session
92
60
  attr_reader :enabled
@@ -96,14 +64,6 @@ module Stripe
96
64
  attr_reader :provider
97
65
  # The status of the most recent automated tax calculation for this session.
98
66
  attr_reader :status
99
-
100
- def self.inner_class_types
101
- @inner_class_types = { liability: Liability }
102
- end
103
-
104
- def self.field_remappings
105
- @field_remappings = {}
106
- end
107
67
  end
108
68
 
109
69
  class CollectedInformation < Stripe::StripeObject
@@ -121,27 +81,11 @@ module Stripe
121
81
  attr_reader :postal_code
122
82
  # State, county, province, or region.
123
83
  attr_reader :state
124
-
125
- def self.inner_class_types
126
- @inner_class_types = {}
127
- end
128
-
129
- def self.field_remappings
130
- @field_remappings = {}
131
- end
132
84
  end
133
85
  # Attribute for field address
134
86
  attr_reader :address
135
87
  # Customer name.
136
88
  attr_reader :name
137
-
138
- def self.inner_class_types
139
- @inner_class_types = { address: Address }
140
- end
141
-
142
- def self.field_remappings
143
- @field_remappings = {}
144
- end
145
89
  end
146
90
 
147
91
  class TaxId < Stripe::StripeObject
@@ -149,14 +93,6 @@ module Stripe
149
93
  attr_reader :type
150
94
  # The value of the tax ID.
151
95
  attr_reader :value
152
-
153
- def self.inner_class_types
154
- @inner_class_types = {}
155
- end
156
-
157
- def self.field_remappings
158
- @field_remappings = {}
159
- end
160
96
  end
161
97
  # Customer’s business name for this Checkout Session
162
98
  attr_reader :business_name
@@ -168,14 +104,6 @@ module Stripe
168
104
  attr_reader :shipping_details
169
105
  # Customer’s tax ids for this Checkout Session.
170
106
  attr_reader :tax_ids
171
-
172
- def self.inner_class_types
173
- @inner_class_types = { shipping_details: ShippingDetails, tax_ids: TaxId }
174
- end
175
-
176
- def self.field_remappings
177
- @field_remappings = {}
178
- end
179
107
  end
180
108
 
181
109
  class Consent < Stripe::StripeObject
@@ -184,14 +112,6 @@ module Stripe
184
112
  attr_reader :promotions
185
113
  # If `accepted`, the customer in this Checkout Session has agreed to the merchant's terms of service.
186
114
  attr_reader :terms_of_service
187
-
188
- def self.inner_class_types
189
- @inner_class_types = {}
190
- end
191
-
192
- def self.field_remappings
193
- @field_remappings = {}
194
- end
195
115
  end
196
116
 
197
117
  class ConsentCollection < Stripe::StripeObject
@@ -200,14 +120,6 @@ module Stripe
200
120
  #
201
121
  # When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI.
202
122
  attr_reader :position
203
-
204
- def self.inner_class_types
205
- @inner_class_types = {}
206
- end
207
-
208
- def self.field_remappings
209
- @field_remappings = {}
210
- end
211
123
  end
212
124
  # If set to `hidden`, it will hide legal text related to the reuse of a payment method.
213
125
  attr_reader :payment_method_reuse_agreement
@@ -217,14 +129,6 @@ module Stripe
217
129
  attr_reader :promotions
218
130
  # If set to `required`, it requires customers to accept the terms of service before being able to pay.
219
131
  attr_reader :terms_of_service
220
-
221
- def self.inner_class_types
222
- @inner_class_types = { payment_method_reuse_agreement: PaymentMethodReuseAgreement }
223
- end
224
-
225
- def self.field_remappings
226
- @field_remappings = {}
227
- end
228
132
  end
229
133
 
230
134
  class CurrencyConversion < Stripe::StripeObject
@@ -236,14 +140,6 @@ module Stripe
236
140
  attr_reader :fx_rate
237
141
  # Creation currency of the CheckoutSession before localization
238
142
  attr_reader :source_currency
239
-
240
- def self.inner_class_types
241
- @inner_class_types = {}
242
- end
243
-
244
- def self.field_remappings
245
- @field_remappings = {}
246
- end
247
143
  end
248
144
 
249
145
  class CustomField < Stripe::StripeObject
@@ -253,14 +149,6 @@ module Stripe
253
149
  attr_reader :label
254
150
  # The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters.
255
151
  attr_reader :value
256
-
257
- def self.inner_class_types
258
- @inner_class_types = {}
259
- end
260
-
261
- def self.field_remappings
262
- @field_remappings = {}
263
- end
264
152
  end
265
153
  # The value that will pre-fill on the payment page.
266
154
  attr_reader :default_value
@@ -268,14 +156,6 @@ module Stripe
268
156
  attr_reader :options
269
157
  # The option selected by the customer. This will be the `value` for the option.
270
158
  attr_reader :value
271
-
272
- def self.inner_class_types
273
- @inner_class_types = { options: Option }
274
- end
275
-
276
- def self.field_remappings
277
- @field_remappings = {}
278
- end
279
159
  end
280
160
 
281
161
  class Label < Stripe::StripeObject
@@ -283,14 +163,6 @@ module Stripe
283
163
  attr_reader :custom
284
164
  # The type of the label.
285
165
  attr_reader :type
286
-
287
- def self.inner_class_types
288
- @inner_class_types = {}
289
- end
290
-
291
- def self.field_remappings
292
- @field_remappings = {}
293
- end
294
166
  end
295
167
 
296
168
  class Numeric < Stripe::StripeObject
@@ -302,14 +174,6 @@ module Stripe
302
174
  attr_reader :minimum_length
303
175
  # The value entered by the customer, containing only digits.
304
176
  attr_reader :value
305
-
306
- def self.inner_class_types
307
- @inner_class_types = {}
308
- end
309
-
310
- def self.field_remappings
311
- @field_remappings = {}
312
- end
313
177
  end
314
178
 
315
179
  class Text < Stripe::StripeObject
@@ -321,14 +185,6 @@ module Stripe
321
185
  attr_reader :minimum_length
322
186
  # The value entered by the customer.
323
187
  attr_reader :value
324
-
325
- def self.inner_class_types
326
- @inner_class_types = {}
327
- end
328
-
329
- def self.field_remappings
330
- @field_remappings = {}
331
- end
332
188
  end
333
189
  # Attribute for field dropdown
334
190
  attr_reader :dropdown
@@ -344,67 +200,27 @@ module Stripe
344
200
  attr_reader :text
345
201
  # The type of the field.
346
202
  attr_reader :type
347
-
348
- def self.inner_class_types
349
- @inner_class_types = { dropdown: Dropdown, label: Label, numeric: Numeric, text: Text }
350
- end
351
-
352
- def self.field_remappings
353
- @field_remappings = {}
354
- end
355
203
  end
356
204
 
357
205
  class CustomText < Stripe::StripeObject
358
206
  class AfterSubmit < Stripe::StripeObject
359
207
  # Text may be up to 1200 characters in length.
360
208
  attr_reader :message
361
-
362
- def self.inner_class_types
363
- @inner_class_types = {}
364
- end
365
-
366
- def self.field_remappings
367
- @field_remappings = {}
368
- end
369
209
  end
370
210
 
371
211
  class ShippingAddress < Stripe::StripeObject
372
212
  # Text may be up to 1200 characters in length.
373
213
  attr_reader :message
374
-
375
- def self.inner_class_types
376
- @inner_class_types = {}
377
- end
378
-
379
- def self.field_remappings
380
- @field_remappings = {}
381
- end
382
214
  end
383
215
 
384
216
  class Submit < Stripe::StripeObject
385
217
  # Text may be up to 1200 characters in length.
386
218
  attr_reader :message
387
-
388
- def self.inner_class_types
389
- @inner_class_types = {}
390
- end
391
-
392
- def self.field_remappings
393
- @field_remappings = {}
394
- end
395
219
  end
396
220
 
397
221
  class TermsOfServiceAcceptance < Stripe::StripeObject
398
222
  # Text may be up to 1200 characters in length.
399
223
  attr_reader :message
400
-
401
- def self.inner_class_types
402
- @inner_class_types = {}
403
- end
404
-
405
- def self.field_remappings
406
- @field_remappings = {}
407
- end
408
224
  end
409
225
  # Custom text that should be displayed after the payment confirmation button.
410
226
  attr_reader :after_submit
@@ -414,19 +230,6 @@ module Stripe
414
230
  attr_reader :submit
415
231
  # Custom text that should be displayed in place of the default terms of service agreement text.
416
232
  attr_reader :terms_of_service_acceptance
417
-
418
- def self.inner_class_types
419
- @inner_class_types = {
420
- after_submit: AfterSubmit,
421
- shipping_address: ShippingAddress,
422
- submit: Submit,
423
- terms_of_service_acceptance: TermsOfServiceAcceptance,
424
- }
425
- end
426
-
427
- def self.field_remappings
428
- @field_remappings = {}
429
- end
430
233
  end
431
234
 
432
235
  class CustomerDetails < Stripe::StripeObject
@@ -443,14 +246,6 @@ module Stripe
443
246
  attr_reader :postal_code
444
247
  # State, county, province, or region.
445
248
  attr_reader :state
446
-
447
- def self.inner_class_types
448
- @inner_class_types = {}
449
- end
450
-
451
- def self.field_remappings
452
- @field_remappings = {}
453
- end
454
249
  end
455
250
 
456
251
  class TaxId < Stripe::StripeObject
@@ -458,14 +253,6 @@ module Stripe
458
253
  attr_reader :type
459
254
  # The value of the tax ID.
460
255
  attr_reader :value
461
-
462
- def self.inner_class_types
463
- @inner_class_types = {}
464
- end
465
-
466
- def self.field_remappings
467
- @field_remappings = {}
468
- end
469
256
  end
470
257
  # The customer's address after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022.
471
258
  attr_reader :address
@@ -480,14 +267,6 @@ module Stripe
480
267
  attr_reader :tax_exempt
481
268
  # The customer’s tax IDs after a completed Checkout Session.
482
269
  attr_reader :tax_ids
483
-
484
- def self.inner_class_types
485
- @inner_class_types = { address: Address, tax_ids: TaxId }
486
- end
487
-
488
- def self.field_remappings
489
- @field_remappings = {}
490
- end
491
270
  end
492
271
 
493
272
  class Discount < Stripe::StripeObject
@@ -495,14 +274,6 @@ module Stripe
495
274
  attr_reader :coupon
496
275
  # Promotion code attached to the Checkout Session.
497
276
  attr_reader :promotion_code
498
-
499
- def self.inner_class_types
500
- @inner_class_types = {}
501
- end
502
-
503
- def self.field_remappings
504
- @field_remappings = {}
505
- end
506
277
  end
507
278
 
508
279
  class InvoiceCreation < Stripe::StripeObject
@@ -512,14 +283,6 @@ module Stripe
512
283
  attr_reader :name
513
284
  # The value of the custom field.
514
285
  attr_reader :value
515
-
516
- def self.inner_class_types
517
- @inner_class_types = {}
518
- end
519
-
520
- def self.field_remappings
521
- @field_remappings = {}
522
- end
523
286
  end
524
287
 
525
288
  class Issuer < Stripe::StripeObject
@@ -527,14 +290,6 @@ module Stripe
527
290
  attr_reader :account
528
291
  # Type of the account referenced.
529
292
  attr_reader :type
530
-
531
- def self.inner_class_types
532
- @inner_class_types = {}
533
- end
534
-
535
- def self.field_remappings
536
- @field_remappings = {}
537
- end
538
293
  end
539
294
 
540
295
  class RenderingOptions < Stripe::StripeObject
@@ -542,14 +297,6 @@ module Stripe
542
297
  attr_reader :amount_tax_display
543
298
  # ID of the invoice rendering template to be used for the generated invoice.
544
299
  attr_reader :template
545
-
546
- def self.inner_class_types
547
- @inner_class_types = {}
548
- end
549
-
550
- def self.field_remappings
551
- @field_remappings = {}
552
- end
553
300
  end
554
301
  # The account tax IDs associated with the invoice.
555
302
  attr_reader :account_tax_ids
@@ -565,31 +312,11 @@ module Stripe
565
312
  attr_reader :metadata
566
313
  # Options for invoice PDF rendering.
567
314
  attr_reader :rendering_options
568
-
569
- def self.inner_class_types
570
- @inner_class_types = {
571
- custom_fields: CustomField,
572
- issuer: Issuer,
573
- rendering_options: RenderingOptions,
574
- }
575
- end
576
-
577
- def self.field_remappings
578
- @field_remappings = {}
579
- end
580
315
  end
581
316
  # Indicates whether invoice creation is enabled for the Checkout Session.
582
317
  attr_reader :enabled
583
318
  # Attribute for field invoice_data
584
319
  attr_reader :invoice_data
585
-
586
- def self.inner_class_types
587
- @inner_class_types = { invoice_data: InvoiceData }
588
- end
589
-
590
- def self.field_remappings
591
- @field_remappings = {}
592
- end
593
320
  end
594
321
 
595
322
  class OptionalItem < Stripe::StripeObject
@@ -600,14 +327,6 @@ module Stripe
600
327
  attr_reader :maximum
601
328
  # The minimum quantity of this item the customer must purchase, if they choose to purchase it. Because this item is optional, the customer will always be able to remove it from their order, even if the `minimum` configured here is greater than 0. By default this value is 0.
602
329
  attr_reader :minimum
603
-
604
- def self.inner_class_types
605
- @inner_class_types = {}
606
- end
607
-
608
- def self.field_remappings
609
- @field_remappings = {}
610
- end
611
330
  end
612
331
  # Attribute for field adjustable_quantity
613
332
  attr_reader :adjustable_quantity
@@ -615,14 +334,6 @@ module Stripe
615
334
  attr_reader :price
616
335
  # Attribute for field quantity
617
336
  attr_reader :quantity
618
-
619
- def self.inner_class_types
620
- @inner_class_types = { adjustable_quantity: AdjustableQuantity }
621
- end
622
-
623
- def self.field_remappings
624
- @field_remappings = {}
625
- end
626
337
  end
627
338
 
628
339
  class PaymentMethodConfigurationDetails < Stripe::StripeObject
@@ -630,14 +341,6 @@ module Stripe
630
341
  attr_reader :id
631
342
  # ID of the parent payment method configuration used.
632
343
  attr_reader :parent
633
-
634
- def self.inner_class_types
635
- @inner_class_types = {}
636
- end
637
-
638
- def self.field_remappings
639
- @field_remappings = {}
640
- end
641
344
  end
642
345
 
643
346
  class PaymentMethodOptions < Stripe::StripeObject
@@ -653,14 +356,6 @@ module Stripe
653
356
  attr_reader :payment_schedule
654
357
  # Transaction type of the mandate.
655
358
  attr_reader :transaction_type
656
-
657
- def self.inner_class_types
658
- @inner_class_types = {}
659
- end
660
-
661
- def self.field_remappings
662
- @field_remappings = {}
663
- end
664
359
  end
665
360
  # Currency supported by the bank account. Returned when the Session is in `setup` mode.
666
361
  attr_reader :currency
@@ -678,14 +373,6 @@ module Stripe
678
373
  attr_reader :target_date
679
374
  # Bank account verification method.
680
375
  attr_reader :verification_method
681
-
682
- def self.inner_class_types
683
- @inner_class_types = { mandate_options: MandateOptions }
684
- end
685
-
686
- def self.field_remappings
687
- @field_remappings = {}
688
- end
689
376
  end
690
377
 
691
378
  class Affirm < Stripe::StripeObject
@@ -697,14 +384,6 @@ module Stripe
697
384
  #
698
385
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
699
386
  attr_reader :setup_future_usage
700
-
701
- def self.inner_class_types
702
- @inner_class_types = {}
703
- end
704
-
705
- def self.field_remappings
706
- @field_remappings = {}
707
- end
708
387
  end
709
388
 
710
389
  class AfterpayClearpay < Stripe::StripeObject
@@ -716,14 +395,6 @@ module Stripe
716
395
  #
717
396
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
718
397
  attr_reader :setup_future_usage
719
-
720
- def self.inner_class_types
721
- @inner_class_types = {}
722
- end
723
-
724
- def self.field_remappings
725
- @field_remappings = {}
726
- end
727
398
  end
728
399
 
729
400
  class Alipay < Stripe::StripeObject
@@ -735,14 +406,6 @@ module Stripe
735
406
  #
736
407
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
737
408
  attr_reader :setup_future_usage
738
-
739
- def self.inner_class_types
740
- @inner_class_types = {}
741
- end
742
-
743
- def self.field_remappings
744
- @field_remappings = {}
745
- end
746
409
  end
747
410
 
748
411
  class AmazonPay < Stripe::StripeObject
@@ -754,14 +417,6 @@ module Stripe
754
417
  #
755
418
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
756
419
  attr_reader :setup_future_usage
757
-
758
- def self.inner_class_types
759
- @inner_class_types = {}
760
- end
761
-
762
- def self.field_remappings
763
- @field_remappings = {}
764
- end
765
420
  end
766
421
 
767
422
  class AuBecsDebit < Stripe::StripeObject
@@ -775,28 +430,12 @@ module Stripe
775
430
  attr_reader :setup_future_usage
776
431
  # Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
777
432
  attr_reader :target_date
778
-
779
- def self.inner_class_types
780
- @inner_class_types = {}
781
- end
782
-
783
- def self.field_remappings
784
- @field_remappings = {}
785
- end
786
433
  end
787
434
 
788
435
  class BacsDebit < Stripe::StripeObject
789
436
  class MandateOptions < Stripe::StripeObject
790
437
  # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
791
438
  attr_reader :reference_prefix
792
-
793
- def self.inner_class_types
794
- @inner_class_types = {}
795
- end
796
-
797
- def self.field_remappings
798
- @field_remappings = {}
799
- end
800
439
  end
801
440
  # Attribute for field mandate_options
802
441
  attr_reader :mandate_options
@@ -810,14 +449,6 @@ module Stripe
810
449
  attr_reader :setup_future_usage
811
450
  # Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
812
451
  attr_reader :target_date
813
-
814
- def self.inner_class_types
815
- @inner_class_types = { mandate_options: MandateOptions }
816
- end
817
-
818
- def self.field_remappings
819
- @field_remappings = {}
820
- end
821
452
  end
822
453
 
823
454
  class Bancontact < Stripe::StripeObject
@@ -829,14 +460,6 @@ module Stripe
829
460
  #
830
461
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
831
462
  attr_reader :setup_future_usage
832
-
833
- def self.inner_class_types
834
- @inner_class_types = {}
835
- end
836
-
837
- def self.field_remappings
838
- @field_remappings = {}
839
- end
840
463
  end
841
464
 
842
465
  class Boleto < Stripe::StripeObject
@@ -850,41 +473,17 @@ module Stripe
850
473
  #
851
474
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
852
475
  attr_reader :setup_future_usage
853
-
854
- def self.inner_class_types
855
- @inner_class_types = {}
856
- end
857
-
858
- def self.field_remappings
859
- @field_remappings = {}
860
- end
861
476
  end
862
477
 
863
478
  class Card < Stripe::StripeObject
864
479
  class Installments < Stripe::StripeObject
865
480
  # Indicates if installments are enabled
866
481
  attr_reader :enabled
867
-
868
- def self.inner_class_types
869
- @inner_class_types = {}
870
- end
871
-
872
- def self.field_remappings
873
- @field_remappings = {}
874
- end
875
482
  end
876
483
 
877
484
  class Restrictions < Stripe::StripeObject
878
485
  # Specify the card brands to block in the Checkout Session. If a customer enters or selects a card belonging to a blocked brand, they can't complete the Session.
879
486
  attr_reader :brands_blocked
880
-
881
- def self.inner_class_types
882
- @inner_class_types = {}
883
- end
884
-
885
- def self.field_remappings
886
- @field_remappings = {}
887
- end
888
487
  end
889
488
  # Attribute for field installments
890
489
  attr_reader :installments
@@ -914,14 +513,6 @@ module Stripe
914
513
  attr_reader :statement_descriptor_suffix_kana
915
514
  # Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
916
515
  attr_reader :statement_descriptor_suffix_kanji
917
-
918
- def self.inner_class_types
919
- @inner_class_types = { installments: Installments, restrictions: Restrictions }
920
- end
921
-
922
- def self.field_remappings
923
- @field_remappings = {}
924
- end
925
516
  end
926
517
 
927
518
  class Cashapp < Stripe::StripeObject
@@ -933,14 +524,6 @@ module Stripe
933
524
  #
934
525
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
935
526
  attr_reader :setup_future_usage
936
-
937
- def self.inner_class_types
938
- @inner_class_types = {}
939
- end
940
-
941
- def self.field_remappings
942
- @field_remappings = {}
943
- end
944
527
  end
945
528
 
946
529
  class CustomerBalance < Stripe::StripeObject
@@ -948,14 +531,6 @@ module Stripe
948
531
  class EuBankTransfer < Stripe::StripeObject
949
532
  # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
950
533
  attr_reader :country
951
-
952
- def self.inner_class_types
953
- @inner_class_types = {}
954
- end
955
-
956
- def self.field_remappings
957
- @field_remappings = {}
958
- end
959
534
  end
960
535
  # Attribute for field eu_bank_transfer
961
536
  attr_reader :eu_bank_transfer
@@ -965,14 +540,6 @@ module Stripe
965
540
  attr_reader :requested_address_types
966
541
  # The bank transfer type that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
967
542
  attr_reader :type
968
-
969
- def self.inner_class_types
970
- @inner_class_types = { eu_bank_transfer: EuBankTransfer }
971
- end
972
-
973
- def self.field_remappings
974
- @field_remappings = {}
975
- end
976
543
  end
977
544
  # Attribute for field bank_transfer
978
545
  attr_reader :bank_transfer
@@ -986,14 +553,6 @@ module Stripe
986
553
  #
987
554
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
988
555
  attr_reader :setup_future_usage
989
-
990
- def self.inner_class_types
991
- @inner_class_types = { bank_transfer: BankTransfer }
992
- end
993
-
994
- def self.field_remappings
995
- @field_remappings = {}
996
- end
997
556
  end
998
557
 
999
558
  class Eps < Stripe::StripeObject
@@ -1005,14 +564,6 @@ module Stripe
1005
564
  #
1006
565
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1007
566
  attr_reader :setup_future_usage
1008
-
1009
- def self.inner_class_types
1010
- @inner_class_types = {}
1011
- end
1012
-
1013
- def self.field_remappings
1014
- @field_remappings = {}
1015
- end
1016
567
  end
1017
568
 
1018
569
  class Fpx < Stripe::StripeObject
@@ -1024,14 +575,6 @@ module Stripe
1024
575
  #
1025
576
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1026
577
  attr_reader :setup_future_usage
1027
-
1028
- def self.inner_class_types
1029
- @inner_class_types = {}
1030
- end
1031
-
1032
- def self.field_remappings
1033
- @field_remappings = {}
1034
- end
1035
578
  end
1036
579
 
1037
580
  class Giropay < Stripe::StripeObject
@@ -1043,14 +586,6 @@ module Stripe
1043
586
  #
1044
587
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1045
588
  attr_reader :setup_future_usage
1046
-
1047
- def self.inner_class_types
1048
- @inner_class_types = {}
1049
- end
1050
-
1051
- def self.field_remappings
1052
- @field_remappings = {}
1053
- end
1054
589
  end
1055
590
 
1056
591
  class Grabpay < Stripe::StripeObject
@@ -1062,14 +597,6 @@ module Stripe
1062
597
  #
1063
598
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1064
599
  attr_reader :setup_future_usage
1065
-
1066
- def self.inner_class_types
1067
- @inner_class_types = {}
1068
- end
1069
-
1070
- def self.field_remappings
1071
- @field_remappings = {}
1072
- end
1073
600
  end
1074
601
 
1075
602
  class Ideal < Stripe::StripeObject
@@ -1081,14 +608,6 @@ module Stripe
1081
608
  #
1082
609
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1083
610
  attr_reader :setup_future_usage
1084
-
1085
- def self.inner_class_types
1086
- @inner_class_types = {}
1087
- end
1088
-
1089
- def self.field_remappings
1090
- @field_remappings = {}
1091
- end
1092
611
  end
1093
612
 
1094
613
  class KakaoPay < Stripe::StripeObject
@@ -1102,14 +621,6 @@ module Stripe
1102
621
  #
1103
622
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1104
623
  attr_reader :setup_future_usage
1105
-
1106
- def self.inner_class_types
1107
- @inner_class_types = {}
1108
- end
1109
-
1110
- def self.field_remappings
1111
- @field_remappings = {}
1112
- end
1113
624
  end
1114
625
 
1115
626
  class Klarna < Stripe::StripeObject
@@ -1121,14 +632,6 @@ module Stripe
1121
632
  #
1122
633
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1123
634
  attr_reader :setup_future_usage
1124
-
1125
- def self.inner_class_types
1126
- @inner_class_types = {}
1127
- end
1128
-
1129
- def self.field_remappings
1130
- @field_remappings = {}
1131
- end
1132
635
  end
1133
636
 
1134
637
  class Konbini < Stripe::StripeObject
@@ -1142,14 +645,6 @@ module Stripe
1142
645
  #
1143
646
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1144
647
  attr_reader :setup_future_usage
1145
-
1146
- def self.inner_class_types
1147
- @inner_class_types = {}
1148
- end
1149
-
1150
- def self.field_remappings
1151
- @field_remappings = {}
1152
- end
1153
648
  end
1154
649
 
1155
650
  class KrCard < Stripe::StripeObject
@@ -1163,14 +658,6 @@ module Stripe
1163
658
  #
1164
659
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1165
660
  attr_reader :setup_future_usage
1166
-
1167
- def self.inner_class_types
1168
- @inner_class_types = {}
1169
- end
1170
-
1171
- def self.field_remappings
1172
- @field_remappings = {}
1173
- end
1174
661
  end
1175
662
 
1176
663
  class Link < Stripe::StripeObject
@@ -1182,14 +669,6 @@ module Stripe
1182
669
  #
1183
670
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1184
671
  attr_reader :setup_future_usage
1185
-
1186
- def self.inner_class_types
1187
- @inner_class_types = {}
1188
- end
1189
-
1190
- def self.field_remappings
1191
- @field_remappings = {}
1192
- end
1193
672
  end
1194
673
 
1195
674
  class Mobilepay < Stripe::StripeObject
@@ -1201,14 +680,6 @@ module Stripe
1201
680
  #
1202
681
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1203
682
  attr_reader :setup_future_usage
1204
-
1205
- def self.inner_class_types
1206
- @inner_class_types = {}
1207
- end
1208
-
1209
- def self.field_remappings
1210
- @field_remappings = {}
1211
- end
1212
683
  end
1213
684
 
1214
685
  class Multibanco < Stripe::StripeObject
@@ -1220,14 +691,6 @@ module Stripe
1220
691
  #
1221
692
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1222
693
  attr_reader :setup_future_usage
1223
-
1224
- def self.inner_class_types
1225
- @inner_class_types = {}
1226
- end
1227
-
1228
- def self.field_remappings
1229
- @field_remappings = {}
1230
- end
1231
694
  end
1232
695
 
1233
696
  class NaverPay < Stripe::StripeObject
@@ -1241,14 +704,6 @@ module Stripe
1241
704
  #
1242
705
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1243
706
  attr_reader :setup_future_usage
1244
-
1245
- def self.inner_class_types
1246
- @inner_class_types = {}
1247
- end
1248
-
1249
- def self.field_remappings
1250
- @field_remappings = {}
1251
- end
1252
707
  end
1253
708
 
1254
709
  class Oxxo < Stripe::StripeObject
@@ -1262,14 +717,6 @@ module Stripe
1262
717
  #
1263
718
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1264
719
  attr_reader :setup_future_usage
1265
-
1266
- def self.inner_class_types
1267
- @inner_class_types = {}
1268
- end
1269
-
1270
- def self.field_remappings
1271
- @field_remappings = {}
1272
- end
1273
720
  end
1274
721
 
1275
722
  class P24 < Stripe::StripeObject
@@ -1281,27 +728,11 @@ module Stripe
1281
728
  #
1282
729
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1283
730
  attr_reader :setup_future_usage
1284
-
1285
- def self.inner_class_types
1286
- @inner_class_types = {}
1287
- end
1288
-
1289
- def self.field_remappings
1290
- @field_remappings = {}
1291
- end
1292
731
  end
1293
732
 
1294
733
  class Payco < Stripe::StripeObject
1295
734
  # Controls when the funds will be captured from the customer's account.
1296
735
  attr_reader :capture_method
1297
-
1298
- def self.inner_class_types
1299
- @inner_class_types = {}
1300
- end
1301
-
1302
- def self.field_remappings
1303
- @field_remappings = {}
1304
- end
1305
736
  end
1306
737
 
1307
738
  class Paynow < Stripe::StripeObject
@@ -1313,14 +744,6 @@ module Stripe
1313
744
  #
1314
745
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1315
746
  attr_reader :setup_future_usage
1316
-
1317
- def self.inner_class_types
1318
- @inner_class_types = {}
1319
- end
1320
-
1321
- def self.field_remappings
1322
- @field_remappings = {}
1323
- end
1324
747
  end
1325
748
 
1326
749
  class Paypal < Stripe::StripeObject
@@ -1340,14 +763,6 @@ module Stripe
1340
763
  attr_reader :setup_future_usage
1341
764
  # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
1342
765
  attr_reader :subsellers
1343
-
1344
- def self.inner_class_types
1345
- @inner_class_types = {}
1346
- end
1347
-
1348
- def self.field_remappings
1349
- @field_remappings = {}
1350
- end
1351
766
  end
1352
767
 
1353
768
  class Payto < Stripe::StripeObject
@@ -1366,14 +781,6 @@ module Stripe
1366
781
  attr_reader :purpose
1367
782
  # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
1368
783
  attr_reader :start_date
1369
-
1370
- def self.inner_class_types
1371
- @inner_class_types = {}
1372
- end
1373
-
1374
- def self.field_remappings
1375
- @field_remappings = {}
1376
- end
1377
784
  end
1378
785
  # Attribute for field mandate_options
1379
786
  attr_reader :mandate_options
@@ -1385,14 +792,6 @@ module Stripe
1385
792
  #
1386
793
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1387
794
  attr_reader :setup_future_usage
1388
-
1389
- def self.inner_class_types
1390
- @inner_class_types = { mandate_options: MandateOptions }
1391
- end
1392
-
1393
- def self.field_remappings
1394
- @field_remappings = {}
1395
- end
1396
795
  end
1397
796
 
1398
797
  class Pix < Stripe::StripeObject
@@ -1413,14 +812,6 @@ module Stripe
1413
812
  attr_reader :reference
1414
813
  # Start date of the mandate, in `YYYY-MM-DD`.
1415
814
  attr_reader :start_date
1416
-
1417
- def self.inner_class_types
1418
- @inner_class_types = {}
1419
- end
1420
-
1421
- def self.field_remappings
1422
- @field_remappings = {}
1423
- end
1424
815
  end
1425
816
  # Determines if the amount includes the IOF tax.
1426
817
  attr_reader :amount_includes_iof
@@ -1436,14 +827,6 @@ module Stripe
1436
827
  #
1437
828
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1438
829
  attr_reader :setup_future_usage
1439
-
1440
- def self.inner_class_types
1441
- @inner_class_types = { mandate_options: MandateOptions }
1442
- end
1443
-
1444
- def self.field_remappings
1445
- @field_remappings = {}
1446
- end
1447
830
  end
1448
831
 
1449
832
  class RevolutPay < Stripe::StripeObject
@@ -1455,41 +838,17 @@ module Stripe
1455
838
  #
1456
839
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1457
840
  attr_reader :setup_future_usage
1458
-
1459
- def self.inner_class_types
1460
- @inner_class_types = {}
1461
- end
1462
-
1463
- def self.field_remappings
1464
- @field_remappings = {}
1465
- end
1466
841
  end
1467
842
 
1468
843
  class SamsungPay < Stripe::StripeObject
1469
844
  # Controls when the funds will be captured from the customer's account.
1470
845
  attr_reader :capture_method
1471
-
1472
- def self.inner_class_types
1473
- @inner_class_types = {}
1474
- end
1475
-
1476
- def self.field_remappings
1477
- @field_remappings = {}
1478
- end
1479
846
  end
1480
847
 
1481
848
  class SepaDebit < Stripe::StripeObject
1482
849
  class MandateOptions < Stripe::StripeObject
1483
850
  # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
1484
851
  attr_reader :reference_prefix
1485
-
1486
- def self.inner_class_types
1487
- @inner_class_types = {}
1488
- end
1489
-
1490
- def self.field_remappings
1491
- @field_remappings = {}
1492
- end
1493
852
  end
1494
853
  # Attribute for field mandate_options
1495
854
  attr_reader :mandate_options
@@ -1503,14 +862,6 @@ module Stripe
1503
862
  attr_reader :setup_future_usage
1504
863
  # Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
1505
864
  attr_reader :target_date
1506
-
1507
- def self.inner_class_types
1508
- @inner_class_types = { mandate_options: MandateOptions }
1509
- end
1510
-
1511
- def self.field_remappings
1512
- @field_remappings = {}
1513
- end
1514
865
  end
1515
866
 
1516
867
  class Sofort < Stripe::StripeObject
@@ -1522,27 +873,11 @@ module Stripe
1522
873
  #
1523
874
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1524
875
  attr_reader :setup_future_usage
1525
-
1526
- def self.inner_class_types
1527
- @inner_class_types = {}
1528
- end
1529
-
1530
- def self.field_remappings
1531
- @field_remappings = {}
1532
- end
1533
876
  end
1534
877
 
1535
878
  class Swish < Stripe::StripeObject
1536
879
  # The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent.
1537
880
  attr_reader :reference
1538
-
1539
- def self.inner_class_types
1540
- @inner_class_types = {}
1541
- end
1542
-
1543
- def self.field_remappings
1544
- @field_remappings = {}
1545
- end
1546
881
  end
1547
882
 
1548
883
  class UsBankAccount < Stripe::StripeObject
@@ -1552,27 +887,11 @@ module Stripe
1552
887
  attr_reader :account_subcategories
1553
888
  # The institution to use to filter for possible accounts to link.
1554
889
  attr_reader :institution
1555
-
1556
- def self.inner_class_types
1557
- @inner_class_types = {}
1558
- end
1559
-
1560
- def self.field_remappings
1561
- @field_remappings = {}
1562
- end
1563
890
  end
1564
891
 
1565
892
  class ManualEntry < Stripe::StripeObject
1566
893
  # Settings for configuring manual entry of account details.
1567
894
  attr_reader :mode
1568
-
1569
- def self.inner_class_types
1570
- @inner_class_types = {}
1571
- end
1572
-
1573
- def self.field_remappings
1574
- @field_remappings = {}
1575
- end
1576
895
  end
1577
896
  # Attribute for field filters
1578
897
  attr_reader :filters
@@ -1584,14 +903,6 @@ module Stripe
1584
903
  attr_reader :prefetch
1585
904
  # For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
1586
905
  attr_reader :return_url
1587
-
1588
- def self.inner_class_types
1589
- @inner_class_types = { filters: Filters, manual_entry: ManualEntry }
1590
- end
1591
-
1592
- def self.field_remappings
1593
- @field_remappings = {}
1594
- end
1595
906
  end
1596
907
  # Attribute for field financial_connections
1597
908
  attr_reader :financial_connections
@@ -1607,14 +918,6 @@ module Stripe
1607
918
  attr_reader :target_date
1608
919
  # Bank account verification method.
1609
920
  attr_reader :verification_method
1610
-
1611
- def self.inner_class_types
1612
- @inner_class_types = { financial_connections: FinancialConnections }
1613
- end
1614
-
1615
- def self.field_remappings
1616
- @field_remappings = {}
1617
- end
1618
921
  end
1619
922
  # Attribute for field acss_debit
1620
923
  attr_reader :acss_debit
@@ -1692,53 +995,6 @@ module Stripe
1692
995
  attr_reader :swish
1693
996
  # Attribute for field us_bank_account
1694
997
  attr_reader :us_bank_account
1695
-
1696
- def self.inner_class_types
1697
- @inner_class_types = {
1698
- acss_debit: AcssDebit,
1699
- affirm: Affirm,
1700
- afterpay_clearpay: AfterpayClearpay,
1701
- alipay: Alipay,
1702
- amazon_pay: AmazonPay,
1703
- au_becs_debit: AuBecsDebit,
1704
- bacs_debit: BacsDebit,
1705
- bancontact: Bancontact,
1706
- boleto: Boleto,
1707
- card: Card,
1708
- cashapp: Cashapp,
1709
- customer_balance: CustomerBalance,
1710
- eps: Eps,
1711
- fpx: Fpx,
1712
- giropay: Giropay,
1713
- grabpay: Grabpay,
1714
- ideal: Ideal,
1715
- kakao_pay: KakaoPay,
1716
- klarna: Klarna,
1717
- konbini: Konbini,
1718
- kr_card: KrCard,
1719
- link: Link,
1720
- mobilepay: Mobilepay,
1721
- multibanco: Multibanco,
1722
- naver_pay: NaverPay,
1723
- oxxo: Oxxo,
1724
- p24: P24,
1725
- payco: Payco,
1726
- paynow: Paynow,
1727
- paypal: Paypal,
1728
- payto: Payto,
1729
- pix: Pix,
1730
- revolut_pay: RevolutPay,
1731
- samsung_pay: SamsungPay,
1732
- sepa_debit: SepaDebit,
1733
- sofort: Sofort,
1734
- swish: Swish,
1735
- us_bank_account: UsBankAccount,
1736
- }
1737
- end
1738
-
1739
- def self.field_remappings
1740
- @field_remappings = {}
1741
- end
1742
998
  end
1743
999
 
1744
1000
  class Permissions < Stripe::StripeObject
@@ -1755,14 +1011,6 @@ module Stripe
1755
1011
  #
1756
1012
  # When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
1757
1013
  attr_reader :shipping_details
1758
-
1759
- def self.inner_class_types
1760
- @inner_class_types = {}
1761
- end
1762
-
1763
- def self.field_remappings
1764
- @field_remappings = {}
1765
- end
1766
1014
  end
1767
1015
  # Permissions for updating the Checkout Session.
1768
1016
  attr_reader :update
@@ -1778,27 +1026,11 @@ module Stripe
1778
1026
  #
1779
1027
  # When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
1780
1028
  attr_reader :update_shipping_details
1781
-
1782
- def self.inner_class_types
1783
- @inner_class_types = { update: Update }
1784
- end
1785
-
1786
- def self.field_remappings
1787
- @field_remappings = {}
1788
- end
1789
1029
  end
1790
1030
 
1791
1031
  class PhoneNumberCollection < Stripe::StripeObject
1792
1032
  # Indicates whether phone number collection is enabled for the session
1793
1033
  attr_reader :enabled
1794
-
1795
- def self.inner_class_types
1796
- @inner_class_types = {}
1797
- end
1798
-
1799
- def self.field_remappings
1800
- @field_remappings = {}
1801
- end
1802
1034
  end
1803
1035
 
1804
1036
  class PresentmentDetails < Stripe::StripeObject
@@ -1806,14 +1038,6 @@ module Stripe
1806
1038
  attr_reader :presentment_amount
1807
1039
  # Currency presented to the customer during payment.
1808
1040
  attr_reader :presentment_currency
1809
-
1810
- def self.inner_class_types
1811
- @inner_class_types = {}
1812
- end
1813
-
1814
- def self.field_remappings
1815
- @field_remappings = {}
1816
- end
1817
1041
  end
1818
1042
 
1819
1043
  class SavedPaymentMethodOptions < Stripe::StripeObject
@@ -1823,28 +1047,12 @@ module Stripe
1823
1047
  attr_reader :payment_method_remove
1824
1048
  # Enable customers to choose if they wish to save their payment method for future use. Disabled by default.
1825
1049
  attr_reader :payment_method_save
1826
-
1827
- def self.inner_class_types
1828
- @inner_class_types = {}
1829
- end
1830
-
1831
- def self.field_remappings
1832
- @field_remappings = {}
1833
- end
1834
1050
  end
1835
1051
 
1836
1052
  class ShippingAddressCollection < Stripe::StripeObject
1837
1053
  # An array of two-letter ISO country codes representing which countries Checkout should provide as options for
1838
1054
  # shipping locations. Unsupported country codes: `AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SY, UM, VI`.
1839
1055
  attr_reader :allowed_countries
1840
-
1841
- def self.inner_class_types
1842
- @inner_class_types = {}
1843
- end
1844
-
1845
- def self.field_remappings
1846
- @field_remappings = {}
1847
- end
1848
1056
  end
1849
1057
 
1850
1058
  class ShippingCost < Stripe::StripeObject
@@ -1859,14 +1067,6 @@ module Stripe
1859
1067
  attr_reader :taxability_reason
1860
1068
  # The amount on which tax is calculated, in cents (or local equivalent).
1861
1069
  attr_reader :taxable_amount
1862
-
1863
- def self.inner_class_types
1864
- @inner_class_types = {}
1865
- end
1866
-
1867
- def self.field_remappings
1868
- @field_remappings = {}
1869
- end
1870
1070
  end
1871
1071
  # Total shipping cost before any discounts or taxes are applied.
1872
1072
  attr_reader :amount_subtotal
@@ -1878,14 +1078,6 @@ module Stripe
1878
1078
  attr_reader :shipping_rate
1879
1079
  # The taxes applied to the shipping rate.
1880
1080
  attr_reader :taxes
1881
-
1882
- def self.inner_class_types
1883
- @inner_class_types = { taxes: Tax }
1884
- end
1885
-
1886
- def self.field_remappings
1887
- @field_remappings = {}
1888
- end
1889
1081
  end
1890
1082
 
1891
1083
  class ShippingOption < Stripe::StripeObject
@@ -1893,14 +1085,6 @@ module Stripe
1893
1085
  attr_reader :shipping_amount
1894
1086
  # The shipping rate.
1895
1087
  attr_reader :shipping_rate
1896
-
1897
- def self.inner_class_types
1898
- @inner_class_types = {}
1899
- end
1900
-
1901
- def self.field_remappings
1902
- @field_remappings = {}
1903
- end
1904
1088
  end
1905
1089
 
1906
1090
  class TaxIdCollection < Stripe::StripeObject
@@ -1908,14 +1092,6 @@ module Stripe
1908
1092
  attr_reader :enabled
1909
1093
  # Indicates whether a tax ID is required on the payment page
1910
1094
  attr_reader :required
1911
-
1912
- def self.inner_class_types
1913
- @inner_class_types = {}
1914
- end
1915
-
1916
- def self.field_remappings
1917
- @field_remappings = {}
1918
- end
1919
1095
  end
1920
1096
 
1921
1097
  class TotalDetails < Stripe::StripeObject
@@ -1928,14 +1104,6 @@ module Stripe
1928
1104
  #
1929
1105
  # Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts)
1930
1106
  attr_reader :discount
1931
-
1932
- def self.inner_class_types
1933
- @inner_class_types = {}
1934
- end
1935
-
1936
- def self.field_remappings
1937
- @field_remappings = {}
1938
- end
1939
1107
  end
1940
1108
 
1941
1109
  class Tax < Stripe::StripeObject
@@ -1949,27 +1117,11 @@ module Stripe
1949
1117
  attr_reader :taxability_reason
1950
1118
  # The amount on which tax is calculated, in cents (or local equivalent).
1951
1119
  attr_reader :taxable_amount
1952
-
1953
- def self.inner_class_types
1954
- @inner_class_types = {}
1955
- end
1956
-
1957
- def self.field_remappings
1958
- @field_remappings = {}
1959
- end
1960
1120
  end
1961
1121
  # The aggregated discounts.
1962
1122
  attr_reader :discounts
1963
1123
  # The aggregated tax amounts by rate.
1964
1124
  attr_reader :taxes
1965
-
1966
- def self.inner_class_types
1967
- @inner_class_types = { discounts: Discount, taxes: Tax }
1968
- end
1969
-
1970
- def self.field_remappings
1971
- @field_remappings = {}
1972
- end
1973
1125
  end
1974
1126
  # This is the sum of all the discounts.
1975
1127
  attr_reader :amount_discount
@@ -1979,128 +1131,15 @@ module Stripe
1979
1131
  attr_reader :amount_tax
1980
1132
  # Attribute for field breakdown
1981
1133
  attr_reader :breakdown
1982
-
1983
- def self.inner_class_types
1984
- @inner_class_types = { breakdown: Breakdown }
1985
- end
1986
-
1987
- def self.field_remappings
1988
- @field_remappings = {}
1989
- end
1990
1134
  end
1991
1135
 
1992
1136
  class WalletOptions < Stripe::StripeObject
1993
1137
  class Link < Stripe::StripeObject
1994
1138
  # Describes whether Checkout should display Link. Defaults to `auto`.
1995
1139
  attr_reader :display
1996
-
1997
- def self.inner_class_types
1998
- @inner_class_types = {}
1999
- end
2000
-
2001
- def self.field_remappings
2002
- @field_remappings = {}
2003
- end
2004
1140
  end
2005
1141
  # Attribute for field link
2006
1142
  attr_reader :link
2007
-
2008
- def self.inner_class_types
2009
- @inner_class_types = { link: Link }
2010
- end
2011
-
2012
- def self.field_remappings
2013
- @field_remappings = {}
2014
- end
2015
- end
2016
-
2017
- class CheckoutItem < Stripe::StripeObject
2018
- class PricingPlanSubscriptionItem < Stripe::StripeObject
2019
- class ComponentConfigurations < Stripe::StripeObject
2020
- class LicenseFeeComponent < Stripe::StripeObject
2021
- # Attribute for field quantity
2022
- attr_reader :quantity
2023
-
2024
- def self.inner_class_types
2025
- @inner_class_types = {}
2026
- end
2027
-
2028
- def self.field_remappings
2029
- @field_remappings = {}
2030
- end
2031
- end
2032
- # Attribute for field type
2033
- attr_reader :type
2034
- # Attribute for field license_fee_component
2035
- attr_reader :license_fee_component
2036
-
2037
- def self.inner_class_types
2038
- @inner_class_types = { license_fee_component: LicenseFeeComponent }
2039
- end
2040
-
2041
- def self.field_remappings
2042
- @field_remappings = {}
2043
- end
2044
- end
2045
- # Attribute for field pricing_plan
2046
- attr_reader :pricing_plan
2047
- # Attribute for field pricing_plan_version
2048
- attr_reader :pricing_plan_version
2049
- # Attribute for field metadata
2050
- attr_reader :metadata
2051
- # Attribute for field component_configurations
2052
- attr_reader :component_configurations
2053
- # Attribute for field pricing_plan_subscription
2054
- attr_reader :pricing_plan_subscription
2055
- # Attribute for field billing_cadence
2056
- attr_reader :billing_cadence
2057
-
2058
- def self.inner_class_types
2059
- @inner_class_types = { component_configurations: ComponentConfigurations }
2060
- end
2061
-
2062
- def self.field_remappings
2063
- @field_remappings = {}
2064
- end
2065
- end
2066
-
2067
- class RateCardSubscriptionItem < Stripe::StripeObject
2068
- # Attribute for field rate_card
2069
- attr_reader :rate_card
2070
- # Attribute for field metadata
2071
- attr_reader :metadata
2072
- # Attribute for field rate_card_version
2073
- attr_reader :rate_card_version
2074
- # Attribute for field billing_cadence
2075
- attr_reader :billing_cadence
2076
- # Attribute for field rate_card_subscription
2077
- attr_reader :rate_card_subscription
2078
-
2079
- def self.inner_class_types
2080
- @inner_class_types = {}
2081
- end
2082
-
2083
- def self.field_remappings
2084
- @field_remappings = {}
2085
- end
2086
- end
2087
- # Attribute for field type
2088
- attr_reader :type
2089
- # Attribute for field rate_card_subscription_item
2090
- attr_reader :rate_card_subscription_item
2091
- # Attribute for field pricing_plan_subscription_item
2092
- attr_reader :pricing_plan_subscription_item
2093
-
2094
- def self.inner_class_types
2095
- @inner_class_types = {
2096
- rate_card_subscription_item: RateCardSubscriptionItem,
2097
- pricing_plan_subscription_item: PricingPlanSubscriptionItem,
2098
- }
2099
- end
2100
-
2101
- def self.field_remappings
2102
- @field_remappings = {}
2103
- end
2104
1143
  end
2105
1144
 
2106
1145
  class ListParams < Stripe::RequestParams
@@ -2241,81 +1280,6 @@ module Stripe
2241
1280
  end
2242
1281
  end
2243
1282
 
2244
- class CheckoutItem < Stripe::RequestParams
2245
- class PricingPlanSubscriptionItem < Stripe::RequestParams
2246
- class ComponentConfigurations < Stripe::RequestParams
2247
- class LicenseFeeComponent < Stripe::RequestParams
2248
- # Attribute for param field quantity
2249
- attr_accessor :quantity
2250
-
2251
- def initialize(quantity: nil)
2252
- @quantity = quantity
2253
- end
2254
- end
2255
- # Attribute for param field type
2256
- attr_accessor :type
2257
- # Attribute for param field license_fee_component
2258
- attr_accessor :license_fee_component
2259
-
2260
- def initialize(type: nil, license_fee_component: nil)
2261
- @type = type
2262
- @license_fee_component = license_fee_component
2263
- end
2264
- end
2265
- # Attribute for param field pricing_plan
2266
- attr_accessor :pricing_plan
2267
- # Attribute for param field pricing_plan_version
2268
- attr_accessor :pricing_plan_version
2269
- # Attribute for param field metadata
2270
- attr_accessor :metadata
2271
- # Attribute for param field component_configurations
2272
- attr_accessor :component_configurations
2273
-
2274
- def initialize(
2275
- pricing_plan: nil,
2276
- pricing_plan_version: nil,
2277
- metadata: nil,
2278
- component_configurations: nil
2279
- )
2280
- @pricing_plan = pricing_plan
2281
- @pricing_plan_version = pricing_plan_version
2282
- @metadata = metadata
2283
- @component_configurations = component_configurations
2284
- end
2285
- end
2286
-
2287
- class RateCardSubscriptionItem < Stripe::RequestParams
2288
- # Attribute for param field rate_card
2289
- attr_accessor :rate_card
2290
- # Attribute for param field metadata
2291
- attr_accessor :metadata
2292
- # Attribute for param field rate_card_version
2293
- attr_accessor :rate_card_version
2294
-
2295
- def initialize(rate_card: nil, metadata: nil, rate_card_version: nil)
2296
- @rate_card = rate_card
2297
- @metadata = metadata
2298
- @rate_card_version = rate_card_version
2299
- end
2300
- end
2301
- # Attribute for param field type
2302
- attr_accessor :type
2303
- # Attribute for param field rate_card_subscription_item
2304
- attr_accessor :rate_card_subscription_item
2305
- # Attribute for param field pricing_plan_subscription_item
2306
- attr_accessor :pricing_plan_subscription_item
2307
-
2308
- def initialize(
2309
- type: nil,
2310
- rate_card_subscription_item: nil,
2311
- pricing_plan_subscription_item: nil
2312
- )
2313
- @type = type
2314
- @rate_card_subscription_item = rate_card_subscription_item
2315
- @pricing_plan_subscription_item = pricing_plan_subscription_item
2316
- end
2317
- end
2318
-
2319
1283
  class ConsentCollection < Stripe::RequestParams
2320
1284
  class PaymentMethodReuseAgreement < Stripe::RequestParams
2321
1285
  # Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's
@@ -4572,8 +3536,6 @@ module Stripe
4572
3536
  attr_accessor :ui_mode
4573
3537
  # Wallet-specific configuration.
4574
3538
  attr_accessor :wallet_options
4575
- # Attribute for param field checkout_items
4576
- attr_accessor :checkout_items
4577
3539
 
4578
3540
  def initialize(
4579
3541
  adaptive_pricing: nil,
@@ -4621,8 +3583,7 @@ module Stripe
4621
3583
  success_url: nil,
4622
3584
  tax_id_collection: nil,
4623
3585
  ui_mode: nil,
4624
- wallet_options: nil,
4625
- checkout_items: nil
3586
+ wallet_options: nil
4626
3587
  )
4627
3588
  @adaptive_pricing = adaptive_pricing
4628
3589
  @after_expiration = after_expiration
@@ -4670,7 +3631,6 @@ module Stripe
4670
3631
  @tax_id_collection = tax_id_collection
4671
3632
  @ui_mode = ui_mode
4672
3633
  @wallet_options = wallet_options
4673
- @checkout_items = checkout_items
4674
3634
  end
4675
3635
  end
4676
3636
 
@@ -5217,8 +4177,6 @@ module Stripe
5217
4177
  attr_reader :url
5218
4178
  # Wallet-specific configuration for this Checkout Session.
5219
4179
  attr_reader :wallet_options
5220
- # Attribute for field checkout_items
5221
- attr_reader :checkout_items
5222
4180
 
5223
4181
  # Creates a Checkout Session object.
5224
4182
  def self.create(params = {}, opts = {})
@@ -5295,41 +4253,6 @@ module Stripe
5295
4253
  opts: opts
5296
4254
  )
5297
4255
  end
5298
-
5299
- def self.inner_class_types
5300
- @inner_class_types = {
5301
- adaptive_pricing: AdaptivePricing,
5302
- after_expiration: AfterExpiration,
5303
- automatic_tax: AutomaticTax,
5304
- collected_information: CollectedInformation,
5305
- consent: Consent,
5306
- consent_collection: ConsentCollection,
5307
- currency_conversion: CurrencyConversion,
5308
- custom_fields: CustomField,
5309
- custom_text: CustomText,
5310
- customer_details: CustomerDetails,
5311
- discounts: Discount,
5312
- invoice_creation: InvoiceCreation,
5313
- optional_items: OptionalItem,
5314
- payment_method_configuration_details: PaymentMethodConfigurationDetails,
5315
- payment_method_options: PaymentMethodOptions,
5316
- permissions: Permissions,
5317
- phone_number_collection: PhoneNumberCollection,
5318
- presentment_details: PresentmentDetails,
5319
- saved_payment_method_options: SavedPaymentMethodOptions,
5320
- shipping_address_collection: ShippingAddressCollection,
5321
- shipping_cost: ShippingCost,
5322
- shipping_options: ShippingOption,
5323
- tax_id_collection: TaxIdCollection,
5324
- total_details: TotalDetails,
5325
- wallet_options: WalletOptions,
5326
- checkout_items: CheckoutItem,
5327
- }
5328
- end
5329
-
5330
- def self.field_remappings
5331
- @field_remappings = {}
5332
- end
5333
4256
  end
5334
4257
  end
5335
4258
  end