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
@@ -17,14 +17,6 @@ module Stripe
17
17
  attr_reader :currency
18
18
  # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
19
19
  attr_reader :value
20
-
21
- def self.inner_class_types
22
- @inner_class_types = {}
23
- end
24
-
25
- def self.field_remappings
26
- @field_remappings = {}
27
- end
28
20
  end
29
21
 
30
22
  class AmountAuthorized < Stripe::StripeObject
@@ -32,14 +24,6 @@ module Stripe
32
24
  attr_reader :currency
33
25
  # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
34
26
  attr_reader :value
35
-
36
- def self.inner_class_types
37
- @inner_class_types = {}
38
- end
39
-
40
- def self.field_remappings
41
- @field_remappings = {}
42
- end
43
27
  end
44
28
 
45
29
  class AmountCanceled < Stripe::StripeObject
@@ -47,14 +31,6 @@ module Stripe
47
31
  attr_reader :currency
48
32
  # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
49
33
  attr_reader :value
50
-
51
- def self.inner_class_types
52
- @inner_class_types = {}
53
- end
54
-
55
- def self.field_remappings
56
- @field_remappings = {}
57
- end
58
34
  end
59
35
 
60
36
  class AmountFailed < Stripe::StripeObject
@@ -62,14 +38,6 @@ module Stripe
62
38
  attr_reader :currency
63
39
  # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
64
40
  attr_reader :value
65
-
66
- def self.inner_class_types
67
- @inner_class_types = {}
68
- end
69
-
70
- def self.field_remappings
71
- @field_remappings = {}
72
- end
73
41
  end
74
42
 
75
43
  class AmountGuaranteed < Stripe::StripeObject
@@ -77,14 +45,6 @@ module Stripe
77
45
  attr_reader :currency
78
46
  # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
79
47
  attr_reader :value
80
-
81
- def self.inner_class_types
82
- @inner_class_types = {}
83
- end
84
-
85
- def self.field_remappings
86
- @field_remappings = {}
87
- end
88
48
  end
89
49
 
90
50
  class AmountRefunded < Stripe::StripeObject
@@ -92,14 +52,6 @@ module Stripe
92
52
  attr_reader :currency
93
53
  # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
94
54
  attr_reader :value
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
55
  end
104
56
 
105
57
  class AmountRequested < Stripe::StripeObject
@@ -107,14 +59,6 @@ module Stripe
107
59
  attr_reader :currency
108
60
  # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
109
61
  attr_reader :value
110
-
111
- def self.inner_class_types
112
- @inner_class_types = {}
113
- end
114
-
115
- def self.field_remappings
116
- @field_remappings = {}
117
- end
118
62
  end
119
63
 
120
64
  class CustomerDetails < Stripe::StripeObject
@@ -126,14 +70,6 @@ module Stripe
126
70
  attr_reader :name
127
71
  # The customer's phone number.
128
72
  attr_reader :phone
129
-
130
- def self.inner_class_types
131
- @inner_class_types = {}
132
- end
133
-
134
- def self.field_remappings
135
- @field_remappings = {}
136
- end
137
73
  end
138
74
 
139
75
  class PaymentMethodDetails < Stripe::StripeObject
@@ -146,14 +82,6 @@ module Stripe
146
82
  attr_reader :routing_number
147
83
  # SWIFT code of the bank associated with the routing number.
148
84
  attr_reader :swift_code
149
-
150
- def self.inner_class_types
151
- @inner_class_types = {}
152
- end
153
-
154
- def self.field_remappings
155
- @field_remappings = {}
156
- end
157
85
  end
158
86
 
159
87
  class AchDebit < Stripe::StripeObject
@@ -169,14 +97,6 @@ module Stripe
169
97
  attr_reader :last4
170
98
  # Routing transit number of the bank account.
171
99
  attr_reader :routing_number
172
-
173
- def self.inner_class_types
174
- @inner_class_types = {}
175
- end
176
-
177
- def self.field_remappings
178
- @field_remappings = {}
179
- end
180
100
  end
181
101
 
182
102
  class AcssDebit < Stripe::StripeObject
@@ -192,14 +112,6 @@ module Stripe
192
112
  attr_reader :mandate
193
113
  # Transit number of the bank account.
194
114
  attr_reader :transit_number
195
-
196
- def self.inner_class_types
197
- @inner_class_types = {}
198
- end
199
-
200
- def self.field_remappings
201
- @field_remappings = {}
202
- end
203
115
  end
204
116
 
205
117
  class Affirm < Stripe::StripeObject
@@ -209,14 +121,6 @@ module Stripe
209
121
  attr_reader :reader
210
122
  # The Affirm transaction ID associated with this payment.
211
123
  attr_reader :transaction_id
212
-
213
- def self.inner_class_types
214
- @inner_class_types = {}
215
- end
216
-
217
- def self.field_remappings
218
- @field_remappings = {}
219
- end
220
124
  end
221
125
 
222
126
  class AfterpayClearpay < Stripe::StripeObject
@@ -224,14 +128,6 @@ module Stripe
224
128
  attr_reader :order_id
225
129
  # Order identifier shown to the merchant in Afterpay’s online portal.
226
130
  attr_reader :reference
227
-
228
- def self.inner_class_types
229
- @inner_class_types = {}
230
- end
231
-
232
- def self.field_remappings
233
- @field_remappings = {}
234
- end
235
131
  end
236
132
 
237
133
  class Alipay < Stripe::StripeObject
@@ -241,41 +137,17 @@ module Stripe
241
137
  attr_reader :fingerprint
242
138
  # Transaction ID of this particular Alipay transaction.
243
139
  attr_reader :transaction_id
244
-
245
- def self.inner_class_types
246
- @inner_class_types = {}
247
- end
248
-
249
- def self.field_remappings
250
- @field_remappings = {}
251
- end
252
140
  end
253
141
 
254
142
  class Alma < Stripe::StripeObject
255
143
  class Installments < Stripe::StripeObject
256
144
  # The number of installments.
257
145
  attr_reader :count
258
-
259
- def self.inner_class_types
260
- @inner_class_types = {}
261
- end
262
-
263
- def self.field_remappings
264
- @field_remappings = {}
265
- end
266
146
  end
267
147
  # Attribute for field installments
268
148
  attr_reader :installments
269
149
  # The Alma transaction ID associated with this payment.
270
150
  attr_reader :transaction_id
271
-
272
- def self.inner_class_types
273
- @inner_class_types = { installments: Installments }
274
- end
275
-
276
- def self.field_remappings
277
- @field_remappings = {}
278
- end
279
151
  end
280
152
 
281
153
  class AmazonPay < Stripe::StripeObject
@@ -295,40 +167,16 @@ module Stripe
295
167
  attr_reader :funding
296
168
  # The last four digits of the card.
297
169
  attr_reader :last4
298
-
299
- def self.inner_class_types
300
- @inner_class_types = {}
301
- end
302
-
303
- def self.field_remappings
304
- @field_remappings = {}
305
- end
306
170
  end
307
171
  # Attribute for field card
308
172
  attr_reader :card
309
173
  # funding type of the underlying payment method.
310
174
  attr_reader :type
311
-
312
- def self.inner_class_types
313
- @inner_class_types = { card: Card }
314
- end
315
-
316
- def self.field_remappings
317
- @field_remappings = {}
318
- end
319
175
  end
320
176
  # Attribute for field funding
321
177
  attr_reader :funding
322
178
  # The Amazon Pay transaction ID associated with this payment.
323
179
  attr_reader :transaction_id
324
-
325
- def self.inner_class_types
326
- @inner_class_types = { funding: Funding }
327
- end
328
-
329
- def self.field_remappings
330
- @field_remappings = {}
331
- end
332
180
  end
333
181
 
334
182
  class AuBecsDebit < Stripe::StripeObject
@@ -340,14 +188,6 @@ module Stripe
340
188
  attr_reader :last4
341
189
  # ID of the mandate used to make this payment.
342
190
  attr_reader :mandate
343
-
344
- def self.inner_class_types
345
- @inner_class_types = {}
346
- end
347
-
348
- def self.field_remappings
349
- @field_remappings = {}
350
- end
351
191
  end
352
192
 
353
193
  class BacsDebit < Stripe::StripeObject
@@ -359,14 +199,6 @@ module Stripe
359
199
  attr_reader :mandate
360
200
  # Sort code of the bank account. (e.g., `10-20-30`)
361
201
  attr_reader :sort_code
362
-
363
- def self.inner_class_types
364
- @inner_class_types = {}
365
- end
366
-
367
- def self.field_remappings
368
- @field_remappings = {}
369
- end
370
202
  end
371
203
 
372
204
  class Bancontact < Stripe::StripeObject
@@ -388,27 +220,11 @@ module Stripe
388
220
  # Owner's verified full name. Values are verified or provided by Bancontact directly
389
221
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
390
222
  attr_reader :verified_name
391
-
392
- def self.inner_class_types
393
- @inner_class_types = {}
394
- end
395
-
396
- def self.field_remappings
397
- @field_remappings = {}
398
- end
399
223
  end
400
224
 
401
225
  class Billie < Stripe::StripeObject
402
226
  # The Billie transaction ID associated with this payment.
403
227
  attr_reader :transaction_id
404
-
405
- def self.inner_class_types
406
- @inner_class_types = {}
407
- end
408
-
409
- def self.field_remappings
410
- @field_remappings = {}
411
- end
412
228
  end
413
229
 
414
230
  class BillingDetails < Stripe::StripeObject
@@ -425,14 +241,6 @@ module Stripe
425
241
  attr_reader :postal_code
426
242
  # State, county, province, or region.
427
243
  attr_reader :state
428
-
429
- def self.inner_class_types
430
- @inner_class_types = {}
431
- end
432
-
433
- def self.field_remappings
434
- @field_remappings = {}
435
- end
436
244
  end
437
245
  # A representation of a physical address.
438
246
  attr_reader :address
@@ -442,40 +250,16 @@ module Stripe
442
250
  attr_reader :name
443
251
  # The billing phone number associated with the method of payment.
444
252
  attr_reader :phone
445
-
446
- def self.inner_class_types
447
- @inner_class_types = { address: Address }
448
- end
449
-
450
- def self.field_remappings
451
- @field_remappings = {}
452
- end
453
253
  end
454
254
 
455
255
  class Blik < Stripe::StripeObject
456
256
  # A unique and immutable identifier assigned by BLIK to every buyer.
457
257
  attr_reader :buyer_id
458
-
459
- def self.inner_class_types
460
- @inner_class_types = {}
461
- end
462
-
463
- def self.field_remappings
464
- @field_remappings = {}
465
- end
466
258
  end
467
259
 
468
260
  class Boleto < Stripe::StripeObject
469
261
  # The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers)
470
262
  attr_reader :tax_id
471
-
472
- def self.inner_class_types
473
- @inner_class_types = {}
474
- end
475
-
476
- def self.field_remappings
477
- @field_remappings = {}
478
- end
479
263
  end
480
264
 
481
265
  class Card < Stripe::StripeObject
@@ -486,27 +270,11 @@ module Stripe
486
270
  attr_reader :address_postal_code_check
487
271
  # Attribute for field cvc_check
488
272
  attr_reader :cvc_check
489
-
490
- def self.inner_class_types
491
- @inner_class_types = {}
492
- end
493
-
494
- def self.field_remappings
495
- @field_remappings = {}
496
- end
497
273
  end
498
274
 
499
275
  class NetworkToken < Stripe::StripeObject
500
276
  # Attribute for field used
501
277
  attr_reader :used
502
-
503
- def self.inner_class_types
504
- @inner_class_types = {}
505
- end
506
-
507
- def self.field_remappings
508
- @field_remappings = {}
509
- end
510
278
  end
511
279
 
512
280
  class ThreeDSecure < Stripe::StripeObject
@@ -518,14 +286,6 @@ module Stripe
518
286
  attr_reader :result_reason
519
287
  # Attribute for field version
520
288
  attr_reader :version
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
289
  end
530
290
  # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
531
291
  attr_reader :brand
@@ -557,18 +317,6 @@ module Stripe
557
317
  attr_reader :network_transaction_id
558
318
  # Populated if this transaction used 3D Secure authentication.
559
319
  attr_reader :three_d_secure
560
-
561
- def self.inner_class_types
562
- @inner_class_types = {
563
- checks: Checks,
564
- network_token: NetworkToken,
565
- three_d_secure: ThreeDSecure,
566
- }
567
- end
568
-
569
- def self.field_remappings
570
- @field_remappings = {}
571
- end
572
320
  end
573
321
 
574
322
  class CardPresent < Stripe::StripeObject
@@ -577,14 +325,6 @@ module Stripe
577
325
  attr_reader :stored_at
578
326
  # The method used to process this payment method offline. Only deferred is allowed.
579
327
  attr_reader :type
580
-
581
- def self.inner_class_types
582
- @inner_class_types = {}
583
- end
584
-
585
- def self.field_remappings
586
- @field_remappings = {}
587
- end
588
328
  end
589
329
 
590
330
  class Receipt < Stripe::StripeObject
@@ -606,27 +346,11 @@ module Stripe
606
346
  attr_reader :terminal_verification_results
607
347
  # An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
608
348
  attr_reader :transaction_status_information
609
-
610
- def self.inner_class_types
611
- @inner_class_types = {}
612
- end
613
-
614
- def self.field_remappings
615
- @field_remappings = {}
616
- end
617
349
  end
618
350
 
619
351
  class Wallet < Stripe::StripeObject
620
352
  # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
621
353
  attr_reader :type
622
-
623
- def self.inner_class_types
624
- @inner_class_types = {}
625
- end
626
-
627
- def self.field_remappings
628
- @field_remappings = {}
629
- end
630
354
  end
631
355
  # The authorized amount
632
356
  attr_reader :amount_authorized
@@ -680,14 +404,6 @@ module Stripe
680
404
  attr_reader :receipt
681
405
  # Attribute for field wallet
682
406
  attr_reader :wallet
683
-
684
- def self.inner_class_types
685
- @inner_class_types = { offline: Offline, receipt: Receipt, wallet: Wallet }
686
- end
687
-
688
- def self.field_remappings
689
- @field_remappings = {}
690
- end
691
407
  end
692
408
 
693
409
  class Cashapp < Stripe::StripeObject
@@ -697,14 +413,6 @@ module Stripe
697
413
  attr_reader :cashtag
698
414
  # A unique and immutable identifier of payments assigned by Cash App
699
415
  attr_reader :transaction_id
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
416
  end
709
417
 
710
418
  class Crypto < Stripe::StripeObject
@@ -716,14 +424,6 @@ module Stripe
716
424
  attr_reader :token_currency
717
425
  # The blockchain transaction hash of the crypto payment.
718
426
  attr_reader :transaction_hash
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
427
  end
728
428
 
729
429
  class Custom < Stripe::StripeObject
@@ -731,25 +431,9 @@ module Stripe
731
431
  attr_reader :display_name
732
432
  # The custom payment method type associated with this payment.
733
433
  attr_reader :type
734
-
735
- def self.inner_class_types
736
- @inner_class_types = {}
737
- end
738
-
739
- def self.field_remappings
740
- @field_remappings = {}
741
- end
742
434
  end
743
435
 
744
- class CustomerBalance < Stripe::StripeObject
745
- def self.inner_class_types
746
- @inner_class_types = {}
747
- end
748
-
749
- def self.field_remappings
750
- @field_remappings = {}
751
- end
752
- end
436
+ class CustomerBalance < Stripe::StripeObject; end
753
437
 
754
438
  class Eps < Stripe::StripeObject
755
439
  # 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`.
@@ -758,14 +442,6 @@ module Stripe
758
442
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
759
443
  # EPS rarely provides this information so the attribute is usually empty.
760
444
  attr_reader :verified_name
761
-
762
- def self.inner_class_types
763
- @inner_class_types = {}
764
- end
765
-
766
- def self.field_remappings
767
- @field_remappings = {}
768
- end
769
445
  end
770
446
 
771
447
  class Fpx < Stripe::StripeObject
@@ -775,14 +451,6 @@ module Stripe
775
451
  attr_reader :bank
776
452
  # Unique transaction id generated by FPX for every request from the merchant
777
453
  attr_reader :transaction_id
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
454
  end
787
455
 
788
456
  class Giropay < Stripe::StripeObject
@@ -796,37 +464,13 @@ module Stripe
796
464
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
797
465
  # Giropay rarely provides this information so the attribute is usually empty.
798
466
  attr_reader :verified_name
799
-
800
- def self.inner_class_types
801
- @inner_class_types = {}
802
- end
803
-
804
- def self.field_remappings
805
- @field_remappings = {}
806
- end
807
467
  end
808
468
 
809
- class Gopay < Stripe::StripeObject
810
- def self.inner_class_types
811
- @inner_class_types = {}
812
- end
813
-
814
- def self.field_remappings
815
- @field_remappings = {}
816
- end
817
- end
469
+ class Gopay < Stripe::StripeObject; end
818
470
 
819
471
  class Grabpay < Stripe::StripeObject
820
472
  # Unique transaction id generated by GrabPay
821
473
  attr_reader :transaction_id
822
-
823
- def self.inner_class_types
824
- @inner_class_types = {}
825
- end
826
-
827
- def self.field_remappings
828
- @field_remappings = {}
829
- end
830
474
  end
831
475
 
832
476
  class IdBankTransfer < Stripe::StripeObject
@@ -840,14 +484,6 @@ module Stripe
840
484
  attr_reader :bank_name
841
485
  # Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
842
486
  attr_reader :display_name
843
-
844
- def self.inner_class_types
845
- @inner_class_types = {}
846
- end
847
-
848
- def self.field_remappings
849
- @field_remappings = {}
850
- end
851
487
  end
852
488
 
853
489
  class Ideal < Stripe::StripeObject
@@ -864,14 +500,6 @@ module Stripe
864
500
  # Owner's verified full name. Values are verified or provided by iDEAL directly
865
501
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
866
502
  attr_reader :verified_name
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
503
  end
876
504
 
877
505
  class InteracPresent < Stripe::StripeObject
@@ -894,14 +522,6 @@ module Stripe
894
522
  attr_reader :terminal_verification_results
895
523
  # An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
896
524
  attr_reader :transaction_status_information
897
-
898
- def self.inner_class_types
899
- @inner_class_types = {}
900
- end
901
-
902
- def self.field_remappings
903
- @field_remappings = {}
904
- end
905
525
  end
906
526
  # Card brand. Can be `interac`, `mastercard` or `visa`.
907
527
  attr_reader :brand
@@ -941,14 +561,6 @@ module Stripe
941
561
  attr_reader :read_method
942
562
  # A collection of fields required to be displayed on receipts. Only required for EMV transactions.
943
563
  attr_reader :receipt
944
-
945
- def self.inner_class_types
946
- @inner_class_types = { receipt: Receipt }
947
- end
948
-
949
- def self.field_remappings
950
- @field_remappings = {}
951
- end
952
564
  end
953
565
 
954
566
  class KakaoPay < Stripe::StripeObject
@@ -956,14 +568,6 @@ module Stripe
956
568
  attr_reader :buyer_id
957
569
  # The Kakao Pay transaction ID associated with this payment.
958
570
  attr_reader :transaction_id
959
-
960
- def self.inner_class_types
961
- @inner_class_types = {}
962
- end
963
-
964
- def self.field_remappings
965
- @field_remappings = {}
966
- end
967
571
  end
968
572
 
969
573
  class Klarna < Stripe::StripeObject
@@ -971,25 +575,9 @@ module Stripe
971
575
  class Address < Stripe::StripeObject
972
576
  # The payer address country
973
577
  attr_reader :country
974
-
975
- def self.inner_class_types
976
- @inner_class_types = {}
977
- end
978
-
979
- def self.field_remappings
980
- @field_remappings = {}
981
- end
982
578
  end
983
579
  # The payer's address
984
580
  attr_reader :address
985
-
986
- def self.inner_class_types
987
- @inner_class_types = { address: Address }
988
- end
989
-
990
- def self.field_remappings
991
- @field_remappings = {}
992
- end
993
581
  end
994
582
  # The payer details for this transaction.
995
583
  attr_reader :payer_details
@@ -999,39 +587,15 @@ module Stripe
999
587
  # Preferred language of the Klarna authorization page that the customer is redirected to.
1000
588
  # 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`
1001
589
  attr_reader :preferred_locale
1002
-
1003
- def self.inner_class_types
1004
- @inner_class_types = { payer_details: PayerDetails }
1005
- end
1006
-
1007
- def self.field_remappings
1008
- @field_remappings = {}
1009
- end
1010
590
  end
1011
591
 
1012
592
  class Konbini < Stripe::StripeObject
1013
593
  class Store < Stripe::StripeObject
1014
594
  # The name of the convenience store chain where the payment was completed.
1015
595
  attr_reader :chain
1016
-
1017
- def self.inner_class_types
1018
- @inner_class_types = {}
1019
- end
1020
-
1021
- def self.field_remappings
1022
- @field_remappings = {}
1023
- end
1024
596
  end
1025
597
  # If the payment succeeded, this contains the details of the convenience store where the payment was completed.
1026
598
  attr_reader :store
1027
-
1028
- def self.inner_class_types
1029
- @inner_class_types = { store: Store }
1030
- end
1031
-
1032
- def self.field_remappings
1033
- @field_remappings = {}
1034
- end
1035
599
  end
1036
600
 
1037
601
  class KrCard < Stripe::StripeObject
@@ -1043,39 +607,15 @@ module Stripe
1043
607
  attr_reader :last4
1044
608
  # The Korean Card transaction ID associated with this payment.
1045
609
  attr_reader :transaction_id
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
610
  end
1055
611
 
1056
612
  class Link < Stripe::StripeObject
1057
613
  # Two-letter ISO code representing the funding source country beneath the Link payment.
1058
614
  # You could use this attribute to get a sense of international fees.
1059
615
  attr_reader :country
1060
-
1061
- def self.inner_class_types
1062
- @inner_class_types = {}
1063
- end
1064
-
1065
- def self.field_remappings
1066
- @field_remappings = {}
1067
- end
1068
616
  end
1069
617
 
1070
- class MbWay < Stripe::StripeObject
1071
- def self.inner_class_types
1072
- @inner_class_types = {}
1073
- end
1074
-
1075
- def self.field_remappings
1076
- @field_remappings = {}
1077
- end
1078
- end
618
+ class MbWay < Stripe::StripeObject; end
1079
619
 
1080
620
  class Mobilepay < Stripe::StripeObject
1081
621
  class Card < Stripe::StripeObject
@@ -1089,25 +629,9 @@ module Stripe
1089
629
  attr_reader :exp_year
1090
630
  # The last 4 digits of the card
1091
631
  attr_reader :last4
1092
-
1093
- def self.inner_class_types
1094
- @inner_class_types = {}
1095
- end
1096
-
1097
- def self.field_remappings
1098
- @field_remappings = {}
1099
- end
1100
632
  end
1101
633
  # Internal card details
1102
634
  attr_reader :card
1103
-
1104
- def self.inner_class_types
1105
- @inner_class_types = { card: Card }
1106
- end
1107
-
1108
- def self.field_remappings
1109
- @field_remappings = {}
1110
- end
1111
635
  end
1112
636
 
1113
637
  class Multibanco < Stripe::StripeObject
@@ -1115,14 +639,6 @@ module Stripe
1115
639
  attr_reader :entity
1116
640
  # Reference number associated with this Multibanco payment.
1117
641
  attr_reader :reference
1118
-
1119
- def self.inner_class_types
1120
- @inner_class_types = {}
1121
- end
1122
-
1123
- def self.field_remappings
1124
- @field_remappings = {}
1125
- end
1126
642
  end
1127
643
 
1128
644
  class NaverPay < Stripe::StripeObject
@@ -1130,14 +646,6 @@ module Stripe
1130
646
  attr_reader :buyer_id
1131
647
  # The Naver Pay transaction ID associated with this payment.
1132
648
  attr_reader :transaction_id
1133
-
1134
- def self.inner_class_types
1135
- @inner_class_types = {}
1136
- end
1137
-
1138
- def self.field_remappings
1139
- @field_remappings = {}
1140
- end
1141
649
  end
1142
650
 
1143
651
  class NzBankAccount < Stripe::StripeObject
@@ -1153,27 +661,11 @@ module Stripe
1153
661
  attr_reader :last4
1154
662
  # The suffix of the bank account number.
1155
663
  attr_reader :suffix
1156
-
1157
- def self.inner_class_types
1158
- @inner_class_types = {}
1159
- end
1160
-
1161
- def self.field_remappings
1162
- @field_remappings = {}
1163
- end
1164
664
  end
1165
665
 
1166
666
  class Oxxo < Stripe::StripeObject
1167
667
  # OXXO reference number
1168
668
  attr_reader :number
1169
-
1170
- def self.inner_class_types
1171
- @inner_class_types = {}
1172
- end
1173
-
1174
- def self.field_remappings
1175
- @field_remappings = {}
1176
- end
1177
669
  end
1178
670
 
1179
671
  class P24 < Stripe::StripeObject
@@ -1185,52 +677,24 @@ module Stripe
1185
677
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1186
678
  # Przelewy24 rarely provides this information so the attribute is usually empty.
1187
679
  attr_reader :verified_name
1188
-
1189
- def self.inner_class_types
1190
- @inner_class_types = {}
1191
- end
1192
-
1193
- def self.field_remappings
1194
- @field_remappings = {}
1195
- end
1196
680
  end
1197
681
 
1198
- class PayByBank < Stripe::StripeObject
1199
- def self.inner_class_types
1200
- @inner_class_types = {}
1201
- end
1202
-
1203
- def self.field_remappings
1204
- @field_remappings = {}
1205
- end
1206
- end
682
+ class PayByBank < Stripe::StripeObject; end
1207
683
 
1208
684
  class Payco < Stripe::StripeObject
1209
685
  # A unique identifier for the buyer as determined by the local payment processor.
1210
686
  attr_reader :buyer_id
1211
687
  # The Payco transaction ID associated with this payment.
1212
688
  attr_reader :transaction_id
1213
-
1214
- def self.inner_class_types
1215
- @inner_class_types = {}
1216
- end
1217
-
1218
- def self.field_remappings
1219
- @field_remappings = {}
1220
- end
1221
689
  end
1222
690
 
1223
691
  class Paynow < Stripe::StripeObject
692
+ # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
693
+ attr_reader :location
694
+ # ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
695
+ attr_reader :reader
1224
696
  # Reference number associated with this PayNow payment
1225
697
  attr_reader :reference
1226
-
1227
- def self.inner_class_types
1228
- @inner_class_types = {}
1229
- end
1230
-
1231
- def self.field_remappings
1232
- @field_remappings = {}
1233
- end
1234
698
  end
1235
699
 
1236
700
  class Paypal < Stripe::StripeObject
@@ -1239,14 +703,6 @@ module Stripe
1239
703
  attr_reader :dispute_categories
1240
704
  # Indicates whether the transaction is eligible for PayPal's seller protection.
1241
705
  attr_reader :status
1242
-
1243
- def self.inner_class_types
1244
- @inner_class_types = {}
1245
- end
1246
-
1247
- def self.field_remappings
1248
- @field_remappings = {}
1249
- end
1250
706
  end
1251
707
 
1252
708
  class Shipping < Stripe::StripeObject
@@ -1262,14 +718,6 @@ module Stripe
1262
718
  attr_reader :postal_code
1263
719
  # State, county, province, or region.
1264
720
  attr_reader :state
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
721
  end
1274
722
 
1275
723
  class VerifiedAddress < Stripe::StripeObject
@@ -1285,14 +733,6 @@ module Stripe
1285
733
  attr_reader :postal_code
1286
734
  # State, county, province, or region.
1287
735
  attr_reader :state
1288
-
1289
- def self.inner_class_types
1290
- @inner_class_types = {}
1291
- end
1292
-
1293
- def self.field_remappings
1294
- @field_remappings = {}
1295
- end
1296
736
  end
1297
737
  # 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.
1298
738
  attr_reader :country
@@ -1322,18 +762,6 @@ module Stripe
1322
762
  # Owner's verified full name. Values are verified or provided by PayPal directly
1323
763
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1324
764
  attr_reader :verified_name
1325
-
1326
- def self.inner_class_types
1327
- @inner_class_types = {
1328
- seller_protection: SellerProtection,
1329
- shipping: Shipping,
1330
- verified_address: VerifiedAddress,
1331
- }
1332
- end
1333
-
1334
- def self.field_remappings
1335
- @field_remappings = {}
1336
- end
1337
765
  end
1338
766
 
1339
767
  class Payto < Stripe::StripeObject
@@ -1345,14 +773,6 @@ module Stripe
1345
773
  attr_reader :mandate
1346
774
  # The PayID alias for the bank account.
1347
775
  attr_reader :pay_id
1348
-
1349
- def self.inner_class_types
1350
- @inner_class_types = {}
1351
- end
1352
-
1353
- def self.field_remappings
1354
- @field_remappings = {}
1355
- end
1356
776
  end
1357
777
 
1358
778
  class Pix < Stripe::StripeObject
@@ -1360,48 +780,15 @@ module Stripe
1360
780
  attr_reader :bank_transaction_id
1361
781
  # ID of the multi use Mandate generated by the PaymentIntent
1362
782
  attr_reader :mandate
1363
-
1364
- def self.inner_class_types
1365
- @inner_class_types = {}
1366
- end
1367
-
1368
- def self.field_remappings
1369
- @field_remappings = {}
1370
- end
1371
783
  end
1372
784
 
1373
785
  class Promptpay < Stripe::StripeObject
1374
786
  # Bill reference generated by PromptPay
1375
787
  attr_reader :reference
1376
-
1377
- def self.inner_class_types
1378
- @inner_class_types = {}
1379
- end
1380
-
1381
- def self.field_remappings
1382
- @field_remappings = {}
1383
- end
1384
788
  end
1385
789
 
1386
- class Qris < Stripe::StripeObject
1387
- def self.inner_class_types
1388
- @inner_class_types = {}
1389
- end
1390
-
1391
- def self.field_remappings
1392
- @field_remappings = {}
1393
- end
1394
- end
1395
-
1396
- class Rechnung < Stripe::StripeObject
1397
- def self.inner_class_types
1398
- @inner_class_types = {}
1399
- end
1400
-
1401
- def self.field_remappings
1402
- @field_remappings = {}
1403
- end
1404
- end
790
+ class Qris < Stripe::StripeObject; end
791
+ class Rechnung < Stripe::StripeObject; end
1405
792
 
1406
793
  class RevolutPay < Stripe::StripeObject
1407
794
  class Funding < Stripe::StripeObject
@@ -1420,40 +807,16 @@ module Stripe
1420
807
  attr_reader :funding
1421
808
  # The last four digits of the card.
1422
809
  attr_reader :last4
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
810
  end
1432
811
  # Attribute for field card
1433
812
  attr_reader :card
1434
813
  # funding type of the underlying payment method.
1435
814
  attr_reader :type
1436
-
1437
- def self.inner_class_types
1438
- @inner_class_types = { card: Card }
1439
- end
1440
-
1441
- def self.field_remappings
1442
- @field_remappings = {}
1443
- end
1444
815
  end
1445
816
  # Attribute for field funding
1446
817
  attr_reader :funding
1447
818
  # The Revolut Pay transaction ID associated with this payment.
1448
819
  attr_reader :transaction_id
1449
-
1450
- def self.inner_class_types
1451
- @inner_class_types = { funding: Funding }
1452
- end
1453
-
1454
- def self.field_remappings
1455
- @field_remappings = {}
1456
- end
1457
820
  end
1458
821
 
1459
822
  class SamsungPay < Stripe::StripeObject
@@ -1461,27 +824,11 @@ module Stripe
1461
824
  attr_reader :buyer_id
1462
825
  # The Samsung Pay transaction ID associated with this payment.
1463
826
  attr_reader :transaction_id
1464
-
1465
- def self.inner_class_types
1466
- @inner_class_types = {}
1467
- end
1468
-
1469
- def self.field_remappings
1470
- @field_remappings = {}
1471
- end
1472
827
  end
1473
828
 
1474
829
  class Satispay < Stripe::StripeObject
1475
830
  # The Satispay transaction ID associated with this payment.
1476
831
  attr_reader :transaction_id
1477
-
1478
- def self.inner_class_types
1479
- @inner_class_types = {}
1480
- end
1481
-
1482
- def self.field_remappings
1483
- @field_remappings = {}
1484
- end
1485
832
  end
1486
833
 
1487
834
  class SepaCreditTransfer < Stripe::StripeObject
@@ -1491,14 +838,6 @@ module Stripe
1491
838
  attr_reader :bic
1492
839
  # IBAN of the bank account to transfer funds to.
1493
840
  attr_reader :iban
1494
-
1495
- def self.inner_class_types
1496
- @inner_class_types = {}
1497
- end
1498
-
1499
- def self.field_remappings
1500
- @field_remappings = {}
1501
- end
1502
841
  end
1503
842
 
1504
843
  class SepaDebit < Stripe::StripeObject
@@ -1514,25 +853,9 @@ module Stripe
1514
853
  attr_reader :last4
1515
854
  # 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).
1516
855
  attr_reader :mandate
1517
-
1518
- def self.inner_class_types
1519
- @inner_class_types = {}
1520
- end
1521
-
1522
- def self.field_remappings
1523
- @field_remappings = {}
1524
- end
1525
856
  end
1526
857
 
1527
- class Shopeepay < Stripe::StripeObject
1528
- def self.inner_class_types
1529
- @inner_class_types = {}
1530
- end
1531
-
1532
- def self.field_remappings
1533
- @field_remappings = {}
1534
- end
1535
- end
858
+ class Shopeepay < Stripe::StripeObject; end
1536
859
 
1537
860
  class Sofort < Stripe::StripeObject
1538
861
  # Bank code of bank associated with the bank account.
@@ -1555,39 +878,15 @@ module Stripe
1555
878
  # Owner's verified full name. Values are verified or provided by SOFORT directly
1556
879
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1557
880
  attr_reader :verified_name
1558
-
1559
- def self.inner_class_types
1560
- @inner_class_types = {}
1561
- end
1562
-
1563
- def self.field_remappings
1564
- @field_remappings = {}
1565
- end
1566
881
  end
1567
882
 
1568
- class StripeAccount < Stripe::StripeObject
1569
- def self.inner_class_types
1570
- @inner_class_types = {}
1571
- end
1572
-
1573
- def self.field_remappings
1574
- @field_remappings = {}
1575
- end
1576
- end
883
+ class StripeAccount < Stripe::StripeObject; end
1577
884
 
1578
885
  class StripeBalance < Stripe::StripeObject
1579
886
  # The connected account ID whose Stripe balance to use as the source of payment
1580
887
  attr_reader :account
1581
888
  # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
1582
889
  attr_reader :source_type
1583
-
1584
- def self.inner_class_types
1585
- @inner_class_types = {}
1586
- end
1587
-
1588
- def self.field_remappings
1589
- @field_remappings = {}
1590
- end
1591
890
  end
1592
891
 
1593
892
  class Swish < Stripe::StripeObject
@@ -1597,25 +896,9 @@ module Stripe
1597
896
  attr_reader :payment_reference
1598
897
  # The last four digits of the Swish account phone number
1599
898
  attr_reader :verified_phone_last4
1600
-
1601
- def self.inner_class_types
1602
- @inner_class_types = {}
1603
- end
1604
-
1605
- def self.field_remappings
1606
- @field_remappings = {}
1607
- end
1608
899
  end
1609
900
 
1610
- class Twint < Stripe::StripeObject
1611
- def self.inner_class_types
1612
- @inner_class_types = {}
1613
- end
1614
-
1615
- def self.field_remappings
1616
- @field_remappings = {}
1617
- end
1618
- end
901
+ class Twint < Stripe::StripeObject; end
1619
902
 
1620
903
  class UsBankAccount < Stripe::StripeObject
1621
904
  # Attribute for field account_holder_type
@@ -1634,25 +917,9 @@ module Stripe
1634
917
  attr_reader :payment_reference
1635
918
  # Routing number of the bank account.
1636
919
  attr_reader :routing_number
1637
-
1638
- def self.inner_class_types
1639
- @inner_class_types = {}
1640
- end
1641
-
1642
- def self.field_remappings
1643
- @field_remappings = {}
1644
- end
1645
920
  end
1646
921
 
1647
- class Wechat < Stripe::StripeObject
1648
- def self.inner_class_types
1649
- @inner_class_types = {}
1650
- end
1651
-
1652
- def self.field_remappings
1653
- @field_remappings = {}
1654
- end
1655
- end
922
+ class Wechat < Stripe::StripeObject; end
1656
923
 
1657
924
  class WechatPay < Stripe::StripeObject
1658
925
  # Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
@@ -1663,25 +930,9 @@ module Stripe
1663
930
  attr_reader :reader
1664
931
  # Transaction ID of this particular WeChat Pay transaction.
1665
932
  attr_reader :transaction_id
1666
-
1667
- def self.inner_class_types
1668
- @inner_class_types = {}
1669
- end
1670
-
1671
- def self.field_remappings
1672
- @field_remappings = {}
1673
- end
1674
933
  end
1675
934
 
1676
- class Zip < Stripe::StripeObject
1677
- def self.inner_class_types
1678
- @inner_class_types = {}
1679
- end
1680
-
1681
- def self.field_remappings
1682
- @field_remappings = {}
1683
- end
1684
- end
935
+ class Zip < Stripe::StripeObject; end
1685
936
  # Attribute for field ach_credit_transfer
1686
937
  attr_reader :ach_credit_transfer
1687
938
  # Attribute for field ach_debit
@@ -1820,94 +1071,12 @@ module Stripe
1820
1071
  attr_reader :wechat_pay
1821
1072
  # Attribute for field zip
1822
1073
  attr_reader :zip
1823
-
1824
- def self.inner_class_types
1825
- @inner_class_types = {
1826
- ach_credit_transfer: AchCreditTransfer,
1827
- ach_debit: AchDebit,
1828
- acss_debit: AcssDebit,
1829
- affirm: Affirm,
1830
- afterpay_clearpay: AfterpayClearpay,
1831
- alipay: Alipay,
1832
- alma: Alma,
1833
- amazon_pay: AmazonPay,
1834
- au_becs_debit: AuBecsDebit,
1835
- bacs_debit: BacsDebit,
1836
- bancontact: Bancontact,
1837
- billie: Billie,
1838
- billing_details: BillingDetails,
1839
- blik: Blik,
1840
- boleto: Boleto,
1841
- card: Card,
1842
- card_present: CardPresent,
1843
- cashapp: Cashapp,
1844
- crypto: Crypto,
1845
- custom: Custom,
1846
- customer_balance: CustomerBalance,
1847
- eps: Eps,
1848
- fpx: Fpx,
1849
- giropay: Giropay,
1850
- gopay: Gopay,
1851
- grabpay: Grabpay,
1852
- id_bank_transfer: IdBankTransfer,
1853
- ideal: Ideal,
1854
- interac_present: InteracPresent,
1855
- kakao_pay: KakaoPay,
1856
- klarna: Klarna,
1857
- konbini: Konbini,
1858
- kr_card: KrCard,
1859
- link: Link,
1860
- mb_way: MbWay,
1861
- mobilepay: Mobilepay,
1862
- multibanco: Multibanco,
1863
- naver_pay: NaverPay,
1864
- nz_bank_account: NzBankAccount,
1865
- oxxo: Oxxo,
1866
- p24: P24,
1867
- pay_by_bank: PayByBank,
1868
- payco: Payco,
1869
- paynow: Paynow,
1870
- paypal: Paypal,
1871
- payto: Payto,
1872
- pix: Pix,
1873
- promptpay: Promptpay,
1874
- qris: Qris,
1875
- rechnung: Rechnung,
1876
- revolut_pay: RevolutPay,
1877
- samsung_pay: SamsungPay,
1878
- satispay: Satispay,
1879
- sepa_credit_transfer: SepaCreditTransfer,
1880
- sepa_debit: SepaDebit,
1881
- shopeepay: Shopeepay,
1882
- sofort: Sofort,
1883
- stripe_account: StripeAccount,
1884
- stripe_balance: StripeBalance,
1885
- swish: Swish,
1886
- twint: Twint,
1887
- us_bank_account: UsBankAccount,
1888
- wechat: Wechat,
1889
- wechat_pay: WechatPay,
1890
- zip: Zip,
1891
- }
1892
- end
1893
-
1894
- def self.field_remappings
1895
- @field_remappings = {}
1896
- end
1897
1074
  end
1898
1075
 
1899
1076
  class ProcessorDetails < Stripe::StripeObject
1900
1077
  class Custom < Stripe::StripeObject
1901
1078
  # An opaque string for manual reconciliation of this payment, for example a check number or a payment processor ID.
1902
1079
  attr_reader :payment_reference
1903
-
1904
- def self.inner_class_types
1905
- @inner_class_types = {}
1906
- end
1907
-
1908
- def self.field_remappings
1909
- @field_remappings = {}
1910
- end
1911
1080
  end
1912
1081
  # Custom processors represent payment processors not modeled directly in
1913
1082
  # the Stripe API. This resource consists of details about the custom processor
@@ -1915,14 +1084,6 @@ module Stripe
1915
1084
  attr_reader :custom
1916
1085
  # The processor used for this payment attempt.
1917
1086
  attr_reader :type
1918
-
1919
- def self.inner_class_types
1920
- @inner_class_types = { custom: Custom }
1921
- end
1922
-
1923
- def self.field_remappings
1924
- @field_remappings = {}
1925
- end
1926
1087
  end
1927
1088
 
1928
1089
  class ShippingDetails < Stripe::StripeObject
@@ -1939,14 +1100,6 @@ module Stripe
1939
1100
  attr_reader :postal_code
1940
1101
  # State, county, province, or region.
1941
1102
  attr_reader :state
1942
-
1943
- def self.inner_class_types
1944
- @inner_class_types = {}
1945
- end
1946
-
1947
- def self.field_remappings
1948
- @field_remappings = {}
1949
- end
1950
1103
  end
1951
1104
  # A representation of a physical address.
1952
1105
  attr_reader :address
@@ -1954,14 +1107,6 @@ module Stripe
1954
1107
  attr_reader :name
1955
1108
  # The shipping recipient's phone number.
1956
1109
  attr_reader :phone
1957
-
1958
- def self.inner_class_types
1959
- @inner_class_types = { address: Address }
1960
- end
1961
-
1962
- def self.field_remappings
1963
- @field_remappings = {}
1964
- end
1965
1110
  end
1966
1111
 
1967
1112
  class ReportPaymentAttemptParams < Stripe::RequestParams
@@ -2578,25 +1723,5 @@ module Stripe
2578
1723
  opts: opts
2579
1724
  )
2580
1725
  end
2581
-
2582
- def self.inner_class_types
2583
- @inner_class_types = {
2584
- amount: Amount,
2585
- amount_authorized: AmountAuthorized,
2586
- amount_canceled: AmountCanceled,
2587
- amount_failed: AmountFailed,
2588
- amount_guaranteed: AmountGuaranteed,
2589
- amount_refunded: AmountRefunded,
2590
- amount_requested: AmountRequested,
2591
- customer_details: CustomerDetails,
2592
- payment_method_details: PaymentMethodDetails,
2593
- processor_details: ProcessorDetails,
2594
- shipping_details: ShippingDetails,
2595
- }
2596
- end
2597
-
2598
- def self.field_remappings
2599
- @field_remappings = {}
2600
- end
2601
1726
  end
2602
1727
  end