stripe 19.3.0.pre.beta.1 → 19.3.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 (551) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +34 -37
  3. data/lib/stripe/api_version.rb +2 -1
  4. data/lib/stripe/errors.rb +0 -87
  5. data/lib/stripe/event_types.rb +0 -228
  6. data/lib/stripe/events/unknown_event_notification.rb +0 -1
  7. data/lib/stripe/object_types.rb +0 -61
  8. data/lib/stripe/params/account_create_params.rb +2 -375
  9. data/lib/stripe/params/account_session_create_params.rb +1 -226
  10. data/lib/stripe/params/account_update_params.rb +1 -337
  11. data/lib/stripe/params/balance_transaction_list_params.rb +1 -1
  12. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -1
  13. data/lib/stripe/params/billing/credit_grant_create_params.rb +1 -1
  14. data/lib/stripe/params/charge_capture_params.rb +0 -1646
  15. data/lib/stripe/params/charge_update_params.rb +0 -1646
  16. data/lib/stripe/params/checkout/session_create_params.rb +50 -128
  17. data/lib/stripe/params/checkout/session_update_params.rb +1 -176
  18. data/lib/stripe/params/confirmation_token_create_params.rb +1 -79
  19. data/lib/stripe/params/coupon_create_params.rb +1 -17
  20. data/lib/stripe/params/credit_note_create_params.rb +1 -1
  21. data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +1 -1
  22. data/lib/stripe/params/credit_note_preview_lines_list_params.rb +1 -1
  23. data/lib/stripe/params/credit_note_preview_params.rb +1 -1
  24. data/lib/stripe/params/customer_session_create_params.rb +1 -32
  25. data/lib/stripe/params/dispute_update_params.rb +18 -11
  26. data/lib/stripe/params/financial_connections/session_create_params.rb +2 -64
  27. data/lib/stripe/params/invoice_add_lines_params.rb +2 -49
  28. data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
  29. data/lib/stripe/params/invoice_create_params.rb +2 -70
  30. data/lib/stripe/params/invoice_create_preview_params.rb +10 -791
  31. data/lib/stripe/params/invoice_item_create_params.rb +1 -33
  32. data/lib/stripe/params/invoice_item_update_params.rb +1 -33
  33. data/lib/stripe/params/invoice_line_item_update_params.rb +2 -49
  34. data/lib/stripe/params/invoice_update_lines_params.rb +2 -49
  35. data/lib/stripe/params/invoice_update_params.rb +2 -70
  36. data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
  37. data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
  38. data/lib/stripe/params/payment_intent_capture_params.rb +1 -1643
  39. data/lib/stripe/params/payment_intent_confirm_params.rb +116 -3016
  40. data/lib/stripe/params/payment_intent_create_params.rb +128 -3028
  41. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -37
  42. data/lib/stripe/params/payment_intent_search_params.rb +1 -1
  43. data/lib/stripe/params/payment_intent_update_params.rb +86 -3017
  44. data/lib/stripe/params/payment_link_create_params.rb +1 -16
  45. data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -105
  46. data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -105
  47. data/lib/stripe/params/payment_method_create_params.rb +1 -75
  48. data/lib/stripe/params/plan_create_params.rb +0 -15
  49. data/lib/stripe/params/price_create_params.rb +0 -15
  50. data/lib/stripe/params/price_update_params.rb +0 -19
  51. data/lib/stripe/params/product_create_params.rb +0 -16
  52. data/lib/stripe/params/product_update_params.rb +0 -16
  53. data/lib/stripe/params/quote_create_params.rb +3 -809
  54. data/lib/stripe/params/quote_list_params.rb +0 -4
  55. data/lib/stripe/params/quote_update_params.rb +4 -817
  56. data/lib/stripe/params/setup_intent_confirm_params.rb +4 -109
  57. data/lib/stripe/params/setup_intent_create_params.rb +4 -109
  58. data/lib/stripe/params/setup_intent_update_params.rb +4 -109
  59. data/lib/stripe/params/subscription_create_params.rb +34 -171
  60. data/lib/stripe/params/subscription_item_create_params.rb +2 -62
  61. data/lib/stripe/params/subscription_item_update_params.rb +1 -45
  62. data/lib/stripe/params/subscription_resume_params.rb +0 -4
  63. data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
  64. data/lib/stripe/params/subscription_schedule_update_params.rb +5 -167
  65. data/lib/stripe/params/subscription_update_params.rb +34 -155
  66. data/lib/stripe/params/tax/calculation_create_params.rb +0 -4
  67. data/lib/stripe/params/tax/registration_create_params.rb +0 -104
  68. data/lib/stripe/params/terminal/configuration_create_params.rb +0 -13
  69. data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
  70. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +1 -79
  71. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
  72. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
  73. data/lib/stripe/params/topup_create_params.rb +24 -0
  74. data/lib/stripe/params/transfer_create_params.rb +0 -4
  75. data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
  76. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
  77. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
  78. data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
  79. data/lib/stripe/params/treasury/outbound_payment_create_params.rb +0 -4
  80. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
  81. data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
  82. data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
  83. data/lib/stripe/params/v2/core/account_create_params.rb +18 -282
  84. data/lib/stripe/params/v2/core/account_token_create_params.rb +1 -13
  85. data/lib/stripe/params/v2/core/account_update_params.rb +25 -282
  86. data/lib/stripe/params.rb +0 -426
  87. data/lib/stripe/resources/account.rb +1 -259
  88. data/lib/stripe/resources/account_session.rb +0 -81
  89. data/lib/stripe/resources/balance.rb +0 -83
  90. data/lib/stripe/resources/balance_transaction.rb +3 -3
  91. data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
  92. data/lib/stripe/resources/card.rb +0 -2
  93. data/lib/stripe/resources/charge.rb +7 -211
  94. data/lib/stripe/resources/checkout/session.rb +53 -75
  95. data/lib/stripe/resources/confirmation_token.rb +9 -131
  96. data/lib/stripe/resources/coupon.rb +1 -26
  97. data/lib/stripe/resources/credit_note.rb +2 -0
  98. data/lib/stripe/resources/credit_note_line_item.rb +0 -18
  99. data/lib/stripe/resources/customer_session.rb +0 -36
  100. data/lib/stripe/resources/dispute.rb +32 -22
  101. data/lib/stripe/resources/event.rb +1 -64
  102. data/lib/stripe/resources/financial_connections/account.rb +8 -33
  103. data/lib/stripe/resources/financial_connections/session.rb +1 -125
  104. data/lib/stripe/resources/invoice.rb +1 -117
  105. data/lib/stripe/resources/invoice_item.rb +0 -2
  106. data/lib/stripe/resources/invoice_line_item.rb +0 -40
  107. data/lib/stripe/resources/issuing/transaction.rb +0 -2
  108. data/lib/stripe/resources/line_item.rb +0 -42
  109. data/lib/stripe/resources/mandate.rb +0 -12
  110. data/lib/stripe/resources/payment_attempt_record.rb +3 -179
  111. data/lib/stripe/resources/payment_intent.rb +47 -1568
  112. data/lib/stripe/resources/payment_method.rb +9 -135
  113. data/lib/stripe/resources/payment_method_configuration.rb +0 -170
  114. data/lib/stripe/resources/payment_record.rb +3 -179
  115. data/lib/stripe/resources/price.rb +0 -20
  116. data/lib/stripe/resources/product.rb +0 -18
  117. data/lib/stripe/resources/quote.rb +2 -569
  118. data/lib/stripe/resources/refund.rb +0 -18
  119. data/lib/stripe/resources/reserve/hold.rb +18 -8
  120. data/lib/stripe/resources/reserve/release.rb +0 -12
  121. data/lib/stripe/resources/setup_attempt.rb +16 -35
  122. data/lib/stripe/resources/setup_intent.rb +1 -22
  123. data/lib/stripe/resources/source.rb +0 -38
  124. data/lib/stripe/resources/subscription.rb +23 -169
  125. data/lib/stripe/resources/subscription_item.rb +1 -41
  126. data/lib/stripe/resources/subscription_schedule.rb +3 -198
  127. data/lib/stripe/resources/tax/calculation_line_item.rb +0 -2
  128. data/lib/stripe/resources/tax/registration.rb +0 -128
  129. data/lib/stripe/resources/tax_code.rb +1 -15
  130. data/lib/stripe/resources/terminal/configuration.rb +0 -16
  131. data/lib/stripe/resources/terminal/reader.rb +0 -8
  132. data/lib/stripe/resources/transfer.rb +0 -2
  133. data/lib/stripe/resources/treasury/financial_account.rb +0 -2
  134. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  135. data/lib/stripe/resources/treasury/outbound_payment.rb +0 -2
  136. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
  137. data/lib/stripe/resources/treasury/received_credit.rb +0 -30
  138. data/lib/stripe/resources/treasury/received_debit.rb +0 -32
  139. data/lib/stripe/resources/v2/commerce/product_catalog_import.rb +2 -0
  140. data/lib/stripe/resources/v2/core/account.rb +155 -717
  141. data/lib/stripe/resources/v2/core/event_notification.rb +0 -1
  142. data/lib/stripe/resources.rb +0 -417
  143. data/lib/stripe/services/account_service.rb +0 -15
  144. data/lib/stripe/services/balance_transaction_service.rb +2 -2
  145. data/lib/stripe/services/billing_service.rb +1 -2
  146. data/lib/stripe/services/coupon_service.rb +0 -14
  147. data/lib/stripe/services/credit_note_service.rb +2 -0
  148. data/lib/stripe/services/customer_service.rb +0 -15
  149. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  150. data/lib/stripe/services/financial_connections_service.rb +1 -3
  151. data/lib/stripe/services/invoice_service.rb +0 -11
  152. data/lib/stripe/services/issuing_service.rb +1 -5
  153. data/lib/stripe/services/mandate_service.rb +0 -5
  154. data/lib/stripe/services/payment_intent_service.rb +0 -37
  155. data/lib/stripe/services/promotion_code_service.rb +0 -29
  156. data/lib/stripe/services/quote_service.rb +1 -49
  157. data/lib/stripe/services/subscription_schedule_service.rb +0 -11
  158. data/lib/stripe/services/subscription_service.rb +1 -57
  159. data/lib/stripe/services/tax_service.rb +1 -3
  160. data/lib/stripe/services/terminal_service.rb +1 -2
  161. data/lib/stripe/services/test_helpers_service.rb +1 -2
  162. data/lib/stripe/services/v1_services.rb +1 -11
  163. data/lib/stripe/services/v2/billing_service.rb +1 -5
  164. data/lib/stripe/services/v2/core_service.rb +1 -3
  165. data/lib/stripe/services/v2_services.rb +1 -8
  166. data/lib/stripe/services.rb +0 -209
  167. data/lib/stripe/stripe_client.rb +1 -8
  168. data/lib/stripe/stripe_configuration.rb +1 -3
  169. data/lib/stripe/stripe_object.rb +1 -1
  170. data/lib/stripe/util.rb +1 -7
  171. data/lib/stripe/version.rb +1 -1
  172. data/lib/stripe.rb +0 -54
  173. data/rbi/stripe/resources/v2/core/event_notification.rbi +0 -3
  174. data/rbi/stripe/stripe_client.rbi +0 -13
  175. data/rbi/stripe.rbi +52694 -118800
  176. metadata +7 -382
  177. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
  178. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
  179. data/lib/stripe/events/v2_core_batch_job_batch_failed_event.rb +0 -44
  180. data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +0 -44
  181. data/lib/stripe/events/v2_core_batch_job_completed_event.rb +0 -44
  182. data/lib/stripe/events/v2_core_batch_job_created_event.rb +0 -44
  183. data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +0 -44
  184. data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +0 -44
  185. data/lib/stripe/events/v2_core_batch_job_updated_event.rb +0 -44
  186. data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +0 -44
  187. data/lib/stripe/events/v2_core_batch_job_validating_event.rb +0 -44
  188. data/lib/stripe/events/v2_core_batch_job_validation_failed_event.rb +0 -44
  189. data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -78
  190. data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +0 -44
  191. data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +0 -44
  192. data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +0 -44
  193. data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +0 -44
  194. data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +0 -75
  195. data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +0 -44
  196. data/lib/stripe/events/v2_extend_workflow_run_succeeded_event.rb +0 -44
  197. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
  198. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
  199. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
  200. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
  201. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
  202. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
  203. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
  204. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
  205. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
  206. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
  207. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
  208. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
  209. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
  210. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
  211. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
  212. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
  213. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
  214. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
  215. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
  216. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
  217. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
  218. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
  219. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
  220. data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +0 -44
  221. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
  222. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
  223. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
  224. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
  225. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
  226. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
  227. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
  228. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
  229. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
  230. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
  231. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -63
  232. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
  233. data/lib/stripe/events/v2_orchestrated_commerce_agreement_confirmed_event.rb +0 -97
  234. data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +0 -97
  235. data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +0 -97
  236. data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +0 -97
  237. data/lib/stripe/params/account_notice_list_params.rb +0 -25
  238. data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
  239. data/lib/stripe/params/account_notice_update_params.rb +0 -36
  240. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
  241. data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
  242. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
  243. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
  244. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
  245. data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
  246. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
  247. data/lib/stripe/params/external_account_create_params.rb +0 -134
  248. data/lib/stripe/params/external_account_delete_params.rb +0 -6
  249. data/lib/stripe/params/external_account_list_params.rb +0 -25
  250. data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
  251. data/lib/stripe/params/external_account_update_params.rb +0 -91
  252. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
  253. data/lib/stripe/params/financial_connections/authorization_retrieve_params.rb +0 -15
  254. data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
  255. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
  256. data/lib/stripe/params/fx_quote_create_params.rb +0 -73
  257. data/lib/stripe/params/fx_quote_list_params.rb +0 -22
  258. data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
  259. data/lib/stripe/params/invoice_detach_payment_params.rb +0 -16
  260. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
  261. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
  262. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
  263. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
  264. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
  265. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
  266. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
  267. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
  268. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
  269. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
  270. data/lib/stripe/params/mandate_list_params.rb +0 -39
  271. data/lib/stripe/params/margin_create_params.rb +0 -25
  272. data/lib/stripe/params/margin_list_params.rb +0 -25
  273. data/lib/stripe/params/margin_retrieve_params.rb +0 -13
  274. data/lib/stripe/params/margin_update_params.rb +0 -22
  275. data/lib/stripe/params/order_create_params.rb +0 -2083
  276. data/lib/stripe/params/order_list_params.rb +0 -25
  277. data/lib/stripe/params/order_retrieve_params.rb +0 -13
  278. data/lib/stripe/params/order_submit_params.rb +0 -16
  279. data/lib/stripe/params/order_update_params.rb +0 -2087
  280. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -297
  281. data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
  282. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
  283. data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
  284. data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
  285. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
  286. data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
  287. data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
  288. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
  289. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
  290. data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +0 -63
  291. data/lib/stripe/params/quote_line_list_params.rb +0 -22
  292. data/lib/stripe/params/quote_list_lines_params.rb +0 -22
  293. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
  294. data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
  295. data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
  296. data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
  297. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
  298. data/lib/stripe/params/quote_reestimate_params.rb +0 -13
  299. data/lib/stripe/params/reserve/hold_list_params.rb +0 -53
  300. data/lib/stripe/params/reserve/hold_retrieve_params.rb +0 -15
  301. data/lib/stripe/params/reserve/plan_retrieve_params.rb +0 -15
  302. data/lib/stripe/params/reserve/release_list_params.rb +0 -41
  303. data/lib/stripe/params/reserve/release_retrieve_params.rb +0 -15
  304. data/lib/stripe/params/shared_payment/granted_token_create_params.rb +0 -47
  305. data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +0 -15
  306. data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +0 -15
  307. data/lib/stripe/params/shared_payment/issued_token_create_params.rb +0 -67
  308. data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +0 -15
  309. data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +0 -15
  310. data/lib/stripe/params/subscription_pause_params.rb +0 -50
  311. data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -578
  312. data/lib/stripe/params/tax/form_list_params.rb +0 -51
  313. data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
  314. data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
  315. data/lib/stripe/params/tax/location_create_params.rb +0 -54
  316. data/lib/stripe/params/tax/location_list_params.rb +0 -27
  317. data/lib/stripe/params/tax/location_retrieve_params.rb +0 -15
  318. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
  319. data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +0 -49
  320. data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +0 -17
  321. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
  322. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
  323. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
  324. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
  325. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
  326. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
  327. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
  328. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
  329. data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
  330. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
  331. data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
  332. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -257
  333. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
  334. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
  335. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -263
  336. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
  337. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
  338. data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
  339. data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
  340. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
  341. data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
  342. data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +0 -10
  343. data/lib/stripe/params/v2/core/batch_job_create_params.rb +0 -58
  344. data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +0 -10
  345. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
  346. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
  347. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -58
  348. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
  349. data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
  350. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
  351. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
  352. data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
  353. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -37
  354. data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
  355. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
  356. data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
  357. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
  358. data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +0 -31
  359. data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +0 -12
  360. data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +0 -17
  361. data/lib/stripe/params/v2/extend/workflow_list_params.rb +0 -21
  362. data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +0 -10
  363. data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +0 -23
  364. data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +0 -10
  365. data/lib/stripe/params/v2/iam/activity_log_list_params.rb +0 -23
  366. data/lib/stripe/params/v2/iam/activity_log_retrieve_params.rb +0 -10
  367. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
  368. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
  369. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
  370. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
  371. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
  372. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
  373. data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
  374. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
  375. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
  376. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
  377. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
  378. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
  379. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
  380. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
  381. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -102
  382. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
  383. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
  384. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
  385. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
  386. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
  387. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -92
  388. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
  389. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
  390. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -88
  391. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
  392. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -77
  393. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
  394. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
  395. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
  396. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
  397. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
  398. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
  399. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
  400. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
  401. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
  402. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
  403. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
  404. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
  405. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
  406. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
  407. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
  408. data/lib/stripe/params/v2/network/business_profile_me_params.rb +0 -10
  409. data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +0 -10
  410. data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +0 -10
  411. data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +0 -17
  412. data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +0 -20
  413. data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +0 -10
  414. data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +0 -10
  415. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
  416. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
  417. data/lib/stripe/resources/account_notice.rb +0 -94
  418. data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
  419. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
  420. data/lib/stripe/resources/capital/financing_offer.rb +0 -142
  421. data/lib/stripe/resources/capital/financing_summary.rb +0 -82
  422. data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
  423. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
  424. data/lib/stripe/resources/financial_connections/authorization.rb +0 -82
  425. data/lib/stripe/resources/financial_connections/institution.rb +0 -127
  426. data/lib/stripe/resources/fx_quote.rb +0 -147
  427. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
  428. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
  429. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
  430. data/lib/stripe/resources/issuing/settlement.rb +0 -61
  431. data/lib/stripe/resources/margin.rb +0 -64
  432. data/lib/stripe/resources/order.rb +0 -927
  433. data/lib/stripe/resources/privacy/redaction_job.rb +0 -189
  434. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
  435. data/lib/stripe/resources/product_catalog/trial_offer.rb +0 -106
  436. data/lib/stripe/resources/quote_line.rb +0 -525
  437. data/lib/stripe/resources/quote_preview_invoice.rb +0 -1183
  438. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -736
  439. data/lib/stripe/resources/shared_payment/granted_token.rb +0 -1792
  440. data/lib/stripe/resources/shared_payment/issued_token.rb +0 -291
  441. data/lib/stripe/resources/tax/form.rb +0 -264
  442. data/lib/stripe/resources/tax/location.rb +0 -72
  443. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
  444. data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
  445. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -91
  446. data/lib/stripe/resources/v2/billing/cadence.rb +0 -710
  447. data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -327
  448. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -316
  449. data/lib/stripe/resources/v2/billing/profile.rb +0 -47
  450. data/lib/stripe/resources/v2/core/batch_job.rb +0 -488
  451. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -136
  452. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -105
  453. data/lib/stripe/resources/v2/data/reporting/query_run.rb +0 -142
  454. data/lib/stripe/resources/v2/extend/workflow.rb +0 -80
  455. data/lib/stripe/resources/v2/extend/workflow_run.rb +0 -158
  456. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -29
  457. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -31
  458. data/lib/stripe/resources/v2/iam/activity_log.rb +0 -187
  459. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
  460. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
  461. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -160
  462. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -181
  463. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -219
  464. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
  465. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
  466. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -196
  467. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -145
  468. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -83
  469. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -230
  470. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
  471. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -135
  472. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
  473. data/lib/stripe/resources/v2/network/business_profile.rb +0 -84
  474. data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +0 -93
  475. data/lib/stripe/services/account_notice_service.rb +0 -39
  476. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
  477. data/lib/stripe/services/billing/analytics_service.rb +0 -15
  478. data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
  479. data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
  480. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
  481. data/lib/stripe/services/capital_service.rb +0 -15
  482. data/lib/stripe/services/external_account_service.rb +0 -68
  483. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
  484. data/lib/stripe/services/financial_connections/authorization_service.rb +0 -19
  485. data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
  486. data/lib/stripe/services/fx_quote_service.rb +0 -27
  487. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
  488. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
  489. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
  490. data/lib/stripe/services/margin_service.rb +0 -50
  491. data/lib/stripe/services/order_service.rb +0 -53
  492. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
  493. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
  494. data/lib/stripe/services/privacy_service.rb +0 -13
  495. data/lib/stripe/services/product_catalog/trial_offer_service.rb +0 -19
  496. data/lib/stripe/services/product_catalog_service.rb +0 -13
  497. data/lib/stripe/services/quote_line_service.rb +0 -17
  498. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
  499. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
  500. data/lib/stripe/services/reserve/hold_service.rb +0 -30
  501. data/lib/stripe/services/reserve/plan_service.rb +0 -19
  502. data/lib/stripe/services/reserve/release_service.rb +0 -30
  503. data/lib/stripe/services/reserve_service.rb +0 -15
  504. data/lib/stripe/services/shared_payment/granted_token_service.rb +0 -19
  505. data/lib/stripe/services/shared_payment/issued_token_service.rb +0 -41
  506. data/lib/stripe/services/shared_payment_service.rb +0 -14
  507. data/lib/stripe/services/tax/form_service.rb +0 -37
  508. data/lib/stripe/services/tax/location_service.rb +0 -45
  509. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
  510. data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +0 -32
  511. data/lib/stripe/services/test_helpers/shared_payment_service.rb +0 -15
  512. data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
  513. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
  514. data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
  515. data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -69
  516. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
  517. data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
  518. data/lib/stripe/services/v2/core/batch_job_service.rb +0 -43
  519. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
  520. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
  521. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  522. data/lib/stripe/services/v2/data/reporting/query_run_service.rb +0 -35
  523. data/lib/stripe/services/v2/data/reporting_service.rb +0 -17
  524. data/lib/stripe/services/v2/data_service.rb +0 -15
  525. data/lib/stripe/services/v2/extend/workflow_run_service.rb +0 -32
  526. data/lib/stripe/services/v2/extend/workflow_service.rb +0 -45
  527. data/lib/stripe/services/v2/extend_service.rb +0 -16
  528. data/lib/stripe/services/v2/iam/activity_log_service.rb +0 -32
  529. data/lib/stripe/services/v2/iam_service.rb +0 -15
  530. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
  531. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
  532. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
  533. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
  534. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
  535. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
  536. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -75
  537. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
  538. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -66
  539. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
  540. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
  541. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
  542. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
  543. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
  544. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  545. data/lib/stripe/services/v2/network/business_profile_service.rb +0 -32
  546. data/lib/stripe/services/v2/network_service.rb +0 -15
  547. data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +0 -65
  548. data/lib/stripe/services/v2/orchestrated_commerce_service.rb +0 -15
  549. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  550. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
  551. data/lib/stripe/stripe_event_notification_handler.rb +0 -582
@@ -60,25 +60,6 @@ module Stripe
60
60
  end
61
61
  end
62
62
 
63
- class Surcharge < ::Stripe::StripeObject
64
- # Portion of the amount that corresponds to a surcharge.
65
- attr_reader :amount
66
- # Indicate whether to enforce validations on the surcharge amount.
67
- attr_reader :enforce_validation
68
- # The maximum amount allowed for the surcharge.
69
- attr_reader :maximum_amount
70
- # The status of the surcharge.
71
- attr_reader :status
72
-
73
- def self.inner_class_types
74
- @inner_class_types = {}
75
- end
76
-
77
- def self.field_remappings
78
- @field_remappings = {}
79
- end
80
- end
81
-
82
63
  class Tax < ::Stripe::StripeObject
83
64
  # The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
84
65
  #
@@ -116,58 +97,13 @@ module Stripe
116
97
  attr_reader :line_items
117
98
  # Attribute for field shipping
118
99
  attr_reader :shipping
119
- # Attribute for field surcharge
120
- attr_reader :surcharge
121
100
  # Attribute for field tax
122
101
  attr_reader :tax
123
102
  # Attribute for field tip
124
103
  attr_reader :tip
125
104
 
126
105
  def self.inner_class_types
127
- @inner_class_types = {
128
- error: Error,
129
- shipping: Shipping,
130
- surcharge: Surcharge,
131
- tax: Tax,
132
- tip: Tip,
133
- }
134
- end
135
-
136
- def self.field_remappings
137
- @field_remappings = {}
138
- end
139
- end
140
-
141
- class AsyncWorkflows < ::Stripe::StripeObject
142
- class Inputs < ::Stripe::StripeObject
143
- class Tax < ::Stripe::StripeObject
144
- # The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
145
- attr_reader :calculation
146
-
147
- def self.inner_class_types
148
- @inner_class_types = {}
149
- end
150
-
151
- def self.field_remappings
152
- @field_remappings = {}
153
- end
154
- end
155
- # Attribute for field tax
156
- attr_reader :tax
157
-
158
- def self.inner_class_types
159
- @inner_class_types = { tax: Tax }
160
- end
161
-
162
- def self.field_remappings
163
- @field_remappings = {}
164
- end
165
- end
166
- # Attribute for field inputs
167
- attr_reader :inputs
168
-
169
- def self.inner_class_types
170
- @inner_class_types = { inputs: Inputs }
106
+ @inner_class_types = { error: Error, shipping: Shipping, tax: Tax, tip: Tip }
171
107
  end
172
108
 
173
109
  def self.field_remappings
@@ -1317,1210 +1253,48 @@ module Stripe
1317
1253
  # Attribute for field wechat_pay_redirect_to_ios_app
1318
1254
  attr_reader :wechat_pay_redirect_to_ios_app
1319
1255
 
1320
- def self.inner_class_types
1321
- @inner_class_types = {
1322
- alipay_handle_redirect: AlipayHandleRedirect,
1323
- blik_authorize: BlikAuthorize,
1324
- boleto_display_details: BoletoDisplayDetails,
1325
- card_await_notification: CardAwaitNotification,
1326
- cashapp_handle_redirect_or_display_qr_code: CashappHandleRedirectOrDisplayQrCode,
1327
- display_bank_transfer_instructions: DisplayBankTransferInstructions,
1328
- klarna_display_qr_code: KlarnaDisplayQrCode,
1329
- konbini_display_details: KonbiniDisplayDetails,
1330
- multibanco_display_details: MultibancoDisplayDetails,
1331
- oxxo_display_details: OxxoDisplayDetails,
1332
- paynow_display_qr_code: PaynowDisplayQrCode,
1333
- pix_display_qr_code: PixDisplayQrCode,
1334
- promptpay_display_qr_code: PromptpayDisplayQrCode,
1335
- redirect_to_url: RedirectToUrl,
1336
- swish_handle_redirect_or_display_qr_code: SwishHandleRedirectOrDisplayQrCode,
1337
- upi_handle_redirect_or_display_qr_code: UpiHandleRedirectOrDisplayQrCode,
1338
- verify_with_microdeposits: VerifyWithMicrodeposits,
1339
- wechat_pay_display_qr_code: WechatPayDisplayQrCode,
1340
- wechat_pay_redirect_to_android_app: WechatPayRedirectToAndroidApp,
1341
- wechat_pay_redirect_to_ios_app: WechatPayRedirectToIosApp,
1342
- }
1343
- end
1344
-
1345
- def self.field_remappings
1346
- @field_remappings = {}
1347
- end
1348
- end
1349
-
1350
- class PaymentDetails < ::Stripe::StripeObject
1351
- class CarRental < ::Stripe::StripeObject
1352
- class Affiliate < ::Stripe::StripeObject
1353
- # The name of the affiliate that originated the purchase.
1354
- attr_reader :name
1355
-
1356
- def self.inner_class_types
1357
- @inner_class_types = {}
1358
- end
1359
-
1360
- def self.field_remappings
1361
- @field_remappings = {}
1362
- end
1363
- end
1364
-
1365
- class Delivery < ::Stripe::StripeObject
1366
- class Recipient < ::Stripe::StripeObject
1367
- # The email of the recipient the ticket is delivered to.
1368
- attr_reader :email
1369
- # The name of the recipient the ticket is delivered to.
1370
- attr_reader :name
1371
- # The phone number of the recipient the ticket is delivered to.
1372
- attr_reader :phone
1373
-
1374
- def self.inner_class_types
1375
- @inner_class_types = {}
1376
- end
1377
-
1378
- def self.field_remappings
1379
- @field_remappings = {}
1380
- end
1381
- end
1382
- # The delivery method for the payment
1383
- attr_reader :mode
1384
- # Attribute for field recipient
1385
- attr_reader :recipient
1386
-
1387
- def self.inner_class_types
1388
- @inner_class_types = { recipient: Recipient }
1389
- end
1390
-
1391
- def self.field_remappings
1392
- @field_remappings = {}
1393
- end
1394
- end
1395
-
1396
- class Distance < ::Stripe::StripeObject
1397
- # Distance traveled.
1398
- attr_reader :amount
1399
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`
1400
- attr_reader :unit
1401
-
1402
- def self.inner_class_types
1403
- @inner_class_types = {}
1404
- end
1405
-
1406
- def self.field_remappings
1407
- @field_remappings = {}
1408
- end
1409
- end
1410
-
1411
- class Driver < ::Stripe::StripeObject
1412
- # Driver's identification number.
1413
- attr_reader :driver_identification_number
1414
- # Driver's tax number.
1415
- attr_reader :driver_tax_number
1416
- # Full name of the driver on the reservation.
1417
- attr_reader :name
1418
-
1419
- def self.inner_class_types
1420
- @inner_class_types = {}
1421
- end
1422
-
1423
- def self.field_remappings
1424
- @field_remappings = {}
1425
- end
1426
- end
1427
-
1428
- class PickupAddress < ::Stripe::StripeObject
1429
- # City, district, suburb, town, or village.
1430
- attr_reader :city
1431
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1432
- attr_reader :country
1433
- # Address line 1, such as the street, PO Box, or company name.
1434
- attr_reader :line1
1435
- # Address line 2, such as the apartment, suite, unit, or building.
1436
- attr_reader :line2
1437
- # ZIP or postal code.
1438
- attr_reader :postal_code
1439
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
1440
- attr_reader :state
1441
-
1442
- def self.inner_class_types
1443
- @inner_class_types = {}
1444
- end
1445
-
1446
- def self.field_remappings
1447
- @field_remappings = {}
1448
- end
1449
- end
1450
-
1451
- class ReturnAddress < ::Stripe::StripeObject
1452
- # City, district, suburb, town, or village.
1453
- attr_reader :city
1454
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1455
- attr_reader :country
1456
- # Address line 1, such as the street, PO Box, or company name.
1457
- attr_reader :line1
1458
- # Address line 2, such as the apartment, suite, unit, or building.
1459
- attr_reader :line2
1460
- # ZIP or postal code.
1461
- attr_reader :postal_code
1462
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
1463
- attr_reader :state
1464
-
1465
- def self.inner_class_types
1466
- @inner_class_types = {}
1467
- end
1468
-
1469
- def self.field_remappings
1470
- @field_remappings = {}
1471
- end
1472
- end
1473
- # Attribute for field affiliate
1474
- attr_reader :affiliate
1475
- # The booking number associated with the car rental.
1476
- attr_reader :booking_number
1477
- # Class code of the car.
1478
- attr_reader :car_class_code
1479
- # Make of the car.
1480
- attr_reader :car_make
1481
- # Model of the car.
1482
- attr_reader :car_model
1483
- # The name of the rental car company.
1484
- attr_reader :company
1485
- # The customer service phone number of the car rental company.
1486
- attr_reader :customer_service_phone_number
1487
- # Number of days the car is being rented.
1488
- attr_reader :days_rented
1489
- # Attribute for field delivery
1490
- attr_reader :delivery
1491
- # Attribute for field distance
1492
- attr_reader :distance
1493
- # The details of the drivers associated with the trip.
1494
- attr_reader :drivers
1495
- # List of additional charges being billed.
1496
- attr_reader :extra_charges
1497
- # Indicates if the customer did not keep nor cancel their booking.
1498
- attr_reader :no_show
1499
- # Attribute for field pickup_address
1500
- attr_reader :pickup_address
1501
- # Car pick-up time. Measured in seconds since the Unix epoch.
1502
- attr_reader :pickup_at
1503
- # Name of the pickup location.
1504
- attr_reader :pickup_location_name
1505
- # Rental rate.
1506
- attr_reader :rate_amount
1507
- # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
1508
- attr_reader :rate_interval
1509
- # The full name of the person or entity renting the car.
1510
- attr_reader :renter_name
1511
- # Attribute for field return_address
1512
- attr_reader :return_address
1513
- # Car return time. Measured in seconds since the Unix epoch.
1514
- attr_reader :return_at
1515
- # Name of the return location.
1516
- attr_reader :return_location_name
1517
- # Indicates whether the goods or services are tax-exempt or tax is not collected.
1518
- attr_reader :tax_exempt
1519
- # The vehicle identification number of the car.
1520
- attr_reader :vehicle_identification_number
1521
-
1522
- def self.inner_class_types
1523
- @inner_class_types = {
1524
- affiliate: Affiliate,
1525
- delivery: Delivery,
1526
- distance: Distance,
1527
- drivers: Driver,
1528
- pickup_address: PickupAddress,
1529
- return_address: ReturnAddress,
1530
- }
1531
- end
1532
-
1533
- def self.field_remappings
1534
- @field_remappings = {}
1535
- end
1536
- end
1537
-
1538
- class CarRentalDatum < ::Stripe::StripeObject
1539
- class Affiliate < ::Stripe::StripeObject
1540
- # Affiliate code.
1541
- attr_reader :code
1542
- # Affiliate name.
1543
- attr_reader :name
1544
-
1545
- def self.inner_class_types
1546
- @inner_class_types = {}
1547
- end
1548
-
1549
- def self.field_remappings
1550
- @field_remappings = {}
1551
- end
1552
- end
1553
-
1554
- class Distance < ::Stripe::StripeObject
1555
- # Distance amount.
1556
- attr_reader :amount
1557
- # Unit for the distance.
1558
- attr_reader :unit
1559
-
1560
- def self.inner_class_types
1561
- @inner_class_types = {}
1562
- end
1563
-
1564
- def self.field_remappings
1565
- @field_remappings = {}
1566
- end
1567
- end
1568
-
1569
- class Driver < ::Stripe::StripeObject
1570
- class DateOfBirth < ::Stripe::StripeObject
1571
- # Day of birth.
1572
- attr_reader :day
1573
- # Month of birth.
1574
- attr_reader :month
1575
- # Year of birth.
1576
- attr_reader :year
1577
-
1578
- def self.inner_class_types
1579
- @inner_class_types = {}
1580
- end
1581
-
1582
- def self.field_remappings
1583
- @field_remappings = {}
1584
- end
1585
- end
1586
- # Attribute for field date_of_birth
1587
- attr_reader :date_of_birth
1588
- # Driver's identification number.
1589
- attr_reader :driver_identification_number
1590
- # Driver's tax number.
1591
- attr_reader :driver_tax_number
1592
- # Full name of the driver.
1593
- attr_reader :name
1594
-
1595
- def self.inner_class_types
1596
- @inner_class_types = { date_of_birth: DateOfBirth }
1597
- end
1598
-
1599
- def self.field_remappings
1600
- @field_remappings = {}
1601
- end
1602
- end
1603
-
1604
- class DropOff < ::Stripe::StripeObject
1605
- class Address < ::Stripe::StripeObject
1606
- # City, district, suburb, town, or village.
1607
- attr_reader :city
1608
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1609
- attr_reader :country
1610
- # Address line 1, such as the street, PO Box, or company name.
1611
- attr_reader :line1
1612
- # Address line 2, such as the apartment, suite, unit, or building.
1613
- attr_reader :line2
1614
- # ZIP or postal code.
1615
- attr_reader :postal_code
1616
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
1617
- attr_reader :state
1618
-
1619
- def self.inner_class_types
1620
- @inner_class_types = {}
1621
- end
1622
-
1623
- def self.field_remappings
1624
- @field_remappings = {}
1625
- end
1626
- end
1627
- # Attribute for field address
1628
- attr_reader :address
1629
- # Name of the location.
1630
- attr_reader :location_name
1631
- # Time associated with the location.
1632
- attr_reader :time
1633
-
1634
- def self.inner_class_types
1635
- @inner_class_types = { address: Address }
1636
- end
1637
-
1638
- def self.field_remappings
1639
- @field_remappings = {}
1640
- end
1641
- end
1642
-
1643
- class Insurance < ::Stripe::StripeObject
1644
- # Amount of the insurance.
1645
- attr_reader :amount
1646
- # Currency for the insurance price.
1647
- attr_reader :currency
1648
- # Name of the insurance company.
1649
- attr_reader :insurance_company_name
1650
- # Type of insurance.
1651
- attr_reader :insurance_type
1652
-
1653
- def self.inner_class_types
1654
- @inner_class_types = {}
1655
- end
1656
-
1657
- def self.field_remappings
1658
- @field_remappings = {}
1659
- end
1660
- end
1661
-
1662
- class Pickup < ::Stripe::StripeObject
1663
- class Address < ::Stripe::StripeObject
1664
- # City, district, suburb, town, or village.
1665
- attr_reader :city
1666
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1667
- attr_reader :country
1668
- # Address line 1, such as the street, PO Box, or company name.
1669
- attr_reader :line1
1670
- # Address line 2, such as the apartment, suite, unit, or building.
1671
- attr_reader :line2
1672
- # ZIP or postal code.
1673
- attr_reader :postal_code
1674
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
1675
- attr_reader :state
1676
-
1677
- def self.inner_class_types
1678
- @inner_class_types = {}
1679
- end
1680
-
1681
- def self.field_remappings
1682
- @field_remappings = {}
1683
- end
1684
- end
1685
- # Attribute for field address
1686
- attr_reader :address
1687
- # Name of the location.
1688
- attr_reader :location_name
1689
- # Time associated with the location.
1690
- attr_reader :time
1691
-
1692
- def self.inner_class_types
1693
- @inner_class_types = { address: Address }
1694
- end
1695
-
1696
- def self.field_remappings
1697
- @field_remappings = {}
1698
- end
1699
- end
1700
-
1701
- class Total < ::Stripe::StripeObject
1702
- class Discounts < ::Stripe::StripeObject
1703
- # Corporate client discount code.
1704
- attr_reader :corporate_client_code
1705
- # Coupon code applied.
1706
- attr_reader :coupon
1707
- # Maximum free miles or kilometers included.
1708
- attr_reader :maximum_free_miles_or_kilometers
1709
-
1710
- def self.inner_class_types
1711
- @inner_class_types = {}
1712
- end
1713
-
1714
- def self.field_remappings
1715
- @field_remappings = {}
1716
- end
1717
- end
1718
-
1719
- class ExtraCharge < ::Stripe::StripeObject
1720
- # Amount of the extra charge.
1721
- attr_reader :amount
1722
- # Type of extra charge.
1723
- attr_reader :type
1724
-
1725
- def self.inner_class_types
1726
- @inner_class_types = {}
1727
- end
1728
-
1729
- def self.field_remappings
1730
- @field_remappings = {}
1731
- end
1732
- end
1733
-
1734
- class Tax < ::Stripe::StripeObject
1735
- class Tax < ::Stripe::StripeObject
1736
- # Tax amount.
1737
- attr_reader :amount
1738
- # Tax rate.
1739
- attr_reader :rate
1740
- # Type of tax.
1741
- attr_reader :type
1742
-
1743
- def self.inner_class_types
1744
- @inner_class_types = {}
1745
- end
1746
-
1747
- def self.field_remappings
1748
- @field_remappings = {}
1749
- end
1750
- end
1751
- # Indicates whether the rental is tax-exempt.
1752
- attr_reader :tax_exempt_indicator
1753
- # Tax details.
1754
- attr_reader :taxes
1755
-
1756
- def self.inner_class_types
1757
- @inner_class_types = { taxes: Tax }
1758
- end
1759
-
1760
- def self.field_remappings
1761
- @field_remappings = {}
1762
- end
1763
- end
1764
- # Total amount.
1765
- attr_reader :amount
1766
- # Currency for the total amount.
1767
- attr_reader :currency
1768
- # Attribute for field discounts
1769
- attr_reader :discounts
1770
- # Additional charges for the rental.
1771
- attr_reader :extra_charges
1772
- # Rate per unit.
1773
- attr_reader :rate_per_unit
1774
- # Unit for the rate.
1775
- attr_reader :rate_unit
1776
- # Attribute for field tax
1777
- attr_reader :tax
1778
-
1779
- def self.inner_class_types
1780
- @inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
1781
- end
1782
-
1783
- def self.field_remappings
1784
- @field_remappings = {}
1785
- end
1786
- end
1787
-
1788
- class Vehicle < ::Stripe::StripeObject
1789
- # Make of the vehicle.
1790
- attr_reader :make
1791
- # Model of the vehicle.
1792
- attr_reader :model
1793
- # Odometer reading.
1794
- attr_reader :odometer
1795
- # Type of the vehicle.
1796
- attr_reader :type
1797
- # Class of the vehicle.
1798
- attr_reader :vehicle_class
1799
- # Vehicle identification number.
1800
- attr_reader :vehicle_identification_number
1801
-
1802
- def self.inner_class_types
1803
- @inner_class_types = {}
1804
- end
1805
-
1806
- def self.field_remappings
1807
- @field_remappings = {}
1808
- end
1809
- end
1810
- # Attribute for field affiliate
1811
- attr_reader :affiliate
1812
- # The booking number associated with the car rental.
1813
- attr_reader :booking_number
1814
- # The name of the car rental company.
1815
- attr_reader :carrier_name
1816
- # The customer service phone number of the car rental company.
1817
- attr_reader :customer_service_phone_number
1818
- # Number of days the car is being rented.
1819
- attr_reader :days_rented
1820
- # Attribute for field distance
1821
- attr_reader :distance
1822
- # The details of the drivers associated with the rental.
1823
- attr_reader :drivers
1824
- # Attribute for field drop_off
1825
- attr_reader :drop_off
1826
- # Insurance details for the car rental.
1827
- attr_reader :insurances
1828
- # Indicates if the customer did not keep nor cancel their booking.
1829
- attr_reader :no_show_indicator
1830
- # Attribute for field pickup
1831
- attr_reader :pickup
1832
- # Name of the person renting the vehicle.
1833
- attr_reader :renter_name
1834
- # Attribute for field total
1835
- attr_reader :total
1836
- # Attribute for field vehicle
1837
- attr_reader :vehicle
1838
-
1839
- def self.inner_class_types
1840
- @inner_class_types = {
1841
- affiliate: Affiliate,
1842
- distance: Distance,
1843
- drivers: Driver,
1844
- drop_off: DropOff,
1845
- insurances: Insurance,
1846
- pickup: Pickup,
1847
- total: Total,
1848
- vehicle: Vehicle,
1849
- }
1850
- end
1851
-
1852
- def self.field_remappings
1853
- @field_remappings = {}
1854
- end
1855
- end
1856
-
1857
- class EventDetails < ::Stripe::StripeObject
1858
- class Address < ::Stripe::StripeObject
1859
- # City, district, suburb, town, or village.
1860
- attr_reader :city
1861
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1862
- attr_reader :country
1863
- # Address line 1, such as the street, PO Box, or company name.
1864
- attr_reader :line1
1865
- # Address line 2, such as the apartment, suite, unit, or building.
1866
- attr_reader :line2
1867
- # ZIP or postal code.
1868
- attr_reader :postal_code
1869
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
1870
- attr_reader :state
1871
-
1872
- def self.inner_class_types
1873
- @inner_class_types = {}
1874
- end
1875
-
1876
- def self.field_remappings
1877
- @field_remappings = {}
1878
- end
1879
- end
1880
-
1881
- class Affiliate < ::Stripe::StripeObject
1882
- # The name of the affiliate that originated the purchase.
1883
- attr_reader :name
1884
-
1885
- def self.inner_class_types
1886
- @inner_class_types = {}
1887
- end
1888
-
1889
- def self.field_remappings
1890
- @field_remappings = {}
1891
- end
1892
- end
1893
-
1894
- class Delivery < ::Stripe::StripeObject
1895
- class Recipient < ::Stripe::StripeObject
1896
- # The email of the recipient the ticket is delivered to.
1897
- attr_reader :email
1898
- # The name of the recipient the ticket is delivered to.
1899
- attr_reader :name
1900
- # The phone number of the recipient the ticket is delivered to.
1901
- attr_reader :phone
1902
-
1903
- def self.inner_class_types
1904
- @inner_class_types = {}
1905
- end
1906
-
1907
- def self.field_remappings
1908
- @field_remappings = {}
1909
- end
1910
- end
1911
- # The delivery method for the payment
1912
- attr_reader :mode
1913
- # Attribute for field recipient
1914
- attr_reader :recipient
1915
-
1916
- def self.inner_class_types
1917
- @inner_class_types = { recipient: Recipient }
1918
- end
1919
-
1920
- def self.field_remappings
1921
- @field_remappings = {}
1922
- end
1923
- end
1924
- # Indicates if the tickets are digitally checked when entering the venue.
1925
- attr_reader :access_controlled_venue
1926
- # Attribute for field address
1927
- attr_reader :address
1928
- # Attribute for field affiliate
1929
- attr_reader :affiliate
1930
- # The name of the company
1931
- attr_reader :company
1932
- # Attribute for field delivery
1933
- attr_reader :delivery
1934
- # Event end time. Measured in seconds since the Unix epoch.
1935
- attr_reader :ends_at
1936
- # Type of the event entertainment (concert, sports event etc)
1937
- attr_reader :genre
1938
- # The name of the event.
1939
- attr_reader :name
1940
- # Event start time. Measured in seconds since the Unix epoch.
1941
- attr_reader :starts_at
1942
-
1943
- def self.inner_class_types
1944
- @inner_class_types = { address: Address, affiliate: Affiliate, delivery: Delivery }
1945
- end
1946
-
1947
- def self.field_remappings
1948
- @field_remappings = {}
1949
- end
1950
- end
1951
-
1952
- class FlightDatum < ::Stripe::StripeObject
1953
- class Affiliate < ::Stripe::StripeObject
1954
- # Affiliate code.
1955
- attr_reader :code
1956
- # Affiliate name.
1957
- attr_reader :name
1958
- # Code provided by the company to a travel agent authorizing ticket issuance.
1959
- attr_reader :travel_authorization_code
1960
-
1961
- def self.inner_class_types
1962
- @inner_class_types = {}
1963
- end
1964
-
1965
- def self.field_remappings
1966
- @field_remappings = {}
1967
- end
1968
- end
1969
-
1970
- class Insurance < ::Stripe::StripeObject
1971
- # Amount of the insurance.
1972
- attr_reader :amount
1973
- # Currency for the insurance price.
1974
- attr_reader :currency
1975
- # Name of the insurance company.
1976
- attr_reader :insurance_company_name
1977
- # Type of insurance.
1978
- attr_reader :insurance_type
1979
-
1980
- def self.inner_class_types
1981
- @inner_class_types = {}
1982
- end
1983
-
1984
- def self.field_remappings
1985
- @field_remappings = {}
1986
- end
1987
- end
1988
-
1989
- class Passenger < ::Stripe::StripeObject
1990
- # Full name of the passenger.
1991
- attr_reader :name
1992
-
1993
- def self.inner_class_types
1994
- @inner_class_types = {}
1995
- end
1996
-
1997
- def self.field_remappings
1998
- @field_remappings = {}
1999
- end
2000
- end
2001
-
2002
- class Segment < ::Stripe::StripeObject
2003
- class Arrival < ::Stripe::StripeObject
2004
- # Arrival airport IATA code.
2005
- attr_reader :airport
2006
- # Arrival date and time.
2007
- attr_reader :arrives_at
2008
- # Arrival city.
2009
- attr_reader :city
2010
- # Arrival country.
2011
- attr_reader :country
2012
-
2013
- def self.inner_class_types
2014
- @inner_class_types = {}
2015
- end
2016
-
2017
- def self.field_remappings
2018
- @field_remappings = {}
2019
- end
2020
- end
2021
-
2022
- class Departure < ::Stripe::StripeObject
2023
- # Departure airport IATA code.
2024
- attr_reader :airport
2025
- # Departure city.
2026
- attr_reader :city
2027
- # Departure country.
2028
- attr_reader :country
2029
- # Departure date and time.
2030
- attr_reader :departs_at
2031
-
2032
- def self.inner_class_types
2033
- @inner_class_types = {}
2034
- end
2035
-
2036
- def self.field_remappings
2037
- @field_remappings = {}
2038
- end
2039
- end
2040
- # Segment fare amount.
2041
- attr_reader :amount
2042
- # Attribute for field arrival
2043
- attr_reader :arrival
2044
- # Airline carrier code.
2045
- attr_reader :carrier_code
2046
- # Carrier name.
2047
- attr_reader :carrier_name
2048
- # Segment currency.
2049
- attr_reader :currency
2050
- # Attribute for field departure
2051
- attr_reader :departure
2052
- # Exchange ticket number.
2053
- attr_reader :exchange_ticket_number
2054
- # Fare basis code.
2055
- attr_reader :fare_basis_code
2056
- # Additional fees.
2057
- attr_reader :fees
2058
- # Flight number.
2059
- attr_reader :flight_number
2060
- # Stopover indicator.
2061
- attr_reader :is_stop_over_indicator
2062
- # Refundable ticket indicator.
2063
- attr_reader :refundable
2064
- # Class of service.
2065
- attr_reader :service_class
2066
- # Tax amount for segment.
2067
- attr_reader :tax_amount
2068
- # Ticket number.
2069
- attr_reader :ticket_number
2070
-
2071
- def self.inner_class_types
2072
- @inner_class_types = { arrival: Arrival, departure: Departure }
2073
- end
2074
-
2075
- def self.field_remappings
2076
- @field_remappings = {}
2077
- end
2078
- end
2079
-
2080
- class Total < ::Stripe::StripeObject
2081
- class Discounts < ::Stripe::StripeObject
2082
- # Corporate client discount code.
2083
- attr_reader :corporate_client_code
2084
-
2085
- def self.inner_class_types
2086
- @inner_class_types = {}
2087
- end
2088
-
2089
- def self.field_remappings
2090
- @field_remappings = {}
2091
- end
2092
- end
2093
-
2094
- class ExtraCharge < ::Stripe::StripeObject
2095
- # Amount of the extra charge.
2096
- attr_reader :amount
2097
- # Type of extra charge.
2098
- attr_reader :type
2099
-
2100
- def self.inner_class_types
2101
- @inner_class_types = {}
2102
- end
2103
-
2104
- def self.field_remappings
2105
- @field_remappings = {}
2106
- end
2107
- end
2108
-
2109
- class Tax < ::Stripe::StripeObject
2110
- class Tax < ::Stripe::StripeObject
2111
- # Tax amount.
2112
- attr_reader :amount
2113
- # Tax rate.
2114
- attr_reader :rate
2115
- # Type of tax.
2116
- attr_reader :type
2117
-
2118
- def self.inner_class_types
2119
- @inner_class_types = {}
2120
- end
2121
-
2122
- def self.field_remappings
2123
- @field_remappings = {}
2124
- end
2125
- end
2126
- # Tax details.
2127
- attr_reader :taxes
2128
-
2129
- def self.inner_class_types
2130
- @inner_class_types = { taxes: Tax }
2131
- end
2132
-
2133
- def self.field_remappings
2134
- @field_remappings = {}
2135
- end
2136
- end
2137
- # Total amount.
2138
- attr_reader :amount
2139
- # Reason for credit.
2140
- attr_reader :credit_reason
2141
- # Currency for the total amount.
2142
- attr_reader :currency
2143
- # Attribute for field discounts
2144
- attr_reader :discounts
2145
- # Additional charges for the flight.
2146
- attr_reader :extra_charges
2147
- # Attribute for field tax
2148
- attr_reader :tax
2149
-
2150
- def self.inner_class_types
2151
- @inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
2152
- end
2153
-
2154
- def self.field_remappings
2155
- @field_remappings = {}
2156
- end
2157
- end
2158
- # Attribute for field affiliate
2159
- attr_reader :affiliate
2160
- # The booking number associated with the flight reservation.
2161
- attr_reader :booking_number
2162
- # The computerized reservation system used to make the reservation and purchase the ticket.
2163
- attr_reader :computerized_reservation_system
2164
- # Ticket restrictions.
2165
- attr_reader :endorsements_and_restrictions
2166
- # Insurance details for the flight.
2167
- attr_reader :insurances
2168
- # The list of passengers for this flight.
2169
- attr_reader :passengers
2170
- # The list of flight segments for this reservation.
2171
- attr_reader :segments
2172
- # Electronic ticket indicator.
2173
- attr_reader :ticket_electronically_issued_indicator
2174
- # Attribute for field total
2175
- attr_reader :total
2176
- # Type of flight transaction.
2177
- attr_reader :transaction_type
2178
-
2179
- def self.inner_class_types
2180
- @inner_class_types = {
2181
- affiliate: Affiliate,
2182
- insurances: Insurance,
2183
- passengers: Passenger,
2184
- segments: Segment,
2185
- total: Total,
2186
- }
2187
- end
2188
-
2189
- def self.field_remappings
2190
- @field_remappings = {}
2191
- end
2192
- end
2193
-
2194
- class LodgingDatum < ::Stripe::StripeObject
2195
- class Accommodation < ::Stripe::StripeObject
2196
- # Type of accommodation.
2197
- attr_reader :accommodation_type
2198
- # Bed type.
2199
- attr_reader :bed_type
2200
- # Daily accommodation rate in cents.
2201
- attr_reader :daily_rate_amount
2202
- # Number of nights.
2203
- attr_reader :nights
2204
- # Number of rooms, cabanas, apartments, and so on.
2205
- attr_reader :number_of_rooms
2206
- # Rate type.
2207
- attr_reader :rate_type
2208
- # Whether smoking is allowed.
2209
- attr_reader :smoking_indicator
2210
-
2211
- def self.inner_class_types
2212
- @inner_class_types = {}
2213
- end
2214
-
2215
- def self.field_remappings
2216
- @field_remappings = {}
2217
- end
2218
- end
2219
-
2220
- class Affiliate < ::Stripe::StripeObject
2221
- # Affiliate partner code.
2222
- attr_reader :code
2223
- # Affiliate partner name.
2224
- attr_reader :name
2225
-
2226
- def self.inner_class_types
2227
- @inner_class_types = {}
2228
- end
2229
-
2230
- def self.field_remappings
2231
- @field_remappings = {}
2232
- end
2233
- end
2234
-
2235
- class Guest < ::Stripe::StripeObject
2236
- # Guest's full name.
2237
- attr_reader :name
2238
-
2239
- def self.inner_class_types
2240
- @inner_class_types = {}
2241
- end
2242
-
2243
- def self.field_remappings
2244
- @field_remappings = {}
2245
- end
2246
- end
2247
-
2248
- class Host < ::Stripe::StripeObject
2249
- class Address < ::Stripe::StripeObject
2250
- # City, district, suburb, town, or village.
2251
- attr_reader :city
2252
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2253
- attr_reader :country
2254
- # Address line 1, such as the street, PO Box, or company name.
2255
- attr_reader :line1
2256
- # Address line 2, such as the apartment, suite, unit, or building.
2257
- attr_reader :line2
2258
- # ZIP or postal code.
2259
- attr_reader :postal_code
2260
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
2261
- attr_reader :state
2262
-
2263
- def self.inner_class_types
2264
- @inner_class_types = {}
2265
- end
2266
-
2267
- def self.field_remappings
2268
- @field_remappings = {}
2269
- end
2270
- end
2271
- # Attribute for field address
2272
- attr_reader :address
2273
- # Host's country of domicile.
2274
- attr_reader :country_of_domicile
2275
- # Reference number for the host.
2276
- attr_reader :host_reference
2277
- # Type of host.
2278
- attr_reader :host_type
2279
- # Name of the lodging property or host.
2280
- attr_reader :name
2281
- # Total number of reservations for the host.
2282
- attr_reader :number_of_reservations
2283
- # Property phone number.
2284
- attr_reader :property_phone_number
2285
- # Host's registration date.
2286
- attr_reader :registered_at
2287
-
2288
- def self.inner_class_types
2289
- @inner_class_types = { address: Address }
2290
- end
2291
-
2292
- def self.field_remappings
2293
- @field_remappings = {}
2294
- end
2295
- end
2296
-
2297
- class Insurance < ::Stripe::StripeObject
2298
- # Price of the insurance coverage in cents.
2299
- attr_reader :amount
2300
- # Currency of the insurance amount.
2301
- attr_reader :currency
2302
- # Name of the insurance company.
2303
- attr_reader :insurance_company_name
2304
- # Type of insurance coverage.
2305
- attr_reader :insurance_type
2306
-
2307
- def self.inner_class_types
2308
- @inner_class_types = {}
2309
- end
2310
-
2311
- def self.field_remappings
2312
- @field_remappings = {}
2313
- end
2314
- end
2315
-
2316
- class Total < ::Stripe::StripeObject
2317
- class Discounts < ::Stripe::StripeObject
2318
- # Corporate client discount code.
2319
- attr_reader :corporate_client_code
2320
- # Coupon code.
2321
- attr_reader :coupon
2322
-
2323
- def self.inner_class_types
2324
- @inner_class_types = {}
2325
- end
2326
-
2327
- def self.field_remappings
2328
- @field_remappings = {}
2329
- end
2330
- end
2331
-
2332
- class ExtraCharge < ::Stripe::StripeObject
2333
- # Amount of the extra charge in cents.
2334
- attr_reader :amount
2335
- # Type of extra charge.
2336
- attr_reader :type
2337
-
2338
- def self.inner_class_types
2339
- @inner_class_types = {}
2340
- end
2341
-
2342
- def self.field_remappings
2343
- @field_remappings = {}
2344
- end
2345
- end
2346
-
2347
- class Tax < ::Stripe::StripeObject
2348
- class Tax < ::Stripe::StripeObject
2349
- # Tax amount in cents.
2350
- attr_reader :amount
2351
- # Tax rate.
2352
- attr_reader :rate
2353
- # Type of tax applied.
2354
- attr_reader :type
2355
-
2356
- def self.inner_class_types
2357
- @inner_class_types = {}
2358
- end
2359
-
2360
- def self.field_remappings
2361
- @field_remappings = {}
2362
- end
2363
- end
2364
- # Indicates whether the transaction is tax exempt.
2365
- attr_reader :tax_exempt_indicator
2366
- # Tax details.
2367
- attr_reader :taxes
2368
-
2369
- def self.inner_class_types
2370
- @inner_class_types = { taxes: Tax }
2371
- end
2372
-
2373
- def self.field_remappings
2374
- @field_remappings = {}
2375
- end
2376
- end
2377
- # Total price of the lodging reservation in cents.
2378
- attr_reader :amount
2379
- # Cash advances in cents.
2380
- attr_reader :cash_advances
2381
- # Currency of the total amount.
2382
- attr_reader :currency
2383
- # Attribute for field discounts
2384
- attr_reader :discounts
2385
- # Additional charges for the lodging.
2386
- attr_reader :extra_charges
2387
- # Prepaid amount in cents.
2388
- attr_reader :prepaid_amount
2389
- # Attribute for field tax
2390
- attr_reader :tax
2391
-
2392
- def self.inner_class_types
2393
- @inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
2394
- end
2395
-
2396
- def self.field_remappings
2397
- @field_remappings = {}
2398
- end
2399
- end
2400
- # Attribute for field accommodation
2401
- attr_reader :accommodation
2402
- # Attribute for field affiliate
2403
- attr_reader :affiliate
2404
- # Booking confirmation number for the lodging.
2405
- attr_reader :booking_number
2406
- # Check-in date.
2407
- attr_reader :checkin_at
2408
- # Check-out date.
2409
- attr_reader :checkout_at
2410
- # Customer service phone number for the lodging company.
2411
- attr_reader :customer_service_phone_number
2412
- # Whether the lodging is compliant with any hotel fire safety regulations.
2413
- attr_reader :fire_safety_act_compliance_indicator
2414
- # List of guests for the lodging.
2415
- attr_reader :guests
2416
- # Attribute for field host
2417
- attr_reader :host
2418
- # List of insurances for the lodging.
2419
- attr_reader :insurances
2420
- # Whether the renter is a no-show.
2421
- attr_reader :no_show_indicator
2422
- # Renter ID number for the lodging.
2423
- attr_reader :renter_id_number
2424
- # Renter name for the lodging.
2425
- attr_reader :renter_name
2426
- # Attribute for field total
2427
- attr_reader :total
2428
-
2429
- def self.inner_class_types
2430
- @inner_class_types = {
2431
- accommodation: Accommodation,
2432
- affiliate: Affiliate,
2433
- guests: Guest,
2434
- host: Host,
2435
- insurances: Insurance,
2436
- total: Total,
2437
- }
2438
- end
2439
-
2440
- def self.field_remappings
2441
- @field_remappings = {}
2442
- end
1256
+ def self.inner_class_types
1257
+ @inner_class_types = {
1258
+ alipay_handle_redirect: AlipayHandleRedirect,
1259
+ blik_authorize: BlikAuthorize,
1260
+ boleto_display_details: BoletoDisplayDetails,
1261
+ card_await_notification: CardAwaitNotification,
1262
+ cashapp_handle_redirect_or_display_qr_code: CashappHandleRedirectOrDisplayQrCode,
1263
+ display_bank_transfer_instructions: DisplayBankTransferInstructions,
1264
+ klarna_display_qr_code: KlarnaDisplayQrCode,
1265
+ konbini_display_details: KonbiniDisplayDetails,
1266
+ multibanco_display_details: MultibancoDisplayDetails,
1267
+ oxxo_display_details: OxxoDisplayDetails,
1268
+ paynow_display_qr_code: PaynowDisplayQrCode,
1269
+ pix_display_qr_code: PixDisplayQrCode,
1270
+ promptpay_display_qr_code: PromptpayDisplayQrCode,
1271
+ redirect_to_url: RedirectToUrl,
1272
+ swish_handle_redirect_or_display_qr_code: SwishHandleRedirectOrDisplayQrCode,
1273
+ upi_handle_redirect_or_display_qr_code: UpiHandleRedirectOrDisplayQrCode,
1274
+ verify_with_microdeposits: VerifyWithMicrodeposits,
1275
+ wechat_pay_display_qr_code: WechatPayDisplayQrCode,
1276
+ wechat_pay_redirect_to_android_app: WechatPayRedirectToAndroidApp,
1277
+ wechat_pay_redirect_to_ios_app: WechatPayRedirectToIosApp,
1278
+ }
2443
1279
  end
2444
1280
 
2445
- class Subscription < ::Stripe::StripeObject
2446
- class Affiliate < ::Stripe::StripeObject
2447
- # The name of the affiliate that originated the purchase.
2448
- attr_reader :name
2449
-
2450
- def self.inner_class_types
2451
- @inner_class_types = {}
2452
- end
2453
-
2454
- def self.field_remappings
2455
- @field_remappings = {}
2456
- end
2457
- end
2458
-
2459
- class BillingInterval < ::Stripe::StripeObject
2460
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2461
- attr_reader :count
2462
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2463
- attr_reader :interval
2464
-
2465
- def self.inner_class_types
2466
- @inner_class_types = {}
2467
- end
2468
-
2469
- def self.field_remappings
2470
- @field_remappings = {}
2471
- end
2472
- end
2473
- # Attribute for field affiliate
2474
- attr_reader :affiliate
2475
- # Info whether the subscription will be auto renewed upon expiry.
2476
- attr_reader :auto_renewal
2477
- # Attribute for field billing_interval
2478
- attr_reader :billing_interval
2479
- # Subscription end time. Measured in seconds since the Unix epoch.
2480
- attr_reader :ends_at
2481
- # Name of the product on subscription. e.g. Apple Music Subscription.
2482
- attr_reader :name
2483
- # Subscription start time. Measured in seconds since the Unix epoch.
2484
- attr_reader :starts_at
2485
-
2486
- def self.inner_class_types
2487
- @inner_class_types = { affiliate: Affiliate, billing_interval: BillingInterval }
2488
- end
2489
-
2490
- def self.field_remappings
2491
- @field_remappings = {}
2492
- end
1281
+ def self.field_remappings
1282
+ @field_remappings = {}
2493
1283
  end
2494
- # Attribute for field car_rental
2495
- attr_reader :car_rental
2496
- # Attribute for field car_rental_data
2497
- attr_reader :car_rental_data
1284
+ end
1285
+
1286
+ class PaymentDetails < ::Stripe::StripeObject
2498
1287
  # A unique value to identify the customer. This field is available only for card payments.
2499
1288
  #
2500
1289
  # This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
2501
1290
  attr_reader :customer_reference
2502
- # Attribute for field event_details
2503
- attr_reader :event_details
2504
- # Attribute for field flight_data
2505
- attr_reader :flight_data
2506
- # Attribute for field lodging_data
2507
- attr_reader :lodging_data
2508
1291
  # A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
2509
1292
  #
2510
1293
  # For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
2511
1294
  attr_reader :order_reference
2512
- # Attribute for field subscription
2513
- attr_reader :subscription
2514
1295
 
2515
1296
  def self.inner_class_types
2516
- @inner_class_types = {
2517
- car_rental: CarRental,
2518
- car_rental_data: CarRentalDatum,
2519
- event_details: EventDetails,
2520
- flight_data: FlightDatum,
2521
- lodging_data: LodgingDatum,
2522
- subscription: Subscription,
2523
- }
1297
+ @inner_class_types = {}
2524
1298
  end
2525
1299
 
2526
1300
  def self.field_remappings
@@ -2908,43 +1682,6 @@ module Stripe
2908
1682
  @field_remappings = {}
2909
1683
  end
2910
1684
  end
2911
-
2912
- class StatementDetails < ::Stripe::StripeObject
2913
- class Address < ::Stripe::StripeObject
2914
- # City, district, suburb, town, or village.
2915
- attr_reader :city
2916
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2917
- attr_reader :country
2918
- # Address line 1, such as the street, PO Box, or company name.
2919
- attr_reader :line1
2920
- # Address line 2, such as the apartment, suite, unit, or building.
2921
- attr_reader :line2
2922
- # ZIP or postal code.
2923
- attr_reader :postal_code
2924
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
2925
- attr_reader :state
2926
-
2927
- def self.inner_class_types
2928
- @inner_class_types = {}
2929
- end
2930
-
2931
- def self.field_remappings
2932
- @field_remappings = {}
2933
- end
2934
- end
2935
- # Attribute for field address
2936
- attr_reader :address
2937
- # Phone number
2938
- attr_reader :phone
2939
-
2940
- def self.inner_class_types
2941
- @inner_class_types = { address: Address }
2942
- end
2943
-
2944
- def self.field_remappings
2945
- @field_remappings = {}
2946
- end
2947
- end
2948
1685
  # Controls when the funds will be captured from the customer's account.
2949
1686
  attr_reader :capture_method
2950
1687
  # Installment details for this payment.
@@ -2955,8 +1692,6 @@ module Stripe
2955
1692
  attr_reader :mandate_options
2956
1693
  # Selected network to process this payment intent on. Depends on the available networks of the card attached to the payment intent. Can be only set confirm-time.
2957
1694
  attr_reader :network
2958
- # Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.
2959
- attr_reader :request_decremental_authorization
2960
1695
  # Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
2961
1696
  attr_reader :request_extended_authorization
2962
1697
  # Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
@@ -2965,8 +1700,6 @@ module Stripe
2965
1700
  attr_reader :request_multicapture
2966
1701
  # Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
2967
1702
  attr_reader :request_overcapture
2968
- # Request partial authorization on this PaymentIntent.
2969
- attr_reader :request_partial_authorization
2970
1703
  # We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
2971
1704
  attr_reader :request_three_d_secure
2972
1705
  # When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).
@@ -2983,15 +1716,9 @@ module Stripe
2983
1716
  attr_reader :statement_descriptor_suffix_kana
2984
1717
  # Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
2985
1718
  attr_reader :statement_descriptor_suffix_kanji
2986
- # Attribute for field statement_details
2987
- attr_reader :statement_details
2988
1719
 
2989
1720
  def self.inner_class_types
2990
- @inner_class_types = {
2991
- installments: Installments,
2992
- mandate_options: MandateOptions,
2993
- statement_details: StatementDetails,
2994
- }
1721
+ @inner_class_types = { installments: Installments, mandate_options: MandateOptions }
2995
1722
  end
2996
1723
 
2997
1724
  def self.field_remappings
@@ -3180,25 +1907,6 @@ module Stripe
3180
1907
  end
3181
1908
  end
3182
1909
 
3183
- class Gopay < ::Stripe::StripeObject
3184
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3185
- #
3186
- # 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.
3187
- #
3188
- # 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.
3189
- #
3190
- # 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).
3191
- attr_reader :setup_future_usage
3192
-
3193
- def self.inner_class_types
3194
- @inner_class_types = {}
3195
- end
3196
-
3197
- def self.field_remappings
3198
- @field_remappings = {}
3199
- end
3200
- end
3201
-
3202
1910
  class Grabpay < ::Stripe::StripeObject
3203
1911
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3204
1912
  #
@@ -3218,29 +1926,6 @@ module Stripe
3218
1926
  end
3219
1927
  end
3220
1928
 
3221
- class IdBankTransfer < ::Stripe::StripeObject
3222
- # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
3223
- attr_reader :expires_after
3224
- # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
3225
- attr_reader :expires_at
3226
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3227
- #
3228
- # 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.
3229
- #
3230
- # 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.
3231
- #
3232
- # 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).
3233
- attr_reader :setup_future_usage
3234
-
3235
- def self.inner_class_types
3236
- @inner_class_types = {}
3237
- end
3238
-
3239
- def self.field_remappings
3240
- @field_remappings = {}
3241
- end
3242
- end
3243
-
3244
1929
  class Ideal < ::Stripe::StripeObject
3245
1930
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3246
1931
  #
@@ -3569,56 +2254,12 @@ module Stripe
3569
2254
  end
3570
2255
 
3571
2256
  class Paypal < ::Stripe::StripeObject
3572
- class LineItem < ::Stripe::StripeObject
3573
- class Tax < ::Stripe::StripeObject
3574
- # The tax for a single unit of the line item in minor units. Cannot be a negative number.
3575
- attr_reader :amount
3576
- # The tax behavior for the line item.
3577
- attr_reader :behavior
3578
-
3579
- def self.inner_class_types
3580
- @inner_class_types = {}
3581
- end
3582
-
3583
- def self.field_remappings
3584
- @field_remappings = {}
3585
- end
3586
- end
3587
- # Type of the line item.
3588
- attr_reader :category
3589
- # Description of the line item.
3590
- attr_reader :description
3591
- # Descriptive name of the line item.
3592
- attr_reader :name
3593
- # Quantity of the line item. Cannot be a negative number.
3594
- attr_reader :quantity
3595
- # Client facing stock keeping unit, article number or similar.
3596
- attr_reader :sku
3597
- # The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers).
3598
- attr_reader :sold_by
3599
- # Attribute for field tax
3600
- attr_reader :tax
3601
- # Price for a single unit of the line item in minor units. Cannot be a negative number.
3602
- attr_reader :unit_amount
3603
-
3604
- def self.inner_class_types
3605
- @inner_class_types = { tax: Tax }
3606
- end
3607
-
3608
- def self.field_remappings
3609
- @field_remappings = {}
3610
- end
3611
- end
3612
2257
  # Controls when the funds will be captured from the customer's account.
3613
2258
  attr_reader :capture_method
3614
- # The line items purchased by the customer.
3615
- attr_reader :line_items
3616
2259
  # Preferred locale of the PayPal checkout page that the customer is redirected to.
3617
2260
  attr_reader :preferred_locale
3618
2261
  # A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
3619
2262
  attr_reader :reference
3620
- # A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
3621
- attr_reader :reference_id
3622
2263
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3623
2264
  #
3624
2265
  # 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.
@@ -3627,19 +2268,7 @@ module Stripe
3627
2268
  #
3628
2269
  # 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).
3629
2270
  attr_reader :setup_future_usage
3630
- # 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.
3631
- attr_reader :subsellers
3632
-
3633
- def self.inner_class_types
3634
- @inner_class_types = { line_items: LineItem }
3635
- end
3636
2271
 
3637
- def self.field_remappings
3638
- @field_remappings = {}
3639
- end
3640
- end
3641
-
3642
- class Paypay < ::Stripe::StripeObject
3643
2272
  def self.inner_class_types
3644
2273
  @inner_class_types = {}
3645
2274
  end
@@ -3764,35 +2393,6 @@ module Stripe
3764
2393
  end
3765
2394
  end
3766
2395
 
3767
- class Qris < ::Stripe::StripeObject
3768
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3769
- #
3770
- # 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.
3771
- #
3772
- # 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.
3773
- #
3774
- # 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).
3775
- attr_reader :setup_future_usage
3776
-
3777
- def self.inner_class_types
3778
- @inner_class_types = {}
3779
- end
3780
-
3781
- def self.field_remappings
3782
- @field_remappings = {}
3783
- end
3784
- end
3785
-
3786
- class Rechnung < ::Stripe::StripeObject
3787
- def self.inner_class_types
3788
- @inner_class_types = {}
3789
- end
3790
-
3791
- def self.field_remappings
3792
- @field_remappings = {}
3793
- end
3794
- end
3795
-
3796
2396
  class RevolutPay < ::Stripe::StripeObject
3797
2397
  # Controls when the funds will be captured from the customer's account.
3798
2398
  attr_reader :capture_method
@@ -3830,6 +2430,14 @@ module Stripe
3830
2430
  class Satispay < ::Stripe::StripeObject
3831
2431
  # Controls when the funds will be captured from the customer's account.
3832
2432
  attr_reader :capture_method
2433
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2434
+ #
2435
+ # 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.
2436
+ #
2437
+ # 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.
2438
+ #
2439
+ # 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).
2440
+ attr_reader :setup_future_usage
3833
2441
 
3834
2442
  def self.inner_class_types
3835
2443
  @inner_class_types = {}
@@ -3888,25 +2496,6 @@ module Stripe
3888
2496
  end
3889
2497
  end
3890
2498
 
3891
- class Shopeepay < ::Stripe::StripeObject
3892
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3893
- #
3894
- # 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.
3895
- #
3896
- # 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.
3897
- #
3898
- # 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).
3899
- attr_reader :setup_future_usage
3900
-
3901
- def self.inner_class_types
3902
- @inner_class_types = {}
3903
- end
3904
-
3905
- def self.field_remappings
3906
- @field_remappings = {}
3907
- end
3908
- end
3909
-
3910
2499
  class Sofort < ::Stripe::StripeObject
3911
2500
  # Preferred language of the SOFORT authorization page that the customer is redirected to.
3912
2501
  attr_reader :preferred_language
@@ -3928,7 +2517,9 @@ module Stripe
3928
2517
  end
3929
2518
  end
3930
2519
 
3931
- class StripeBalance < ::Stripe::StripeObject
2520
+ class Sunbit < ::Stripe::StripeObject
2521
+ # Controls when the funds will be captured from the customer's account.
2522
+ attr_reader :capture_method
3932
2523
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3933
2524
  #
3934
2525
  # 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.
@@ -4011,21 +2602,6 @@ module Stripe
4011
2602
  class Filters < ::Stripe::StripeObject
4012
2603
  # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
4013
2604
  attr_reader :account_subcategories
4014
- # The institution to use to filter for possible accounts to link.
4015
- attr_reader :institution
4016
-
4017
- def self.inner_class_types
4018
- @inner_class_types = {}
4019
- end
4020
-
4021
- def self.field_remappings
4022
- @field_remappings = {}
4023
- end
4024
- end
4025
-
4026
- class ManualEntry < ::Stripe::StripeObject
4027
- # Settings for configuring manual entry of account details.
4028
- attr_reader :mode
4029
2605
 
4030
2606
  def self.inner_class_types
4031
2607
  @inner_class_types = {}
@@ -4037,8 +2613,6 @@ module Stripe
4037
2613
  end
4038
2614
  # Attribute for field filters
4039
2615
  attr_reader :filters
4040
- # Attribute for field manual_entry
4041
- attr_reader :manual_entry
4042
2616
  # The list of permissions to request. The `payment_method` permission must be included.
4043
2617
  attr_reader :permissions
4044
2618
  # Data features requested to be retrieved upon account creation.
@@ -4047,7 +2621,7 @@ module Stripe
4047
2621
  attr_reader :return_url
4048
2622
 
4049
2623
  def self.inner_class_types
4050
- @inner_class_types = { filters: Filters, manual_entry: ManualEntry }
2624
+ @inner_class_types = { filters: Filters }
4051
2625
  end
4052
2626
 
4053
2627
  def self.field_remappings
@@ -4099,7 +2673,7 @@ module Stripe
4099
2673
  end
4100
2674
 
4101
2675
  class WechatPay < ::Stripe::StripeObject
4102
- # The app ID registered with WeChat Pay. Only required when client is ios or android.
2676
+ # The app ID registered with WeChat Pay. Only required when client is ios, android, or mini_program.
4103
2677
  attr_reader :app_id
4104
2678
  # The client type that the end customer will pay from
4105
2679
  attr_reader :client
@@ -4181,12 +2755,8 @@ module Stripe
4181
2755
  attr_reader :fpx
4182
2756
  # Attribute for field giropay
4183
2757
  attr_reader :giropay
4184
- # Attribute for field gopay
4185
- attr_reader :gopay
4186
2758
  # Attribute for field grabpay
4187
2759
  attr_reader :grabpay
4188
- # Attribute for field id_bank_transfer
4189
- attr_reader :id_bank_transfer
4190
2760
  # Attribute for field ideal
4191
2761
  attr_reader :ideal
4192
2762
  # Attribute for field interac_present
@@ -4223,18 +2793,12 @@ module Stripe
4223
2793
  attr_reader :paynow
4224
2794
  # Attribute for field paypal
4225
2795
  attr_reader :paypal
4226
- # Attribute for field paypay
4227
- attr_reader :paypay
4228
2796
  # Attribute for field payto
4229
2797
  attr_reader :payto
4230
2798
  # Attribute for field pix
4231
2799
  attr_reader :pix
4232
2800
  # Attribute for field promptpay
4233
2801
  attr_reader :promptpay
4234
- # Attribute for field qris
4235
- attr_reader :qris
4236
- # Attribute for field rechnung
4237
- attr_reader :rechnung
4238
2802
  # Attribute for field revolut_pay
4239
2803
  attr_reader :revolut_pay
4240
2804
  # Attribute for field samsung_pay
@@ -4245,12 +2809,10 @@ module Stripe
4245
2809
  attr_reader :scalapay
4246
2810
  # Attribute for field sepa_debit
4247
2811
  attr_reader :sepa_debit
4248
- # Attribute for field shopeepay
4249
- attr_reader :shopeepay
4250
2812
  # Attribute for field sofort
4251
2813
  attr_reader :sofort
4252
- # Attribute for field stripe_balance
4253
- attr_reader :stripe_balance
2814
+ # Attribute for field sunbit
2815
+ attr_reader :sunbit
4254
2816
  # Attribute for field swish
4255
2817
  attr_reader :swish
4256
2818
  # Attribute for field twint
@@ -4287,9 +2849,7 @@ module Stripe
4287
2849
  eps: Eps,
4288
2850
  fpx: Fpx,
4289
2851
  giropay: Giropay,
4290
- gopay: Gopay,
4291
2852
  grabpay: Grabpay,
4292
- id_bank_transfer: IdBankTransfer,
4293
2853
  ideal: Ideal,
4294
2854
  interac_present: InteracPresent,
4295
2855
  kakao_pay: KakaoPay,
@@ -4308,20 +2868,16 @@ module Stripe
4308
2868
  payco: Payco,
4309
2869
  paynow: Paynow,
4310
2870
  paypal: Paypal,
4311
- paypay: Paypay,
4312
2871
  payto: Payto,
4313
2872
  pix: Pix,
4314
2873
  promptpay: Promptpay,
4315
- qris: Qris,
4316
- rechnung: Rechnung,
4317
2874
  revolut_pay: RevolutPay,
4318
2875
  samsung_pay: SamsungPay,
4319
2876
  satispay: Satispay,
4320
2877
  scalapay: Scalapay,
4321
2878
  sepa_debit: SepaDebit,
4322
- shopeepay: Shopeepay,
4323
2879
  sofort: Sofort,
4324
- stripe_balance: StripeBalance,
2880
+ sunbit: Sunbit,
4325
2881
  swish: Swish,
4326
2882
  twint: Twint,
4327
2883
  upi: Upi,
@@ -4483,8 +3039,6 @@ module Stripe
4483
3039
  attr_reader :application
4484
3040
  # The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
4485
3041
  attr_reader :application_fee_amount
4486
- # Attribute for field async_workflows
4487
- attr_reader :async_workflows
4488
3042
  # Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)
4489
3043
  attr_reader :automatic_payment_methods
4490
3044
  # Populated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.
@@ -4521,8 +3075,6 @@ module Stripe
4521
3075
  attr_reader :description
4522
3076
  # The list of payment method types to exclude from use with this payment.
4523
3077
  attr_reader :excluded_payment_method_types
4524
- # The FX Quote used for the PaymentIntent.
4525
- attr_reader :fx_quote
4526
3078
  # Attribute for field hooks
4527
3079
  attr_reader :hooks
4528
3080
  # Unique identifier for the object.
@@ -4562,8 +3114,6 @@ module Stripe
4562
3114
  attr_reader :receipt_email
4563
3115
  # ID of the review associated with this PaymentIntent, if any.
4564
3116
  attr_reader :review
4565
- # Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
4566
- attr_reader :secret_key_confirmation
4567
3117
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
4568
3118
  #
4569
3119
  # 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.
@@ -4757,56 +3307,6 @@ module Stripe
4757
3307
  request_stripe_object(method: :post, path: "/v1/payment_intents", params: params, opts: opts)
4758
3308
  end
4759
3309
 
4760
- # Perform a decremental authorization on an eligible
4761
- # [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
4762
- # PaymentIntent's status must be requires_capture and
4763
- # [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
4764
- # must be available.
4765
- #
4766
- # Decremental authorizations decrease the authorized amount on your customer's card
4767
- # to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
4768
- #
4769
- # After decrement, the PaymentIntent object
4770
- # returns with the updated
4771
- # [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
4772
- # The PaymentIntent will now be capturable up to the new authorized amount.
4773
- #
4774
- # Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
4775
- # After it's fully captured, a PaymentIntent can no longer be decremented.
4776
- def decrement_authorization(params = {}, opts = {})
4777
- request_stripe_object(
4778
- method: :post,
4779
- path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(self["id"]) }),
4780
- params: params,
4781
- opts: opts
4782
- )
4783
- end
4784
-
4785
- # Perform a decremental authorization on an eligible
4786
- # [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
4787
- # PaymentIntent's status must be requires_capture and
4788
- # [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
4789
- # must be available.
4790
- #
4791
- # Decremental authorizations decrease the authorized amount on your customer's card
4792
- # to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
4793
- #
4794
- # After decrement, the PaymentIntent object
4795
- # returns with the updated
4796
- # [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
4797
- # The PaymentIntent will now be capturable up to the new authorized amount.
4798
- #
4799
- # Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
4800
- # After it's fully captured, a PaymentIntent can no longer be decremented.
4801
- def self.decrement_authorization(intent, params = {}, opts = {})
4802
- request_stripe_object(
4803
- method: :post,
4804
- path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(intent) }),
4805
- params: params,
4806
- opts: opts
4807
- )
4808
- end
4809
-
4810
3310
  # Perform an incremental authorization on an eligible
4811
3311
  # [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
4812
3312
  # PaymentIntent's status must be requires_capture and
@@ -4895,26 +3395,6 @@ module Stripe
4895
3395
  search(params, opts).auto_paging_each(&blk)
4896
3396
  end
4897
3397
 
4898
- # Trigger an external action on a PaymentIntent.
4899
- def trigger_action(params = {}, opts = {})
4900
- request_stripe_object(
4901
- method: :post,
4902
- path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(self["id"]) }),
4903
- params: params,
4904
- opts: opts
4905
- )
4906
- end
4907
-
4908
- # Trigger an external action on a PaymentIntent.
4909
- def self.trigger_action(intent, params = {}, opts = {})
4910
- request_stripe_object(
4911
- method: :post,
4912
- path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(intent) }),
4913
- params: params,
4914
- opts: opts
4915
- )
4916
- end
4917
-
4918
3398
  # Updates properties on a PaymentIntent object without confirming.
4919
3399
  #
4920
3400
  # Depending on which properties you update, you might need to confirm the
@@ -4954,7 +3434,6 @@ module Stripe
4954
3434
  def self.inner_class_types
4955
3435
  @inner_class_types = {
4956
3436
  amount_details: AmountDetails,
4957
- async_workflows: AsyncWorkflows,
4958
3437
  automatic_payment_methods: AutomaticPaymentMethods,
4959
3438
  hooks: Hooks,
4960
3439
  last_payment_error: LastPaymentError,