stripe 16.1.0.pre.beta.1 → 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (511) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +3 -35
  3. data/lib/stripe/api_version.rb +2 -1
  4. data/lib/stripe/errors.rb +0 -63
  5. data/lib/stripe/event_types.rb +0 -236
  6. data/lib/stripe/object_types.rb +0 -58
  7. data/lib/stripe/params/account_create_params.rb +1 -300
  8. data/lib/stripe/params/account_session_create_params.rb +1 -226
  9. data/lib/stripe/params/account_update_params.rb +0 -262
  10. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -4
  11. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +0 -4
  12. data/lib/stripe/params/billing/credit_grant_create_params.rb +0 -4
  13. data/lib/stripe/params/billing/credit_grant_list_params.rb +0 -4
  14. data/lib/stripe/params/billing_portal/session_create_params.rb +0 -4
  15. data/lib/stripe/params/charge_capture_params.rb +0 -709
  16. data/lib/stripe/params/charge_update_params.rb +0 -709
  17. data/lib/stripe/params/checkout/session_create_params.rb +3 -193
  18. data/lib/stripe/params/checkout/session_list_params.rb +0 -4
  19. data/lib/stripe/params/checkout/session_update_params.rb +1 -288
  20. data/lib/stripe/params/confirmation_token_create_params.rb +0 -97
  21. data/lib/stripe/params/coupon_create_params.rb +1 -17
  22. data/lib/stripe/params/credit_note_list_params.rb +0 -4
  23. data/lib/stripe/params/customer_session_create_params.rb +1 -4
  24. data/lib/stripe/params/dispute_update_params.rb +1 -10
  25. data/lib/stripe/params/financial_connections/account_list_params.rb +1 -4
  26. data/lib/stripe/params/financial_connections/session_create_params.rb +2 -34
  27. data/lib/stripe/params/identity/verification_session_create_params.rb +0 -4
  28. data/lib/stripe/params/identity/verification_session_list_params.rb +0 -4
  29. data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
  30. data/lib/stripe/params/invoice_attach_payment_params.rb +1 -46
  31. data/lib/stripe/params/invoice_create_params.rb +2 -112
  32. data/lib/stripe/params/invoice_create_preview_params.rb +9 -826
  33. data/lib/stripe/params/invoice_item_create_params.rb +1 -37
  34. data/lib/stripe/params/invoice_item_list_params.rb +0 -4
  35. data/lib/stripe/params/invoice_item_update_params.rb +1 -33
  36. data/lib/stripe/params/invoice_line_item_update_params.rb +1 -33
  37. data/lib/stripe/params/invoice_list_params.rb +0 -4
  38. data/lib/stripe/params/invoice_payment_list_params.rb +1 -4
  39. data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
  40. data/lib/stripe/params/invoice_update_params.rb +2 -108
  41. data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
  42. data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
  43. data/lib/stripe/params/payment_intent_capture_params.rb +0 -895
  44. data/lib/stripe/params/payment_intent_confirm_params.rb +18 -1384
  45. data/lib/stripe/params/payment_intent_create_params.rb +16 -1390
  46. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -223
  47. data/lib/stripe/params/payment_intent_list_params.rb +0 -4
  48. data/lib/stripe/params/payment_intent_update_params.rb +4 -1409
  49. data/lib/stripe/params/payment_method_attach_params.rb +1 -4
  50. data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -126
  51. data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -126
  52. data/lib/stripe/params/payment_method_create_params.rb +0 -97
  53. data/lib/stripe/params/payment_method_update_params.rb +0 -19
  54. data/lib/stripe/params/price_update_params.rb +0 -19
  55. data/lib/stripe/params/promotion_code_create_params.rb +0 -4
  56. data/lib/stripe/params/promotion_code_list_params.rb +0 -4
  57. data/lib/stripe/params/quote_create_params.rb +3 -805
  58. data/lib/stripe/params/quote_list_params.rb +0 -8
  59. data/lib/stripe/params/quote_update_params.rb +4 -813
  60. data/lib/stripe/params/setup_intent_confirm_params.rb +3 -225
  61. data/lib/stripe/params/setup_intent_create_params.rb +3 -231
  62. data/lib/stripe/params/setup_intent_list_params.rb +0 -4
  63. data/lib/stripe/params/setup_intent_update_params.rb +3 -231
  64. data/lib/stripe/params/subscription_create_params.rb +5 -259
  65. data/lib/stripe/params/subscription_item_create_params.rb +2 -46
  66. data/lib/stripe/params/subscription_item_update_params.rb +1 -29
  67. data/lib/stripe/params/subscription_list_params.rb +0 -4
  68. data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
  69. data/lib/stripe/params/subscription_schedule_list_params.rb +0 -4
  70. data/lib/stripe/params/subscription_schedule_update_params.rb +5 -163
  71. data/lib/stripe/params/subscription_update_params.rb +4 -238
  72. data/lib/stripe/params/tax_id_create_params.rb +1 -4
  73. data/lib/stripe/params/tax_id_list_params.rb +1 -4
  74. data/lib/stripe/params/terminal/configuration_create_params.rb +0 -13
  75. data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
  76. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -97
  77. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
  78. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
  79. data/lib/stripe/params/transfer_create_params.rb +0 -4
  80. data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
  81. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
  82. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
  83. data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
  84. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
  85. data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
  86. data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
  87. data/lib/stripe/params.rb +0 -169
  88. data/lib/stripe/request_options.rb +1 -3
  89. data/lib/stripe/resources/account.rb +1 -166
  90. data/lib/stripe/resources/account_session.rb +0 -81
  91. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
  92. data/lib/stripe/resources/billing/credit_grant.rb +0 -2
  93. data/lib/stripe/resources/billing_portal/session.rb +0 -2
  94. data/lib/stripe/resources/card.rb +0 -2
  95. data/lib/stripe/resources/cash_balance.rb +0 -2
  96. data/lib/stripe/resources/charge.rb +1 -234
  97. data/lib/stripe/resources/checkout/session.rb +4 -154
  98. data/lib/stripe/resources/confirmation_token.rb +0 -155
  99. data/lib/stripe/resources/coupon.rb +1 -26
  100. data/lib/stripe/resources/credit_note.rb +0 -2
  101. data/lib/stripe/resources/credit_note_line_item.rb +0 -18
  102. data/lib/stripe/resources/customer.rb +0 -2
  103. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  104. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  105. data/lib/stripe/resources/customer_session.rb +0 -2
  106. data/lib/stripe/resources/discount.rb +0 -2
  107. data/lib/stripe/resources/dispute.rb +0 -22
  108. data/lib/stripe/resources/event.rb +1 -64
  109. data/lib/stripe/resources/financial_connections/account.rb +0 -27
  110. data/lib/stripe/resources/financial_connections/session.rb +1 -67
  111. data/lib/stripe/resources/identity/verification_session.rb +0 -2
  112. data/lib/stripe/resources/invoice.rb +1 -152
  113. data/lib/stripe/resources/invoice_item.rb +0 -4
  114. data/lib/stripe/resources/invoice_line_item.rb +0 -40
  115. data/lib/stripe/resources/invoice_payment.rb +0 -2
  116. data/lib/stripe/resources/issuing/transaction.rb +0 -2
  117. data/lib/stripe/resources/line_item.rb +1 -68
  118. data/lib/stripe/resources/mandate.rb +0 -71
  119. data/lib/stripe/resources/payment_intent.rb +4 -848
  120. data/lib/stripe/resources/payment_method.rb +0 -157
  121. data/lib/stripe/resources/payment_method_configuration.rb +0 -204
  122. data/lib/stripe/resources/price.rb +0 -20
  123. data/lib/stripe/resources/promotion_code.rb +0 -2
  124. data/lib/stripe/resources/quote.rb +2 -571
  125. data/lib/stripe/resources/refund.rb +0 -18
  126. data/lib/stripe/resources/setup_attempt.rb +0 -63
  127. data/lib/stripe/resources/setup_intent.rb +1 -132
  128. data/lib/stripe/resources/source.rb +0 -38
  129. data/lib/stripe/resources/subscription.rb +0 -232
  130. data/lib/stripe/resources/subscription_item.rb +1 -20
  131. data/lib/stripe/resources/subscription_schedule.rb +3 -198
  132. data/lib/stripe/resources/tax_id.rb +0 -4
  133. data/lib/stripe/resources/terminal/configuration.rb +0 -16
  134. data/lib/stripe/resources/terminal/reader.rb +0 -8
  135. data/lib/stripe/resources/transfer.rb +0 -2
  136. data/lib/stripe/resources/treasury/financial_account.rb +0 -2
  137. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  138. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
  139. data/lib/stripe/resources/treasury/received_credit.rb +0 -30
  140. data/lib/stripe/resources/treasury/received_debit.rb +0 -32
  141. data/lib/stripe/resources.rb +0 -116
  142. data/lib/stripe/services/billing_service.rb +1 -2
  143. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  144. data/lib/stripe/services/financial_connections_service.rb +1 -2
  145. data/lib/stripe/services/issuing_service.rb +1 -5
  146. data/lib/stripe/services/mandate_service.rb +0 -5
  147. data/lib/stripe/services/payment_intent_service.rb +0 -44
  148. data/lib/stripe/services/quote_service.rb +1 -49
  149. data/lib/stripe/services/subscription_schedule_service.rb +0 -11
  150. data/lib/stripe/services/subscription_service.rb +0 -11
  151. data/lib/stripe/services/tax_service.rb +1 -3
  152. data/lib/stripe/services/terminal_service.rb +1 -3
  153. data/lib/stripe/services/v1_services.rb +1 -10
  154. data/lib/stripe/services/v2/billing_service.rb +1 -5
  155. data/lib/stripe/services/v2/core_service.rb +1 -4
  156. data/lib/stripe/services/v2_services.rb +1 -4
  157. data/lib/stripe/services.rb +0 -61
  158. data/lib/stripe/stripe_client.rb +1 -1
  159. data/lib/stripe/stripe_configuration.rb +2 -9
  160. data/lib/stripe/stripe_object.rb +15 -9
  161. data/lib/stripe/util.rb +3 -9
  162. data/lib/stripe/version.rb +1 -1
  163. data/lib/stripe.rb +0 -53
  164. data/rbi/stripe.rbi +98094 -162674
  165. metadata +5 -351
  166. data/lib/stripe/events/v2_billing_bill_setting_updated_event.rb +0 -61
  167. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
  168. data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
  169. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
  170. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
  171. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
  172. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
  173. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
  174. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
  175. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
  176. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
  177. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
  178. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
  179. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
  180. data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
  181. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
  182. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
  183. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
  184. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
  185. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
  186. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
  187. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
  188. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
  189. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
  190. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
  191. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
  192. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
  193. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
  194. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
  195. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
  196. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
  197. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
  198. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
  199. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
  200. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
  201. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
  202. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
  203. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
  204. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
  205. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
  206. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
  207. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
  208. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
  209. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
  210. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
  211. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
  212. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
  213. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
  214. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
  215. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
  216. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
  217. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
  218. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -44
  219. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
  220. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -44
  221. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -46
  222. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
  223. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
  224. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
  225. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
  226. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
  227. data/lib/stripe/params/account_notice_list_params.rb +0 -25
  228. data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
  229. data/lib/stripe/params/account_notice_update_params.rb +0 -36
  230. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
  231. data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
  232. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
  233. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
  234. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
  235. data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
  236. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
  237. data/lib/stripe/params/external_account_create_params.rb +0 -134
  238. data/lib/stripe/params/external_account_delete_params.rb +0 -6
  239. data/lib/stripe/params/external_account_list_params.rb +0 -25
  240. data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
  241. data/lib/stripe/params/external_account_update_params.rb +0 -91
  242. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
  243. data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
  244. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
  245. data/lib/stripe/params/fx_quote_create_params.rb +0 -73
  246. data/lib/stripe/params/fx_quote_list_params.rb +0 -22
  247. data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
  248. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
  249. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
  250. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
  251. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
  252. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
  253. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
  254. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
  255. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
  256. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
  257. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
  258. data/lib/stripe/params/mandate_list_params.rb +0 -39
  259. data/lib/stripe/params/margin_create_params.rb +0 -25
  260. data/lib/stripe/params/margin_list_params.rb +0 -25
  261. data/lib/stripe/params/margin_retrieve_params.rb +0 -13
  262. data/lib/stripe/params/margin_update_params.rb +0 -22
  263. data/lib/stripe/params/order_cancel_params.rb +0 -13
  264. data/lib/stripe/params/order_create_params.rb +0 -1124
  265. data/lib/stripe/params/order_line_item_list_params.rb +0 -22
  266. data/lib/stripe/params/order_list_line_items_params.rb +0 -22
  267. data/lib/stripe/params/order_list_params.rb +0 -25
  268. data/lib/stripe/params/order_reopen_params.rb +0 -13
  269. data/lib/stripe/params/order_retrieve_params.rb +0 -13
  270. data/lib/stripe/params/order_submit_params.rb +0 -16
  271. data/lib/stripe/params/order_update_params.rb +0 -1128
  272. data/lib/stripe/params/payment_attempt_record_list_params.rb +0 -19
  273. data/lib/stripe/params/payment_attempt_record_retrieve_params.rb +0 -13
  274. data/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +0 -22
  275. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
  276. data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
  277. data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +0 -19
  278. data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +0 -19
  279. data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +0 -19
  280. data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +0 -93
  281. data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +0 -186
  282. data/lib/stripe/params/payment_record_report_payment_params.rb +0 -252
  283. data/lib/stripe/params/payment_record_retrieve_params.rb +0 -13
  284. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
  285. data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
  286. data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
  287. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
  288. data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
  289. data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
  290. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
  291. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
  292. data/lib/stripe/params/quote_line_list_params.rb +0 -22
  293. data/lib/stripe/params/quote_list_lines_params.rb +0 -22
  294. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
  295. data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
  296. data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
  297. data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
  298. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
  299. data/lib/stripe/params/quote_reestimate_params.rb +0 -13
  300. data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
  301. data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
  302. data/lib/stripe/params/tax/association_find_params.rb +0 -18
  303. data/lib/stripe/params/tax/form_list_params.rb +0 -51
  304. data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
  305. data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
  306. data/lib/stripe/params/terminal/onboarding_link_create_params.rb +0 -43
  307. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
  308. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
  309. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
  310. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
  311. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
  312. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
  313. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
  314. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
  315. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
  316. data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
  317. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
  318. data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
  319. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
  320. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
  321. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
  322. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
  323. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
  324. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
  325. data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
  326. data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
  327. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
  328. data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
  329. data/lib/stripe/params/v2/core/account_close_params.rb +0 -17
  330. data/lib/stripe/params/v2/core/account_create_params.rb +0 -2217
  331. data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -101
  332. data/lib/stripe/params/v2/core/account_list_params.rb +0 -20
  333. data/lib/stripe/params/v2/core/account_retrieve_params.rb +0 -17
  334. data/lib/stripe/params/v2/core/account_update_params.rb +0 -2245
  335. data/lib/stripe/params/v2/core/accounts/person_create_params.rb +0 -493
  336. data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +0 -12
  337. data/lib/stripe/params/v2/core/accounts/person_list_params.rb +0 -19
  338. data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +0 -12
  339. data/lib/stripe/params/v2/core/accounts/person_update_params.rb +0 -493
  340. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
  341. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
  342. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
  343. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
  344. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
  345. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
  346. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
  347. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
  348. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
  349. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
  350. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
  351. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
  352. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
  353. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
  354. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
  355. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
  356. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
  357. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
  358. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
  359. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
  360. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
  361. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
  362. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -98
  363. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
  364. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
  365. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
  366. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
  367. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
  368. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -85
  369. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
  370. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
  371. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
  372. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
  373. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -77
  374. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
  375. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
  376. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
  377. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
  378. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
  379. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
  380. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
  381. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
  382. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
  383. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
  384. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
  385. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
  386. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
  387. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
  388. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
  389. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
  390. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -61
  391. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -237
  392. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
  393. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
  394. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
  395. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
  396. data/lib/stripe/resources/account_notice.rb +0 -94
  397. data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
  398. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
  399. data/lib/stripe/resources/capital/financing_offer.rb +0 -142
  400. data/lib/stripe/resources/capital/financing_summary.rb +0 -79
  401. data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
  402. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
  403. data/lib/stripe/resources/financial_connections/institution.rb +0 -127
  404. data/lib/stripe/resources/fx_quote.rb +0 -147
  405. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
  406. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
  407. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
  408. data/lib/stripe/resources/issuing/settlement.rb +0 -61
  409. data/lib/stripe/resources/margin.rb +0 -64
  410. data/lib/stripe/resources/order.rb +0 -987
  411. data/lib/stripe/resources/payment_attempt_record.rb +0 -2102
  412. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -128
  413. data/lib/stripe/resources/payment_record.rb +0 -2208
  414. data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
  415. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
  416. data/lib/stripe/resources/quote_line.rb +0 -521
  417. data/lib/stripe/resources/quote_preview_invoice.rb +0 -1150
  418. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -732
  419. data/lib/stripe/resources/tax/association.rb +0 -86
  420. data/lib/stripe/resources/tax/form.rb +0 -264
  421. data/lib/stripe/resources/terminal/onboarding_link.rb +0 -71
  422. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
  423. data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
  424. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
  425. data/lib/stripe/resources/v2/billing/cadence.rb +0 -609
  426. data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
  427. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
  428. data/lib/stripe/resources/v2/billing/profile.rb +0 -46
  429. data/lib/stripe/resources/v2/core/account.rb +0 -3851
  430. data/lib/stripe/resources/v2/core/account_link.rb +0 -123
  431. data/lib/stripe/resources/v2/core/account_person.rb +0 -477
  432. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
  433. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -47
  434. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
  435. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
  436. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
  437. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
  438. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
  439. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
  440. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -217
  441. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
  442. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
  443. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -196
  444. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -109
  445. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
  446. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -228
  447. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
  448. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
  449. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
  450. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -242
  451. data/lib/stripe/services/account_notice_service.rb +0 -39
  452. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
  453. data/lib/stripe/services/billing/analytics_service.rb +0 -15
  454. data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
  455. data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
  456. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
  457. data/lib/stripe/services/capital_service.rb +0 -15
  458. data/lib/stripe/services/external_account_service.rb +0 -68
  459. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
  460. data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
  461. data/lib/stripe/services/fx_quote_service.rb +0 -27
  462. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
  463. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
  464. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
  465. data/lib/stripe/services/margin_service.rb +0 -50
  466. data/lib/stripe/services/order_line_item_service.rb +0 -17
  467. data/lib/stripe/services/order_service.rb +0 -78
  468. data/lib/stripe/services/payment_attempt_record_service.rb +0 -28
  469. data/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +0 -17
  470. data/lib/stripe/services/payment_record_service.rb +0 -89
  471. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
  472. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
  473. data/lib/stripe/services/privacy_service.rb +0 -13
  474. data/lib/stripe/services/quote_line_service.rb +0 -17
  475. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
  476. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
  477. data/lib/stripe/services/tax/association_service.rb +0 -19
  478. data/lib/stripe/services/tax/form_service.rb +0 -37
  479. data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -19
  480. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
  481. data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
  482. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
  483. data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
  484. data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
  485. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
  486. data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
  487. data/lib/stripe/services/v2/core/account_link_service.rb +0 -21
  488. data/lib/stripe/services/v2/core/account_service.rb +0 -76
  489. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -67
  490. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -74
  491. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -68
  492. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  493. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
  494. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -59
  495. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
  496. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
  497. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
  498. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
  499. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
  500. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
  501. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
  502. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
  503. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
  504. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
  505. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
  506. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
  507. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  508. data/lib/stripe/services/v2/payment_service.rb +0 -15
  509. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
  510. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  511. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
@@ -201,36 +201,15 @@ module Stripe
201
201
  @field_remappings = {}
202
202
  end
203
203
  end
204
-
205
- class TaxId < Stripe::StripeObject
206
- # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
207
- attr_reader :type
208
- # The value of the tax ID.
209
- attr_reader :value
210
-
211
- def self.inner_class_types
212
- @inner_class_types = {}
213
- end
214
-
215
- def self.field_remappings
216
- @field_remappings = {}
217
- end
218
- end
219
204
  # Customer’s business name for this Checkout Session
220
205
  attr_reader :business_name
221
- # Customer’s email for this Checkout Session
222
- attr_reader :email
223
206
  # Customer’s individual name for this Checkout Session
224
207
  attr_reader :individual_name
225
- # Customer’s phone number for this Checkout Session
226
- attr_reader :phone
227
208
  # Shipping information for this Checkout Session.
228
209
  attr_reader :shipping_details
229
- # Customer’s tax ids for this Checkout Session.
230
- attr_reader :tax_ids
231
210
 
232
211
  def self.inner_class_types
233
- @inner_class_types = { shipping_details: ShippingDetails, tax_ids: TaxId }
212
+ @inner_class_types = { shipping_details: ShippingDetails }
234
213
  end
235
214
 
236
215
  def self.field_remappings
@@ -1031,8 +1010,6 @@ module Stripe
1031
1010
  # Attribute for field installments
1032
1011
  attr_reader :installments
1033
1012
  # Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
1034
- attr_reader :request_decremental_authorization
1035
- # Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
1036
1013
  attr_reader :request_extended_authorization
1037
1014
  # Request ability to [increment the authorization](/payments/incremental-authorization) for this CheckoutSession.
1038
1015
  attr_reader :request_incremental_authorization
@@ -1488,8 +1465,6 @@ module Stripe
1488
1465
  #
1489
1466
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1490
1467
  attr_reader :setup_future_usage
1491
- # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
1492
- attr_reader :subsellers
1493
1468
 
1494
1469
  def self.inner_class_types
1495
1470
  @inner_class_types = {}
@@ -1500,84 +1475,11 @@ module Stripe
1500
1475
  end
1501
1476
  end
1502
1477
 
1503
- class Payto < Stripe::StripeObject
1504
- class MandateOptions < Stripe::StripeObject
1505
- # Amount that will be collected. It is required when `amount_type` is `fixed`.
1506
- attr_reader :amount
1507
- # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
1508
- attr_reader :amount_type
1509
- # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
1510
- attr_reader :end_date
1511
- # The periodicity at which payments will be collected.
1512
- attr_reader :payment_schedule
1513
- # The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
1514
- attr_reader :payments_per_period
1515
- # The purpose for which payments are made. Defaults to retail.
1516
- attr_reader :purpose
1517
- # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
1518
- attr_reader :start_date
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
- end
1528
- # Attribute for field mandate_options
1529
- attr_reader :mandate_options
1530
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1531
- #
1532
- # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1533
- #
1534
- # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1535
- #
1536
- # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1537
- attr_reader :setup_future_usage
1538
-
1539
- def self.inner_class_types
1540
- @inner_class_types = { mandate_options: MandateOptions }
1541
- end
1542
-
1543
- def self.field_remappings
1544
- @field_remappings = {}
1545
- end
1546
- end
1547
-
1548
1478
  class Pix < Stripe::StripeObject
1549
- class MandateOptions < Stripe::StripeObject
1550
- # Amount to be charged for future payments.
1551
- attr_reader :amount
1552
- # Determines if the amount includes the IOF tax.
1553
- attr_reader :amount_includes_iof
1554
- # Type of amount.
1555
- attr_reader :amount_type
1556
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.
1557
- attr_reader :currency
1558
- # Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.
1559
- attr_reader :end_date
1560
- # Schedule at which the future payments will be charged.
1561
- attr_reader :payment_schedule
1562
- # Subscription name displayed to buyers in their bank app.
1563
- attr_reader :reference
1564
- # Start date of the mandate, in `YYYY-MM-DD`.
1565
- attr_reader :start_date
1566
-
1567
- def self.inner_class_types
1568
- @inner_class_types = {}
1569
- end
1570
-
1571
- def self.field_remappings
1572
- @field_remappings = {}
1573
- end
1574
- end
1575
1479
  # Determines if the amount includes the IOF tax.
1576
1480
  attr_reader :amount_includes_iof
1577
1481
  # The number of seconds after which Pix payment will expire.
1578
1482
  attr_reader :expires_after_seconds
1579
- # Attribute for field mandate_options
1580
- attr_reader :mandate_options
1581
1483
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1582
1484
  #
1583
1485
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1588,7 +1490,7 @@ module Stripe
1588
1490
  attr_reader :setup_future_usage
1589
1491
 
1590
1492
  def self.inner_class_types
1591
- @inner_class_types = { mandate_options: MandateOptions }
1493
+ @inner_class_types = {}
1592
1494
  end
1593
1495
 
1594
1496
  def self.field_remappings
@@ -1715,21 +1617,6 @@ module Stripe
1715
1617
  class Filters < Stripe::StripeObject
1716
1618
  # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
1717
1619
  attr_reader :account_subcategories
1718
- # The institution to use to filter for possible accounts to link.
1719
- attr_reader :institution
1720
-
1721
- def self.inner_class_types
1722
- @inner_class_types = {}
1723
- end
1724
-
1725
- def self.field_remappings
1726
- @field_remappings = {}
1727
- end
1728
- end
1729
-
1730
- class ManualEntry < Stripe::StripeObject
1731
- # Settings for configuring manual entry of account details.
1732
- attr_reader :mode
1733
1620
 
1734
1621
  def self.inner_class_types
1735
1622
  @inner_class_types = {}
@@ -1741,8 +1628,6 @@ module Stripe
1741
1628
  end
1742
1629
  # Attribute for field filters
1743
1630
  attr_reader :filters
1744
- # Attribute for field manual_entry
1745
- attr_reader :manual_entry
1746
1631
  # The list of permissions to request. The `payment_method` permission must be included.
1747
1632
  attr_reader :permissions
1748
1633
  # Data features requested to be retrieved upon account creation.
@@ -1751,7 +1636,7 @@ module Stripe
1751
1636
  attr_reader :return_url
1752
1637
 
1753
1638
  def self.inner_class_types
1754
- @inner_class_types = { filters: Filters, manual_entry: ManualEntry }
1639
+ @inner_class_types = { filters: Filters }
1755
1640
  end
1756
1641
 
1757
1642
  def self.field_remappings
@@ -1845,8 +1730,6 @@ module Stripe
1845
1730
  attr_reader :paynow
1846
1731
  # Attribute for field paypal
1847
1732
  attr_reader :paypal
1848
- # Attribute for field payto
1849
- attr_reader :payto
1850
1733
  # Attribute for field pix
1851
1734
  attr_reader :pix
1852
1735
  # Attribute for field revolut_pay
@@ -1898,7 +1781,6 @@ module Stripe
1898
1781
  payco: Payco,
1899
1782
  paynow: Paynow,
1900
1783
  paypal: Paypal,
1901
- payto: Payto,
1902
1784
  pix: Pix,
1903
1785
  revolut_pay: RevolutPay,
1904
1786
  samsung_pay: SamsungPay,
@@ -1916,36 +1798,6 @@ module Stripe
1916
1798
  end
1917
1799
 
1918
1800
  class Permissions < Stripe::StripeObject
1919
- class Update < Stripe::StripeObject
1920
- # Determines which entity is allowed to update the line items.
1921
- #
1922
- # Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
1923
- #
1924
- # When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
1925
- attr_reader :line_items
1926
- # Determines which entity is allowed to update the shipping details.
1927
- #
1928
- # Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
1929
- #
1930
- # When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
1931
- attr_reader :shipping_details
1932
-
1933
- def self.inner_class_types
1934
- @inner_class_types = {}
1935
- end
1936
-
1937
- def self.field_remappings
1938
- @field_remappings = {}
1939
- end
1940
- end
1941
- # Permissions for updating the Checkout Session.
1942
- attr_reader :update
1943
- # Determines which entity is allowed to update the line items.
1944
- #
1945
- # Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
1946
- #
1947
- # When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
1948
- attr_reader :update_line_items
1949
1801
  # Determines which entity is allowed to update the shipping details.
1950
1802
  #
1951
1803
  # Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
@@ -1954,7 +1806,7 @@ module Stripe
1954
1806
  attr_reader :update_shipping_details
1955
1807
 
1956
1808
  def self.inner_class_types
1957
- @inner_class_types = { update: Update }
1809
+ @inner_class_types = {}
1958
1810
  end
1959
1811
 
1960
1812
  def self.field_remappings
@@ -2234,8 +2086,6 @@ module Stripe
2234
2086
  # during the payment flow unless an existing customer was provided when
2235
2087
  # the Session was created.
2236
2088
  attr_reader :customer
2237
- # The ID of the account for this Session.
2238
- attr_reader :customer_account
2239
2089
  # Configure whether a Checkout Session creates a Customer when the Checkout Session completes.
2240
2090
  attr_reader :customer_creation
2241
2091
  # The customer details including the customer's tax exempt status and the customer's tax IDs. Customer's address details are not present on Sessions in `setup` mode.
@@ -114,8 +114,6 @@ module Stripe
114
114
 
115
115
  class PaymentMethodPreview < Stripe::StripeObject
116
116
  class AcssDebit < Stripe::StripeObject
117
- # Account number of the bank account.
118
- attr_reader :account_number
119
117
  # Name of the bank associated with the bank account.
120
118
  attr_reader :bank_name
121
119
  # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
@@ -934,16 +932,6 @@ module Stripe
934
932
  end
935
933
  end
936
934
 
937
- class Gopay < Stripe::StripeObject
938
- def self.inner_class_types
939
- @inner_class_types = {}
940
- end
941
-
942
- def self.field_remappings
943
- @field_remappings = {}
944
- end
945
- end
946
-
947
935
  class Grabpay < Stripe::StripeObject
948
936
  def self.inner_class_types
949
937
  @inner_class_types = {}
@@ -954,25 +942,6 @@ module Stripe
954
942
  end
955
943
  end
956
944
 
957
- class IdBankTransfer < Stripe::StripeObject
958
- # Attribute for field bank
959
- attr_reader :bank
960
- # Attribute for field bank_code
961
- attr_reader :bank_code
962
- # Attribute for field bank_name
963
- attr_reader :bank_name
964
- # Attribute for field display_name
965
- attr_reader :display_name
966
-
967
- def self.inner_class_types
968
- @inner_class_types = {}
969
- end
970
-
971
- def self.field_remappings
972
- @field_remappings = {}
973
- end
974
- end
975
-
976
945
  class Ideal < Stripe::StripeObject
977
946
  # The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
978
947
  attr_reader :bank
@@ -1246,43 +1215,11 @@ module Stripe
1246
1215
  class Paypal < Stripe::StripeObject
1247
1216
  # 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.
1248
1217
  attr_reader :country
1249
- # Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
1250
- attr_reader :fingerprint
1251
1218
  # Owner's email. Values are provided by PayPal directly
1252
1219
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1253
1220
  attr_reader :payer_email
1254
1221
  # PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
1255
1222
  attr_reader :payer_id
1256
- # Owner's verified email. Values are verified or provided by PayPal directly
1257
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1258
- attr_reader :verified_email
1259
-
1260
- def self.inner_class_types
1261
- @inner_class_types = {}
1262
- end
1263
-
1264
- def self.field_remappings
1265
- @field_remappings = {}
1266
- end
1267
- end
1268
-
1269
- class Paypay < Stripe::StripeObject
1270
- def self.inner_class_types
1271
- @inner_class_types = {}
1272
- end
1273
-
1274
- def self.field_remappings
1275
- @field_remappings = {}
1276
- end
1277
- end
1278
-
1279
- class Payto < Stripe::StripeObject
1280
- # Bank-State-Branch number of the bank account.
1281
- attr_reader :bsb_number
1282
- # Last four digits of the bank account number.
1283
- attr_reader :last4
1284
- # The PayID alias for the bank account.
1285
- attr_reader :pay_id
1286
1223
 
1287
1224
  def self.inner_class_types
1288
1225
  @inner_class_types = {}
@@ -1313,45 +1250,6 @@ module Stripe
1313
1250
  end
1314
1251
  end
1315
1252
 
1316
- class Qris < Stripe::StripeObject
1317
- def self.inner_class_types
1318
- @inner_class_types = {}
1319
- end
1320
-
1321
- def self.field_remappings
1322
- @field_remappings = {}
1323
- end
1324
- end
1325
-
1326
- class Rechnung < Stripe::StripeObject
1327
- class Dob < Stripe::StripeObject
1328
- # The day of birth, between 1 and 31.
1329
- attr_reader :day
1330
- # The month of birth, between 1 and 12.
1331
- attr_reader :month
1332
- # The four-digit year of birth.
1333
- attr_reader :year
1334
-
1335
- def self.inner_class_types
1336
- @inner_class_types = {}
1337
- end
1338
-
1339
- def self.field_remappings
1340
- @field_remappings = {}
1341
- end
1342
- end
1343
- # Attribute for field dob
1344
- attr_reader :dob
1345
-
1346
- def self.inner_class_types
1347
- @inner_class_types = { dob: Dob }
1348
- end
1349
-
1350
- def self.field_remappings
1351
- @field_remappings = {}
1352
- end
1353
- end
1354
-
1355
1253
  class RevolutPay < Stripe::StripeObject
1356
1254
  def self.inner_class_types
1357
1255
  @inner_class_types = {}
@@ -1419,16 +1317,6 @@ module Stripe
1419
1317
  end
1420
1318
  end
1421
1319
 
1422
- class Shopeepay < Stripe::StripeObject
1423
- def self.inner_class_types
1424
- @inner_class_types = {}
1425
- end
1426
-
1427
- def self.field_remappings
1428
- @field_remappings = {}
1429
- end
1430
- end
1431
-
1432
1320
  class Sofort < Stripe::StripeObject
1433
1321
  # Two-letter ISO code representing the country the bank account is located in.
1434
1322
  attr_reader :country
@@ -1442,21 +1330,6 @@ module Stripe
1442
1330
  end
1443
1331
  end
1444
1332
 
1445
- class StripeBalance < Stripe::StripeObject
1446
- # The connected account ID whose Stripe balance to use as the source of payment
1447
- attr_reader :account
1448
- # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
1449
- attr_reader :source_type
1450
-
1451
- def self.inner_class_types
1452
- @inner_class_types = {}
1453
- end
1454
-
1455
- def self.field_remappings
1456
- @field_remappings = {}
1457
- end
1458
- end
1459
-
1460
1333
  class Swish < Stripe::StripeObject
1461
1334
  def self.inner_class_types
1462
1335
  @inner_class_types = {}
@@ -1521,8 +1394,6 @@ module Stripe
1521
1394
  end
1522
1395
  # Account holder type: individual or company.
1523
1396
  attr_reader :account_holder_type
1524
- # Account number of the bank account.
1525
- attr_reader :account_number
1526
1397
  # Account type: checkings or savings. Defaults to checking if omitted.
1527
1398
  attr_reader :account_type
1528
1399
  # The name of the bank.
@@ -1606,8 +1477,6 @@ module Stripe
1606
1477
  attr_reader :crypto
1607
1478
  # The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.
1608
1479
  attr_reader :customer
1609
- # Attribute for field customer_account
1610
- attr_reader :customer_account
1611
1480
  # Attribute for field customer_balance
1612
1481
  attr_reader :customer_balance
1613
1482
  # Attribute for field eps
@@ -1616,12 +1485,8 @@ module Stripe
1616
1485
  attr_reader :fpx
1617
1486
  # Attribute for field giropay
1618
1487
  attr_reader :giropay
1619
- # Attribute for field gopay
1620
- attr_reader :gopay
1621
1488
  # Attribute for field grabpay
1622
1489
  attr_reader :grabpay
1623
- # Attribute for field id_bank_transfer
1624
- attr_reader :id_bank_transfer
1625
1490
  # Attribute for field ideal
1626
1491
  attr_reader :ideal
1627
1492
  # Attribute for field interac_present
@@ -1658,18 +1523,10 @@ module Stripe
1658
1523
  attr_reader :paynow
1659
1524
  # Attribute for field paypal
1660
1525
  attr_reader :paypal
1661
- # Attribute for field paypay
1662
- attr_reader :paypay
1663
- # Attribute for field payto
1664
- attr_reader :payto
1665
1526
  # Attribute for field pix
1666
1527
  attr_reader :pix
1667
1528
  # Attribute for field promptpay
1668
1529
  attr_reader :promptpay
1669
- # Attribute for field qris
1670
- attr_reader :qris
1671
- # Attribute for field rechnung
1672
- attr_reader :rechnung
1673
1530
  # Attribute for field revolut_pay
1674
1531
  attr_reader :revolut_pay
1675
1532
  # Attribute for field samsung_pay
@@ -1678,12 +1535,8 @@ module Stripe
1678
1535
  attr_reader :satispay
1679
1536
  # Attribute for field sepa_debit
1680
1537
  attr_reader :sepa_debit
1681
- # Attribute for field shopeepay
1682
- attr_reader :shopeepay
1683
1538
  # Attribute for field sofort
1684
1539
  attr_reader :sofort
1685
- # Attribute for field stripe_balance
1686
- attr_reader :stripe_balance
1687
1540
  # Attribute for field swish
1688
1541
  attr_reader :swish
1689
1542
  # Attribute for field twint
@@ -1720,9 +1573,7 @@ module Stripe
1720
1573
  eps: Eps,
1721
1574
  fpx: Fpx,
1722
1575
  giropay: Giropay,
1723
- gopay: Gopay,
1724
1576
  grabpay: Grabpay,
1725
- id_bank_transfer: IdBankTransfer,
1726
1577
  ideal: Ideal,
1727
1578
  interac_present: InteracPresent,
1728
1579
  kakao_pay: KakaoPay,
@@ -1741,19 +1592,13 @@ module Stripe
1741
1592
  payco: Payco,
1742
1593
  paynow: Paynow,
1743
1594
  paypal: Paypal,
1744
- paypay: Paypay,
1745
- payto: Payto,
1746
1595
  pix: Pix,
1747
1596
  promptpay: Promptpay,
1748
- qris: Qris,
1749
- rechnung: Rechnung,
1750
1597
  revolut_pay: RevolutPay,
1751
1598
  samsung_pay: SamsungPay,
1752
1599
  satispay: Satispay,
1753
1600
  sepa_debit: SepaDebit,
1754
- shopeepay: Shopeepay,
1755
1601
  sofort: Sofort,
1756
- stripe_balance: StripeBalance,
1757
1602
  swish: Swish,
1758
1603
  twint: Twint,
1759
1604
  us_bank_account: UsBankAccount,
@@ -41,23 +41,6 @@ module Stripe
41
41
  @field_remappings = {}
42
42
  end
43
43
  end
44
-
45
- class Script < Stripe::StripeObject
46
- # The configuration values of the script. The keys and values are specific to the script implementation.
47
- attr_reader :configuration
48
- # The name of the script used to calculate the discount.
49
- attr_reader :display_name
50
- # The script implementation ID for this coupon.
51
- attr_reader :id
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
- end
61
44
  # Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer.
62
45
  attr_reader :amount_off
63
46
  # Attribute for field applies_to
@@ -88,12 +71,8 @@ module Stripe
88
71
  attr_reader :percent_off
89
72
  # Date after which the coupon can no longer be redeemed.
90
73
  attr_reader :redeem_by
91
- # Configuration of the [script](https://docs.stripe.com/billing/subscriptions/script-coupons) used to calculate the discount.
92
- attr_reader :script
93
74
  # Number of times this coupon has been applied to a customer.
94
75
  attr_reader :times_redeemed
95
- # One of `amount_off`, `percent_off`, or `script`. Describes the type of coupon logic used to calculate the discount.
96
- attr_reader :type
97
76
  # Taking account of the above properties, whether this coupon can still be applied to a customer.
98
77
  attr_reader :valid
99
78
  # Always true for a deleted object
@@ -142,11 +121,7 @@ module Stripe
142
121
  end
143
122
 
144
123
  def self.inner_class_types
145
- @inner_class_types = {
146
- applies_to: AppliesTo,
147
- currency_options: CurrencyOptions,
148
- script: Script,
149
- }
124
+ @inner_class_types = { applies_to: AppliesTo, currency_options: CurrencyOptions }
150
125
  end
151
126
 
152
127
  def self.field_remappings
@@ -149,8 +149,6 @@ module Stripe
149
149
  attr_reader :currency
150
150
  # ID of the customer.
151
151
  attr_reader :customer
152
- # ID of the account.
153
- attr_reader :customer_account
154
152
  # Customer balance transaction related to this credit note.
155
153
  attr_reader :customer_balance_transaction
156
154
  # The integer amount in cents (or local equivalent) representing the total amount of discount that was credited.
@@ -43,21 +43,6 @@ module Stripe
43
43
  end
44
44
  end
45
45
 
46
- class TaxCalculationReference < Stripe::StripeObject
47
- # The calculation identifier for tax calculation response.
48
- attr_reader :calculation_id
49
- # The calculation identifier for tax calculation response line item.
50
- attr_reader :calculation_item_id
51
-
52
- def self.inner_class_types
53
- @inner_class_types = {}
54
- end
55
-
56
- def self.field_remappings
57
- @field_remappings = {}
58
- end
59
- end
60
-
61
46
  class Tax < Stripe::StripeObject
62
47
  class TaxRateDetails < Stripe::StripeObject
63
48
  # Attribute for field tax_rate
@@ -112,8 +97,6 @@ module Stripe
112
97
  attr_reader :pretax_credit_amounts
113
98
  # The number of units of product being credited.
114
99
  attr_reader :quantity
115
- # The tax calculation identifiers of the line item.
116
- attr_reader :tax_calculation_reference
117
100
  # The tax rates which apply to the line item.
118
101
  attr_reader :tax_rates
119
102
  # The tax information of the line item.
@@ -129,7 +112,6 @@ module Stripe
129
112
  @inner_class_types = {
130
113
  discount_amounts: DiscountAmount,
131
114
  pretax_credit_amounts: PretaxCreditAmount,
132
- tax_calculation_reference: TaxCalculationReference,
133
115
  taxes: Tax,
134
116
  }
135
117
  end
@@ -180,8 +180,6 @@ module Stripe
180
180
  attr_reader :created
181
181
  # Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) the customer can be charged in for recurring billing purposes.
182
182
  attr_reader :currency
183
- # Attribute for field customer_account
184
- attr_reader :customer_account
185
183
  # ID of the default payment source for the customer.
186
184
  #
187
185
  # If you use payment methods created through the PaymentMethods API, see the [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) field instead.
@@ -28,8 +28,6 @@ module Stripe
28
28
  attr_reader :currency
29
29
  # The ID of the customer the transaction belongs to.
30
30
  attr_reader :customer
31
- # Attribute for field customer_account
32
- attr_reader :customer_account
33
31
  # An arbitrary string attached to the object. Often useful for displaying to users.
34
32
  attr_reader :description
35
33
  # The customer's `balance` after the transaction was applied. A negative value decreases the amount due on the customer's next invoice. A positive value increases the amount due on the customer's next invoice.
@@ -193,8 +193,6 @@ module Stripe
193
193
  attr_reader :currency
194
194
  # The customer whose available cash balance changed as a result of this transaction.
195
195
  attr_reader :customer
196
- # Attribute for field customer_account
197
- attr_reader :customer_account
198
196
  # The total available cash balance for the specified currency after this transaction was applied. Represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
199
197
  attr_reader :ending_balance
200
198
  # Attribute for field funded
@@ -116,8 +116,6 @@ module Stripe
116
116
  attr_reader :created
117
117
  # The Customer the Customer Session was created for.
118
118
  attr_reader :customer
119
- # The Account that the Customer Session was created for.
120
- attr_reader :customer_account
121
119
  # The timestamp at which this Customer Session will expire.
122
120
  attr_reader :expires_at
123
121
  # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
@@ -30,8 +30,6 @@ module Stripe
30
30
  attr_reader :checkout_session
31
31
  # The ID of the customer associated with this discount.
32
32
  attr_reader :customer
33
- # The ID of the account associated with this discount.
34
- attr_reader :customer_account
35
33
  # If the coupon has a duration of `repeating`, the date that this discount will end. If the coupon has a duration of `once` or `forever`, this attribute will be null.
36
34
  attr_reader :end
37
35
  # The ID of the discount object. Discounts cannot be fetched by ID. Use `expand[]=discounts` in API calls to expand discount IDs in an array.