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