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
@@ -34,14 +34,6 @@ module Stripe
34
34
  attr_reader :postal_code
35
35
  # State, county, province, or region.
36
36
  attr_reader :state
37
-
38
- def self.inner_class_types
39
- @inner_class_types = {}
40
- end
41
-
42
- def self.field_remappings
43
- @field_remappings = {}
44
- end
45
37
  end
46
38
  # Billing address.
47
39
  attr_reader :address
@@ -53,14 +45,6 @@ module Stripe
53
45
  attr_reader :phone
54
46
  # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
55
47
  attr_reader :tax_id
56
-
57
- def self.inner_class_types
58
- @inner_class_types = { address: Address }
59
- end
60
-
61
- def self.field_remappings
62
- @field_remappings = {}
63
- end
64
48
  end
65
49
 
66
50
  class FraudDetails < Stripe::StripeObject
@@ -68,14 +52,6 @@ module Stripe
68
52
  attr_reader :stripe_report
69
53
  # Assessments reported by you. If set, possible values of are `safe` and `fraudulent`.
70
54
  attr_reader :user_report
71
-
72
- def self.inner_class_types
73
- @inner_class_types = {}
74
- end
75
-
76
- def self.field_remappings
77
- @field_remappings = {}
78
- end
79
55
  end
80
56
 
81
57
  class Level3 < Stripe::StripeObject
@@ -92,14 +68,6 @@ module Stripe
92
68
  attr_reader :tax_amount
93
69
  # Attribute for field unit_cost
94
70
  attr_reader :unit_cost
95
-
96
- def self.inner_class_types
97
- @inner_class_types = {}
98
- end
99
-
100
- def self.field_remappings
101
- @field_remappings = {}
102
- end
103
71
  end
104
72
  # Attribute for field customer_reference
105
73
  attr_reader :customer_reference
@@ -113,14 +81,6 @@ module Stripe
113
81
  attr_reader :shipping_amount
114
82
  # Attribute for field shipping_from_zip
115
83
  attr_reader :shipping_from_zip
116
-
117
- def self.inner_class_types
118
- @inner_class_types = { line_items: LineItem }
119
- end
120
-
121
- def self.field_remappings
122
- @field_remappings = {}
123
- end
124
84
  end
125
85
 
126
86
  class Outcome < Stripe::StripeObject
@@ -131,14 +91,6 @@ module Stripe
131
91
  attr_reader :id
132
92
  # The predicate to evaluate the payment against.
133
93
  attr_reader :predicate
134
-
135
- def self.inner_class_types
136
- @inner_class_types = {}
137
- end
138
-
139
- def self.field_remappings
140
- @field_remappings = {}
141
- end
142
94
  end
143
95
  # An enumerated value providing a more detailed explanation on [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines).
144
96
  attr_reader :advice_code
@@ -160,14 +112,6 @@ module Stripe
160
112
  attr_reader :seller_message
161
113
  # Possible values are `authorized`, `manual_review`, `issuer_declined`, `blocked`, and `invalid`. See [understanding declines](https://stripe.com/docs/declines) and [Radar reviews](https://stripe.com/docs/radar/reviews) for details.
162
114
  attr_reader :type
163
-
164
- def self.inner_class_types
165
- @inner_class_types = { rule: Rule }
166
- end
167
-
168
- def self.field_remappings
169
- @field_remappings = {}
170
- end
171
115
  end
172
116
 
173
117
  class PaymentMethodDetails < Stripe::StripeObject
@@ -180,14 +124,6 @@ module Stripe
180
124
  attr_reader :routing_number
181
125
  # SWIFT code of the bank associated with the routing number.
182
126
  attr_reader :swift_code
183
-
184
- def self.inner_class_types
185
- @inner_class_types = {}
186
- end
187
-
188
- def self.field_remappings
189
- @field_remappings = {}
190
- end
191
127
  end
192
128
 
193
129
  class AchDebit < Stripe::StripeObject
@@ -203,14 +139,6 @@ module Stripe
203
139
  attr_reader :last4
204
140
  # Routing transit number of the bank account.
205
141
  attr_reader :routing_number
206
-
207
- def self.inner_class_types
208
- @inner_class_types = {}
209
- end
210
-
211
- def self.field_remappings
212
- @field_remappings = {}
213
- end
214
142
  end
215
143
 
216
144
  class AcssDebit < Stripe::StripeObject
@@ -226,14 +154,6 @@ module Stripe
226
154
  attr_reader :mandate
227
155
  # Transit number of the bank account.
228
156
  attr_reader :transit_number
229
-
230
- def self.inner_class_types
231
- @inner_class_types = {}
232
- end
233
-
234
- def self.field_remappings
235
- @field_remappings = {}
236
- end
237
157
  end
238
158
 
239
159
  class Affirm < Stripe::StripeObject
@@ -243,14 +163,6 @@ module Stripe
243
163
  attr_reader :reader
244
164
  # The Affirm transaction ID associated with this payment.
245
165
  attr_reader :transaction_id
246
-
247
- def self.inner_class_types
248
- @inner_class_types = {}
249
- end
250
-
251
- def self.field_remappings
252
- @field_remappings = {}
253
- end
254
166
  end
255
167
 
256
168
  class AfterpayClearpay < Stripe::StripeObject
@@ -258,14 +170,6 @@ module Stripe
258
170
  attr_reader :order_id
259
171
  # Order identifier shown to the merchant in Afterpay’s online portal.
260
172
  attr_reader :reference
261
-
262
- def self.inner_class_types
263
- @inner_class_types = {}
264
- end
265
-
266
- def self.field_remappings
267
- @field_remappings = {}
268
- end
269
173
  end
270
174
 
271
175
  class Alipay < Stripe::StripeObject
@@ -275,41 +179,17 @@ module Stripe
275
179
  attr_reader :fingerprint
276
180
  # Transaction ID of this particular Alipay transaction.
277
181
  attr_reader :transaction_id
278
-
279
- def self.inner_class_types
280
- @inner_class_types = {}
281
- end
282
-
283
- def self.field_remappings
284
- @field_remappings = {}
285
- end
286
182
  end
287
183
 
288
184
  class Alma < Stripe::StripeObject
289
185
  class Installments < Stripe::StripeObject
290
186
  # The number of installments.
291
187
  attr_reader :count
292
-
293
- def self.inner_class_types
294
- @inner_class_types = {}
295
- end
296
-
297
- def self.field_remappings
298
- @field_remappings = {}
299
- end
300
188
  end
301
189
  # Attribute for field installments
302
190
  attr_reader :installments
303
191
  # The Alma transaction ID associated with this payment.
304
192
  attr_reader :transaction_id
305
-
306
- def self.inner_class_types
307
- @inner_class_types = { installments: Installments }
308
- end
309
-
310
- def self.field_remappings
311
- @field_remappings = {}
312
- end
313
193
  end
314
194
 
315
195
  class AmazonPay < Stripe::StripeObject
@@ -329,40 +209,16 @@ module Stripe
329
209
  attr_reader :funding
330
210
  # The last four digits of the card.
331
211
  attr_reader :last4
332
-
333
- def self.inner_class_types
334
- @inner_class_types = {}
335
- end
336
-
337
- def self.field_remappings
338
- @field_remappings = {}
339
- end
340
212
  end
341
213
  # Attribute for field card
342
214
  attr_reader :card
343
215
  # funding type of the underlying payment method.
344
216
  attr_reader :type
345
-
346
- def self.inner_class_types
347
- @inner_class_types = { card: Card }
348
- end
349
-
350
- def self.field_remappings
351
- @field_remappings = {}
352
- end
353
217
  end
354
218
  # Attribute for field funding
355
219
  attr_reader :funding
356
220
  # The Amazon Pay transaction ID associated with this payment.
357
221
  attr_reader :transaction_id
358
-
359
- def self.inner_class_types
360
- @inner_class_types = { funding: Funding }
361
- end
362
-
363
- def self.field_remappings
364
- @field_remappings = {}
365
- end
366
222
  end
367
223
 
368
224
  class AuBecsDebit < Stripe::StripeObject
@@ -374,14 +230,6 @@ module Stripe
374
230
  attr_reader :last4
375
231
  # ID of the mandate used to make this payment.
376
232
  attr_reader :mandate
377
-
378
- def self.inner_class_types
379
- @inner_class_types = {}
380
- end
381
-
382
- def self.field_remappings
383
- @field_remappings = {}
384
- end
385
233
  end
386
234
 
387
235
  class BacsDebit < Stripe::StripeObject
@@ -393,14 +241,6 @@ module Stripe
393
241
  attr_reader :mandate
394
242
  # Sort code of the bank account. (e.g., `10-20-30`)
395
243
  attr_reader :sort_code
396
-
397
- def self.inner_class_types
398
- @inner_class_types = {}
399
- end
400
-
401
- def self.field_remappings
402
- @field_remappings = {}
403
- end
404
244
  end
405
245
 
406
246
  class Bancontact < Stripe::StripeObject
@@ -422,53 +262,21 @@ module Stripe
422
262
  # Owner's verified full name. Values are verified or provided by Bancontact directly
423
263
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
424
264
  attr_reader :verified_name
425
-
426
- def self.inner_class_types
427
- @inner_class_types = {}
428
- end
429
-
430
- def self.field_remappings
431
- @field_remappings = {}
432
- end
433
265
  end
434
266
 
435
267
  class Billie < Stripe::StripeObject
436
268
  # The Billie transaction ID associated with this payment.
437
269
  attr_reader :transaction_id
438
-
439
- def self.inner_class_types
440
- @inner_class_types = {}
441
- end
442
-
443
- def self.field_remappings
444
- @field_remappings = {}
445
- end
446
270
  end
447
271
 
448
272
  class Blik < Stripe::StripeObject
449
273
  # A unique and immutable identifier assigned by BLIK to every buyer.
450
274
  attr_reader :buyer_id
451
-
452
- def self.inner_class_types
453
- @inner_class_types = {}
454
- end
455
-
456
- def self.field_remappings
457
- @field_remappings = {}
458
- end
459
275
  end
460
276
 
461
277
  class Boleto < Stripe::StripeObject
462
278
  # The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers)
463
279
  attr_reader :tax_id
464
-
465
- def self.inner_class_types
466
- @inner_class_types = {}
467
- end
468
-
469
- def self.field_remappings
470
- @field_remappings = {}
471
- end
472
280
  end
473
281
 
474
282
  class Card < Stripe::StripeObject
@@ -479,53 +287,21 @@ module Stripe
479
287
  attr_reader :address_postal_code_check
480
288
  # If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
481
289
  attr_reader :cvc_check
482
-
483
- def self.inner_class_types
484
- @inner_class_types = {}
485
- end
486
-
487
- def self.field_remappings
488
- @field_remappings = {}
489
- end
490
290
  end
491
291
 
492
292
  class DecrementalAuthorization < Stripe::StripeObject
493
293
  # Indicates whether or not the decremental authorization feature is supported.
494
294
  attr_reader :status
495
-
496
- def self.inner_class_types
497
- @inner_class_types = {}
498
- end
499
-
500
- def self.field_remappings
501
- @field_remappings = {}
502
- end
503
295
  end
504
296
 
505
297
  class ExtendedAuthorization < Stripe::StripeObject
506
298
  # Indicates whether or not the capture window is extended beyond the standard authorization.
507
299
  attr_reader :status
508
-
509
- def self.inner_class_types
510
- @inner_class_types = {}
511
- end
512
-
513
- def self.field_remappings
514
- @field_remappings = {}
515
- end
516
300
  end
517
301
 
518
302
  class IncrementalAuthorization < Stripe::StripeObject
519
303
  # Indicates whether or not the incremental authorization feature is supported.
520
304
  attr_reader :status
521
-
522
- def self.inner_class_types
523
- @inner_class_types = {}
524
- end
525
-
526
- def self.field_remappings
527
- @field_remappings = {}
528
- end
529
305
  end
530
306
 
531
307
  class Installments < Stripe::StripeObject
@@ -537,51 +313,19 @@ module Stripe
537
313
  attr_reader :interval
538
314
  # Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.
539
315
  attr_reader :type
540
-
541
- def self.inner_class_types
542
- @inner_class_types = {}
543
- end
544
-
545
- def self.field_remappings
546
- @field_remappings = {}
547
- end
548
316
  end
549
317
  # Installment plan selected for the payment.
550
318
  attr_reader :plan
551
-
552
- def self.inner_class_types
553
- @inner_class_types = { plan: Plan }
554
- end
555
-
556
- def self.field_remappings
557
- @field_remappings = {}
558
- end
559
319
  end
560
320
 
561
321
  class Multicapture < Stripe::StripeObject
562
322
  # Indicates whether or not multiple captures are supported.
563
323
  attr_reader :status
564
-
565
- def self.inner_class_types
566
- @inner_class_types = {}
567
- end
568
-
569
- def self.field_remappings
570
- @field_remappings = {}
571
- end
572
324
  end
573
325
 
574
326
  class NetworkToken < Stripe::StripeObject
575
327
  # Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction.
576
328
  attr_reader :used
577
-
578
- def self.inner_class_types
579
- @inner_class_types = {}
580
- end
581
-
582
- def self.field_remappings
583
- @field_remappings = {}
584
- end
585
329
  end
586
330
 
587
331
  class Overcapture < Stripe::StripeObject
@@ -589,27 +333,11 @@ module Stripe
589
333
  attr_reader :maximum_amount_capturable
590
334
  # Indicates whether or not the authorized amount can be over-captured.
591
335
  attr_reader :status
592
-
593
- def self.inner_class_types
594
- @inner_class_types = {}
595
- end
596
-
597
- def self.field_remappings
598
- @field_remappings = {}
599
- end
600
336
  end
601
337
 
602
338
  class PartialAuthorization < Stripe::StripeObject
603
339
  # Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
604
340
  attr_reader :status
605
-
606
- def self.inner_class_types
607
- @inner_class_types = {}
608
- end
609
-
610
- def self.field_remappings
611
- @field_remappings = {}
612
- end
613
341
  end
614
342
 
615
343
  class ThreeDSecure < Stripe::StripeObject
@@ -634,56 +362,13 @@ module Stripe
634
362
  attr_reader :transaction_id
635
363
  # The version of 3D Secure that was used.
636
364
  attr_reader :version
637
-
638
- def self.inner_class_types
639
- @inner_class_types = {}
640
- end
641
-
642
- def self.field_remappings
643
- @field_remappings = {}
644
- end
645
365
  end
646
366
 
647
367
  class Wallet < Stripe::StripeObject
648
- class AmexExpressCheckout < Stripe::StripeObject
649
- def self.inner_class_types
650
- @inner_class_types = {}
651
- end
652
-
653
- def self.field_remappings
654
- @field_remappings = {}
655
- end
656
- end
657
-
658
- class ApplePay < Stripe::StripeObject
659
- def self.inner_class_types
660
- @inner_class_types = {}
661
- end
662
-
663
- def self.field_remappings
664
- @field_remappings = {}
665
- end
666
- end
667
-
668
- class GooglePay < Stripe::StripeObject
669
- def self.inner_class_types
670
- @inner_class_types = {}
671
- end
672
-
673
- def self.field_remappings
674
- @field_remappings = {}
675
- end
676
- end
677
-
678
- class Link < Stripe::StripeObject
679
- def self.inner_class_types
680
- @inner_class_types = {}
681
- end
682
-
683
- def self.field_remappings
684
- @field_remappings = {}
685
- end
686
- end
368
+ class AmexExpressCheckout < Stripe::StripeObject; end
369
+ class ApplePay < Stripe::StripeObject; end
370
+ class GooglePay < Stripe::StripeObject; end
371
+ class Link < Stripe::StripeObject; end
687
372
 
688
373
  class Masterpass < Stripe::StripeObject
689
374
  class BillingAddress < Stripe::StripeObject
@@ -699,14 +384,6 @@ module Stripe
699
384
  attr_reader :postal_code
700
385
  # State, county, province, or region.
701
386
  attr_reader :state
702
-
703
- def self.inner_class_types
704
- @inner_class_types = {}
705
- end
706
-
707
- def self.field_remappings
708
- @field_remappings = {}
709
- end
710
387
  end
711
388
 
712
389
  class ShippingAddress < Stripe::StripeObject
@@ -722,14 +399,6 @@ module Stripe
722
399
  attr_reader :postal_code
723
400
  # State, county, province, or region.
724
401
  attr_reader :state
725
-
726
- def self.inner_class_types
727
- @inner_class_types = {}
728
- end
729
-
730
- def self.field_remappings
731
- @field_remappings = {}
732
- end
733
402
  end
734
403
  # Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
735
404
  attr_reader :billing_address
@@ -739,28 +408,9 @@ module Stripe
739
408
  attr_reader :name
740
409
  # Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
741
410
  attr_reader :shipping_address
742
-
743
- def self.inner_class_types
744
- @inner_class_types = {
745
- billing_address: BillingAddress,
746
- shipping_address: ShippingAddress,
747
- }
748
- end
749
-
750
- def self.field_remappings
751
- @field_remappings = {}
752
- end
753
411
  end
754
412
 
755
- class SamsungPay < Stripe::StripeObject
756
- def self.inner_class_types
757
- @inner_class_types = {}
758
- end
759
-
760
- def self.field_remappings
761
- @field_remappings = {}
762
- end
763
- end
413
+ class SamsungPay < Stripe::StripeObject; end
764
414
 
765
415
  class VisaCheckout < Stripe::StripeObject
766
416
  class BillingAddress < Stripe::StripeObject
@@ -776,14 +426,6 @@ module Stripe
776
426
  attr_reader :postal_code
777
427
  # State, county, province, or region.
778
428
  attr_reader :state
779
-
780
- def self.inner_class_types
781
- @inner_class_types = {}
782
- end
783
-
784
- def self.field_remappings
785
- @field_remappings = {}
786
- end
787
429
  end
788
430
 
789
431
  class ShippingAddress < Stripe::StripeObject
@@ -799,14 +441,6 @@ module Stripe
799
441
  attr_reader :postal_code
800
442
  # State, county, province, or region.
801
443
  attr_reader :state
802
-
803
- def self.inner_class_types
804
- @inner_class_types = {}
805
- end
806
-
807
- def self.field_remappings
808
- @field_remappings = {}
809
- end
810
444
  end
811
445
  # Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
812
446
  attr_reader :billing_address
@@ -816,17 +450,6 @@ module Stripe
816
450
  attr_reader :name
817
451
  # Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
818
452
  attr_reader :shipping_address
819
-
820
- def self.inner_class_types
821
- @inner_class_types = {
822
- billing_address: BillingAddress,
823
- shipping_address: ShippingAddress,
824
- }
825
- end
826
-
827
- def self.field_remappings
828
- @field_remappings = {}
829
- end
830
453
  end
831
454
  # Attribute for field amex_express_checkout
832
455
  attr_reader :amex_express_checkout
@@ -846,22 +469,6 @@ module Stripe
846
469
  attr_reader :type
847
470
  # Attribute for field visa_checkout
848
471
  attr_reader :visa_checkout
849
-
850
- def self.inner_class_types
851
- @inner_class_types = {
852
- amex_express_checkout: AmexExpressCheckout,
853
- apple_pay: ApplePay,
854
- google_pay: GooglePay,
855
- link: Link,
856
- masterpass: Masterpass,
857
- samsung_pay: SamsungPay,
858
- visa_checkout: VisaCheckout,
859
- }
860
- end
861
-
862
- def self.field_remappings
863
- @field_remappings = {}
864
- end
865
472
  end
866
473
  # The authorized amount.
867
474
  attr_reader :amount_authorized
@@ -927,26 +534,6 @@ module Stripe
927
534
  attr_reader :three_d_secure
928
535
  # If this Card is part of a card wallet, this contains the details of the card wallet.
929
536
  attr_reader :wallet
930
-
931
- def self.inner_class_types
932
- @inner_class_types = {
933
- checks: Checks,
934
- decremental_authorization: DecrementalAuthorization,
935
- extended_authorization: ExtendedAuthorization,
936
- incremental_authorization: IncrementalAuthorization,
937
- installments: Installments,
938
- multicapture: Multicapture,
939
- network_token: NetworkToken,
940
- overcapture: Overcapture,
941
- partial_authorization: PartialAuthorization,
942
- three_d_secure: ThreeDSecure,
943
- wallet: Wallet,
944
- }
945
- end
946
-
947
- def self.field_remappings
948
- @field_remappings = {}
949
- end
950
537
  end
951
538
 
952
539
  class CardPresent < Stripe::StripeObject
@@ -955,14 +542,6 @@ module Stripe
955
542
  attr_reader :stored_at
956
543
  # The method used to process this payment method offline. Only deferred is allowed.
957
544
  attr_reader :type
958
-
959
- def self.inner_class_types
960
- @inner_class_types = {}
961
- end
962
-
963
- def self.field_remappings
964
- @field_remappings = {}
965
- end
966
545
  end
967
546
 
968
547
  class Receipt < Stripe::StripeObject
@@ -984,27 +563,11 @@ module Stripe
984
563
  attr_reader :terminal_verification_results
985
564
  # An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
986
565
  attr_reader :transaction_status_information
987
-
988
- def self.inner_class_types
989
- @inner_class_types = {}
990
- end
991
-
992
- def self.field_remappings
993
- @field_remappings = {}
994
- end
995
566
  end
996
567
 
997
568
  class Wallet < Stripe::StripeObject
998
569
  # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
999
570
  attr_reader :type
1000
-
1001
- def self.inner_class_types
1002
- @inner_class_types = {}
1003
- end
1004
-
1005
- def self.field_remappings
1006
- @field_remappings = {}
1007
- end
1008
571
  end
1009
572
  # The authorized amount
1010
573
  attr_reader :amount_authorized
@@ -1058,14 +621,6 @@ module Stripe
1058
621
  attr_reader :receipt
1059
622
  # Attribute for field wallet
1060
623
  attr_reader :wallet
1061
-
1062
- def self.inner_class_types
1063
- @inner_class_types = { offline: Offline, receipt: Receipt, wallet: Wallet }
1064
- end
1065
-
1066
- def self.field_remappings
1067
- @field_remappings = {}
1068
- end
1069
624
  end
1070
625
 
1071
626
  class Cashapp < Stripe::StripeObject
@@ -1075,14 +630,6 @@ module Stripe
1075
630
  attr_reader :cashtag
1076
631
  # A unique and immutable identifier of payments assigned by Cash App
1077
632
  attr_reader :transaction_id
1078
-
1079
- def self.inner_class_types
1080
- @inner_class_types = {}
1081
- end
1082
-
1083
- def self.field_remappings
1084
- @field_remappings = {}
1085
- end
1086
633
  end
1087
634
 
1088
635
  class Crypto < Stripe::StripeObject
@@ -1094,25 +641,9 @@ module Stripe
1094
641
  attr_reader :token_currency
1095
642
  # The blockchain transaction hash of the crypto payment.
1096
643
  attr_reader :transaction_hash
1097
-
1098
- def self.inner_class_types
1099
- @inner_class_types = {}
1100
- end
1101
-
1102
- def self.field_remappings
1103
- @field_remappings = {}
1104
- end
1105
644
  end
1106
645
 
1107
- class CustomerBalance < Stripe::StripeObject
1108
- def self.inner_class_types
1109
- @inner_class_types = {}
1110
- end
1111
-
1112
- def self.field_remappings
1113
- @field_remappings = {}
1114
- end
1115
- end
646
+ class CustomerBalance < Stripe::StripeObject; end
1116
647
 
1117
648
  class Eps < Stripe::StripeObject
1118
649
  # The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
@@ -1121,14 +652,6 @@ module Stripe
1121
652
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1122
653
  # EPS rarely provides this information so the attribute is usually empty.
1123
654
  attr_reader :verified_name
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
655
  end
1133
656
 
1134
657
  class Fpx < Stripe::StripeObject
@@ -1138,14 +661,6 @@ module Stripe
1138
661
  attr_reader :bank
1139
662
  # Unique transaction id generated by FPX for every request from the merchant
1140
663
  attr_reader :transaction_id
1141
-
1142
- def self.inner_class_types
1143
- @inner_class_types = {}
1144
- end
1145
-
1146
- def self.field_remappings
1147
- @field_remappings = {}
1148
- end
1149
664
  end
1150
665
 
1151
666
  class Giropay < Stripe::StripeObject
@@ -1159,37 +674,13 @@ module Stripe
1159
674
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1160
675
  # Giropay rarely provides this information so the attribute is usually empty.
1161
676
  attr_reader :verified_name
1162
-
1163
- def self.inner_class_types
1164
- @inner_class_types = {}
1165
- end
1166
-
1167
- def self.field_remappings
1168
- @field_remappings = {}
1169
- end
1170
677
  end
1171
678
 
1172
- class Gopay < Stripe::StripeObject
1173
- def self.inner_class_types
1174
- @inner_class_types = {}
1175
- end
1176
-
1177
- def self.field_remappings
1178
- @field_remappings = {}
1179
- end
1180
- end
679
+ class Gopay < Stripe::StripeObject; end
1181
680
 
1182
681
  class Grabpay < Stripe::StripeObject
1183
682
  # Unique transaction id generated by GrabPay
1184
683
  attr_reader :transaction_id
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
684
  end
1194
685
 
1195
686
  class IdBankTransfer < Stripe::StripeObject
@@ -1203,14 +694,6 @@ module Stripe
1203
694
  attr_reader :bank_name
1204
695
  # Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
1205
696
  attr_reader :display_name
1206
-
1207
- def self.inner_class_types
1208
- @inner_class_types = {}
1209
- end
1210
-
1211
- def self.field_remappings
1212
- @field_remappings = {}
1213
- end
1214
697
  end
1215
698
 
1216
699
  class Ideal < Stripe::StripeObject
@@ -1227,14 +710,6 @@ module Stripe
1227
710
  # Owner's verified full name. Values are verified or provided by iDEAL directly
1228
711
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1229
712
  attr_reader :verified_name
1230
-
1231
- def self.inner_class_types
1232
- @inner_class_types = {}
1233
- end
1234
-
1235
- def self.field_remappings
1236
- @field_remappings = {}
1237
- end
1238
713
  end
1239
714
 
1240
715
  class InteracPresent < Stripe::StripeObject
@@ -1257,14 +732,6 @@ module Stripe
1257
732
  attr_reader :terminal_verification_results
1258
733
  # An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
1259
734
  attr_reader :transaction_status_information
1260
-
1261
- def self.inner_class_types
1262
- @inner_class_types = {}
1263
- end
1264
-
1265
- def self.field_remappings
1266
- @field_remappings = {}
1267
- end
1268
735
  end
1269
736
  # Card brand. Can be `interac`, `mastercard` or `visa`.
1270
737
  attr_reader :brand
@@ -1304,14 +771,6 @@ module Stripe
1304
771
  attr_reader :read_method
1305
772
  # A collection of fields required to be displayed on receipts. Only required for EMV transactions.
1306
773
  attr_reader :receipt
1307
-
1308
- def self.inner_class_types
1309
- @inner_class_types = { receipt: Receipt }
1310
- end
1311
-
1312
- def self.field_remappings
1313
- @field_remappings = {}
1314
- end
1315
774
  end
1316
775
 
1317
776
  class KakaoPay < Stripe::StripeObject
@@ -1319,14 +778,6 @@ module Stripe
1319
778
  attr_reader :buyer_id
1320
779
  # The Kakao Pay transaction ID associated with this payment.
1321
780
  attr_reader :transaction_id
1322
-
1323
- def self.inner_class_types
1324
- @inner_class_types = {}
1325
- end
1326
-
1327
- def self.field_remappings
1328
- @field_remappings = {}
1329
- end
1330
781
  end
1331
782
 
1332
783
  class Klarna < Stripe::StripeObject
@@ -1334,25 +785,9 @@ module Stripe
1334
785
  class Address < Stripe::StripeObject
1335
786
  # The payer address country
1336
787
  attr_reader :country
1337
-
1338
- def self.inner_class_types
1339
- @inner_class_types = {}
1340
- end
1341
-
1342
- def self.field_remappings
1343
- @field_remappings = {}
1344
- end
1345
788
  end
1346
789
  # The payer's address
1347
790
  attr_reader :address
1348
-
1349
- def self.inner_class_types
1350
- @inner_class_types = { address: Address }
1351
- end
1352
-
1353
- def self.field_remappings
1354
- @field_remappings = {}
1355
- end
1356
791
  end
1357
792
  # The payer details for this transaction.
1358
793
  attr_reader :payer_details
@@ -1362,39 +797,15 @@ module Stripe
1362
797
  # Preferred language of the Klarna authorization page that the customer is redirected to.
1363
798
  # Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `es-US`, `fr-FR`, `en-FR`, `cs-CZ`, `en-CZ`, `ro-RO`, `en-RO`, `el-GR`, `en-GR`, `en-AU`, `en-NZ`, `en-CA`, `fr-CA`, `pl-PL`, `en-PL`, `pt-PT`, `en-PT`, `de-CH`, `fr-CH`, `it-CH`, or `en-CH`
1364
799
  attr_reader :preferred_locale
1365
-
1366
- def self.inner_class_types
1367
- @inner_class_types = { payer_details: PayerDetails }
1368
- end
1369
-
1370
- def self.field_remappings
1371
- @field_remappings = {}
1372
- end
1373
800
  end
1374
801
 
1375
802
  class Konbini < Stripe::StripeObject
1376
803
  class Store < Stripe::StripeObject
1377
804
  # The name of the convenience store chain where the payment was completed.
1378
805
  attr_reader :chain
1379
-
1380
- def self.inner_class_types
1381
- @inner_class_types = {}
1382
- end
1383
-
1384
- def self.field_remappings
1385
- @field_remappings = {}
1386
- end
1387
806
  end
1388
807
  # If the payment succeeded, this contains the details of the convenience store where the payment was completed.
1389
808
  attr_reader :store
1390
-
1391
- def self.inner_class_types
1392
- @inner_class_types = { store: Store }
1393
- end
1394
-
1395
- def self.field_remappings
1396
- @field_remappings = {}
1397
- end
1398
809
  end
1399
810
 
1400
811
  class KrCard < Stripe::StripeObject
@@ -1406,39 +817,15 @@ module Stripe
1406
817
  attr_reader :last4
1407
818
  # The Korean Card transaction ID associated with this payment.
1408
819
  attr_reader :transaction_id
1409
-
1410
- def self.inner_class_types
1411
- @inner_class_types = {}
1412
- end
1413
-
1414
- def self.field_remappings
1415
- @field_remappings = {}
1416
- end
1417
820
  end
1418
821
 
1419
822
  class Link < Stripe::StripeObject
1420
823
  # Two-letter ISO code representing the funding source country beneath the Link payment.
1421
824
  # You could use this attribute to get a sense of international fees.
1422
825
  attr_reader :country
1423
-
1424
- def self.inner_class_types
1425
- @inner_class_types = {}
1426
- end
1427
-
1428
- def self.field_remappings
1429
- @field_remappings = {}
1430
- end
1431
826
  end
1432
827
 
1433
- class MbWay < Stripe::StripeObject
1434
- def self.inner_class_types
1435
- @inner_class_types = {}
1436
- end
1437
-
1438
- def self.field_remappings
1439
- @field_remappings = {}
1440
- end
1441
- end
828
+ class MbWay < Stripe::StripeObject; end
1442
829
 
1443
830
  class Mobilepay < Stripe::StripeObject
1444
831
  class Card < Stripe::StripeObject
@@ -1452,25 +839,9 @@ module Stripe
1452
839
  attr_reader :exp_year
1453
840
  # The last 4 digits of the card
1454
841
  attr_reader :last4
1455
-
1456
- def self.inner_class_types
1457
- @inner_class_types = {}
1458
- end
1459
-
1460
- def self.field_remappings
1461
- @field_remappings = {}
1462
- end
1463
842
  end
1464
843
  # Internal card details
1465
844
  attr_reader :card
1466
-
1467
- def self.inner_class_types
1468
- @inner_class_types = { card: Card }
1469
- end
1470
-
1471
- def self.field_remappings
1472
- @field_remappings = {}
1473
- end
1474
845
  end
1475
846
 
1476
847
  class Multibanco < Stripe::StripeObject
@@ -1478,14 +849,6 @@ module Stripe
1478
849
  attr_reader :entity
1479
850
  # Reference number associated with this Multibanco payment.
1480
851
  attr_reader :reference
1481
-
1482
- def self.inner_class_types
1483
- @inner_class_types = {}
1484
- end
1485
-
1486
- def self.field_remappings
1487
- @field_remappings = {}
1488
- end
1489
852
  end
1490
853
 
1491
854
  class NaverPay < Stripe::StripeObject
@@ -1493,14 +856,6 @@ module Stripe
1493
856
  attr_reader :buyer_id
1494
857
  # The Naver Pay transaction ID associated with this payment.
1495
858
  attr_reader :transaction_id
1496
-
1497
- def self.inner_class_types
1498
- @inner_class_types = {}
1499
- end
1500
-
1501
- def self.field_remappings
1502
- @field_remappings = {}
1503
- end
1504
859
  end
1505
860
 
1506
861
  class NzBankAccount < Stripe::StripeObject
@@ -1516,27 +871,11 @@ module Stripe
1516
871
  attr_reader :last4
1517
872
  # The suffix of the bank account number.
1518
873
  attr_reader :suffix
1519
-
1520
- def self.inner_class_types
1521
- @inner_class_types = {}
1522
- end
1523
-
1524
- def self.field_remappings
1525
- @field_remappings = {}
1526
- end
1527
874
  end
1528
875
 
1529
876
  class Oxxo < Stripe::StripeObject
1530
877
  # OXXO reference number
1531
878
  attr_reader :number
1532
-
1533
- def self.inner_class_types
1534
- @inner_class_types = {}
1535
- end
1536
-
1537
- def self.field_remappings
1538
- @field_remappings = {}
1539
- end
1540
879
  end
1541
880
 
1542
881
  class P24 < Stripe::StripeObject
@@ -1548,52 +887,24 @@ module Stripe
1548
887
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1549
888
  # Przelewy24 rarely provides this information so the attribute is usually empty.
1550
889
  attr_reader :verified_name
1551
-
1552
- def self.inner_class_types
1553
- @inner_class_types = {}
1554
- end
1555
-
1556
- def self.field_remappings
1557
- @field_remappings = {}
1558
- end
1559
890
  end
1560
891
 
1561
- class PayByBank < Stripe::StripeObject
1562
- def self.inner_class_types
1563
- @inner_class_types = {}
1564
- end
1565
-
1566
- def self.field_remappings
1567
- @field_remappings = {}
1568
- end
1569
- end
892
+ class PayByBank < Stripe::StripeObject; end
1570
893
 
1571
894
  class Payco < Stripe::StripeObject
1572
895
  # A unique identifier for the buyer as determined by the local payment processor.
1573
896
  attr_reader :buyer_id
1574
897
  # The Payco transaction ID associated with this payment.
1575
898
  attr_reader :transaction_id
1576
-
1577
- def self.inner_class_types
1578
- @inner_class_types = {}
1579
- end
1580
-
1581
- def self.field_remappings
1582
- @field_remappings = {}
1583
- end
1584
899
  end
1585
900
 
1586
901
  class Paynow < Stripe::StripeObject
902
+ # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
903
+ attr_reader :location
904
+ # ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
905
+ attr_reader :reader
1587
906
  # Reference number associated with this PayNow payment
1588
907
  attr_reader :reference
1589
-
1590
- def self.inner_class_types
1591
- @inner_class_types = {}
1592
- end
1593
-
1594
- def self.field_remappings
1595
- @field_remappings = {}
1596
- end
1597
908
  end
1598
909
 
1599
910
  class Paypal < Stripe::StripeObject
@@ -1602,14 +913,6 @@ module Stripe
1602
913
  attr_reader :dispute_categories
1603
914
  # Indicates whether the transaction is eligible for PayPal's seller protection.
1604
915
  attr_reader :status
1605
-
1606
- def self.inner_class_types
1607
- @inner_class_types = {}
1608
- end
1609
-
1610
- def self.field_remappings
1611
- @field_remappings = {}
1612
- end
1613
916
  end
1614
917
 
1615
918
  class Shipping < Stripe::StripeObject
@@ -1625,14 +928,6 @@ module Stripe
1625
928
  attr_reader :postal_code
1626
929
  # State, county, province, or region.
1627
930
  attr_reader :state
1628
-
1629
- def self.inner_class_types
1630
- @inner_class_types = {}
1631
- end
1632
-
1633
- def self.field_remappings
1634
- @field_remappings = {}
1635
- end
1636
931
  end
1637
932
 
1638
933
  class VerifiedAddress < Stripe::StripeObject
@@ -1648,14 +943,6 @@ module Stripe
1648
943
  attr_reader :postal_code
1649
944
  # State, county, province, or region.
1650
945
  attr_reader :state
1651
-
1652
- def self.inner_class_types
1653
- @inner_class_types = {}
1654
- end
1655
-
1656
- def self.field_remappings
1657
- @field_remappings = {}
1658
- end
1659
946
  end
1660
947
  # Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1661
948
  attr_reader :country
@@ -1685,18 +972,6 @@ module Stripe
1685
972
  # Owner's verified full name. Values are verified or provided by PayPal directly
1686
973
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1687
974
  attr_reader :verified_name
1688
-
1689
- def self.inner_class_types
1690
- @inner_class_types = {
1691
- seller_protection: SellerProtection,
1692
- shipping: Shipping,
1693
- verified_address: VerifiedAddress,
1694
- }
1695
- end
1696
-
1697
- def self.field_remappings
1698
- @field_remappings = {}
1699
- end
1700
975
  end
1701
976
 
1702
977
  class Payto < Stripe::StripeObject
@@ -1708,14 +983,6 @@ module Stripe
1708
983
  attr_reader :mandate
1709
984
  # The PayID alias for the bank account.
1710
985
  attr_reader :pay_id
1711
-
1712
- def self.inner_class_types
1713
- @inner_class_types = {}
1714
- end
1715
-
1716
- def self.field_remappings
1717
- @field_remappings = {}
1718
- end
1719
986
  end
1720
987
 
1721
988
  class Pix < Stripe::StripeObject
@@ -1723,48 +990,15 @@ module Stripe
1723
990
  attr_reader :bank_transaction_id
1724
991
  # ID of the multi use Mandate generated by the PaymentIntent
1725
992
  attr_reader :mandate
1726
-
1727
- def self.inner_class_types
1728
- @inner_class_types = {}
1729
- end
1730
-
1731
- def self.field_remappings
1732
- @field_remappings = {}
1733
- end
1734
993
  end
1735
994
 
1736
995
  class Promptpay < Stripe::StripeObject
1737
996
  # Bill reference generated by PromptPay
1738
997
  attr_reader :reference
1739
-
1740
- def self.inner_class_types
1741
- @inner_class_types = {}
1742
- end
1743
-
1744
- def self.field_remappings
1745
- @field_remappings = {}
1746
- end
1747
- end
1748
-
1749
- class Qris < Stripe::StripeObject
1750
- def self.inner_class_types
1751
- @inner_class_types = {}
1752
- end
1753
-
1754
- def self.field_remappings
1755
- @field_remappings = {}
1756
- end
1757
998
  end
1758
999
 
1759
- class Rechnung < Stripe::StripeObject
1760
- def self.inner_class_types
1761
- @inner_class_types = {}
1762
- end
1763
-
1764
- def self.field_remappings
1765
- @field_remappings = {}
1766
- end
1767
- end
1000
+ class Qris < Stripe::StripeObject; end
1001
+ class Rechnung < Stripe::StripeObject; end
1768
1002
 
1769
1003
  class RevolutPay < Stripe::StripeObject
1770
1004
  class Funding < Stripe::StripeObject
@@ -1783,40 +1017,16 @@ module Stripe
1783
1017
  attr_reader :funding
1784
1018
  # The last four digits of the card.
1785
1019
  attr_reader :last4
1786
-
1787
- def self.inner_class_types
1788
- @inner_class_types = {}
1789
- end
1790
-
1791
- def self.field_remappings
1792
- @field_remappings = {}
1793
- end
1794
1020
  end
1795
1021
  # Attribute for field card
1796
1022
  attr_reader :card
1797
1023
  # funding type of the underlying payment method.
1798
1024
  attr_reader :type
1799
-
1800
- def self.inner_class_types
1801
- @inner_class_types = { card: Card }
1802
- end
1803
-
1804
- def self.field_remappings
1805
- @field_remappings = {}
1806
- end
1807
1025
  end
1808
1026
  # Attribute for field funding
1809
1027
  attr_reader :funding
1810
1028
  # The Revolut Pay transaction ID associated with this payment.
1811
1029
  attr_reader :transaction_id
1812
-
1813
- def self.inner_class_types
1814
- @inner_class_types = { funding: Funding }
1815
- end
1816
-
1817
- def self.field_remappings
1818
- @field_remappings = {}
1819
- end
1820
1030
  end
1821
1031
 
1822
1032
  class SamsungPay < Stripe::StripeObject
@@ -1824,27 +1034,11 @@ module Stripe
1824
1034
  attr_reader :buyer_id
1825
1035
  # The Samsung Pay transaction ID associated with this payment.
1826
1036
  attr_reader :transaction_id
1827
-
1828
- def self.inner_class_types
1829
- @inner_class_types = {}
1830
- end
1831
-
1832
- def self.field_remappings
1833
- @field_remappings = {}
1834
- end
1835
1037
  end
1836
1038
 
1837
1039
  class Satispay < Stripe::StripeObject
1838
1040
  # The Satispay transaction ID associated with this payment.
1839
1041
  attr_reader :transaction_id
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
1042
  end
1849
1043
 
1850
1044
  class SepaCreditTransfer < Stripe::StripeObject
@@ -1854,14 +1048,6 @@ module Stripe
1854
1048
  attr_reader :bic
1855
1049
  # IBAN of the bank account to transfer funds to.
1856
1050
  attr_reader :iban
1857
-
1858
- def self.inner_class_types
1859
- @inner_class_types = {}
1860
- end
1861
-
1862
- def self.field_remappings
1863
- @field_remappings = {}
1864
- end
1865
1051
  end
1866
1052
 
1867
1053
  class SepaDebit < Stripe::StripeObject
@@ -1877,25 +1063,9 @@ module Stripe
1877
1063
  attr_reader :last4
1878
1064
  # Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate) property on the Charge. Use this mandate ID to [retrieve the Mandate](https://stripe.com/docs/api/mandates/retrieve).
1879
1065
  attr_reader :mandate
1880
-
1881
- def self.inner_class_types
1882
- @inner_class_types = {}
1883
- end
1884
-
1885
- def self.field_remappings
1886
- @field_remappings = {}
1887
- end
1888
1066
  end
1889
1067
 
1890
- class Shopeepay < Stripe::StripeObject
1891
- def self.inner_class_types
1892
- @inner_class_types = {}
1893
- end
1894
-
1895
- def self.field_remappings
1896
- @field_remappings = {}
1897
- end
1898
- end
1068
+ class Shopeepay < Stripe::StripeObject; end
1899
1069
 
1900
1070
  class Sofort < Stripe::StripeObject
1901
1071
  # Bank code of bank associated with the bank account.
@@ -1918,39 +1088,15 @@ module Stripe
1918
1088
  # Owner's verified full name. Values are verified or provided by SOFORT directly
1919
1089
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1920
1090
  attr_reader :verified_name
1921
-
1922
- def self.inner_class_types
1923
- @inner_class_types = {}
1924
- end
1925
-
1926
- def self.field_remappings
1927
- @field_remappings = {}
1928
- end
1929
1091
  end
1930
1092
 
1931
- class StripeAccount < Stripe::StripeObject
1932
- def self.inner_class_types
1933
- @inner_class_types = {}
1934
- end
1935
-
1936
- def self.field_remappings
1937
- @field_remappings = {}
1938
- end
1939
- end
1093
+ class StripeAccount < Stripe::StripeObject; end
1940
1094
 
1941
1095
  class StripeBalance < Stripe::StripeObject
1942
1096
  # The connected account ID whose Stripe balance to use as the source of payment
1943
1097
  attr_reader :account
1944
1098
  # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
1945
1099
  attr_reader :source_type
1946
-
1947
- def self.inner_class_types
1948
- @inner_class_types = {}
1949
- end
1950
-
1951
- def self.field_remappings
1952
- @field_remappings = {}
1953
- end
1954
1100
  end
1955
1101
 
1956
1102
  class Swish < Stripe::StripeObject
@@ -1960,25 +1106,9 @@ module Stripe
1960
1106
  attr_reader :payment_reference
1961
1107
  # The last four digits of the Swish account phone number
1962
1108
  attr_reader :verified_phone_last4
1963
-
1964
- def self.inner_class_types
1965
- @inner_class_types = {}
1966
- end
1967
-
1968
- def self.field_remappings
1969
- @field_remappings = {}
1970
- end
1971
1109
  end
1972
1110
 
1973
- class Twint < Stripe::StripeObject
1974
- def self.inner_class_types
1975
- @inner_class_types = {}
1976
- end
1977
-
1978
- def self.field_remappings
1979
- @field_remappings = {}
1980
- end
1981
- end
1111
+ class Twint < Stripe::StripeObject; end
1982
1112
 
1983
1113
  class UsBankAccount < Stripe::StripeObject
1984
1114
  # Account holder type: individual or company.
@@ -1997,25 +1127,9 @@ module Stripe
1997
1127
  attr_reader :payment_reference
1998
1128
  # Routing number of the bank account.
1999
1129
  attr_reader :routing_number
2000
-
2001
- def self.inner_class_types
2002
- @inner_class_types = {}
2003
- end
2004
-
2005
- def self.field_remappings
2006
- @field_remappings = {}
2007
- end
2008
1130
  end
2009
1131
 
2010
- class Wechat < Stripe::StripeObject
2011
- def self.inner_class_types
2012
- @inner_class_types = {}
2013
- end
2014
-
2015
- def self.field_remappings
2016
- @field_remappings = {}
2017
- end
2018
- end
1132
+ class Wechat < Stripe::StripeObject; end
2019
1133
 
2020
1134
  class WechatPay < Stripe::StripeObject
2021
1135
  # Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
@@ -2026,25 +1140,9 @@ module Stripe
2026
1140
  attr_reader :reader
2027
1141
  # Transaction ID of this particular WeChat Pay transaction.
2028
1142
  attr_reader :transaction_id
2029
-
2030
- def self.inner_class_types
2031
- @inner_class_types = {}
2032
- end
2033
-
2034
- def self.field_remappings
2035
- @field_remappings = {}
2036
- end
2037
1143
  end
2038
1144
 
2039
- class Zip < Stripe::StripeObject
2040
- def self.inner_class_types
2041
- @inner_class_types = {}
2042
- end
2043
-
2044
- def self.field_remappings
2045
- @field_remappings = {}
2046
- end
2047
- end
1145
+ class Zip < Stripe::StripeObject; end
2048
1146
  # Attribute for field ach_credit_transfer
2049
1147
  attr_reader :ach_credit_transfer
2050
1148
  # Attribute for field ach_debit
@@ -2175,78 +1273,6 @@ module Stripe
2175
1273
  attr_reader :wechat_pay
2176
1274
  # Attribute for field zip
2177
1275
  attr_reader :zip
2178
-
2179
- def self.inner_class_types
2180
- @inner_class_types = {
2181
- ach_credit_transfer: AchCreditTransfer,
2182
- ach_debit: AchDebit,
2183
- acss_debit: AcssDebit,
2184
- affirm: Affirm,
2185
- afterpay_clearpay: AfterpayClearpay,
2186
- alipay: Alipay,
2187
- alma: Alma,
2188
- amazon_pay: AmazonPay,
2189
- au_becs_debit: AuBecsDebit,
2190
- bacs_debit: BacsDebit,
2191
- bancontact: Bancontact,
2192
- billie: Billie,
2193
- blik: Blik,
2194
- boleto: Boleto,
2195
- card: Card,
2196
- card_present: CardPresent,
2197
- cashapp: Cashapp,
2198
- crypto: Crypto,
2199
- customer_balance: CustomerBalance,
2200
- eps: Eps,
2201
- fpx: Fpx,
2202
- giropay: Giropay,
2203
- gopay: Gopay,
2204
- grabpay: Grabpay,
2205
- id_bank_transfer: IdBankTransfer,
2206
- ideal: Ideal,
2207
- interac_present: InteracPresent,
2208
- kakao_pay: KakaoPay,
2209
- klarna: Klarna,
2210
- konbini: Konbini,
2211
- kr_card: KrCard,
2212
- link: Link,
2213
- mb_way: MbWay,
2214
- mobilepay: Mobilepay,
2215
- multibanco: Multibanco,
2216
- naver_pay: NaverPay,
2217
- nz_bank_account: NzBankAccount,
2218
- oxxo: Oxxo,
2219
- p24: P24,
2220
- pay_by_bank: PayByBank,
2221
- payco: Payco,
2222
- paynow: Paynow,
2223
- paypal: Paypal,
2224
- payto: Payto,
2225
- pix: Pix,
2226
- promptpay: Promptpay,
2227
- qris: Qris,
2228
- rechnung: Rechnung,
2229
- revolut_pay: RevolutPay,
2230
- samsung_pay: SamsungPay,
2231
- satispay: Satispay,
2232
- sepa_credit_transfer: SepaCreditTransfer,
2233
- sepa_debit: SepaDebit,
2234
- shopeepay: Shopeepay,
2235
- sofort: Sofort,
2236
- stripe_account: StripeAccount,
2237
- stripe_balance: StripeBalance,
2238
- swish: Swish,
2239
- twint: Twint,
2240
- us_bank_account: UsBankAccount,
2241
- wechat: Wechat,
2242
- wechat_pay: WechatPay,
2243
- zip: Zip,
2244
- }
2245
- end
2246
-
2247
- def self.field_remappings
2248
- @field_remappings = {}
2249
- end
2250
1276
  end
2251
1277
 
2252
1278
  class PresentmentDetails < Stripe::StripeObject
@@ -2254,27 +1280,11 @@ module Stripe
2254
1280
  attr_reader :presentment_amount
2255
1281
  # Currency presented to the customer during payment.
2256
1282
  attr_reader :presentment_currency
2257
-
2258
- def self.inner_class_types
2259
- @inner_class_types = {}
2260
- end
2261
-
2262
- def self.field_remappings
2263
- @field_remappings = {}
2264
- end
2265
1283
  end
2266
1284
 
2267
1285
  class RadarOptions < Stripe::StripeObject
2268
1286
  # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
2269
1287
  attr_reader :session
2270
-
2271
- def self.inner_class_types
2272
- @inner_class_types = {}
2273
- end
2274
-
2275
- def self.field_remappings
2276
- @field_remappings = {}
2277
- end
2278
1288
  end
2279
1289
 
2280
1290
  class Shipping < Stripe::StripeObject
@@ -2291,14 +1301,6 @@ module Stripe
2291
1301
  attr_reader :postal_code
2292
1302
  # State, county, province, or region.
2293
1303
  attr_reader :state
2294
-
2295
- def self.inner_class_types
2296
- @inner_class_types = {}
2297
- end
2298
-
2299
- def self.field_remappings
2300
- @field_remappings = {}
2301
- end
2302
1304
  end
2303
1305
  # Attribute for field address
2304
1306
  attr_reader :address
@@ -2310,14 +1312,6 @@ module Stripe
2310
1312
  attr_reader :phone
2311
1313
  # The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
2312
1314
  attr_reader :tracking_number
2313
-
2314
- def self.inner_class_types
2315
- @inner_class_types = { address: Address }
2316
- end
2317
-
2318
- def self.field_remappings
2319
- @field_remappings = {}
2320
- end
2321
1315
  end
2322
1316
 
2323
1317
  class TransferData < Stripe::StripeObject
@@ -2325,14 +1319,6 @@ module Stripe
2325
1319
  attr_reader :amount
2326
1320
  # ID of an existing, connected Stripe account to transfer funds to if `transfer_data` was specified in the charge request.
2327
1321
  attr_reader :destination
2328
-
2329
- def self.inner_class_types
2330
- @inner_class_types = {}
2331
- end
2332
-
2333
- def self.field_remappings
2334
- @field_remappings = {}
2335
- end
2336
1322
  end
2337
1323
 
2338
1324
  class ListParams < Stripe::RequestParams
@@ -4301,23 +3287,5 @@ module Stripe
4301
3287
  opts: opts
4302
3288
  )
4303
3289
  end
4304
-
4305
- def self.inner_class_types
4306
- @inner_class_types = {
4307
- billing_details: BillingDetails,
4308
- fraud_details: FraudDetails,
4309
- level3: Level3,
4310
- outcome: Outcome,
4311
- payment_method_details: PaymentMethodDetails,
4312
- presentment_details: PresentmentDetails,
4313
- radar_options: RadarOptions,
4314
- shipping: Shipping,
4315
- transfer_data: TransferData,
4316
- }
4317
- end
4318
-
4319
- def self.field_remappings
4320
- @field_remappings = {}
4321
- end
4322
3290
  end
4323
3291
  end