stripe 18.3.0.pre.alpha.1 → 18.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 (787) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +1 -37
  3. data/lib/stripe/api_version.rb +2 -1
  4. data/lib/stripe/errors.rb +0 -66
  5. data/lib/stripe/event_types.rb +0 -512
  6. data/lib/stripe/object_types.rb +1 -90
  7. data/lib/stripe/params/account_create_params.rb +3 -338
  8. data/lib/stripe/params/account_person_create_params.rb +0 -32
  9. data/lib/stripe/params/account_person_update_params.rb +0 -32
  10. data/lib/stripe/params/account_session_create_params.rb +4 -246
  11. data/lib/stripe/params/account_update_params.rb +2 -300
  12. data/lib/stripe/params/balance_transaction_list_params.rb +2 -2
  13. data/lib/stripe/params/billing/alert_create_params.rb +1 -121
  14. data/lib/stripe/params/billing/alert_list_params.rb +0 -4
  15. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -13
  16. data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -29
  17. data/lib/stripe/params/billing/meter_create_params.rb +0 -4
  18. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +0 -8
  19. data/lib/stripe/params/charge_capture_params.rb +0 -1648
  20. data/lib/stripe/params/charge_update_params.rb +0 -1648
  21. data/lib/stripe/params/checkout/session_create_params.rb +19 -234
  22. data/lib/stripe/params/checkout/session_update_params.rb +2 -157
  23. data/lib/stripe/params/confirmation_token_create_params.rb +0 -77
  24. data/lib/stripe/params/coupon_create_params.rb +2 -18
  25. data/lib/stripe/params/customer_create_params.rb +1 -1
  26. data/lib/stripe/params/customer_session_create_params.rb +1 -32
  27. data/lib/stripe/params/customer_tax_id_create_params.rb +1 -1
  28. data/lib/stripe/params/dispute_update_params.rb +1 -10
  29. data/lib/stripe/params/financial_connections/session_create_params.rb +1 -30
  30. data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
  31. data/lib/stripe/params/invoice_add_lines_params.rb +2 -49
  32. data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
  33. data/lib/stripe/params/invoice_create_params.rb +2 -107
  34. data/lib/stripe/params/invoice_create_preview_params.rb +10 -942
  35. data/lib/stripe/params/invoice_item_create_params.rb +1 -33
  36. data/lib/stripe/params/invoice_item_update_params.rb +1 -33
  37. data/lib/stripe/params/invoice_line_item_update_params.rb +2 -49
  38. data/lib/stripe/params/invoice_list_params.rb +0 -4
  39. data/lib/stripe/params/invoice_update_lines_params.rb +2 -49
  40. data/lib/stripe/params/invoice_update_params.rb +2 -107
  41. data/lib/stripe/params/issuing/card_list_params.rb +1 -34
  42. data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
  43. data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
  44. data/lib/stripe/params/payment_intent_capture_params.rb +16 -1629
  45. data/lib/stripe/params/payment_intent_confirm_params.rb +136 -3121
  46. data/lib/stripe/params/payment_intent_create_params.rb +138 -3136
  47. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +15 -23
  48. data/lib/stripe/params/payment_intent_update_params.rb +186 -3198
  49. data/lib/stripe/params/payment_link_create_params.rb +4 -19
  50. data/lib/stripe/params/payment_link_update_params.rb +3 -3
  51. data/lib/stripe/params/payment_method_configuration_create_params.rb +1 -106
  52. data/lib/stripe/params/payment_method_configuration_update_params.rb +1 -106
  53. data/lib/stripe/params/payment_method_create_params.rb +0 -77
  54. data/lib/stripe/params/plan_create_params.rb +1 -16
  55. data/lib/stripe/params/price_create_params.rb +1 -16
  56. data/lib/stripe/params/price_update_params.rb +0 -19
  57. data/lib/stripe/params/product_create_params.rb +1 -17
  58. data/lib/stripe/params/product_update_params.rb +1 -17
  59. data/lib/stripe/params/quote_create_params.rb +3 -1021
  60. data/lib/stripe/params/quote_list_params.rb +0 -4
  61. data/lib/stripe/params/quote_update_params.rb +4 -1029
  62. data/lib/stripe/params/radar/payment_evaluation_create_params.rb +223 -0
  63. data/lib/stripe/params/setup_intent_confirm_params.rb +3 -187
  64. data/lib/stripe/params/setup_intent_create_params.rb +3 -187
  65. data/lib/stripe/params/setup_intent_update_params.rb +4 -188
  66. data/lib/stripe/params/subscription_create_params.rb +5 -270
  67. data/lib/stripe/params/subscription_item_create_params.rb +2 -62
  68. data/lib/stripe/params/subscription_item_update_params.rb +1 -45
  69. data/lib/stripe/params/subscription_schedule_create_params.rb +5 -231
  70. data/lib/stripe/params/subscription_schedule_update_params.rb +5 -231
  71. data/lib/stripe/params/subscription_update_params.rb +4 -253
  72. data/lib/stripe/params/tax/calculation_create_params.rb +2 -6
  73. data/lib/stripe/params/tax_id_create_params.rb +1 -1
  74. data/lib/stripe/params/terminal/configuration_create_params.rb +1 -33
  75. data/lib/stripe/params/terminal/configuration_update_params.rb +0 -32
  76. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -77
  77. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
  78. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
  79. data/lib/stripe/params/token_create_params.rb +0 -64
  80. data/lib/stripe/params/transfer_create_params.rb +0 -8
  81. data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
  82. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
  83. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
  84. data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
  85. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
  86. data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
  87. data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
  88. data/lib/stripe/params/v2/core/account_create_params.rb +28 -959
  89. data/lib/stripe/params/v2/core/account_token_create_params.rb +25 -251
  90. data/lib/stripe/params/v2/core/account_update_params.rb +28 -938
  91. data/lib/stripe/params/v2/core/event_list_params.rb +1 -4
  92. data/lib/stripe/params/v2/core/event_retrieve_params.rb +1 -8
  93. data/lib/stripe/params.rb +1 -274
  94. data/lib/stripe/resources/account.rb +1 -182
  95. data/lib/stripe/resources/account_session.rb +3 -111
  96. data/lib/stripe/resources/application_fee.rb +0 -2
  97. data/lib/stripe/resources/balance.rb +0 -83
  98. data/lib/stripe/resources/balance_transaction.rb +1 -1
  99. data/lib/stripe/resources/billing/alert.rb +1 -105
  100. data/lib/stripe/resources/billing/alert_triggered.rb +0 -6
  101. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -84
  102. data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -84
  103. data/lib/stripe/resources/billing/credit_grant.rb +2 -58
  104. data/lib/stripe/resources/billing/meter.rb +0 -2
  105. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -2
  106. data/lib/stripe/resources/card.rb +1 -20
  107. data/lib/stripe/resources/charge.rb +2 -234
  108. data/lib/stripe/resources/checkout/session.rb +7 -199
  109. data/lib/stripe/resources/confirmation_token.rb +1 -152
  110. data/lib/stripe/resources/coupon.rb +1 -26
  111. data/lib/stripe/resources/credit_note_line_item.rb +0 -18
  112. data/lib/stripe/resources/customer.rb +1 -1
  113. data/lib/stripe/resources/customer_session.rb +0 -36
  114. data/lib/stripe/resources/discount.rb +0 -2
  115. data/lib/stripe/resources/dispute.rb +0 -22
  116. data/lib/stripe/resources/event.rb +1 -64
  117. data/lib/stripe/resources/financial_connections/account.rb +0 -25
  118. data/lib/stripe/resources/financial_connections/session.rb +1 -65
  119. data/lib/stripe/resources/identity/verification_report.rb +0 -4
  120. data/lib/stripe/resources/invoice.rb +3 -170
  121. data/lib/stripe/resources/invoice_item.rb +2 -108
  122. data/lib/stripe/resources/invoice_line_item.rb +3 -147
  123. data/lib/stripe/resources/issuing/card.rb +0 -4
  124. data/lib/stripe/resources/issuing/transaction.rb +0 -2
  125. data/lib/stripe/resources/line_item.rb +0 -42
  126. data/lib/stripe/resources/mandate.rb +0 -43
  127. data/lib/stripe/resources/payment_attempt_record.rb +2 -182
  128. data/lib/stripe/resources/payment_intent.rb +22 -800
  129. data/lib/stripe/resources/payment_link.rb +1 -1
  130. data/lib/stripe/resources/payment_method.rb +1 -174
  131. data/lib/stripe/resources/payment_method_configuration.rb +0 -170
  132. data/lib/stripe/resources/payment_record.rb +2 -182
  133. data/lib/stripe/resources/person.rb +0 -36
  134. data/lib/stripe/resources/plan.rb +0 -2
  135. data/lib/stripe/resources/price.rb +0 -22
  136. data/lib/stripe/resources/quote.rb +2 -806
  137. data/lib/stripe/resources/radar/payment_evaluation.rb +515 -0
  138. data/lib/stripe/resources/refund.rb +0 -18
  139. data/lib/stripe/resources/setup_attempt.rb +1 -49
  140. data/lib/stripe/resources/setup_intent.rb +1 -128
  141. data/lib/stripe/resources/source.rb +0 -38
  142. data/lib/stripe/resources/subscription.rb +1 -250
  143. data/lib/stripe/resources/subscription_item.rb +1 -43
  144. data/lib/stripe/resources/subscription_schedule.rb +3 -290
  145. data/lib/stripe/resources/tax/calculation.rb +1 -1
  146. data/lib/stripe/resources/tax/calculation_line_item.rb +0 -2
  147. data/lib/stripe/resources/tax/registration.rb +0 -128
  148. data/lib/stripe/resources/tax/transaction.rb +1 -1
  149. data/lib/stripe/resources/tax_code.rb +1 -15
  150. data/lib/stripe/resources/tax_id.rb +1 -1
  151. data/lib/stripe/resources/terminal/configuration.rb +0 -36
  152. data/lib/stripe/resources/terminal/reader.rb +0 -8
  153. data/lib/stripe/resources/transfer.rb +0 -6
  154. data/lib/stripe/resources/treasury/financial_account.rb +0 -2
  155. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  156. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
  157. data/lib/stripe/resources/treasury/received_credit.rb +0 -30
  158. data/lib/stripe/resources/treasury/received_debit.rb +2 -32
  159. data/lib/stripe/resources/v2/core/account.rb +63 -1671
  160. data/lib/stripe/resources/v2/core/event.rb +1 -50
  161. data/lib/stripe/resources.rb +1 -218
  162. data/lib/stripe/services/billing_service.rb +1 -2
  163. data/lib/stripe/services/checkout/session_service.rb +1 -1
  164. data/lib/stripe/services/customer_service.rb +1 -1
  165. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  166. data/lib/stripe/services/financial_connections_service.rb +1 -2
  167. data/lib/stripe/services/identity_service.rb +1 -2
  168. data/lib/stripe/services/invoice_service.rb +1 -1
  169. data/lib/stripe/services/issuing_service.rb +1 -6
  170. data/lib/stripe/services/mandate_service.rb +0 -5
  171. data/lib/stripe/services/payment_intent_service.rb +0 -37
  172. data/lib/stripe/services/payment_method_service.rb +0 -11
  173. data/lib/stripe/services/quote_service.rb +1 -49
  174. data/lib/stripe/services/{product_catalog/trial_offer_service.rb → radar/payment_evaluation_service.rb} +4 -4
  175. data/lib/stripe/services/radar_service.rb +2 -2
  176. data/lib/stripe/services/subscription_schedule_service.rb +0 -11
  177. data/lib/stripe/services/subscription_service.rb +0 -11
  178. data/lib/stripe/services/tax_service.rb +1 -3
  179. data/lib/stripe/services/terminal_service.rb +1 -2
  180. data/lib/stripe/services/test_helpers_service.rb +1 -3
  181. data/lib/stripe/services/v1_services.rb +1 -12
  182. data/lib/stripe/services/v2/billing_service.rb +1 -18
  183. data/lib/stripe/services/v2/core/account_link_service.rb +0 -2
  184. data/lib/stripe/services/v2/core/account_service.rb +0 -10
  185. data/lib/stripe/services/v2/core/account_token_service.rb +0 -4
  186. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -10
  187. data/lib/stripe/services/v2/core/accounts/person_token_service.rb +0 -4
  188. data/lib/stripe/services/v2/core_service.rb +1 -3
  189. data/lib/stripe/services/v2_services.rb +1 -7
  190. data/lib/stripe/services.rb +1 -99
  191. data/lib/stripe/stripe_configuration.rb +1 -3
  192. data/lib/stripe/stripe_object.rb +1 -1
  193. data/lib/stripe/util.rb +4 -16
  194. data/lib/stripe/version.rb +1 -1
  195. data/lib/stripe.rb +0 -53
  196. data/rbi/stripe.rbi +85390 -164572
  197. metadata +7 -595
  198. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -61
  199. data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -44
  200. data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -61
  201. data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -44
  202. data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -44
  203. data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -61
  204. data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -44
  205. data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -44
  206. data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -44
  207. data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -44
  208. data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -61
  209. data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -61
  210. data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -44
  211. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -44
  212. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -44
  213. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -44
  214. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -44
  215. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -44
  216. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -44
  217. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -44
  218. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -44
  219. data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -44
  220. data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -61
  221. data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -61
  222. data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -67
  223. data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -44
  224. data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -44
  225. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -44
  226. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -44
  227. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -44
  228. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -44
  229. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -44
  230. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -44
  231. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -44
  232. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -44
  233. data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -44
  234. data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -61
  235. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +0 -63
  236. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +0 -44
  237. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
  238. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
  239. data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +0 -44
  240. data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +0 -44
  241. data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +0 -44
  242. data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +0 -44
  243. data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +0 -44
  244. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -86
  245. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -86
  246. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -84
  247. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -84
  248. data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -80
  249. data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -80
  250. data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -78
  251. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -78
  252. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -91
  253. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -93
  254. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -93
  255. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -93
  256. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -82
  257. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -82
  258. data/lib/stripe/events/v2_core_health_sepa_debit_delayed_firing_event.rb +0 -58
  259. data/lib/stripe/events/v2_core_health_sepa_debit_delayed_resolved_event.rb +0 -60
  260. data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -62
  261. data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -62
  262. data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -58
  263. data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -58
  264. data/lib/stripe/events/v2_iam_api_key_created_event.rb +0 -20
  265. data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +0 -20
  266. data/lib/stripe/events/v2_iam_api_key_expired_event.rb +0 -20
  267. data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +0 -20
  268. data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +0 -38
  269. data/lib/stripe/events/v2_iam_api_key_updated_event.rb +0 -20
  270. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
  271. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
  272. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
  273. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
  274. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
  275. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
  276. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
  277. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
  278. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
  279. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
  280. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
  281. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
  282. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
  283. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
  284. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
  285. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
  286. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
  287. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
  288. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
  289. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
  290. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
  291. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
  292. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
  293. data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +0 -44
  294. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
  295. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
  296. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
  297. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
  298. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
  299. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
  300. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
  301. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
  302. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
  303. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
  304. data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +0 -44
  305. data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +0 -44
  306. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -61
  307. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
  308. data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +0 -44
  309. data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +0 -46
  310. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -46
  311. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -48
  312. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
  313. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
  314. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
  315. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
  316. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
  317. data/lib/stripe/events/v2_payments_settlement_allocation_intent_canceled_event.rb +0 -44
  318. data/lib/stripe/events/v2_payments_settlement_allocation_intent_created_event.rb +0 -44
  319. data/lib/stripe/events/v2_payments_settlement_allocation_intent_errored_event.rb +0 -65
  320. data/lib/stripe/events/v2_payments_settlement_allocation_intent_funds_not_received_event.rb +0 -44
  321. data/lib/stripe/events/v2_payments_settlement_allocation_intent_matched_event.rb +0 -44
  322. data/lib/stripe/events/v2_payments_settlement_allocation_intent_not_found_event.rb +0 -38
  323. data/lib/stripe/events/v2_payments_settlement_allocation_intent_settled_event.rb +0 -44
  324. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_canceled_event.rb +0 -61
  325. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_created_event.rb +0 -61
  326. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_settled_event.rb +0 -61
  327. data/lib/stripe/events/v2_payments_settlement_allocation_intent_submitted_event.rb +0 -44
  328. data/lib/stripe/events/v2_reporting_report_run_created_event.rb +0 -44
  329. data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +0 -44
  330. data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +0 -44
  331. data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +0 -44
  332. data/lib/stripe/params/account_notice_list_params.rb +0 -25
  333. data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
  334. data/lib/stripe/params/account_notice_update_params.rb +0 -36
  335. data/lib/stripe/params/balance_transfer_create_params.rb +0 -66
  336. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -69
  337. data/lib/stripe/params/capital/financing_offer_create_params.rb +0 -37
  338. data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
  339. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
  340. data/lib/stripe/params/capital/financing_offer_refill_params.rb +0 -37
  341. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
  342. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
  343. data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
  344. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
  345. data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +0 -138
  346. data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +0 -205
  347. data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +0 -15
  348. data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +0 -15
  349. data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +0 -209
  350. data/lib/stripe/params/external_account_create_params.rb +0 -134
  351. data/lib/stripe/params/external_account_delete_params.rb +0 -6
  352. data/lib/stripe/params/external_account_list_params.rb +0 -25
  353. data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
  354. data/lib/stripe/params/external_account_update_params.rb +0 -91
  355. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
  356. data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
  357. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
  358. data/lib/stripe/params/fx_quote_create_params.rb +0 -73
  359. data/lib/stripe/params/fx_quote_list_params.rb +0 -22
  360. data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
  361. data/lib/stripe/params/identity/blocklist_entry_create_params.rb +0 -29
  362. data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +0 -15
  363. data/lib/stripe/params/identity/blocklist_entry_list_params.rb +0 -62
  364. data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +0 -15
  365. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
  366. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
  367. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
  368. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
  369. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
  370. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
  371. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
  372. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
  373. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
  374. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
  375. data/lib/stripe/params/issuing/program_create_params.rb +0 -21
  376. data/lib/stripe/params/issuing/program_list_params.rb +0 -24
  377. data/lib/stripe/params/issuing/program_retrieve_params.rb +0 -15
  378. data/lib/stripe/params/issuing/program_update_params.rb +0 -21
  379. data/lib/stripe/params/mandate_list_params.rb +0 -39
  380. data/lib/stripe/params/margin_create_params.rb +0 -25
  381. data/lib/stripe/params/margin_list_params.rb +0 -25
  382. data/lib/stripe/params/margin_retrieve_params.rb +0 -13
  383. data/lib/stripe/params/margin_update_params.rb +0 -22
  384. data/lib/stripe/params/order_cancel_params.rb +0 -13
  385. data/lib/stripe/params/order_create_params.rb +0 -2061
  386. data/lib/stripe/params/order_line_item_list_params.rb +0 -22
  387. data/lib/stripe/params/order_list_line_items_params.rb +0 -22
  388. data/lib/stripe/params/order_list_params.rb +0 -25
  389. data/lib/stripe/params/order_reopen_params.rb +0 -13
  390. data/lib/stripe/params/order_retrieve_params.rb +0 -13
  391. data/lib/stripe/params/order_submit_params.rb +0 -16
  392. data/lib/stripe/params/order_update_params.rb +0 -2065
  393. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
  394. data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
  395. data/lib/stripe/params/payment_method_check_balance_params.rb +0 -13
  396. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
  397. data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
  398. data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
  399. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
  400. data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
  401. data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
  402. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
  403. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
  404. data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +0 -63
  405. data/lib/stripe/params/quote_line_list_params.rb +0 -22
  406. data/lib/stripe/params/quote_list_lines_params.rb +0 -22
  407. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
  408. data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
  409. data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
  410. data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
  411. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
  412. data/lib/stripe/params/quote_reestimate_params.rb +0 -13
  413. data/lib/stripe/params/radar/account_evaluation_create_params.rb +0 -81
  414. data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +0 -15
  415. data/lib/stripe/params/radar/account_evaluation_update_params.rb +0 -41
  416. data/lib/stripe/params/shared_payment/granted_token_create_params.rb +0 -47
  417. data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +0 -15
  418. data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +0 -15
  419. data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
  420. data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -609
  421. data/lib/stripe/params/tax/form_list_params.rb +0 -51
  422. data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
  423. data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
  424. data/lib/stripe/params/tax/location_create_params.rb +0 -54
  425. data/lib/stripe/params/tax/location_list_params.rb +0 -27
  426. data/lib/stripe/params/tax/location_retrieve_params.rb +0 -15
  427. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
  428. data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +0 -39
  429. data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +0 -39
  430. data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +0 -49
  431. data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +0 -17
  432. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
  433. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
  434. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
  435. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
  436. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
  437. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
  438. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -17
  439. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -257
  440. data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
  441. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
  442. data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -78
  443. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
  444. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
  445. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
  446. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
  447. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
  448. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
  449. data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +0 -26
  450. data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +0 -24
  451. data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +0 -10
  452. data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +0 -26
  453. data/lib/stripe/params/v2/billing/intent_cancel_params.rb +0 -10
  454. data/lib/stripe/params/v2/billing/intent_commit_params.rb +0 -17
  455. data/lib/stripe/params/v2/billing/intent_create_params.rb +0 -425
  456. data/lib/stripe/params/v2/billing/intent_list_params.rb +0 -17
  457. data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +0 -10
  458. data/lib/stripe/params/v2/billing/intent_reserve_params.rb +0 -10
  459. data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +0 -10
  460. data/lib/stripe/params/v2/billing/intents/action_list_params.rb +0 -19
  461. data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +0 -12
  462. data/lib/stripe/params/v2/billing/license_fee_create_params.rb +0 -103
  463. data/lib/stripe/params/v2/billing/license_fee_list_params.rb +0 -24
  464. data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +0 -10
  465. data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +0 -10
  466. data/lib/stripe/params/v2/billing/license_fee_update_params.rb +0 -84
  467. data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +0 -19
  468. data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +0 -12
  469. data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +0 -48
  470. data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +0 -21
  471. data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +0 -10
  472. data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +0 -48
  473. data/lib/stripe/params/v2/billing/metered_item_create_params.rb +0 -73
  474. data/lib/stripe/params/v2/billing/metered_item_list_params.rb +0 -21
  475. data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +0 -10
  476. data/lib/stripe/params/v2/billing/metered_item_update_params.rb +0 -50
  477. data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +0 -39
  478. data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +0 -24
  479. data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +0 -10
  480. data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +0 -50
  481. data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +0 -10
  482. data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +0 -20
  483. data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +0 -12
  484. data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +0 -39
  485. data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +0 -73
  486. data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +0 -12
  487. data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +0 -27
  488. data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +0 -12
  489. data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +0 -22
  490. data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +0 -19
  491. data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +0 -12
  492. data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
  493. data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
  494. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
  495. data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
  496. data/lib/stripe/params/v2/billing/rate_card_create_params.rb +0 -49
  497. data/lib/stripe/params/v2/billing/rate_card_list_params.rb +0 -24
  498. data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +0 -10
  499. data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +0 -10
  500. data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +0 -26
  501. data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +0 -51
  502. data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +0 -10
  503. data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +0 -17
  504. data/lib/stripe/params/v2/billing/rate_card_update_params.rb +0 -38
  505. data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +0 -91
  506. data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +0 -12
  507. data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +0 -25
  508. data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +0 -12
  509. data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +0 -19
  510. data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +0 -12
  511. data/lib/stripe/params/v2/billing/service_action_create_params.rb +0 -278
  512. data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +0 -10
  513. data/lib/stripe/params/v2/billing/service_action_update_params.rb +0 -40
  514. data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +0 -36
  515. data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +0 -10
  516. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
  517. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
  518. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
  519. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
  520. data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
  521. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
  522. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
  523. data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
  524. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
  525. data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
  526. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
  527. data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
  528. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
  529. data/lib/stripe/params/v2/iam/api_key_create_params.rb +0 -51
  530. data/lib/stripe/params/v2/iam/api_key_expire_params.rb +0 -10
  531. data/lib/stripe/params/v2/iam/api_key_list_params.rb +0 -20
  532. data/lib/stripe/params/v2/iam/api_key_retrieve_params.rb +0 -10
  533. data/lib/stripe/params/v2/iam/api_key_rotate_params.rb +0 -46
  534. data/lib/stripe/params/v2/iam/api_key_update_params.rb +0 -20
  535. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
  536. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
  537. data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +0 -68
  538. data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +0 -20
  539. data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +0 -10
  540. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
  541. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
  542. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -23
  543. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
  544. data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
  545. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -31
  546. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
  547. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
  548. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -62
  549. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
  550. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
  551. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
  552. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -134
  553. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
  554. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -82
  555. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
  556. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
  557. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
  558. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -103
  559. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
  560. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
  561. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
  562. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
  563. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -93
  564. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
  565. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
  566. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
  567. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
  568. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
  569. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
  570. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
  571. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
  572. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
  573. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
  574. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
  575. data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +0 -10
  576. data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +0 -20
  577. data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +0 -10
  578. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
  579. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
  580. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
  581. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
  582. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
  583. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -57
  584. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -161
  585. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
  586. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
  587. data/lib/stripe/params/v2/payments/settlement_allocation_intent_cancel_params.rb +0 -10
  588. data/lib/stripe/params/v2/payments/settlement_allocation_intent_create_params.rb +0 -46
  589. data/lib/stripe/params/v2/payments/settlement_allocation_intent_retrieve_params.rb +0 -10
  590. data/lib/stripe/params/v2/payments/settlement_allocation_intent_submit_params.rb +0 -10
  591. data/lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb +0 -31
  592. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_cancel_params.rb +0 -12
  593. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb +0 -39
  594. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_retrieve_params.rb +0 -12
  595. data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +0 -10
  596. data/lib/stripe/params/v2/reporting/report_run_create_params.rb +0 -33
  597. data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +0 -10
  598. data/lib/stripe/params/v2/tax/manual_rule_create_params.rb +0 -94
  599. data/lib/stripe/params/v2/tax/manual_rule_deactivate_params.rb +0 -10
  600. data/lib/stripe/params/v2/tax/manual_rule_list_params.rb +0 -17
  601. data/lib/stripe/params/v2/tax/manual_rule_retrieve_params.rb +0 -10
  602. data/lib/stripe/params/v2/tax/manual_rule_update_params.rb +0 -94
  603. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -34
  604. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
  605. data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -24
  606. data/lib/stripe/resources/account_notice.rb +0 -94
  607. data/lib/stripe/resources/balance_transfer.rb +0 -139
  608. data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
  609. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -40
  610. data/lib/stripe/resources/capital/financing_offer.rb +0 -183
  611. data/lib/stripe/resources/capital/financing_summary.rb +0 -82
  612. data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
  613. data/lib/stripe/resources/delegated_checkout/requested_session.rb +0 -509
  614. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
  615. data/lib/stripe/resources/financial_connections/institution.rb +0 -127
  616. data/lib/stripe/resources/fx_quote.rb +0 -147
  617. data/lib/stripe/resources/identity/blocklist_entry.rb +0 -116
  618. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
  619. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
  620. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
  621. data/lib/stripe/resources/issuing/program.rb +0 -69
  622. data/lib/stripe/resources/issuing/settlement.rb +0 -61
  623. data/lib/stripe/resources/margin.rb +0 -64
  624. data/lib/stripe/resources/order.rb +0 -987
  625. data/lib/stripe/resources/payment_method_balance.rb +0 -68
  626. data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
  627. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
  628. data/lib/stripe/resources/product_catalog/trial_offer.rb +0 -103
  629. data/lib/stripe/resources/quote_line.rb +0 -527
  630. data/lib/stripe/resources/quote_preview_invoice.rb +0 -1200
  631. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -826
  632. data/lib/stripe/resources/radar/account_evaluation.rb +0 -145
  633. data/lib/stripe/resources/shared_payment/granted_token.rb +0 -126
  634. data/lib/stripe/resources/tax/form.rb +0 -264
  635. data/lib/stripe/resources/tax/location.rb +0 -72
  636. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
  637. data/lib/stripe/resources/transit_balance.rb +0 -45
  638. data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
  639. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
  640. data/lib/stripe/resources/v2/billing/cadence.rb +0 -655
  641. data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
  642. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
  643. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
  644. data/lib/stripe/resources/v2/billing/intent.rb +0 -86
  645. data/lib/stripe/resources/v2/billing/intent_action.rb +0 -483
  646. data/lib/stripe/resources/v2/billing/license_fee.rb +0 -104
  647. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
  648. data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
  649. data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
  650. data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
  651. data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
  652. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
  653. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -94
  654. data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +0 -49
  655. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
  656. data/lib/stripe/resources/v2/billing/profile.rb +0 -46
  657. data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
  658. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -110
  659. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -94
  660. data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
  661. data/lib/stripe/resources/v2/billing/service_action.rb +0 -274
  662. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
  663. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -134
  664. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -103
  665. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
  666. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -44
  667. data/lib/stripe/resources/v2/iam/api_key.rb +0 -129
  668. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -82
  669. data/lib/stripe/resources/v2/money_management/currency_conversion.rb +0 -94
  670. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -223
  671. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
  672. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -197
  673. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -347
  674. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -204
  675. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
  676. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -242
  677. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -157
  678. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
  679. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -280
  680. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -208
  681. data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
  682. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -180
  683. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -153
  684. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -186
  685. data/lib/stripe/resources/v2/payments/settlement_allocation_intent.rb +0 -92
  686. data/lib/stripe/resources/v2/payments/settlement_allocation_intent_split.rb +0 -78
  687. data/lib/stripe/resources/v2/reporting/report.rb +0 -116
  688. data/lib/stripe/resources/v2/reporting/report_run.rb +0 -128
  689. data/lib/stripe/resources/v2/tax/manual_rule.rb +0 -115
  690. data/lib/stripe/services/account_notice_service.rb +0 -39
  691. data/lib/stripe/services/balance_transfer_service.rb +0 -17
  692. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
  693. data/lib/stripe/services/billing/analytics_service.rb +0 -15
  694. data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
  695. data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
  696. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
  697. data/lib/stripe/services/capital_service.rb +0 -15
  698. data/lib/stripe/services/delegated_checkout/requested_session_service.rb +0 -63
  699. data/lib/stripe/services/delegated_checkout_service.rb +0 -13
  700. data/lib/stripe/services/external_account_service.rb +0 -68
  701. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
  702. data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
  703. data/lib/stripe/services/fx_quote_service.rb +0 -27
  704. data/lib/stripe/services/identity/blocklist_entry_service.rb +0 -71
  705. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
  706. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
  707. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
  708. data/lib/stripe/services/issuing/program_service.rb +0 -52
  709. data/lib/stripe/services/margin_service.rb +0 -50
  710. data/lib/stripe/services/order_line_item_service.rb +0 -17
  711. data/lib/stripe/services/order_service.rb +0 -78
  712. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
  713. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
  714. data/lib/stripe/services/privacy_service.rb +0 -13
  715. data/lib/stripe/services/product_catalog_service.rb +0 -13
  716. data/lib/stripe/services/quote_line_service.rb +0 -17
  717. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
  718. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
  719. data/lib/stripe/services/radar/account_evaluation_service.rb +0 -41
  720. data/lib/stripe/services/shared_payment/granted_token_service.rb +0 -19
  721. data/lib/stripe/services/shared_payment_service.rb +0 -13
  722. data/lib/stripe/services/tax/form_service.rb +0 -37
  723. data/lib/stripe/services/tax/location_service.rb +0 -45
  724. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
  725. data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +0 -32
  726. data/lib/stripe/services/test_helpers/capital_service.rb +0 -15
  727. data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +0 -32
  728. data/lib/stripe/services/test_helpers/shared_payment_service.rb +0 -15
  729. data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
  730. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
  731. data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
  732. data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
  733. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
  734. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -54
  735. data/lib/stripe/services/v2/billing/intent_service.rb +0 -94
  736. data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -34
  737. data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -61
  738. data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -21
  739. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -34
  740. data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -54
  741. data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -54
  742. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -62
  743. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -51
  744. data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +0 -23
  745. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -67
  746. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -34
  747. data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
  748. data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -62
  749. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -65
  750. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -57
  751. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -34
  752. data/lib/stripe/services/v2/billing/service_action_service.rb +0 -43
  753. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -35
  754. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
  755. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
  756. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  757. data/lib/stripe/services/v2/iam/api_key_service.rb +0 -76
  758. data/lib/stripe/services/v2/iam_service.rb +0 -15
  759. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
  760. data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +0 -45
  761. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
  762. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
  763. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
  764. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
  765. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
  766. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -75
  767. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
  768. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -65
  769. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
  770. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
  771. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
  772. data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +0 -43
  773. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
  774. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
  775. data/lib/stripe/services/v2/money_management_service.rb +0 -35
  776. data/lib/stripe/services/v2/payment_service.rb +0 -17
  777. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
  778. data/lib/stripe/services/v2/payments/settlement_allocation_intent_service.rb +0 -72
  779. data/lib/stripe/services/v2/payments/settlement_allocation_intents/split_service.rb +0 -45
  780. data/lib/stripe/services/v2/reporting/report_run_service.rb +0 -38
  781. data/lib/stripe/services/v2/reporting/report_service.rb +0 -23
  782. data/lib/stripe/services/v2/reporting_service.rb +0 -16
  783. data/lib/stripe/services/v2/tax/manual_rule_service.rb +0 -65
  784. data/lib/stripe/services/v2/tax_service.rb +0 -15
  785. data/lib/stripe/services/v2/test_helper_service.rb +0 -16
  786. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
  787. data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
@@ -3,15 +3,6 @@
3
3
 
4
4
  module Stripe
5
5
  class PaymentIntentConfirmParams < ::Stripe::RequestParams
6
- class AllocatedFunds < ::Stripe::RequestParams
7
- # Whether Allocated Funds creation is enabled for this PaymentIntent.
8
- attr_accessor :enabled
9
-
10
- def initialize(enabled: nil)
11
- @enabled = enabled
12
- end
13
- end
14
-
15
6
  class AmountDetails < ::Stripe::RequestParams
16
7
  class LineItem < ::Stripe::RequestParams
17
8
  class PaymentMethodOptions < ::Stripe::RequestParams
@@ -122,1793 +113,159 @@ module Stripe
122
113
  discount_amount: nil,
123
114
  payment_method_options: nil,
124
115
  product_code: nil,
125
- product_name: nil,
126
- quantity: nil,
127
- tax: nil,
128
- unit_cost: nil,
129
- unit_of_measure: nil
130
- )
131
- @discount_amount = discount_amount
132
- @payment_method_options = payment_method_options
133
- @product_code = product_code
134
- @product_name = product_name
135
- @quantity = quantity
136
- @tax = tax
137
- @unit_cost = unit_cost
138
- @unit_of_measure = unit_of_measure
139
- end
140
- end
141
-
142
- class Shipping < ::Stripe::RequestParams
143
- # If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.
144
- attr_accessor :amount
145
- # If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.
146
- attr_accessor :from_postal_code
147
- # If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.
148
- attr_accessor :to_postal_code
149
-
150
- def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
151
- @amount = amount
152
- @from_postal_code = from_postal_code
153
- @to_postal_code = to_postal_code
154
- end
155
- end
156
-
157
- class Tax < ::Stripe::RequestParams
158
- # 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.
159
- #
160
- # This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
161
- attr_accessor :total_tax_amount
162
-
163
- def initialize(total_tax_amount: nil)
164
- @total_tax_amount = total_tax_amount
165
- end
166
- end
167
- # The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
168
- #
169
- # This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
170
- attr_accessor :discount_amount
171
- # A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
172
- attr_accessor :line_items
173
- # Contains information about the shipping portion of the amount.
174
- attr_accessor :shipping
175
- # Contains information about the tax portion of the amount.
176
- attr_accessor :tax
177
-
178
- def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil)
179
- @discount_amount = discount_amount
180
- @line_items = line_items
181
- @shipping = shipping
182
- @tax = tax
183
- end
184
- end
185
-
186
- class Hooks < ::Stripe::RequestParams
187
- class Inputs < ::Stripe::RequestParams
188
- class Tax < ::Stripe::RequestParams
189
- # The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
190
- attr_accessor :calculation
191
-
192
- def initialize(calculation: nil)
193
- @calculation = calculation
194
- end
195
- end
196
- # Tax arguments for automations
197
- attr_accessor :tax
198
-
199
- def initialize(tax: nil)
200
- @tax = tax
201
- end
202
- end
203
- # Arguments passed in automations
204
- attr_accessor :inputs
205
-
206
- def initialize(inputs: nil)
207
- @inputs = inputs
208
- end
209
- end
210
-
211
- class MandateData < ::Stripe::RequestParams
212
- class CustomerAcceptance < ::Stripe::RequestParams
213
- class Offline < ::Stripe::RequestParams; end
214
-
215
- class Online < ::Stripe::RequestParams
216
- # The IP address from which the Mandate was accepted by the customer.
217
- attr_accessor :ip_address
218
- # The user agent of the browser from which the Mandate was accepted by the customer.
219
- attr_accessor :user_agent
220
-
221
- def initialize(ip_address: nil, user_agent: nil)
222
- @ip_address = ip_address
223
- @user_agent = user_agent
224
- end
225
- end
226
- # The time at which the customer accepted the Mandate.
227
- attr_accessor :accepted_at
228
- # If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
229
- attr_accessor :offline
230
- # If this is a Mandate accepted online, this hash contains details about the online acceptance.
231
- attr_accessor :online
232
- # The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
233
- attr_accessor :type
234
-
235
- def initialize(accepted_at: nil, offline: nil, online: nil, type: nil)
236
- @accepted_at = accepted_at
237
- @offline = offline
238
- @online = online
239
- @type = type
240
- end
241
- end
242
- # This hash contains details about the customer acceptance of the Mandate.
243
- attr_accessor :customer_acceptance
244
-
245
- def initialize(customer_acceptance: nil)
246
- @customer_acceptance = customer_acceptance
247
- end
248
- end
249
-
250
- class PaymentDetails < ::Stripe::RequestParams
251
- class Benefit < ::Stripe::RequestParams
252
- class FrMealVoucher < ::Stripe::RequestParams
253
- # The 14-digit SIRET of the meal voucher acceptor.
254
- attr_accessor :siret
255
-
256
- def initialize(siret: nil)
257
- @siret = siret
258
- end
259
- end
260
- # French meal voucher benefit details for this PaymentIntent.
261
- attr_accessor :fr_meal_voucher
262
-
263
- def initialize(fr_meal_voucher: nil)
264
- @fr_meal_voucher = fr_meal_voucher
265
- end
266
- end
267
-
268
- class CarRental < ::Stripe::RequestParams
269
- class Affiliate < ::Stripe::RequestParams
270
- # The name of the affiliate that originated the purchase.
271
- attr_accessor :name
272
-
273
- def initialize(name: nil)
274
- @name = name
275
- end
276
- end
277
-
278
- class Delivery < ::Stripe::RequestParams
279
- class Recipient < ::Stripe::RequestParams
280
- # The email of the recipient the ticket is delivered to.
281
- attr_accessor :email
282
- # The name of the recipient the ticket is delivered to.
283
- attr_accessor :name
284
- # The phone number of the recipient the ticket is delivered to.
285
- attr_accessor :phone
286
-
287
- def initialize(email: nil, name: nil, phone: nil)
288
- @email = email
289
- @name = name
290
- @phone = phone
291
- end
292
- end
293
- # The delivery method for the payment
294
- attr_accessor :mode
295
- # Details of the recipient.
296
- attr_accessor :recipient
297
-
298
- def initialize(mode: nil, recipient: nil)
299
- @mode = mode
300
- @recipient = recipient
301
- end
302
- end
303
-
304
- class Distance < ::Stripe::RequestParams
305
- # Distance traveled.
306
- attr_accessor :amount
307
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
308
- attr_accessor :unit
309
-
310
- def initialize(amount: nil, unit: nil)
311
- @amount = amount
312
- @unit = unit
313
- end
314
- end
315
-
316
- class Driver < ::Stripe::RequestParams
317
- # Driver's identification number.
318
- attr_accessor :driver_identification_number
319
- # Driver's tax number.
320
- attr_accessor :driver_tax_number
321
- # Full name of the person or entity on the car reservation.
322
- attr_accessor :name
323
-
324
- def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
325
- @driver_identification_number = driver_identification_number
326
- @driver_tax_number = driver_tax_number
327
- @name = name
328
- end
329
- end
330
-
331
- class PickupAddress < ::Stripe::RequestParams
332
- # City, district, suburb, town, or village.
333
- attr_accessor :city
334
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
335
- attr_accessor :country
336
- # Address line 1, such as the street, PO Box, or company name.
337
- attr_accessor :line1
338
- # Address line 2, such as the apartment, suite, unit, or building.
339
- attr_accessor :line2
340
- # ZIP or postal code.
341
- attr_accessor :postal_code
342
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
343
- attr_accessor :state
344
-
345
- def initialize(
346
- city: nil,
347
- country: nil,
348
- line1: nil,
349
- line2: nil,
350
- postal_code: nil,
351
- state: nil
352
- )
353
- @city = city
354
- @country = country
355
- @line1 = line1
356
- @line2 = line2
357
- @postal_code = postal_code
358
- @state = state
359
- end
360
- end
361
-
362
- class ReturnAddress < ::Stripe::RequestParams
363
- # City, district, suburb, town, or village.
364
- attr_accessor :city
365
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
366
- attr_accessor :country
367
- # Address line 1, such as the street, PO Box, or company name.
368
- attr_accessor :line1
369
- # Address line 2, such as the apartment, suite, unit, or building.
370
- attr_accessor :line2
371
- # ZIP or postal code.
372
- attr_accessor :postal_code
373
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
374
- attr_accessor :state
375
-
376
- def initialize(
377
- city: nil,
378
- country: nil,
379
- line1: nil,
380
- line2: nil,
381
- postal_code: nil,
382
- state: nil
383
- )
384
- @city = city
385
- @country = country
386
- @line1 = line1
387
- @line2 = line2
388
- @postal_code = postal_code
389
- @state = state
390
- end
391
- end
392
- # Affiliate details for this purchase.
393
- attr_accessor :affiliate
394
- # The booking number associated with the car rental.
395
- attr_accessor :booking_number
396
- # Class code of the car.
397
- attr_accessor :car_class_code
398
- # Make of the car.
399
- attr_accessor :car_make
400
- # Model of the car.
401
- attr_accessor :car_model
402
- # The name of the rental car company.
403
- attr_accessor :company
404
- # The customer service phone number of the car rental company.
405
- attr_accessor :customer_service_phone_number
406
- # Number of days the car is being rented.
407
- attr_accessor :days_rented
408
- # Delivery details for this purchase.
409
- attr_accessor :delivery
410
- # The details of the distance traveled during the rental period.
411
- attr_accessor :distance
412
- # The details of the passengers in the travel reservation
413
- attr_accessor :drivers
414
- # List of additional charges being billed.
415
- attr_accessor :extra_charges
416
- # Indicates if the customer did not keep nor cancel their booking.
417
- attr_accessor :no_show
418
- # Car pick-up address.
419
- attr_accessor :pickup_address
420
- # Car pick-up time. Measured in seconds since the Unix epoch.
421
- attr_accessor :pickup_at
422
- # Name of the pickup location.
423
- attr_accessor :pickup_location_name
424
- # Rental rate.
425
- attr_accessor :rate_amount
426
- # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
427
- attr_accessor :rate_interval
428
- # The name of the person or entity renting the car.
429
- attr_accessor :renter_name
430
- # Car return address.
431
- attr_accessor :return_address
432
- # Car return time. Measured in seconds since the Unix epoch.
433
- attr_accessor :return_at
434
- # Name of the return location.
435
- attr_accessor :return_location_name
436
- # Indicates whether the goods or services are tax-exempt or tax is not collected.
437
- attr_accessor :tax_exempt
438
- # The vehicle identification number.
439
- attr_accessor :vehicle_identification_number
440
-
441
- def initialize(
442
- affiliate: nil,
443
- booking_number: nil,
444
- car_class_code: nil,
445
- car_make: nil,
446
- car_model: nil,
447
- company: nil,
448
- customer_service_phone_number: nil,
449
- days_rented: nil,
450
- delivery: nil,
451
- distance: nil,
452
- drivers: nil,
453
- extra_charges: nil,
454
- no_show: nil,
455
- pickup_address: nil,
456
- pickup_at: nil,
457
- pickup_location_name: nil,
458
- rate_amount: nil,
459
- rate_interval: nil,
460
- renter_name: nil,
461
- return_address: nil,
462
- return_at: nil,
463
- return_location_name: nil,
464
- tax_exempt: nil,
465
- vehicle_identification_number: nil
466
- )
467
- @affiliate = affiliate
468
- @booking_number = booking_number
469
- @car_class_code = car_class_code
470
- @car_make = car_make
471
- @car_model = car_model
472
- @company = company
473
- @customer_service_phone_number = customer_service_phone_number
474
- @days_rented = days_rented
475
- @delivery = delivery
476
- @distance = distance
477
- @drivers = drivers
478
- @extra_charges = extra_charges
479
- @no_show = no_show
480
- @pickup_address = pickup_address
481
- @pickup_at = pickup_at
482
- @pickup_location_name = pickup_location_name
483
- @rate_amount = rate_amount
484
- @rate_interval = rate_interval
485
- @renter_name = renter_name
486
- @return_address = return_address
487
- @return_at = return_at
488
- @return_location_name = return_location_name
489
- @tax_exempt = tax_exempt
490
- @vehicle_identification_number = vehicle_identification_number
491
- end
492
- end
493
-
494
- class CarRentalDatum < ::Stripe::RequestParams
495
- class Affiliate < ::Stripe::RequestParams
496
- # Affiliate partner code.
497
- attr_accessor :code
498
- # Name of affiliate partner.
499
- attr_accessor :name
500
-
501
- def initialize(code: nil, name: nil)
502
- @code = code
503
- @name = name
504
- end
505
- end
506
-
507
- class Distance < ::Stripe::RequestParams
508
- # Distance traveled.
509
- attr_accessor :amount
510
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
511
- attr_accessor :unit
512
-
513
- def initialize(amount: nil, unit: nil)
514
- @amount = amount
515
- @unit = unit
516
- end
517
- end
518
-
519
- class Driver < ::Stripe::RequestParams
520
- class DateOfBirth < ::Stripe::RequestParams
521
- # Day of birth (1-31).
522
- attr_accessor :day
523
- # Month of birth (1-12).
524
- attr_accessor :month
525
- # Year of birth (must be greater than 1900).
526
- attr_accessor :year
527
-
528
- def initialize(day: nil, month: nil, year: nil)
529
- @day = day
530
- @month = month
531
- @year = year
532
- end
533
- end
534
- # Driver's date of birth.
535
- attr_accessor :date_of_birth
536
- # Driver's identification number.
537
- attr_accessor :driver_identification_number
538
- # Driver's tax number.
539
- attr_accessor :driver_tax_number
540
- # Driver's full name.
541
- attr_accessor :name
542
-
543
- def initialize(
544
- date_of_birth: nil,
545
- driver_identification_number: nil,
546
- driver_tax_number: nil,
547
- name: nil
548
- )
549
- @date_of_birth = date_of_birth
550
- @driver_identification_number = driver_identification_number
551
- @driver_tax_number = driver_tax_number
552
- @name = name
553
- end
554
- end
555
-
556
- class DropOff < ::Stripe::RequestParams
557
- class Address < ::Stripe::RequestParams
558
- # City, district, suburb, town, or village.
559
- attr_accessor :city
560
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
561
- attr_accessor :country
562
- # Address line 1, such as the street, PO Box, or company name.
563
- attr_accessor :line1
564
- # Address line 2, such as the apartment, suite, unit, or building.
565
- attr_accessor :line2
566
- # ZIP or postal code.
567
- attr_accessor :postal_code
568
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
569
- attr_accessor :state
570
-
571
- def initialize(
572
- city: nil,
573
- country: nil,
574
- line1: nil,
575
- line2: nil,
576
- postal_code: nil,
577
- state: nil
578
- )
579
- @city = city
580
- @country = country
581
- @line1 = line1
582
- @line2 = line2
583
- @postal_code = postal_code
584
- @state = state
585
- end
586
- end
587
- # Address of the rental location.
588
- attr_accessor :address
589
- # Location name.
590
- attr_accessor :location_name
591
- # Timestamp for the location.
592
- attr_accessor :time
593
-
594
- def initialize(address: nil, location_name: nil, time: nil)
595
- @address = address
596
- @location_name = location_name
597
- @time = time
598
- end
599
- end
600
-
601
- class Insurance < ::Stripe::RequestParams
602
- # Amount of the insurance coverage in cents.
603
- attr_accessor :amount
604
- # Currency of the insurance amount.
605
- attr_accessor :currency
606
- # Name of the insurance company.
607
- attr_accessor :insurance_company_name
608
- # Type of insurance coverage.
609
- attr_accessor :insurance_type
610
-
611
- def initialize(
612
- amount: nil,
613
- currency: nil,
614
- insurance_company_name: nil,
615
- insurance_type: nil
616
- )
617
- @amount = amount
618
- @currency = currency
619
- @insurance_company_name = insurance_company_name
620
- @insurance_type = insurance_type
621
- end
622
- end
623
-
624
- class Pickup < ::Stripe::RequestParams
625
- class Address < ::Stripe::RequestParams
626
- # City, district, suburb, town, or village.
627
- attr_accessor :city
628
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
629
- attr_accessor :country
630
- # Address line 1, such as the street, PO Box, or company name.
631
- attr_accessor :line1
632
- # Address line 2, such as the apartment, suite, unit, or building.
633
- attr_accessor :line2
634
- # ZIP or postal code.
635
- attr_accessor :postal_code
636
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
637
- attr_accessor :state
638
-
639
- def initialize(
640
- city: nil,
641
- country: nil,
642
- line1: nil,
643
- line2: nil,
644
- postal_code: nil,
645
- state: nil
646
- )
647
- @city = city
648
- @country = country
649
- @line1 = line1
650
- @line2 = line2
651
- @postal_code = postal_code
652
- @state = state
653
- end
654
- end
655
- # Address of the rental location.
656
- attr_accessor :address
657
- # Location name.
658
- attr_accessor :location_name
659
- # Timestamp for the location.
660
- attr_accessor :time
661
-
662
- def initialize(address: nil, location_name: nil, time: nil)
663
- @address = address
664
- @location_name = location_name
665
- @time = time
666
- end
667
- end
668
-
669
- class Total < ::Stripe::RequestParams
670
- class Discounts < ::Stripe::RequestParams
671
- # Corporate client discount code.
672
- attr_accessor :corporate_client_code
673
- # Coupon code applied to the rental.
674
- attr_accessor :coupon
675
- # Maximum number of free miles or kilometers included.
676
- attr_accessor :maximum_free_miles_or_kilometers
677
-
678
- def initialize(
679
- corporate_client_code: nil,
680
- coupon: nil,
681
- maximum_free_miles_or_kilometers: nil
682
- )
683
- @corporate_client_code = corporate_client_code
684
- @coupon = coupon
685
- @maximum_free_miles_or_kilometers = maximum_free_miles_or_kilometers
686
- end
687
- end
688
-
689
- class ExtraCharge < ::Stripe::RequestParams
690
- # Amount of the extra charge in cents.
691
- attr_accessor :amount
692
- # Type of extra charge.
693
- attr_accessor :type
694
-
695
- def initialize(amount: nil, type: nil)
696
- @amount = amount
697
- @type = type
698
- end
699
- end
700
-
701
- class Tax < ::Stripe::RequestParams
702
- class Tax < ::Stripe::RequestParams
703
- # Tax amount.
704
- attr_accessor :amount
705
- # Tax rate applied.
706
- attr_accessor :rate
707
- # Type of tax applied.
708
- attr_accessor :type
709
-
710
- def initialize(amount: nil, rate: nil, type: nil)
711
- @amount = amount
712
- @rate = rate
713
- @type = type
714
- end
715
- end
716
- # Indicates if the transaction is tax exempt.
717
- attr_accessor :tax_exempt_indicator
718
- # Array of tax details.
719
- attr_accessor :taxes
720
-
721
- def initialize(tax_exempt_indicator: nil, taxes: nil)
722
- @tax_exempt_indicator = tax_exempt_indicator
723
- @taxes = taxes
724
- end
725
- end
726
- # Total amount in cents.
727
- attr_accessor :amount
728
- # Currency of the amount.
729
- attr_accessor :currency
730
- # Discount details for the rental.
731
- attr_accessor :discounts
732
- # Additional charges for the rental.
733
- attr_accessor :extra_charges
734
- # Rate per unit for the rental.
735
- attr_accessor :rate_per_unit
736
- # Unit of measurement for the rate.
737
- attr_accessor :rate_unit
738
- # Tax breakdown for the rental.
739
- attr_accessor :tax
740
-
741
- def initialize(
742
- amount: nil,
743
- currency: nil,
744
- discounts: nil,
745
- extra_charges: nil,
746
- rate_per_unit: nil,
747
- rate_unit: nil,
748
- tax: nil
749
- )
750
- @amount = amount
751
- @currency = currency
752
- @discounts = discounts
753
- @extra_charges = extra_charges
754
- @rate_per_unit = rate_per_unit
755
- @rate_unit = rate_unit
756
- @tax = tax
757
- end
758
- end
759
-
760
- class Vehicle < ::Stripe::RequestParams
761
- # Make of the rental vehicle.
762
- attr_accessor :make
763
- # Model of the rental vehicle.
764
- attr_accessor :model
765
- # Odometer reading at the time of rental.
766
- attr_accessor :odometer
767
- # Type of the rental vehicle.
768
- attr_accessor :type
769
- # Class of the rental vehicle.
770
- attr_accessor :vehicle_class
771
- # Vehicle identification number (VIN).
772
- attr_accessor :vehicle_identification_number
773
-
774
- def initialize(
775
- make: nil,
776
- model: nil,
777
- odometer: nil,
778
- type: nil,
779
- vehicle_class: nil,
780
- vehicle_identification_number: nil
781
- )
782
- @make = make
783
- @model = model
784
- @odometer = odometer
785
- @type = type
786
- @vehicle_class = vehicle_class
787
- @vehicle_identification_number = vehicle_identification_number
788
- end
789
- end
790
- # Affiliate (such as travel agency) details for the rental.
791
- attr_accessor :affiliate
792
- # Booking confirmation number for the car rental.
793
- attr_accessor :booking_number
794
- # Name of the car rental company.
795
- attr_accessor :carrier_name
796
- # Customer service phone number for the car rental company.
797
- attr_accessor :customer_service_phone_number
798
- # Number of days the car is being rented.
799
- attr_accessor :days_rented
800
- # Distance details for the rental.
801
- attr_accessor :distance
802
- # List of drivers for the rental.
803
- attr_accessor :drivers
804
- # Drop-off location details.
805
- attr_accessor :drop_off
806
- # Insurance details for the rental.
807
- attr_accessor :insurances
808
- # Indicates if the customer was a no-show.
809
- attr_accessor :no_show_indicator
810
- # Pickup location details.
811
- attr_accessor :pickup
812
- # Name of the person renting the vehicle.
813
- attr_accessor :renter_name
814
- # Total cost breakdown for the rental.
815
- attr_accessor :total
816
- # Vehicle details for the rental.
817
- attr_accessor :vehicle
818
-
819
- def initialize(
820
- affiliate: nil,
821
- booking_number: nil,
822
- carrier_name: nil,
823
- customer_service_phone_number: nil,
824
- days_rented: nil,
825
- distance: nil,
826
- drivers: nil,
827
- drop_off: nil,
828
- insurances: nil,
829
- no_show_indicator: nil,
830
- pickup: nil,
831
- renter_name: nil,
832
- total: nil,
833
- vehicle: nil
834
- )
835
- @affiliate = affiliate
836
- @booking_number = booking_number
837
- @carrier_name = carrier_name
838
- @customer_service_phone_number = customer_service_phone_number
839
- @days_rented = days_rented
840
- @distance = distance
841
- @drivers = drivers
842
- @drop_off = drop_off
843
- @insurances = insurances
844
- @no_show_indicator = no_show_indicator
845
- @pickup = pickup
846
- @renter_name = renter_name
847
- @total = total
848
- @vehicle = vehicle
849
- end
850
- end
851
-
852
- class EventDetails < ::Stripe::RequestParams
853
- class Address < ::Stripe::RequestParams
854
- # City, district, suburb, town, or village.
855
- attr_accessor :city
856
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
857
- attr_accessor :country
858
- # Address line 1, such as the street, PO Box, or company name.
859
- attr_accessor :line1
860
- # Address line 2, such as the apartment, suite, unit, or building.
861
- attr_accessor :line2
862
- # ZIP or postal code.
863
- attr_accessor :postal_code
864
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
865
- attr_accessor :state
866
-
867
- def initialize(
868
- city: nil,
869
- country: nil,
870
- line1: nil,
871
- line2: nil,
872
- postal_code: nil,
873
- state: nil
874
- )
875
- @city = city
876
- @country = country
877
- @line1 = line1
878
- @line2 = line2
879
- @postal_code = postal_code
880
- @state = state
881
- end
882
- end
883
-
884
- class Affiliate < ::Stripe::RequestParams
885
- # The name of the affiliate that originated the purchase.
886
- attr_accessor :name
887
-
888
- def initialize(name: nil)
889
- @name = name
890
- end
891
- end
892
-
893
- class Delivery < ::Stripe::RequestParams
894
- class Recipient < ::Stripe::RequestParams
895
- # The email of the recipient the ticket is delivered to.
896
- attr_accessor :email
897
- # The name of the recipient the ticket is delivered to.
898
- attr_accessor :name
899
- # The phone number of the recipient the ticket is delivered to.
900
- attr_accessor :phone
901
-
902
- def initialize(email: nil, name: nil, phone: nil)
903
- @email = email
904
- @name = name
905
- @phone = phone
906
- end
907
- end
908
- # The delivery method for the payment
909
- attr_accessor :mode
910
- # Details of the recipient.
911
- attr_accessor :recipient
912
-
913
- def initialize(mode: nil, recipient: nil)
914
- @mode = mode
915
- @recipient = recipient
916
- end
917
- end
918
- # Indicates if the tickets are digitally checked when entering the venue.
919
- attr_accessor :access_controlled_venue
920
- # The event location's address.
921
- attr_accessor :address
922
- # Affiliate details for this purchase.
923
- attr_accessor :affiliate
924
- # The name of the company
925
- attr_accessor :company
926
- # Delivery details for this purchase.
927
- attr_accessor :delivery
928
- # Event end time. Measured in seconds since the Unix epoch.
929
- attr_accessor :ends_at
930
- # Type of the event entertainment (concert, sports event etc)
931
- attr_accessor :genre
932
- # The name of the event.
933
- attr_accessor :name
934
- # Event start time. Measured in seconds since the Unix epoch.
935
- attr_accessor :starts_at
936
-
937
- def initialize(
938
- access_controlled_venue: nil,
939
- address: nil,
940
- affiliate: nil,
941
- company: nil,
942
- delivery: nil,
943
- ends_at: nil,
944
- genre: nil,
945
- name: nil,
946
- starts_at: nil
947
- )
948
- @access_controlled_venue = access_controlled_venue
949
- @address = address
950
- @affiliate = affiliate
951
- @company = company
952
- @delivery = delivery
953
- @ends_at = ends_at
954
- @genre = genre
955
- @name = name
956
- @starts_at = starts_at
957
- end
958
- end
959
-
960
- class Flight < ::Stripe::RequestParams
961
- class Affiliate < ::Stripe::RequestParams
962
- # The name of the affiliate that originated the purchase.
963
- attr_accessor :name
964
-
965
- def initialize(name: nil)
966
- @name = name
967
- end
968
- end
969
-
970
- class Delivery < ::Stripe::RequestParams
971
- class Recipient < ::Stripe::RequestParams
972
- # The email of the recipient the ticket is delivered to.
973
- attr_accessor :email
974
- # The name of the recipient the ticket is delivered to.
975
- attr_accessor :name
976
- # The phone number of the recipient the ticket is delivered to.
977
- attr_accessor :phone
978
-
979
- def initialize(email: nil, name: nil, phone: nil)
980
- @email = email
981
- @name = name
982
- @phone = phone
983
- end
984
- end
985
- # The delivery method for the payment
986
- attr_accessor :mode
987
- # Details of the recipient.
988
- attr_accessor :recipient
989
-
990
- def initialize(mode: nil, recipient: nil)
991
- @mode = mode
992
- @recipient = recipient
993
- end
994
- end
995
-
996
- class Passenger < ::Stripe::RequestParams
997
- # Full name of the person or entity on the flight reservation.
998
- attr_accessor :name
999
-
1000
- def initialize(name: nil)
1001
- @name = name
1002
- end
1003
- end
1004
-
1005
- class Segment < ::Stripe::RequestParams
1006
- # The flight segment amount.
1007
- attr_accessor :amount
1008
- # The International Air Transport Association (IATA) airport code for the arrival airport.
1009
- attr_accessor :arrival_airport
1010
- # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
1011
- attr_accessor :arrives_at
1012
- # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
1013
- attr_accessor :carrier
1014
- # The departure time for the flight segment. Measured in seconds since the Unix epoch.
1015
- attr_accessor :departs_at
1016
- # The International Air Transport Association (IATA) airport code for the departure airport.
1017
- attr_accessor :departure_airport
1018
- # The flight number associated with the segment
1019
- attr_accessor :flight_number
1020
- # The fare class for the segment.
1021
- attr_accessor :service_class
1022
-
1023
- def initialize(
1024
- amount: nil,
1025
- arrival_airport: nil,
1026
- arrives_at: nil,
1027
- carrier: nil,
1028
- departs_at: nil,
1029
- departure_airport: nil,
1030
- flight_number: nil,
1031
- service_class: nil
1032
- )
1033
- @amount = amount
1034
- @arrival_airport = arrival_airport
1035
- @arrives_at = arrives_at
1036
- @carrier = carrier
1037
- @departs_at = departs_at
1038
- @departure_airport = departure_airport
1039
- @flight_number = flight_number
1040
- @service_class = service_class
1041
- end
1042
- end
1043
- # Affiliate details for this purchase.
1044
- attr_accessor :affiliate
1045
- # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
1046
- attr_accessor :agency_number
1047
- # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
1048
- attr_accessor :carrier
1049
- # Delivery details for this purchase.
1050
- attr_accessor :delivery
1051
- # The name of the person or entity on the reservation.
1052
- attr_accessor :passenger_name
1053
- # The details of the passengers in the travel reservation.
1054
- attr_accessor :passengers
1055
- # The individual flight segments associated with the trip.
1056
- attr_accessor :segments
1057
- # The ticket number associated with the travel reservation.
1058
- attr_accessor :ticket_number
1059
-
1060
- def initialize(
1061
- affiliate: nil,
1062
- agency_number: nil,
1063
- carrier: nil,
1064
- delivery: nil,
1065
- passenger_name: nil,
1066
- passengers: nil,
1067
- segments: nil,
1068
- ticket_number: nil
1069
- )
1070
- @affiliate = affiliate
1071
- @agency_number = agency_number
1072
- @carrier = carrier
1073
- @delivery = delivery
1074
- @passenger_name = passenger_name
1075
- @passengers = passengers
1076
- @segments = segments
1077
- @ticket_number = ticket_number
1078
- end
1079
- end
1080
-
1081
- class FlightDatum < ::Stripe::RequestParams
1082
- class Affiliate < ::Stripe::RequestParams
1083
- # Affiliate partner code.
1084
- attr_accessor :code
1085
- # Name of affiliate partner.
1086
- attr_accessor :name
1087
- # Code provided by the company to a travel agent authorizing ticket issuance.
1088
- attr_accessor :travel_authorization_code
1089
-
1090
- def initialize(code: nil, name: nil, travel_authorization_code: nil)
1091
- @code = code
1092
- @name = name
1093
- @travel_authorization_code = travel_authorization_code
1094
- end
1095
- end
1096
-
1097
- class Insurance < ::Stripe::RequestParams
1098
- # Insurance cost.
1099
- attr_accessor :amount
1100
- # Insurance currency.
1101
- attr_accessor :currency
1102
- # Insurance company name.
1103
- attr_accessor :insurance_company_name
1104
- # Type of insurance.
1105
- attr_accessor :insurance_type
1106
-
1107
- def initialize(
1108
- amount: nil,
1109
- currency: nil,
1110
- insurance_company_name: nil,
1111
- insurance_type: nil
1112
- )
1113
- @amount = amount
1114
- @currency = currency
1115
- @insurance_company_name = insurance_company_name
1116
- @insurance_type = insurance_type
1117
- end
1118
- end
1119
-
1120
- class Passenger < ::Stripe::RequestParams
1121
- # Passenger's full name.
1122
- attr_accessor :name
1123
-
1124
- def initialize(name: nil)
1125
- @name = name
1126
- end
1127
- end
1128
-
1129
- class Segment < ::Stripe::RequestParams
1130
- class Arrival < ::Stripe::RequestParams
1131
- # Arrival airport IATA code.
1132
- attr_accessor :airport
1133
- # Arrival date/time.
1134
- attr_accessor :arrives_at
1135
- # Arrival city.
1136
- attr_accessor :city
1137
- # Arrival country.
1138
- attr_accessor :country
1139
-
1140
- def initialize(airport: nil, arrives_at: nil, city: nil, country: nil)
1141
- @airport = airport
1142
- @arrives_at = arrives_at
1143
- @city = city
1144
- @country = country
1145
- end
1146
- end
1147
-
1148
- class Departure < ::Stripe::RequestParams
1149
- # Departure airport IATA code.
1150
- attr_accessor :airport
1151
- # Departure city.
1152
- attr_accessor :city
1153
- # Departure country.
1154
- attr_accessor :country
1155
- # Departure date/time.
1156
- attr_accessor :departs_at
1157
-
1158
- def initialize(airport: nil, city: nil, country: nil, departs_at: nil)
1159
- @airport = airport
1160
- @city = city
1161
- @country = country
1162
- @departs_at = departs_at
1163
- end
1164
- end
1165
- # Segment fare amount.
1166
- attr_accessor :amount
1167
- # Arrival details.
1168
- attr_accessor :arrival
1169
- # Airline carrier code.
1170
- attr_accessor :carrier_code
1171
- # Carrier name.
1172
- attr_accessor :carrier_name
1173
- # Segment currency.
1174
- attr_accessor :currency
1175
- # Departure details.
1176
- attr_accessor :departure
1177
- # Exchange ticket number.
1178
- attr_accessor :exchange_ticket_number
1179
- # Fare basis code.
1180
- attr_accessor :fare_basis_code
1181
- # Additional fees.
1182
- attr_accessor :fees
1183
- # Flight number.
1184
- attr_accessor :flight_number
1185
- # Stopover indicator.
1186
- attr_accessor :is_stop_over_indicator
1187
- # Refundable ticket indicator.
1188
- attr_accessor :refundable
1189
- # Class of service.
1190
- attr_accessor :service_class
1191
- # Tax amount for segment.
1192
- attr_accessor :tax_amount
1193
- # Ticket number.
1194
- attr_accessor :ticket_number
1195
-
1196
- def initialize(
1197
- amount: nil,
1198
- arrival: nil,
1199
- carrier_code: nil,
1200
- carrier_name: nil,
1201
- currency: nil,
1202
- departure: nil,
1203
- exchange_ticket_number: nil,
1204
- fare_basis_code: nil,
1205
- fees: nil,
1206
- flight_number: nil,
1207
- is_stop_over_indicator: nil,
1208
- refundable: nil,
1209
- service_class: nil,
1210
- tax_amount: nil,
1211
- ticket_number: nil
1212
- )
1213
- @amount = amount
1214
- @arrival = arrival
1215
- @carrier_code = carrier_code
1216
- @carrier_name = carrier_name
1217
- @currency = currency
1218
- @departure = departure
1219
- @exchange_ticket_number = exchange_ticket_number
1220
- @fare_basis_code = fare_basis_code
1221
- @fees = fees
1222
- @flight_number = flight_number
1223
- @is_stop_over_indicator = is_stop_over_indicator
1224
- @refundable = refundable
1225
- @service_class = service_class
1226
- @tax_amount = tax_amount
1227
- @ticket_number = ticket_number
1228
- end
1229
- end
1230
-
1231
- class Total < ::Stripe::RequestParams
1232
- class Discounts < ::Stripe::RequestParams
1233
- # Corporate client discount code.
1234
- attr_accessor :corporate_client_code
1235
-
1236
- def initialize(corporate_client_code: nil)
1237
- @corporate_client_code = corporate_client_code
1238
- end
1239
- end
1240
-
1241
- class ExtraCharge < ::Stripe::RequestParams
1242
- # Amount of additional charges.
1243
- attr_accessor :amount
1244
- # Type of additional charges.
1245
- attr_accessor :type
1246
-
1247
- def initialize(amount: nil, type: nil)
1248
- @amount = amount
1249
- @type = type
1250
- end
1251
- end
1252
-
1253
- class Tax < ::Stripe::RequestParams
1254
- class Tax < ::Stripe::RequestParams
1255
- # Tax amount.
1256
- attr_accessor :amount
1257
- # Tax rate.
1258
- attr_accessor :rate
1259
- # Type of tax.
1260
- attr_accessor :type
1261
-
1262
- def initialize(amount: nil, rate: nil, type: nil)
1263
- @amount = amount
1264
- @rate = rate
1265
- @type = type
1266
- end
1267
- end
1268
- # Array of tax details.
1269
- attr_accessor :taxes
1270
-
1271
- def initialize(taxes: nil)
1272
- @taxes = taxes
1273
- end
1274
- end
1275
- # Total flight amount.
1276
- attr_accessor :amount
1277
- # Reason for credit.
1278
- attr_accessor :credit_reason
1279
- # Total currency.
1280
- attr_accessor :currency
1281
- # Discount details.
1282
- attr_accessor :discounts
1283
- # Additional charges.
1284
- attr_accessor :extra_charges
1285
- # Tax breakdown.
1286
- attr_accessor :tax
1287
-
1288
- def initialize(
1289
- amount: nil,
1290
- credit_reason: nil,
1291
- currency: nil,
1292
- discounts: nil,
1293
- extra_charges: nil,
1294
- tax: nil
1295
- )
1296
- @amount = amount
1297
- @credit_reason = credit_reason
1298
- @currency = currency
1299
- @discounts = discounts
1300
- @extra_charges = extra_charges
1301
- @tax = tax
1302
- end
1303
- end
1304
- # Affiliate details if applicable.
1305
- attr_accessor :affiliate
1306
- # Reservation reference.
1307
- attr_accessor :booking_number
1308
- # Computerized reservation system used to make the reservation and purchase the ticket.
1309
- attr_accessor :computerized_reservation_system
1310
- # Ticket restrictions.
1311
- attr_accessor :endorsements_and_restrictions
1312
- # List of insurances.
1313
- attr_accessor :insurances
1314
- # List of passengers.
1315
- attr_accessor :passengers
1316
- # List of flight segments.
1317
- attr_accessor :segments
1318
- # Electronic ticket indicator.
1319
- attr_accessor :ticket_electronically_issued_indicator
1320
- # Total cost breakdown.
1321
- attr_accessor :total
1322
- # Type of flight transaction.
1323
- attr_accessor :transaction_type
1324
-
1325
- def initialize(
1326
- affiliate: nil,
1327
- booking_number: nil,
1328
- computerized_reservation_system: nil,
1329
- endorsements_and_restrictions: nil,
1330
- insurances: nil,
1331
- passengers: nil,
1332
- segments: nil,
1333
- ticket_electronically_issued_indicator: nil,
1334
- total: nil,
1335
- transaction_type: nil
1336
- )
1337
- @affiliate = affiliate
1338
- @booking_number = booking_number
1339
- @computerized_reservation_system = computerized_reservation_system
1340
- @endorsements_and_restrictions = endorsements_and_restrictions
1341
- @insurances = insurances
1342
- @passengers = passengers
1343
- @segments = segments
1344
- @ticket_electronically_issued_indicator = ticket_electronically_issued_indicator
1345
- @total = total
1346
- @transaction_type = transaction_type
1347
- end
1348
- end
1349
-
1350
- class Lodging < ::Stripe::RequestParams
1351
- class Address < ::Stripe::RequestParams
1352
- # City, district, suburb, town, or village.
1353
- attr_accessor :city
1354
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1355
- attr_accessor :country
1356
- # Address line 1, such as the street, PO Box, or company name.
1357
- attr_accessor :line1
1358
- # Address line 2, such as the apartment, suite, unit, or building.
1359
- attr_accessor :line2
1360
- # ZIP or postal code.
1361
- attr_accessor :postal_code
1362
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
1363
- attr_accessor :state
1364
-
1365
- def initialize(
1366
- city: nil,
1367
- country: nil,
1368
- line1: nil,
1369
- line2: nil,
1370
- postal_code: nil,
1371
- state: nil
1372
- )
1373
- @city = city
1374
- @country = country
1375
- @line1 = line1
1376
- @line2 = line2
1377
- @postal_code = postal_code
1378
- @state = state
1379
- end
1380
- end
1381
-
1382
- class Affiliate < ::Stripe::RequestParams
1383
- # The name of the affiliate that originated the purchase.
1384
- attr_accessor :name
1385
-
1386
- def initialize(name: nil)
1387
- @name = name
1388
- end
1389
- end
1390
-
1391
- class Delivery < ::Stripe::RequestParams
1392
- class Recipient < ::Stripe::RequestParams
1393
- # The email of the recipient the ticket is delivered to.
1394
- attr_accessor :email
1395
- # The name of the recipient the ticket is delivered to.
1396
- attr_accessor :name
1397
- # The phone number of the recipient the ticket is delivered to.
1398
- attr_accessor :phone
1399
-
1400
- def initialize(email: nil, name: nil, phone: nil)
1401
- @email = email
1402
- @name = name
1403
- @phone = phone
1404
- end
1405
- end
1406
- # The delivery method for the payment
1407
- attr_accessor :mode
1408
- # Details of the recipient.
1409
- attr_accessor :recipient
1410
-
1411
- def initialize(mode: nil, recipient: nil)
1412
- @mode = mode
1413
- @recipient = recipient
1414
- end
1415
- end
1416
-
1417
- class Passenger < ::Stripe::RequestParams
1418
- # Full name of the person or entity on the lodging reservation.
1419
- attr_accessor :name
1420
-
1421
- def initialize(name: nil)
1422
- @name = name
1423
- end
1424
- end
1425
- # The lodging location's address.
1426
- attr_accessor :address
1427
- # The number of adults on the booking
1428
- attr_accessor :adults
1429
- # Affiliate details for this purchase.
1430
- attr_accessor :affiliate
1431
- # The booking number associated with the lodging reservation.
1432
- attr_accessor :booking_number
1433
- # The lodging category
1434
- attr_accessor :category
1435
- # Lodging check-in time. Measured in seconds since the Unix epoch.
1436
- attr_accessor :checkin_at
1437
- # Lodging check-out time. Measured in seconds since the Unix epoch.
1438
- attr_accessor :checkout_at
1439
- # The customer service phone number of the lodging company.
1440
- attr_accessor :customer_service_phone_number
1441
- # The daily lodging room rate.
1442
- attr_accessor :daily_room_rate_amount
1443
- # Delivery details for this purchase.
1444
- attr_accessor :delivery
1445
- # List of additional charges being billed.
1446
- attr_accessor :extra_charges
1447
- # Indicates whether the lodging location is compliant with the Fire Safety Act.
1448
- attr_accessor :fire_safety_act_compliance
1449
- # The name of the lodging location.
1450
- attr_accessor :name
1451
- # Indicates if the customer did not keep their booking while failing to cancel the reservation.
1452
- attr_accessor :no_show
1453
- # The number of rooms on the booking
1454
- attr_accessor :number_of_rooms
1455
- # The details of the passengers in the travel reservation
1456
- attr_accessor :passengers
1457
- # The phone number of the lodging location.
1458
- attr_accessor :property_phone_number
1459
- # The room class for this purchase.
1460
- attr_accessor :room_class
1461
- # The number of room nights
1462
- attr_accessor :room_nights
1463
- # The total tax amount associating with the room reservation.
1464
- attr_accessor :total_room_tax_amount
1465
- # The total tax amount
1466
- attr_accessor :total_tax_amount
1467
-
1468
- def initialize(
1469
- address: nil,
1470
- adults: nil,
1471
- affiliate: nil,
1472
- booking_number: nil,
1473
- category: nil,
1474
- checkin_at: nil,
1475
- checkout_at: nil,
1476
- customer_service_phone_number: nil,
1477
- daily_room_rate_amount: nil,
1478
- delivery: nil,
1479
- extra_charges: nil,
1480
- fire_safety_act_compliance: nil,
1481
- name: nil,
1482
- no_show: nil,
1483
- number_of_rooms: nil,
1484
- passengers: nil,
1485
- property_phone_number: nil,
1486
- room_class: nil,
1487
- room_nights: nil,
1488
- total_room_tax_amount: nil,
1489
- total_tax_amount: nil
116
+ product_name: nil,
117
+ quantity: nil,
118
+ tax: nil,
119
+ unit_cost: nil,
120
+ unit_of_measure: nil
1490
121
  )
1491
- @address = address
1492
- @adults = adults
1493
- @affiliate = affiliate
1494
- @booking_number = booking_number
1495
- @category = category
1496
- @checkin_at = checkin_at
1497
- @checkout_at = checkout_at
1498
- @customer_service_phone_number = customer_service_phone_number
1499
- @daily_room_rate_amount = daily_room_rate_amount
1500
- @delivery = delivery
1501
- @extra_charges = extra_charges
1502
- @fire_safety_act_compliance = fire_safety_act_compliance
1503
- @name = name
1504
- @no_show = no_show
1505
- @number_of_rooms = number_of_rooms
1506
- @passengers = passengers
1507
- @property_phone_number = property_phone_number
1508
- @room_class = room_class
1509
- @room_nights = room_nights
1510
- @total_room_tax_amount = total_room_tax_amount
1511
- @total_tax_amount = total_tax_amount
122
+ @discount_amount = discount_amount
123
+ @payment_method_options = payment_method_options
124
+ @product_code = product_code
125
+ @product_name = product_name
126
+ @quantity = quantity
127
+ @tax = tax
128
+ @unit_cost = unit_cost
129
+ @unit_of_measure = unit_of_measure
1512
130
  end
1513
131
  end
1514
132
 
1515
- class LodgingDatum < ::Stripe::RequestParams
1516
- class Accommodation < ::Stripe::RequestParams
1517
- # Type of accommodation.
1518
- attr_accessor :accommodation_type
1519
- # Bed type.
1520
- attr_accessor :bed_type
1521
- # Daily accommodation rate in cents.
1522
- attr_accessor :daily_rate_amount
1523
- # Number of nights.
1524
- attr_accessor :nights
1525
- # Number of rooms, cabanas, apartments, and so on.
1526
- attr_accessor :number_of_rooms
1527
- # Rate type.
1528
- attr_accessor :rate_type
1529
- # Whether smoking is allowed.
1530
- attr_accessor :smoking_indicator
1531
-
1532
- def initialize(
1533
- accommodation_type: nil,
1534
- bed_type: nil,
1535
- daily_rate_amount: nil,
1536
- nights: nil,
1537
- number_of_rooms: nil,
1538
- rate_type: nil,
1539
- smoking_indicator: nil
1540
- )
1541
- @accommodation_type = accommodation_type
1542
- @bed_type = bed_type
1543
- @daily_rate_amount = daily_rate_amount
1544
- @nights = nights
1545
- @number_of_rooms = number_of_rooms
1546
- @rate_type = rate_type
1547
- @smoking_indicator = smoking_indicator
1548
- end
1549
- end
1550
-
1551
- class Affiliate < ::Stripe::RequestParams
1552
- # Affiliate partner code.
1553
- attr_accessor :code
1554
- # Affiliate partner name.
1555
- attr_accessor :name
133
+ class Shipping < ::Stripe::RequestParams
134
+ # If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.
135
+ attr_accessor :amount
136
+ # If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.
137
+ attr_accessor :from_postal_code
138
+ # If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.
139
+ attr_accessor :to_postal_code
1556
140
 
1557
- def initialize(code: nil, name: nil)
1558
- @code = code
1559
- @name = name
1560
- end
141
+ def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
142
+ @amount = amount
143
+ @from_postal_code = from_postal_code
144
+ @to_postal_code = to_postal_code
1561
145
  end
146
+ end
1562
147
 
1563
- class Guest < ::Stripe::RequestParams
1564
- # Guest's full name.
1565
- attr_accessor :name
148
+ class Tax < ::Stripe::RequestParams
149
+ # 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.
150
+ #
151
+ # This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
152
+ attr_accessor :total_tax_amount
1566
153
 
1567
- def initialize(name: nil)
1568
- @name = name
1569
- end
154
+ def initialize(total_tax_amount: nil)
155
+ @total_tax_amount = total_tax_amount
1570
156
  end
157
+ end
158
+ # The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
159
+ #
160
+ # This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
161
+ attr_accessor :discount_amount
162
+ # Set to `false` to return arithmetic validation errors in the response without failing the request. Use this when you want the operation to proceed regardless of arithmetic errors in the line item data.
163
+ #
164
+ # Omit or set to `true` to immediately return a 400 error when arithmetic validation fails. Use this for strict validation that prevents processing with line item data that has arithmetic inconsistencies.
165
+ #
166
+ # For card payments, Stripe doesn't send line item data if there's an arithmetic validation error to card networks.
167
+ attr_accessor :enforce_arithmetic_validation
168
+ # A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.
169
+ attr_accessor :line_items
170
+ # Contains information about the shipping portion of the amount.
171
+ attr_accessor :shipping
172
+ # Contains information about the tax portion of the amount.
173
+ attr_accessor :tax
1571
174
 
1572
- class Host < ::Stripe::RequestParams
1573
- class Address < ::Stripe::RequestParams
1574
- # City, district, suburb, town, or village.
1575
- attr_accessor :city
1576
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1577
- attr_accessor :country
1578
- # Address line 1, such as the street, PO Box, or company name.
1579
- attr_accessor :line1
1580
- # Address line 2, such as the apartment, suite, unit, or building.
1581
- attr_accessor :line2
1582
- # ZIP or postal code.
1583
- attr_accessor :postal_code
1584
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
1585
- attr_accessor :state
175
+ def initialize(
176
+ discount_amount: nil,
177
+ enforce_arithmetic_validation: nil,
178
+ line_items: nil,
179
+ shipping: nil,
180
+ tax: nil
181
+ )
182
+ @discount_amount = discount_amount
183
+ @enforce_arithmetic_validation = enforce_arithmetic_validation
184
+ @line_items = line_items
185
+ @shipping = shipping
186
+ @tax = tax
187
+ end
188
+ end
1586
189
 
1587
- def initialize(
1588
- city: nil,
1589
- country: nil,
1590
- line1: nil,
1591
- line2: nil,
1592
- postal_code: nil,
1593
- state: nil
1594
- )
1595
- @city = city
1596
- @country = country
1597
- @line1 = line1
1598
- @line2 = line2
1599
- @postal_code = postal_code
1600
- @state = state
1601
- end
1602
- end
1603
- # Address of the host.
1604
- attr_accessor :address
1605
- # Host's country of domicile.
1606
- attr_accessor :country_of_domicile
1607
- # Reference number for the host.
1608
- attr_accessor :host_reference
1609
- # Type of host.
1610
- attr_accessor :host_type
1611
- # Name of the lodging property or host.
1612
- attr_accessor :name
1613
- # Total number of reservations for the host.
1614
- attr_accessor :number_of_reservations
1615
- # Property phone number.
1616
- attr_accessor :property_phone_number
1617
- # Host's registration date.
1618
- attr_accessor :registered_at
190
+ class Hooks < ::Stripe::RequestParams
191
+ class Inputs < ::Stripe::RequestParams
192
+ class Tax < ::Stripe::RequestParams
193
+ # The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
194
+ attr_accessor :calculation
1619
195
 
1620
- def initialize(
1621
- address: nil,
1622
- country_of_domicile: nil,
1623
- host_reference: nil,
1624
- host_type: nil,
1625
- name: nil,
1626
- number_of_reservations: nil,
1627
- property_phone_number: nil,
1628
- registered_at: nil
1629
- )
1630
- @address = address
1631
- @country_of_domicile = country_of_domicile
1632
- @host_reference = host_reference
1633
- @host_type = host_type
1634
- @name = name
1635
- @number_of_reservations = number_of_reservations
1636
- @property_phone_number = property_phone_number
1637
- @registered_at = registered_at
196
+ def initialize(calculation: nil)
197
+ @calculation = calculation
1638
198
  end
1639
199
  end
200
+ # Tax arguments for automations
201
+ attr_accessor :tax
1640
202
 
1641
- class Insurance < ::Stripe::RequestParams
1642
- # Price of the insurance coverage in cents.
1643
- attr_accessor :amount
1644
- # Currency of the insurance amount.
1645
- attr_accessor :currency
1646
- # Name of the insurance company.
1647
- attr_accessor :insurance_company_name
1648
- # Type of insurance coverage.
1649
- attr_accessor :insurance_type
1650
-
1651
- def initialize(
1652
- amount: nil,
1653
- currency: nil,
1654
- insurance_company_name: nil,
1655
- insurance_type: nil
1656
- )
1657
- @amount = amount
1658
- @currency = currency
1659
- @insurance_company_name = insurance_company_name
1660
- @insurance_type = insurance_type
1661
- end
203
+ def initialize(tax: nil)
204
+ @tax = tax
1662
205
  end
206
+ end
207
+ # Arguments passed in automations
208
+ attr_accessor :inputs
1663
209
 
1664
- class Total < ::Stripe::RequestParams
1665
- class Discounts < ::Stripe::RequestParams
1666
- # Corporate client discount code.
1667
- attr_accessor :corporate_client_code
1668
- # Coupon code.
1669
- attr_accessor :coupon
1670
-
1671
- def initialize(corporate_client_code: nil, coupon: nil)
1672
- @corporate_client_code = corporate_client_code
1673
- @coupon = coupon
1674
- end
1675
- end
1676
-
1677
- class ExtraCharge < ::Stripe::RequestParams
1678
- # Amount of the extra charge in cents.
1679
- attr_accessor :amount
1680
- # Type of extra charge.
1681
- attr_accessor :type
210
+ def initialize(inputs: nil)
211
+ @inputs = inputs
212
+ end
213
+ end
1682
214
 
1683
- def initialize(amount: nil, type: nil)
1684
- @amount = amount
1685
- @type = type
1686
- end
1687
- end
215
+ class MandateData < ::Stripe::RequestParams
216
+ class CustomerAcceptance < ::Stripe::RequestParams
217
+ class Offline < ::Stripe::RequestParams; end
1688
218
 
1689
- class Tax < ::Stripe::RequestParams
1690
- class Tax < ::Stripe::RequestParams
1691
- # Tax amount in cents.
1692
- attr_accessor :amount
1693
- # Tax rate.
1694
- attr_accessor :rate
1695
- # Type of tax applied.
1696
- attr_accessor :type
1697
-
1698
- def initialize(amount: nil, rate: nil, type: nil)
1699
- @amount = amount
1700
- @rate = rate
1701
- @type = type
1702
- end
1703
- end
1704
- # Indicates whether the transaction is tax exempt.
1705
- attr_accessor :tax_exempt_indicator
1706
- # Tax details.
1707
- attr_accessor :taxes
1708
-
1709
- def initialize(tax_exempt_indicator: nil, taxes: nil)
1710
- @tax_exempt_indicator = tax_exempt_indicator
1711
- @taxes = taxes
1712
- end
1713
- end
1714
- # Total price of the lodging reservation in cents.
1715
- attr_accessor :amount
1716
- # Cash advances in cents.
1717
- attr_accessor :cash_advances
1718
- # Currency of the total amount.
1719
- attr_accessor :currency
1720
- # Discount details for the lodging.
1721
- attr_accessor :discounts
1722
- # Additional charges for the lodging.
1723
- attr_accessor :extra_charges
1724
- # Prepaid amount in cents.
1725
- attr_accessor :prepaid_amount
1726
- # Tax breakdown for the lodging reservation.
1727
- attr_accessor :tax
219
+ class Online < ::Stripe::RequestParams
220
+ # The IP address from which the Mandate was accepted by the customer.
221
+ attr_accessor :ip_address
222
+ # The user agent of the browser from which the Mandate was accepted by the customer.
223
+ attr_accessor :user_agent
1728
224
 
1729
- def initialize(
1730
- amount: nil,
1731
- cash_advances: nil,
1732
- currency: nil,
1733
- discounts: nil,
1734
- extra_charges: nil,
1735
- prepaid_amount: nil,
1736
- tax: nil
1737
- )
1738
- @amount = amount
1739
- @cash_advances = cash_advances
1740
- @currency = currency
1741
- @discounts = discounts
1742
- @extra_charges = extra_charges
1743
- @prepaid_amount = prepaid_amount
1744
- @tax = tax
225
+ def initialize(ip_address: nil, user_agent: nil)
226
+ @ip_address = ip_address
227
+ @user_agent = user_agent
1745
228
  end
1746
229
  end
1747
- # Accommodation details for the lodging.
1748
- attr_accessor :accommodation
1749
- # Affiliate details if applicable.
1750
- attr_accessor :affiliate
1751
- # Booking confirmation number for the lodging.
1752
- attr_accessor :booking_number
1753
- # Check-in date.
1754
- attr_accessor :checkin_at
1755
- # Check-out date.
1756
- attr_accessor :checkout_at
1757
- # Customer service phone number for the lodging company.
1758
- attr_accessor :customer_service_phone_number
1759
- # Whether the lodging is compliant with any hotel fire safety regulations.
1760
- attr_accessor :fire_safety_act_compliance_indicator
1761
- # List of guests for the lodging.
1762
- attr_accessor :guests
1763
- # Host details for the lodging.
1764
- attr_accessor :host
1765
- # List of insurances for the lodging.
1766
- attr_accessor :insurances
1767
- # Whether the renter is a no-show.
1768
- attr_accessor :no_show_indicator
1769
- # Renter ID number for the lodging.
1770
- attr_accessor :renter_id_number
1771
- # Renter name for the lodging.
1772
- attr_accessor :renter_name
1773
- # Total details for the lodging.
1774
- attr_accessor :total
230
+ # The time at which the customer accepted the Mandate.
231
+ attr_accessor :accepted_at
232
+ # If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
233
+ attr_accessor :offline
234
+ # If this is a Mandate accepted online, this hash contains details about the online acceptance.
235
+ attr_accessor :online
236
+ # The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
237
+ attr_accessor :type
1775
238
 
1776
- def initialize(
1777
- accommodation: nil,
1778
- affiliate: nil,
1779
- booking_number: nil,
1780
- checkin_at: nil,
1781
- checkout_at: nil,
1782
- customer_service_phone_number: nil,
1783
- fire_safety_act_compliance_indicator: nil,
1784
- guests: nil,
1785
- host: nil,
1786
- insurances: nil,
1787
- no_show_indicator: nil,
1788
- renter_id_number: nil,
1789
- renter_name: nil,
1790
- total: nil
1791
- )
1792
- @accommodation = accommodation
1793
- @affiliate = affiliate
1794
- @booking_number = booking_number
1795
- @checkin_at = checkin_at
1796
- @checkout_at = checkout_at
1797
- @customer_service_phone_number = customer_service_phone_number
1798
- @fire_safety_act_compliance_indicator = fire_safety_act_compliance_indicator
1799
- @guests = guests
1800
- @host = host
1801
- @insurances = insurances
1802
- @no_show_indicator = no_show_indicator
1803
- @renter_id_number = renter_id_number
1804
- @renter_name = renter_name
1805
- @total = total
239
+ def initialize(accepted_at: nil, offline: nil, online: nil, type: nil)
240
+ @accepted_at = accepted_at
241
+ @offline = offline
242
+ @online = online
243
+ @type = type
1806
244
  end
1807
245
  end
246
+ # This hash contains details about the customer acceptance of the Mandate.
247
+ attr_accessor :customer_acceptance
1808
248
 
1809
- class Subscription < ::Stripe::RequestParams
1810
- class Affiliate < ::Stripe::RequestParams
1811
- # The name of the affiliate that originated the purchase.
1812
- attr_accessor :name
1813
-
1814
- def initialize(name: nil)
1815
- @name = name
1816
- end
1817
- end
1818
-
1819
- class BillingInterval < ::Stripe::RequestParams
1820
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1821
- attr_accessor :count
1822
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1823
- attr_accessor :interval
1824
-
1825
- def initialize(count: nil, interval: nil)
1826
- @count = count
1827
- @interval = interval
1828
- end
1829
- end
1830
- # Affiliate details for this purchase.
1831
- attr_accessor :affiliate
1832
- # Info whether the subscription will be auto renewed upon expiry.
1833
- attr_accessor :auto_renewal
1834
- # Subscription billing details for this purchase.
1835
- attr_accessor :billing_interval
1836
- # Subscription end time. Measured in seconds since the Unix epoch.
1837
- attr_accessor :ends_at
1838
- # Name of the product on subscription. e.g. Apple Music Subscription
1839
- attr_accessor :name
1840
- # Subscription start time. Measured in seconds since the Unix epoch.
1841
- attr_accessor :starts_at
1842
-
1843
- def initialize(
1844
- affiliate: nil,
1845
- auto_renewal: nil,
1846
- billing_interval: nil,
1847
- ends_at: nil,
1848
- name: nil,
1849
- starts_at: nil
1850
- )
1851
- @affiliate = affiliate
1852
- @auto_renewal = auto_renewal
1853
- @billing_interval = billing_interval
1854
- @ends_at = ends_at
1855
- @name = name
1856
- @starts_at = starts_at
1857
- end
249
+ def initialize(customer_acceptance: nil)
250
+ @customer_acceptance = customer_acceptance
1858
251
  end
1859
- # Benefit details for this PaymentIntent
1860
- attr_accessor :benefit
1861
- # Car rental details for this PaymentIntent.
1862
- attr_accessor :car_rental
1863
- # Car rental data for this PaymentIntent.
1864
- attr_accessor :car_rental_data
252
+ end
253
+
254
+ class PaymentDetails < ::Stripe::RequestParams
1865
255
  # A unique value to identify the customer. This field is available only for card payments.
1866
256
  #
1867
257
  # This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
1868
258
  attr_accessor :customer_reference
1869
- # Event details for this PaymentIntent
1870
- attr_accessor :event_details
1871
- # Flight reservation details for this PaymentIntent
1872
- attr_accessor :flight
1873
- # Flight data for this PaymentIntent.
1874
- attr_accessor :flight_data
1875
- # Lodging reservation details for this PaymentIntent
1876
- attr_accessor :lodging
1877
- # Lodging data for this PaymentIntent.
1878
- attr_accessor :lodging_data
1879
259
  # A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
1880
260
  #
1881
261
  # Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`.
1882
262
  #
1883
263
  # 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.
1884
264
  attr_accessor :order_reference
1885
- # Subscription details for this PaymentIntent
1886
- attr_accessor :subscription
1887
265
 
1888
- def initialize(
1889
- benefit: nil,
1890
- car_rental: nil,
1891
- car_rental_data: nil,
1892
- customer_reference: nil,
1893
- event_details: nil,
1894
- flight: nil,
1895
- flight_data: nil,
1896
- lodging: nil,
1897
- lodging_data: nil,
1898
- order_reference: nil,
1899
- subscription: nil
1900
- )
1901
- @benefit = benefit
1902
- @car_rental = car_rental
1903
- @car_rental_data = car_rental_data
266
+ def initialize(customer_reference: nil, order_reference: nil)
1904
267
  @customer_reference = customer_reference
1905
- @event_details = event_details
1906
- @flight = flight
1907
- @flight_data = flight_data
1908
- @lodging = lodging
1909
- @lodging_data = lodging_data
1910
268
  @order_reference = order_reference
1911
- @subscription = subscription
1912
269
  end
1913
270
  end
1914
271
 
@@ -2049,18 +406,8 @@ module Stripe
2049
406
  end
2050
407
 
2051
408
  class Giropay < ::Stripe::RequestParams; end
2052
- class Gopay < ::Stripe::RequestParams; end
2053
409
  class Grabpay < ::Stripe::RequestParams; end
2054
410
 
2055
- class IdBankTransfer < ::Stripe::RequestParams
2056
- # Bank where the account is held.
2057
- attr_accessor :bank
2058
-
2059
- def initialize(bank: nil)
2060
- @bank = bank
2061
- end
2062
- end
2063
-
2064
411
  class Ideal < ::Stripe::RequestParams
2065
412
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
2066
413
  attr_accessor :bank
@@ -2158,7 +505,6 @@ module Stripe
2158
505
  class Payco < ::Stripe::RequestParams; end
2159
506
  class Paynow < ::Stripe::RequestParams; end
2160
507
  class Paypal < ::Stripe::RequestParams; end
2161
- class Paypay < ::Stripe::RequestParams; end
2162
508
 
2163
509
  class Payto < ::Stripe::RequestParams
2164
510
  # The account number for the bank account.
@@ -2177,7 +523,6 @@ module Stripe
2177
523
 
2178
524
  class Pix < ::Stripe::RequestParams; end
2179
525
  class Promptpay < ::Stripe::RequestParams; end
2180
- class Qris < ::Stripe::RequestParams; end
2181
526
 
2182
527
  class RadarOptions < ::Stripe::RequestParams
2183
528
  # A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
@@ -2188,29 +533,6 @@ module Stripe
2188
533
  end
2189
534
  end
2190
535
 
2191
- class Rechnung < ::Stripe::RequestParams
2192
- class Dob < ::Stripe::RequestParams
2193
- # The day of birth, between 1 and 31.
2194
- attr_accessor :day
2195
- # The month of birth, between 1 and 12.
2196
- attr_accessor :month
2197
- # The four-digit year of birth.
2198
- attr_accessor :year
2199
-
2200
- def initialize(day: nil, month: nil, year: nil)
2201
- @day = day
2202
- @month = month
2203
- @year = year
2204
- end
2205
- end
2206
- # Customer's date of birth
2207
- attr_accessor :dob
2208
-
2209
- def initialize(dob: nil)
2210
- @dob = dob
2211
- end
2212
- end
2213
-
2214
536
  class RevolutPay < ::Stripe::RequestParams; end
2215
537
  class SamsungPay < ::Stripe::RequestParams; end
2216
538
  class Satispay < ::Stripe::RequestParams; end
@@ -2224,8 +546,6 @@ module Stripe
2224
546
  end
2225
547
  end
2226
548
 
2227
- class Shopeepay < ::Stripe::RequestParams; end
2228
-
2229
549
  class Sofort < ::Stripe::RequestParams
2230
550
  # Two-letter ISO code representing the country the bank account is located in.
2231
551
  attr_accessor :country
@@ -2235,18 +555,6 @@ module Stripe
2235
555
  end
2236
556
  end
2237
557
 
2238
- class StripeBalance < ::Stripe::RequestParams
2239
- # The connected account ID whose Stripe balance to use as the source of payment
2240
- attr_accessor :account
2241
- # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
2242
- attr_accessor :source_type
2243
-
2244
- def initialize(account: nil, source_type: nil)
2245
- @account = account
2246
- @source_type = source_type
2247
- end
2248
- end
2249
-
2250
558
  class Swish < ::Stripe::RequestParams; end
2251
559
  class Twint < ::Stripe::RequestParams; end
2252
560
 
@@ -2319,12 +627,8 @@ module Stripe
2319
627
  attr_accessor :fpx
2320
628
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
2321
629
  attr_accessor :giropay
2322
- # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
2323
- attr_accessor :gopay
2324
630
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
2325
631
  attr_accessor :grabpay
2326
- # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
2327
- attr_accessor :id_bank_transfer
2328
632
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
2329
633
  attr_accessor :ideal
2330
634
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
@@ -2363,20 +667,14 @@ module Stripe
2363
667
  attr_accessor :paynow
2364
668
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
2365
669
  attr_accessor :paypal
2366
- # If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
2367
- attr_accessor :paypay
2368
670
  # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
2369
671
  attr_accessor :payto
2370
672
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
2371
673
  attr_accessor :pix
2372
674
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
2373
675
  attr_accessor :promptpay
2374
- # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
2375
- attr_accessor :qris
2376
676
  # Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
2377
677
  attr_accessor :radar_options
2378
- # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
2379
- attr_accessor :rechnung
2380
678
  # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
2381
679
  attr_accessor :revolut_pay
2382
680
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
@@ -2385,12 +683,8 @@ module Stripe
2385
683
  attr_accessor :satispay
2386
684
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
2387
685
  attr_accessor :sepa_debit
2388
- # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
2389
- attr_accessor :shopeepay
2390
686
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
2391
687
  attr_accessor :sofort
2392
- # This hash contains details about the Stripe balance payment method.
2393
- attr_accessor :stripe_balance
2394
688
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
2395
689
  attr_accessor :swish
2396
690
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
@@ -2425,9 +719,7 @@ module Stripe
2425
719
  eps: nil,
2426
720
  fpx: nil,
2427
721
  giropay: nil,
2428
- gopay: nil,
2429
722
  grabpay: nil,
2430
- id_bank_transfer: nil,
2431
723
  ideal: nil,
2432
724
  interac_present: nil,
2433
725
  kakao_pay: nil,
@@ -2447,20 +739,15 @@ module Stripe
2447
739
  payco: nil,
2448
740
  paynow: nil,
2449
741
  paypal: nil,
2450
- paypay: nil,
2451
742
  payto: nil,
2452
743
  pix: nil,
2453
744
  promptpay: nil,
2454
- qris: nil,
2455
745
  radar_options: nil,
2456
- rechnung: nil,
2457
746
  revolut_pay: nil,
2458
747
  samsung_pay: nil,
2459
748
  satispay: nil,
2460
749
  sepa_debit: nil,
2461
- shopeepay: nil,
2462
750
  sofort: nil,
2463
- stripe_balance: nil,
2464
751
  swish: nil,
2465
752
  twint: nil,
2466
753
  type: nil,
@@ -2488,9 +775,7 @@ module Stripe
2488
775
  @eps = eps
2489
776
  @fpx = fpx
2490
777
  @giropay = giropay
2491
- @gopay = gopay
2492
778
  @grabpay = grabpay
2493
- @id_bank_transfer = id_bank_transfer
2494
779
  @ideal = ideal
2495
780
  @interac_present = interac_present
2496
781
  @kakao_pay = kakao_pay
@@ -2510,20 +795,15 @@ module Stripe
2510
795
  @payco = payco
2511
796
  @paynow = paynow
2512
797
  @paypal = paypal
2513
- @paypay = paypay
2514
798
  @payto = payto
2515
799
  @pix = pix
2516
800
  @promptpay = promptpay
2517
- @qris = qris
2518
801
  @radar_options = radar_options
2519
- @rechnung = rechnung
2520
802
  @revolut_pay = revolut_pay
2521
803
  @samsung_pay = samsung_pay
2522
804
  @satispay = satispay
2523
805
  @sepa_debit = sepa_debit
2524
- @shopeepay = shopeepay
2525
806
  @sofort = sofort
2526
- @stripe_balance = stripe_balance
2527
807
  @swish = swish
2528
808
  @twint = twint
2529
809
  @type = type
@@ -2894,48 +1174,6 @@ module Stripe
2894
1174
  end
2895
1175
  end
2896
1176
 
2897
- class StatementDetails < ::Stripe::RequestParams
2898
- class Address < ::Stripe::RequestParams
2899
- # City, district, suburb, town, or village.
2900
- attr_accessor :city
2901
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2902
- attr_accessor :country
2903
- # Address line 1, such as the street, PO Box, or company name.
2904
- attr_accessor :line1
2905
- # Address line 2, such as the apartment, suite, unit, or building.
2906
- attr_accessor :line2
2907
- # ZIP or postal code.
2908
- attr_accessor :postal_code
2909
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
2910
- attr_accessor :state
2911
-
2912
- def initialize(
2913
- city: nil,
2914
- country: nil,
2915
- line1: nil,
2916
- line2: nil,
2917
- postal_code: nil,
2918
- state: nil
2919
- )
2920
- @city = city
2921
- @country = country
2922
- @line1 = line1
2923
- @line2 = line2
2924
- @postal_code = postal_code
2925
- @state = state
2926
- end
2927
- end
2928
- # Please pass in an address that is within your Stripe user account country
2929
- attr_accessor :address
2930
- # Phone number (e.g., a toll-free number that customers can call)
2931
- attr_accessor :phone
2932
-
2933
- def initialize(address: nil, phone: nil)
2934
- @address = address
2935
- @phone = phone
2936
- end
2937
- end
2938
-
2939
1177
  class ThreeDSecure < ::Stripe::RequestParams
2940
1178
  class NetworkOptions < ::Stripe::RequestParams
2941
1179
  class CartesBancaires < ::Stripe::RequestParams
@@ -3030,8 +1268,6 @@ module Stripe
3030
1268
  attr_accessor :moto
3031
1269
  # Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.
3032
1270
  attr_accessor :network
3033
- # Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.
3034
- attr_accessor :request_decremental_authorization
3035
1271
  # Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
3036
1272
  attr_accessor :request_extended_authorization
3037
1273
  # Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
@@ -3040,8 +1276,6 @@ module Stripe
3040
1276
  attr_accessor :request_multicapture
3041
1277
  # Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
3042
1278
  attr_accessor :request_overcapture
3043
- # Request partial authorization on this PaymentIntent.
3044
- attr_accessor :request_partial_authorization
3045
1279
  # 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.
3046
1280
  attr_accessor :request_three_d_secure
3047
1281
  # 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).
@@ -3060,8 +1294,6 @@ module Stripe
3060
1294
  attr_accessor :statement_descriptor_suffix_kana
3061
1295
  # 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.
3062
1296
  attr_accessor :statement_descriptor_suffix_kanji
3063
- # Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
3064
- attr_accessor :statement_details
3065
1297
  # If 3D Secure authentication was performed with a third-party provider,
3066
1298
  # the authentication details to use for this payment.
3067
1299
  attr_accessor :three_d_secure
@@ -3073,18 +1305,15 @@ module Stripe
3073
1305
  mandate_options: nil,
3074
1306
  moto: nil,
3075
1307
  network: nil,
3076
- request_decremental_authorization: nil,
3077
1308
  request_extended_authorization: nil,
3078
1309
  request_incremental_authorization: nil,
3079
1310
  request_multicapture: nil,
3080
1311
  request_overcapture: nil,
3081
- request_partial_authorization: nil,
3082
1312
  request_three_d_secure: nil,
3083
1313
  require_cvc_recollection: nil,
3084
1314
  setup_future_usage: nil,
3085
1315
  statement_descriptor_suffix_kana: nil,
3086
1316
  statement_descriptor_suffix_kanji: nil,
3087
- statement_details: nil,
3088
1317
  three_d_secure: nil
3089
1318
  )
3090
1319
  @capture_method = capture_method
@@ -3093,18 +1322,15 @@ module Stripe
3093
1322
  @mandate_options = mandate_options
3094
1323
  @moto = moto
3095
1324
  @network = network
3096
- @request_decremental_authorization = request_decremental_authorization
3097
1325
  @request_extended_authorization = request_extended_authorization
3098
1326
  @request_incremental_authorization = request_incremental_authorization
3099
1327
  @request_multicapture = request_multicapture
3100
1328
  @request_overcapture = request_overcapture
3101
- @request_partial_authorization = request_partial_authorization
3102
1329
  @request_three_d_secure = request_three_d_secure
3103
1330
  @require_cvc_recollection = require_cvc_recollection
3104
1331
  @setup_future_usage = setup_future_usage
3105
1332
  @statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
3106
1333
  @statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
3107
- @statement_details = statement_details
3108
1334
  @three_d_secure = three_d_secure
3109
1335
  end
3110
1336
  end
@@ -3208,48 +1434,12 @@ module Stripe
3208
1434
  @eu_bank_transfer = eu_bank_transfer
3209
1435
  @requested_address_types = requested_address_types
3210
1436
  @type = type
3211
- end
3212
- end
3213
- # Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
3214
- attr_accessor :bank_transfer
3215
- # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
3216
- attr_accessor :funding_type
3217
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3218
- #
3219
- # 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.
3220
- #
3221
- # 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.
3222
- #
3223
- # 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).
3224
- #
3225
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
3226
- attr_accessor :setup_future_usage
3227
-
3228
- def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil)
3229
- @bank_transfer = bank_transfer
3230
- @funding_type = funding_type
3231
- @setup_future_usage = setup_future_usage
3232
- end
3233
- end
3234
-
3235
- class Eps < ::Stripe::RequestParams
3236
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3237
- #
3238
- # 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.
3239
- #
3240
- # 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.
3241
- #
3242
- # 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).
3243
- #
3244
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
3245
- attr_accessor :setup_future_usage
3246
-
3247
- def initialize(setup_future_usage: nil)
3248
- @setup_future_usage = setup_future_usage
1437
+ end
3249
1438
  end
3250
- end
3251
-
3252
- class Fpx < ::Stripe::RequestParams
1439
+ # Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
1440
+ attr_accessor :bank_transfer
1441
+ # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
1442
+ attr_accessor :funding_type
3253
1443
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3254
1444
  #
3255
1445
  # 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.
@@ -3261,12 +1451,14 @@ module Stripe
3261
1451
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
3262
1452
  attr_accessor :setup_future_usage
3263
1453
 
3264
- def initialize(setup_future_usage: nil)
1454
+ def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil)
1455
+ @bank_transfer = bank_transfer
1456
+ @funding_type = funding_type
3265
1457
  @setup_future_usage = setup_future_usage
3266
1458
  end
3267
1459
  end
3268
1460
 
3269
- class Giropay < ::Stripe::RequestParams
1461
+ class Eps < ::Stripe::RequestParams
3270
1462
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3271
1463
  #
3272
1464
  # 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.
@@ -3283,7 +1475,7 @@ module Stripe
3283
1475
  end
3284
1476
  end
3285
1477
 
3286
- class Gopay < ::Stripe::RequestParams
1478
+ class Fpx < ::Stripe::RequestParams
3287
1479
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3288
1480
  #
3289
1481
  # 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.
@@ -3300,7 +1492,7 @@ module Stripe
3300
1492
  end
3301
1493
  end
3302
1494
 
3303
- class Grabpay < ::Stripe::RequestParams
1495
+ class Giropay < ::Stripe::RequestParams
3304
1496
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3305
1497
  #
3306
1498
  # 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.
@@ -3317,11 +1509,7 @@ module Stripe
3317
1509
  end
3318
1510
  end
3319
1511
 
3320
- class IdBankTransfer < ::Stripe::RequestParams
3321
- # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now.
3322
- attr_accessor :expires_after
3323
- # 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.
3324
- attr_accessor :expires_at
1512
+ class Grabpay < ::Stripe::RequestParams
3325
1513
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3326
1514
  #
3327
1515
  # 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.
@@ -3333,9 +1521,7 @@ module Stripe
3333
1521
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
3334
1522
  attr_accessor :setup_future_usage
3335
1523
 
3336
- def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
3337
- @expires_after = expires_after
3338
- @expires_at = expires_at
1524
+ def initialize(setup_future_usage: nil)
3339
1525
  @setup_future_usage = setup_future_usage
3340
1526
  end
3341
1527
  end
@@ -3446,939 +1632,6 @@ module Stripe
3446
1632
  @reference = reference
3447
1633
  end
3448
1634
  end
3449
-
3450
- class SupplementaryPurchaseData < ::Stripe::RequestParams
3451
- class BusReservationDetail < ::Stripe::RequestParams
3452
- class Arrival < ::Stripe::RequestParams
3453
- class Address < ::Stripe::RequestParams
3454
- # The city or town.
3455
- attr_accessor :city
3456
- # The country in ISO 3166-1 alpha-2 format.
3457
- attr_accessor :country
3458
- # The postal code formatted according to country.
3459
- attr_accessor :postal_code
3460
- # The state, county, province, or region formatted according to country.
3461
- attr_accessor :region
3462
- # Line 1 of the street address.
3463
- attr_accessor :street_address
3464
- # Line 2 of the street address.
3465
- attr_accessor :street_address2
3466
-
3467
- def initialize(
3468
- city: nil,
3469
- country: nil,
3470
- postal_code: nil,
3471
- region: nil,
3472
- street_address: nil,
3473
- street_address2: nil
3474
- )
3475
- @city = city
3476
- @country = country
3477
- @postal_code = postal_code
3478
- @region = region
3479
- @street_address = street_address
3480
- @street_address2 = street_address2
3481
- end
3482
- end
3483
- # Address of the arrival location.
3484
- attr_accessor :address
3485
- # Identifier name or reference for the arrival location.
3486
- attr_accessor :arrival_location
3487
-
3488
- def initialize(address: nil, arrival_location: nil)
3489
- @address = address
3490
- @arrival_location = arrival_location
3491
- end
3492
- end
3493
-
3494
- class Departure < ::Stripe::RequestParams
3495
- class Address < ::Stripe::RequestParams
3496
- # The city or town.
3497
- attr_accessor :city
3498
- # The country in ISO 3166-1 alpha-2 format.
3499
- attr_accessor :country
3500
- # The postal code formatted according to country.
3501
- attr_accessor :postal_code
3502
- # The state, county, province, or region formatted according to country.
3503
- attr_accessor :region
3504
- # Line 1 of the street address.
3505
- attr_accessor :street_address
3506
- # Line 2 of the street address.
3507
- attr_accessor :street_address2
3508
-
3509
- def initialize(
3510
- city: nil,
3511
- country: nil,
3512
- postal_code: nil,
3513
- region: nil,
3514
- street_address: nil,
3515
- street_address2: nil
3516
- )
3517
- @city = city
3518
- @country = country
3519
- @postal_code = postal_code
3520
- @region = region
3521
- @street_address = street_address
3522
- @street_address2 = street_address2
3523
- end
3524
- end
3525
- # Address of the departure location.
3526
- attr_accessor :address
3527
- # Timestamp of departure.
3528
- attr_accessor :departs_at
3529
- # Identifier name or reference for the origin location.
3530
- attr_accessor :departure_location
3531
-
3532
- def initialize(address: nil, departs_at: nil, departure_location: nil)
3533
- @address = address
3534
- @departs_at = departs_at
3535
- @departure_location = departure_location
3536
- end
3537
- end
3538
-
3539
- class Insurance < ::Stripe::RequestParams
3540
- # Insurance currency.
3541
- attr_accessor :currency
3542
- # Name of the company providing the insurance.
3543
- attr_accessor :insurance_company_name
3544
- # Type of insurance.
3545
- attr_accessor :insurance_type
3546
- # Price of insurance in cents.
3547
- attr_accessor :price
3548
-
3549
- def initialize(
3550
- currency: nil,
3551
- insurance_company_name: nil,
3552
- insurance_type: nil,
3553
- price: nil
3554
- )
3555
- @currency = currency
3556
- @insurance_company_name = insurance_company_name
3557
- @insurance_type = insurance_type
3558
- @price = price
3559
- end
3560
- end
3561
-
3562
- class Passenger < ::Stripe::RequestParams
3563
- # The family name of the person.
3564
- attr_accessor :family_name
3565
- # The given name of the person.
3566
- attr_accessor :given_name
3567
-
3568
- def initialize(family_name: nil, given_name: nil)
3569
- @family_name = family_name
3570
- @given_name = given_name
3571
- end
3572
- end
3573
- # Name of associated or partner company for the service.
3574
- attr_accessor :affiliate_name
3575
- # Arrival details.
3576
- attr_accessor :arrival
3577
- # Name of transportation company.
3578
- attr_accessor :carrier_name
3579
- # Currency.
3580
- attr_accessor :currency
3581
- # Departure details.
3582
- attr_accessor :departure
3583
- # List of insurances for this reservation.
3584
- attr_accessor :insurances
3585
- # List of passengers that this reservation applies to.
3586
- attr_accessor :passengers
3587
- # Price in cents.
3588
- attr_accessor :price
3589
- # Ticket class.
3590
- attr_accessor :ticket_class
3591
-
3592
- def initialize(
3593
- affiliate_name: nil,
3594
- arrival: nil,
3595
- carrier_name: nil,
3596
- currency: nil,
3597
- departure: nil,
3598
- insurances: nil,
3599
- passengers: nil,
3600
- price: nil,
3601
- ticket_class: nil
3602
- )
3603
- @affiliate_name = affiliate_name
3604
- @arrival = arrival
3605
- @carrier_name = carrier_name
3606
- @currency = currency
3607
- @departure = departure
3608
- @insurances = insurances
3609
- @passengers = passengers
3610
- @price = price
3611
- @ticket_class = ticket_class
3612
- end
3613
- end
3614
-
3615
- class EventReservationDetail < ::Stripe::RequestParams
3616
- class Address < ::Stripe::RequestParams
3617
- # The city or town.
3618
- attr_accessor :city
3619
- # The country in ISO 3166-1 alpha-2 format.
3620
- attr_accessor :country
3621
- # The postal code formatted according to country.
3622
- attr_accessor :postal_code
3623
- # The state, county, province, or region formatted according to country.
3624
- attr_accessor :region
3625
- # Line 1 of the street address.
3626
- attr_accessor :street_address
3627
- # Line 2 of the street address.
3628
- attr_accessor :street_address2
3629
-
3630
- def initialize(
3631
- city: nil,
3632
- country: nil,
3633
- postal_code: nil,
3634
- region: nil,
3635
- street_address: nil,
3636
- street_address2: nil
3637
- )
3638
- @city = city
3639
- @country = country
3640
- @postal_code = postal_code
3641
- @region = region
3642
- @street_address = street_address
3643
- @street_address2 = street_address2
3644
- end
3645
- end
3646
-
3647
- class Insurance < ::Stripe::RequestParams
3648
- # Insurance currency.
3649
- attr_accessor :currency
3650
- # Name of the company providing the insurance.
3651
- attr_accessor :insurance_company_name
3652
- # Type of insurance.
3653
- attr_accessor :insurance_type
3654
- # Price of insurance in cents.
3655
- attr_accessor :price
3656
-
3657
- def initialize(
3658
- currency: nil,
3659
- insurance_company_name: nil,
3660
- insurance_type: nil,
3661
- price: nil
3662
- )
3663
- @currency = currency
3664
- @insurance_company_name = insurance_company_name
3665
- @insurance_type = insurance_type
3666
- @price = price
3667
- end
3668
- end
3669
- # Indicates if the tickets are digitally checked when entering the venue.
3670
- attr_accessor :access_controlled_venue
3671
- # Address of the event.
3672
- attr_accessor :address
3673
- # Name of associated or partner company for the service.
3674
- attr_accessor :affiliate_name
3675
- # End timestamp of the event.
3676
- attr_accessor :ends_at
3677
- # Company selling the ticket.
3678
- attr_accessor :event_company_name
3679
- # Name of the event.
3680
- attr_accessor :event_name
3681
- # Type of the event.
3682
- attr_accessor :event_type
3683
- # List of insurances for this event.
3684
- attr_accessor :insurances
3685
- # Start timestamp of the event.
3686
- attr_accessor :starts_at
3687
- # Name of the venue where the event takes place.
3688
- attr_accessor :venue_name
3689
-
3690
- def initialize(
3691
- access_controlled_venue: nil,
3692
- address: nil,
3693
- affiliate_name: nil,
3694
- ends_at: nil,
3695
- event_company_name: nil,
3696
- event_name: nil,
3697
- event_type: nil,
3698
- insurances: nil,
3699
- starts_at: nil,
3700
- venue_name: nil
3701
- )
3702
- @access_controlled_venue = access_controlled_venue
3703
- @address = address
3704
- @affiliate_name = affiliate_name
3705
- @ends_at = ends_at
3706
- @event_company_name = event_company_name
3707
- @event_name = event_name
3708
- @event_type = event_type
3709
- @insurances = insurances
3710
- @starts_at = starts_at
3711
- @venue_name = venue_name
3712
- end
3713
- end
3714
-
3715
- class FerryReservationDetail < ::Stripe::RequestParams
3716
- class Arrival < ::Stripe::RequestParams
3717
- class Address < ::Stripe::RequestParams
3718
- # The city or town.
3719
- attr_accessor :city
3720
- # The country in ISO 3166-1 alpha-2 format.
3721
- attr_accessor :country
3722
- # The postal code formatted according to country.
3723
- attr_accessor :postal_code
3724
- # The state, county, province, or region formatted according to country.
3725
- attr_accessor :region
3726
- # Line 1 of the street address.
3727
- attr_accessor :street_address
3728
- # Line 2 of the street address.
3729
- attr_accessor :street_address2
3730
-
3731
- def initialize(
3732
- city: nil,
3733
- country: nil,
3734
- postal_code: nil,
3735
- region: nil,
3736
- street_address: nil,
3737
- street_address2: nil
3738
- )
3739
- @city = city
3740
- @country = country
3741
- @postal_code = postal_code
3742
- @region = region
3743
- @street_address = street_address
3744
- @street_address2 = street_address2
3745
- end
3746
- end
3747
- # Address of the arrival location.
3748
- attr_accessor :address
3749
- # Identifier name or reference for the arrival location.
3750
- attr_accessor :arrival_location
3751
-
3752
- def initialize(address: nil, arrival_location: nil)
3753
- @address = address
3754
- @arrival_location = arrival_location
3755
- end
3756
- end
3757
-
3758
- class Departure < ::Stripe::RequestParams
3759
- class Address < ::Stripe::RequestParams
3760
- # The city or town.
3761
- attr_accessor :city
3762
- # The country in ISO 3166-1 alpha-2 format.
3763
- attr_accessor :country
3764
- # The postal code formatted according to country.
3765
- attr_accessor :postal_code
3766
- # The state, county, province, or region formatted according to country.
3767
- attr_accessor :region
3768
- # Line 1 of the street address.
3769
- attr_accessor :street_address
3770
- # Line 2 of the street address.
3771
- attr_accessor :street_address2
3772
-
3773
- def initialize(
3774
- city: nil,
3775
- country: nil,
3776
- postal_code: nil,
3777
- region: nil,
3778
- street_address: nil,
3779
- street_address2: nil
3780
- )
3781
- @city = city
3782
- @country = country
3783
- @postal_code = postal_code
3784
- @region = region
3785
- @street_address = street_address
3786
- @street_address2 = street_address2
3787
- end
3788
- end
3789
- # Address of the departure location.
3790
- attr_accessor :address
3791
- # Timestamp of departure.
3792
- attr_accessor :departs_at
3793
- # Identifier name or reference for the origin location.
3794
- attr_accessor :departure_location
3795
-
3796
- def initialize(address: nil, departs_at: nil, departure_location: nil)
3797
- @address = address
3798
- @departs_at = departs_at
3799
- @departure_location = departure_location
3800
- end
3801
- end
3802
-
3803
- class Insurance < ::Stripe::RequestParams
3804
- # Insurance currency.
3805
- attr_accessor :currency
3806
- # Name of the company providing the insurance.
3807
- attr_accessor :insurance_company_name
3808
- # Type of insurance.
3809
- attr_accessor :insurance_type
3810
- # Price of insurance in cents.
3811
- attr_accessor :price
3812
-
3813
- def initialize(
3814
- currency: nil,
3815
- insurance_company_name: nil,
3816
- insurance_type: nil,
3817
- price: nil
3818
- )
3819
- @currency = currency
3820
- @insurance_company_name = insurance_company_name
3821
- @insurance_type = insurance_type
3822
- @price = price
3823
- end
3824
- end
3825
-
3826
- class Passenger < ::Stripe::RequestParams
3827
- # The family name of the person.
3828
- attr_accessor :family_name
3829
- # The given name of the person.
3830
- attr_accessor :given_name
3831
-
3832
- def initialize(family_name: nil, given_name: nil)
3833
- @family_name = family_name
3834
- @given_name = given_name
3835
- end
3836
- end
3837
- # Name of associated or partner company for the service.
3838
- attr_accessor :affiliate_name
3839
- # Arrival details.
3840
- attr_accessor :arrival
3841
- # Name of transportation company.
3842
- attr_accessor :carrier_name
3843
- # Currency.
3844
- attr_accessor :currency
3845
- # Departure details.
3846
- attr_accessor :departure
3847
- # List of insurances for this reservation.
3848
- attr_accessor :insurances
3849
- # List of passengers that this reservation applies to.
3850
- attr_accessor :passengers
3851
- # Price in cents.
3852
- attr_accessor :price
3853
- # Ticket class.
3854
- attr_accessor :ticket_class
3855
-
3856
- def initialize(
3857
- affiliate_name: nil,
3858
- arrival: nil,
3859
- carrier_name: nil,
3860
- currency: nil,
3861
- departure: nil,
3862
- insurances: nil,
3863
- passengers: nil,
3864
- price: nil,
3865
- ticket_class: nil
3866
- )
3867
- @affiliate_name = affiliate_name
3868
- @arrival = arrival
3869
- @carrier_name = carrier_name
3870
- @currency = currency
3871
- @departure = departure
3872
- @insurances = insurances
3873
- @passengers = passengers
3874
- @price = price
3875
- @ticket_class = ticket_class
3876
- end
3877
- end
3878
-
3879
- class Insurance < ::Stripe::RequestParams
3880
- # Insurance currency.
3881
- attr_accessor :currency
3882
- # Name of the company providing the insurance.
3883
- attr_accessor :insurance_company_name
3884
- # Type of insurance
3885
- attr_accessor :insurance_type
3886
- # Price of insurance in cents.
3887
- attr_accessor :price
3888
-
3889
- def initialize(
3890
- currency: nil,
3891
- insurance_company_name: nil,
3892
- insurance_type: nil,
3893
- price: nil
3894
- )
3895
- @currency = currency
3896
- @insurance_company_name = insurance_company_name
3897
- @insurance_type = insurance_type
3898
- @price = price
3899
- end
3900
- end
3901
-
3902
- class MarketplaceSeller < ::Stripe::RequestParams
3903
- class MarketplaceSellerAddress < ::Stripe::RequestParams
3904
- # The city or town.
3905
- attr_accessor :city
3906
- # The country in ISO 3166-1 alpha-2 format.
3907
- attr_accessor :country
3908
- # The postal code formatted according to country.
3909
- attr_accessor :postal_code
3910
- # The state, county, province, or region formatted according to country.
3911
- attr_accessor :region
3912
- # Line 1 of the street address.
3913
- attr_accessor :street_address
3914
- # Line 2 of the street address.
3915
- attr_accessor :street_address2
3916
-
3917
- def initialize(
3918
- city: nil,
3919
- country: nil,
3920
- postal_code: nil,
3921
- region: nil,
3922
- street_address: nil,
3923
- street_address2: nil
3924
- )
3925
- @city = city
3926
- @country = country
3927
- @postal_code = postal_code
3928
- @region = region
3929
- @street_address = street_address
3930
- @street_address2 = street_address2
3931
- end
3932
- end
3933
- # The references to line items for purchases with multiple associated sub-sellers.
3934
- attr_accessor :line_item_references
3935
- # The address of the selling or delivering merchant.
3936
- attr_accessor :marketplace_seller_address
3937
- # The name of the marketplace seller.
3938
- attr_accessor :marketplace_seller_name
3939
- # The unique identifier for the marketplace seller.
3940
- attr_accessor :marketplace_seller_reference
3941
- # The number of transactions the sub-seller completed in the last 12 months.
3942
- attr_accessor :number_of_transactions
3943
- # The category of the product.
3944
- attr_accessor :product_category
3945
- # The date when the seller's account with the marketplace was last logged in.
3946
- attr_accessor :seller_last_login_at
3947
- # The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values.
3948
- attr_accessor :seller_rating
3949
- # The date when the seller's account with the marketplace was created.
3950
- attr_accessor :seller_registered_at
3951
- # The date when the seller's account with the marketplace was last updated.
3952
- attr_accessor :seller_updated_at
3953
- # The references to shipping addresses for purchases with multiple associated sub-sellers.
3954
- attr_accessor :shipping_references
3955
- # The accumulated amount of sales transactions made by the sub-merchant or sub-seller within the past 12 months in the payment currency. These transactions are in minor currency units.
3956
- attr_accessor :volume_of_transactions
3957
-
3958
- def initialize(
3959
- line_item_references: nil,
3960
- marketplace_seller_address: nil,
3961
- marketplace_seller_name: nil,
3962
- marketplace_seller_reference: nil,
3963
- number_of_transactions: nil,
3964
- product_category: nil,
3965
- seller_last_login_at: nil,
3966
- seller_rating: nil,
3967
- seller_registered_at: nil,
3968
- seller_updated_at: nil,
3969
- shipping_references: nil,
3970
- volume_of_transactions: nil
3971
- )
3972
- @line_item_references = line_item_references
3973
- @marketplace_seller_address = marketplace_seller_address
3974
- @marketplace_seller_name = marketplace_seller_name
3975
- @marketplace_seller_reference = marketplace_seller_reference
3976
- @number_of_transactions = number_of_transactions
3977
- @product_category = product_category
3978
- @seller_last_login_at = seller_last_login_at
3979
- @seller_rating = seller_rating
3980
- @seller_registered_at = seller_registered_at
3981
- @seller_updated_at = seller_updated_at
3982
- @shipping_references = shipping_references
3983
- @volume_of_transactions = volume_of_transactions
3984
- end
3985
- end
3986
-
3987
- class RoundTripReservationDetail < ::Stripe::RequestParams
3988
- class Arrival < ::Stripe::RequestParams
3989
- class Address < ::Stripe::RequestParams
3990
- # The city or town.
3991
- attr_accessor :city
3992
- # The country in ISO 3166-1 alpha-2 format.
3993
- attr_accessor :country
3994
- # The postal code formatted according to country.
3995
- attr_accessor :postal_code
3996
- # The state, county, province, or region formatted according to country.
3997
- attr_accessor :region
3998
- # Line 1 of the street address.
3999
- attr_accessor :street_address
4000
- # Line 2 of the street address.
4001
- attr_accessor :street_address2
4002
-
4003
- def initialize(
4004
- city: nil,
4005
- country: nil,
4006
- postal_code: nil,
4007
- region: nil,
4008
- street_address: nil,
4009
- street_address2: nil
4010
- )
4011
- @city = city
4012
- @country = country
4013
- @postal_code = postal_code
4014
- @region = region
4015
- @street_address = street_address
4016
- @street_address2 = street_address2
4017
- end
4018
- end
4019
- # Address of the arrival location.
4020
- attr_accessor :address
4021
- # Identifier name or reference for the arrival location.
4022
- attr_accessor :arrival_location
4023
-
4024
- def initialize(address: nil, arrival_location: nil)
4025
- @address = address
4026
- @arrival_location = arrival_location
4027
- end
4028
- end
4029
-
4030
- class Departure < ::Stripe::RequestParams
4031
- class Address < ::Stripe::RequestParams
4032
- # The city or town.
4033
- attr_accessor :city
4034
- # The country in ISO 3166-1 alpha-2 format.
4035
- attr_accessor :country
4036
- # The postal code formatted according to country.
4037
- attr_accessor :postal_code
4038
- # The state, county, province, or region formatted according to country.
4039
- attr_accessor :region
4040
- # Line 1 of the street address.
4041
- attr_accessor :street_address
4042
- # Line 2 of the street address.
4043
- attr_accessor :street_address2
4044
-
4045
- def initialize(
4046
- city: nil,
4047
- country: nil,
4048
- postal_code: nil,
4049
- region: nil,
4050
- street_address: nil,
4051
- street_address2: nil
4052
- )
4053
- @city = city
4054
- @country = country
4055
- @postal_code = postal_code
4056
- @region = region
4057
- @street_address = street_address
4058
- @street_address2 = street_address2
4059
- end
4060
- end
4061
- # Address of the departure location.
4062
- attr_accessor :address
4063
- # Timestamp of departure.
4064
- attr_accessor :departs_at
4065
- # Identifier name or reference for the origin location.
4066
- attr_accessor :departure_location
4067
-
4068
- def initialize(address: nil, departs_at: nil, departure_location: nil)
4069
- @address = address
4070
- @departs_at = departs_at
4071
- @departure_location = departure_location
4072
- end
4073
- end
4074
-
4075
- class Insurance < ::Stripe::RequestParams
4076
- # Insurance currency.
4077
- attr_accessor :currency
4078
- # Name of the company providing the insurance.
4079
- attr_accessor :insurance_company_name
4080
- # Type of insurance.
4081
- attr_accessor :insurance_type
4082
- # Price of insurance in cents.
4083
- attr_accessor :price
4084
-
4085
- def initialize(
4086
- currency: nil,
4087
- insurance_company_name: nil,
4088
- insurance_type: nil,
4089
- price: nil
4090
- )
4091
- @currency = currency
4092
- @insurance_company_name = insurance_company_name
4093
- @insurance_type = insurance_type
4094
- @price = price
4095
- end
4096
- end
4097
-
4098
- class Passenger < ::Stripe::RequestParams
4099
- # The family name of the person.
4100
- attr_accessor :family_name
4101
- # The given name of the person.
4102
- attr_accessor :given_name
4103
-
4104
- def initialize(family_name: nil, given_name: nil)
4105
- @family_name = family_name
4106
- @given_name = given_name
4107
- end
4108
- end
4109
- # Name of associated or partner company for the service.
4110
- attr_accessor :affiliate_name
4111
- # Arrival details.
4112
- attr_accessor :arrival
4113
- # Name of transportation company.
4114
- attr_accessor :carrier_name
4115
- # Currency.
4116
- attr_accessor :currency
4117
- # Departure details.
4118
- attr_accessor :departure
4119
- # List of insurances for this reservation.
4120
- attr_accessor :insurances
4121
- # List of passengers that this reservation applies to.
4122
- attr_accessor :passengers
4123
- # Price in cents.
4124
- attr_accessor :price
4125
- # Ticket class.
4126
- attr_accessor :ticket_class
4127
-
4128
- def initialize(
4129
- affiliate_name: nil,
4130
- arrival: nil,
4131
- carrier_name: nil,
4132
- currency: nil,
4133
- departure: nil,
4134
- insurances: nil,
4135
- passengers: nil,
4136
- price: nil,
4137
- ticket_class: nil
4138
- )
4139
- @affiliate_name = affiliate_name
4140
- @arrival = arrival
4141
- @carrier_name = carrier_name
4142
- @currency = currency
4143
- @departure = departure
4144
- @insurances = insurances
4145
- @passengers = passengers
4146
- @price = price
4147
- @ticket_class = ticket_class
4148
- end
4149
- end
4150
-
4151
- class TrainReservationDetail < ::Stripe::RequestParams
4152
- class Arrival < ::Stripe::RequestParams
4153
- class Address < ::Stripe::RequestParams
4154
- # The city or town.
4155
- attr_accessor :city
4156
- # The country in ISO 3166-1 alpha-2 format.
4157
- attr_accessor :country
4158
- # The postal code formatted according to country.
4159
- attr_accessor :postal_code
4160
- # The state, county, province, or region formatted according to country.
4161
- attr_accessor :region
4162
- # Line 1 of the street address.
4163
- attr_accessor :street_address
4164
- # Line 2 of the street address.
4165
- attr_accessor :street_address2
4166
-
4167
- def initialize(
4168
- city: nil,
4169
- country: nil,
4170
- postal_code: nil,
4171
- region: nil,
4172
- street_address: nil,
4173
- street_address2: nil
4174
- )
4175
- @city = city
4176
- @country = country
4177
- @postal_code = postal_code
4178
- @region = region
4179
- @street_address = street_address
4180
- @street_address2 = street_address2
4181
- end
4182
- end
4183
- # Address of the arrival location.
4184
- attr_accessor :address
4185
- # Identifier name or reference for the arrival location.
4186
- attr_accessor :arrival_location
4187
-
4188
- def initialize(address: nil, arrival_location: nil)
4189
- @address = address
4190
- @arrival_location = arrival_location
4191
- end
4192
- end
4193
-
4194
- class Departure < ::Stripe::RequestParams
4195
- class Address < ::Stripe::RequestParams
4196
- # The city or town.
4197
- attr_accessor :city
4198
- # The country in ISO 3166-1 alpha-2 format.
4199
- attr_accessor :country
4200
- # The postal code formatted according to country.
4201
- attr_accessor :postal_code
4202
- # The state, county, province, or region formatted according to country.
4203
- attr_accessor :region
4204
- # Line 1 of the street address.
4205
- attr_accessor :street_address
4206
- # Line 2 of the street address.
4207
- attr_accessor :street_address2
4208
-
4209
- def initialize(
4210
- city: nil,
4211
- country: nil,
4212
- postal_code: nil,
4213
- region: nil,
4214
- street_address: nil,
4215
- street_address2: nil
4216
- )
4217
- @city = city
4218
- @country = country
4219
- @postal_code = postal_code
4220
- @region = region
4221
- @street_address = street_address
4222
- @street_address2 = street_address2
4223
- end
4224
- end
4225
- # Address of the departure location.
4226
- attr_accessor :address
4227
- # Timestamp of departure.
4228
- attr_accessor :departs_at
4229
- # Identifier name or reference for the origin location.
4230
- attr_accessor :departure_location
4231
-
4232
- def initialize(address: nil, departs_at: nil, departure_location: nil)
4233
- @address = address
4234
- @departs_at = departs_at
4235
- @departure_location = departure_location
4236
- end
4237
- end
4238
-
4239
- class Insurance < ::Stripe::RequestParams
4240
- # Insurance currency.
4241
- attr_accessor :currency
4242
- # Name of the company providing the insurance.
4243
- attr_accessor :insurance_company_name
4244
- # Type of insurance.
4245
- attr_accessor :insurance_type
4246
- # Price of insurance in cents.
4247
- attr_accessor :price
4248
-
4249
- def initialize(
4250
- currency: nil,
4251
- insurance_company_name: nil,
4252
- insurance_type: nil,
4253
- price: nil
4254
- )
4255
- @currency = currency
4256
- @insurance_company_name = insurance_company_name
4257
- @insurance_type = insurance_type
4258
- @price = price
4259
- end
4260
- end
4261
-
4262
- class Passenger < ::Stripe::RequestParams
4263
- # The family name of the person.
4264
- attr_accessor :family_name
4265
- # The given name of the person.
4266
- attr_accessor :given_name
4267
-
4268
- def initialize(family_name: nil, given_name: nil)
4269
- @family_name = family_name
4270
- @given_name = given_name
4271
- end
4272
- end
4273
- # Name of associated or partner company for the service.
4274
- attr_accessor :affiliate_name
4275
- # Arrival details.
4276
- attr_accessor :arrival
4277
- # Name of transportation company.
4278
- attr_accessor :carrier_name
4279
- # Currency.
4280
- attr_accessor :currency
4281
- # Departure details.
4282
- attr_accessor :departure
4283
- # List of insurances for this reservation.
4284
- attr_accessor :insurances
4285
- # List of passengers that this reservation applies to.
4286
- attr_accessor :passengers
4287
- # Price in cents.
4288
- attr_accessor :price
4289
- # Ticket class.
4290
- attr_accessor :ticket_class
4291
-
4292
- def initialize(
4293
- affiliate_name: nil,
4294
- arrival: nil,
4295
- carrier_name: nil,
4296
- currency: nil,
4297
- departure: nil,
4298
- insurances: nil,
4299
- passengers: nil,
4300
- price: nil,
4301
- ticket_class: nil
4302
- )
4303
- @affiliate_name = affiliate_name
4304
- @arrival = arrival
4305
- @carrier_name = carrier_name
4306
- @currency = currency
4307
- @departure = departure
4308
- @insurances = insurances
4309
- @passengers = passengers
4310
- @price = price
4311
- @ticket_class = ticket_class
4312
- end
4313
- end
4314
-
4315
- class Voucher < ::Stripe::RequestParams
4316
- # Name of associated or partner company for this voucher.
4317
- attr_accessor :affiliate_name
4318
- # The voucher validity end time.
4319
- attr_accessor :ends_at
4320
- # The voucher validity start time.
4321
- attr_accessor :starts_at
4322
- # The issuer or provider of this voucher.
4323
- attr_accessor :voucher_company
4324
- # The name or reference to identify the voucher.
4325
- attr_accessor :voucher_name
4326
- # The type of this voucher.
4327
- attr_accessor :voucher_type
4328
-
4329
- def initialize(
4330
- affiliate_name: nil,
4331
- ends_at: nil,
4332
- starts_at: nil,
4333
- voucher_company: nil,
4334
- voucher_name: nil,
4335
- voucher_type: nil
4336
- )
4337
- @affiliate_name = affiliate_name
4338
- @ends_at = ends_at
4339
- @starts_at = starts_at
4340
- @voucher_company = voucher_company
4341
- @voucher_name = voucher_name
4342
- @voucher_type = voucher_type
4343
- end
4344
- end
4345
- # Supplementary bus reservation details.
4346
- attr_accessor :bus_reservation_details
4347
- # Supplementary event reservation details.
4348
- attr_accessor :event_reservation_details
4349
- # Supplementary ferry reservation details.
4350
- attr_accessor :ferry_reservation_details
4351
- # Supplementary insurance details.
4352
- attr_accessor :insurances
4353
- # Supplementary marketplace seller details.
4354
- attr_accessor :marketplace_sellers
4355
- # Supplementary round trip reservation details.
4356
- attr_accessor :round_trip_reservation_details
4357
- # Supplementary train reservation details.
4358
- attr_accessor :train_reservation_details
4359
- # Voucher details, such as a gift card or discount code.
4360
- attr_accessor :vouchers
4361
-
4362
- def initialize(
4363
- bus_reservation_details: nil,
4364
- event_reservation_details: nil,
4365
- ferry_reservation_details: nil,
4366
- insurances: nil,
4367
- marketplace_sellers: nil,
4368
- round_trip_reservation_details: nil,
4369
- train_reservation_details: nil,
4370
- vouchers: nil
4371
- )
4372
- @bus_reservation_details = bus_reservation_details
4373
- @event_reservation_details = event_reservation_details
4374
- @ferry_reservation_details = ferry_reservation_details
4375
- @insurances = insurances
4376
- @marketplace_sellers = marketplace_sellers
4377
- @round_trip_reservation_details = round_trip_reservation_details
4378
- @train_reservation_details = train_reservation_details
4379
- @vouchers = vouchers
4380
- end
4381
- end
4382
1635
  # Controls when the funds are captured from the customer's account.
4383
1636
  #
4384
1637
  # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
@@ -4401,23 +1654,19 @@ module Stripe
4401
1654
  attr_accessor :setup_future_usage
4402
1655
  # Subscription details if setting up or charging a subscription.
4403
1656
  attr_accessor :subscriptions
4404
- # Supplementary Purchase Data for the corresponding Klarna payment
4405
- attr_accessor :supplementary_purchase_data
4406
1657
 
4407
1658
  def initialize(
4408
1659
  capture_method: nil,
4409
1660
  on_demand: nil,
4410
1661
  preferred_locale: nil,
4411
1662
  setup_future_usage: nil,
4412
- subscriptions: nil,
4413
- supplementary_purchase_data: nil
1663
+ subscriptions: nil
4414
1664
  )
4415
1665
  @capture_method = capture_method
4416
1666
  @on_demand = on_demand
4417
1667
  @preferred_locale = preferred_locale
4418
1668
  @setup_future_usage = setup_future_usage
4419
1669
  @subscriptions = subscriptions
4420
- @supplementary_purchase_data = supplementary_purchase_data
4421
1670
  end
4422
1671
  end
4423
1672
 
@@ -4678,65 +1927,12 @@ module Stripe
4678
1927
  end
4679
1928
 
4680
1929
  class Paypal < ::Stripe::RequestParams
4681
- class LineItem < ::Stripe::RequestParams
4682
- class Tax < ::Stripe::RequestParams
4683
- # The tax for a single unit of the line item in minor units. Cannot be a negative number.
4684
- attr_accessor :amount
4685
- # The tax behavior for the line item.
4686
- attr_accessor :behavior
4687
-
4688
- def initialize(amount: nil, behavior: nil)
4689
- @amount = amount
4690
- @behavior = behavior
4691
- end
4692
- end
4693
- # Type of the line item.
4694
- attr_accessor :category
4695
- # Description of the line item.
4696
- attr_accessor :description
4697
- # Descriptive name of the line item.
4698
- attr_accessor :name
4699
- # Quantity of the line item. Must be a positive number.
4700
- attr_accessor :quantity
4701
- # Client facing stock keeping unit, article number or similar.
4702
- attr_accessor :sku
4703
- # The Stripe account ID of the connected account that sells the item.
4704
- attr_accessor :sold_by
4705
- # The tax information for the line item.
4706
- attr_accessor :tax
4707
- # Price for a single unit of the line item in minor units. Cannot be a negative number.
4708
- attr_accessor :unit_amount
4709
-
4710
- def initialize(
4711
- category: nil,
4712
- description: nil,
4713
- name: nil,
4714
- quantity: nil,
4715
- sku: nil,
4716
- sold_by: nil,
4717
- tax: nil,
4718
- unit_amount: nil
4719
- )
4720
- @category = category
4721
- @description = description
4722
- @name = name
4723
- @quantity = quantity
4724
- @sku = sku
4725
- @sold_by = sold_by
4726
- @tax = tax
4727
- @unit_amount = unit_amount
4728
- end
4729
- end
4730
1930
  # Controls when the funds will be captured from the customer's account.
4731
1931
  attr_accessor :capture_method
4732
- # The line items purchased by the customer.
4733
- attr_accessor :line_items
4734
1932
  # [Preferred locale](https://docs.stripe.com/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
4735
1933
  attr_accessor :preferred_locale
4736
1934
  # 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.
4737
1935
  attr_accessor :reference
4738
- # 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.
4739
- attr_accessor :reference_id
4740
1936
  # The risk correlation ID for an on-session payment using a saved PayPal payment method.
4741
1937
  attr_accessor :risk_correlation_id
4742
1938
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -4749,40 +1945,19 @@ module Stripe
4749
1945
  #
4750
1946
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
4751
1947
  attr_accessor :setup_future_usage
4752
- # 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.
4753
- attr_accessor :subsellers
4754
1948
 
4755
1949
  def initialize(
4756
1950
  capture_method: nil,
4757
- line_items: nil,
4758
1951
  preferred_locale: nil,
4759
1952
  reference: nil,
4760
- reference_id: nil,
4761
1953
  risk_correlation_id: nil,
4762
- setup_future_usage: nil,
4763
- subsellers: nil
1954
+ setup_future_usage: nil
4764
1955
  )
4765
1956
  @capture_method = capture_method
4766
- @line_items = line_items
4767
1957
  @preferred_locale = preferred_locale
4768
1958
  @reference = reference
4769
- @reference_id = reference_id
4770
1959
  @risk_correlation_id = risk_correlation_id
4771
1960
  @setup_future_usage = setup_future_usage
4772
- @subsellers = subsellers
4773
- end
4774
- end
4775
-
4776
- class Paypay < ::Stripe::RequestParams
4777
- # Controls when the funds are captured from the customer's account.
4778
- #
4779
- # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
4780
- #
4781
- # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
4782
- attr_accessor :capture_method
4783
-
4784
- def initialize(capture_method: nil)
4785
- @capture_method = capture_method
4786
1961
  end
4787
1962
  end
4788
1963
 
@@ -4837,52 +2012,12 @@ module Stripe
4837
2012
  end
4838
2013
 
4839
2014
  class Pix < ::Stripe::RequestParams
4840
- class MandateOptions < ::Stripe::RequestParams
4841
- # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
4842
- attr_accessor :amount
4843
- # Determines if the amount includes the IOF tax. Defaults to `never`.
4844
- attr_accessor :amount_includes_iof
4845
- # Type of amount. Defaults to `maximum`.
4846
- attr_accessor :amount_type
4847
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
4848
- attr_accessor :currency
4849
- # Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
4850
- attr_accessor :end_date
4851
- # Schedule at which the future payments will be charged. Defaults to `weekly`.
4852
- attr_accessor :payment_schedule
4853
- # Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
4854
- attr_accessor :reference
4855
- # Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
4856
- attr_accessor :start_date
4857
-
4858
- def initialize(
4859
- amount: nil,
4860
- amount_includes_iof: nil,
4861
- amount_type: nil,
4862
- currency: nil,
4863
- end_date: nil,
4864
- payment_schedule: nil,
4865
- reference: nil,
4866
- start_date: nil
4867
- )
4868
- @amount = amount
4869
- @amount_includes_iof = amount_includes_iof
4870
- @amount_type = amount_type
4871
- @currency = currency
4872
- @end_date = end_date
4873
- @payment_schedule = payment_schedule
4874
- @reference = reference
4875
- @start_date = start_date
4876
- end
4877
- end
4878
2015
  # Determines if the amount includes the IOF tax. Defaults to `never`.
4879
2016
  attr_accessor :amount_includes_iof
4880
2017
  # The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
4881
2018
  attr_accessor :expires_after_seconds
4882
2019
  # The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
4883
2020
  attr_accessor :expires_at
4884
- # Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
4885
- attr_accessor :mandate_options
4886
2021
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
4887
2022
  #
4888
2023
  # 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.
@@ -4898,13 +2033,11 @@ module Stripe
4898
2033
  amount_includes_iof: nil,
4899
2034
  expires_after_seconds: nil,
4900
2035
  expires_at: nil,
4901
- mandate_options: nil,
4902
2036
  setup_future_usage: nil
4903
2037
  )
4904
2038
  @amount_includes_iof = amount_includes_iof
4905
2039
  @expires_after_seconds = expires_after_seconds
4906
2040
  @expires_at = expires_at
4907
- @mandate_options = mandate_options
4908
2041
  @setup_future_usage = setup_future_usage
4909
2042
  end
4910
2043
  end
@@ -4926,25 +2059,6 @@ module Stripe
4926
2059
  end
4927
2060
  end
4928
2061
 
4929
- class Qris < ::Stripe::RequestParams
4930
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
4931
- #
4932
- # 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.
4933
- #
4934
- # 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.
4935
- #
4936
- # 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).
4937
- #
4938
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
4939
- attr_accessor :setup_future_usage
4940
-
4941
- def initialize(setup_future_usage: nil)
4942
- @setup_future_usage = setup_future_usage
4943
- end
4944
- end
4945
-
4946
- class Rechnung < ::Stripe::RequestParams; end
4947
-
4948
2062
  class RevolutPay < ::Stripe::RequestParams
4949
2063
  # Controls when the funds are captured from the customer's account.
4950
2064
  #
@@ -5024,23 +2138,6 @@ module Stripe
5024
2138
  end
5025
2139
  end
5026
2140
 
5027
- class Shopeepay < ::Stripe::RequestParams
5028
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
5029
- #
5030
- # 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.
5031
- #
5032
- # 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.
5033
- #
5034
- # 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).
5035
- #
5036
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
5037
- attr_accessor :setup_future_usage
5038
-
5039
- def initialize(setup_future_usage: nil)
5040
- @setup_future_usage = setup_future_usage
5041
- end
5042
- end
5043
-
5044
2141
  class Sofort < ::Stripe::RequestParams
5045
2142
  # Language shown to the payer on redirect.
5046
2143
  attr_accessor :preferred_language
@@ -5061,23 +2158,6 @@ module Stripe
5061
2158
  end
5062
2159
  end
5063
2160
 
5064
- class StripeBalance < ::Stripe::RequestParams
5065
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
5066
- #
5067
- # 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.
5068
- #
5069
- # 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.
5070
- #
5071
- # 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).
5072
- #
5073
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
5074
- attr_accessor :setup_future_usage
5075
-
5076
- def initialize(setup_future_usage: nil)
5077
- @setup_future_usage = setup_future_usage
5078
- end
5079
- end
5080
-
5081
2161
  class Swish < ::Stripe::RequestParams
5082
2162
  # A reference for this payment to be displayed in the Swish app.
5083
2163
  attr_accessor :reference
@@ -5120,27 +2200,13 @@ module Stripe
5120
2200
  class Filters < ::Stripe::RequestParams
5121
2201
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
5122
2202
  attr_accessor :account_subcategories
5123
- # ID of the institution to use to filter for selectable accounts.
5124
- attr_accessor :institution
5125
2203
 
5126
- def initialize(account_subcategories: nil, institution: nil)
2204
+ def initialize(account_subcategories: nil)
5127
2205
  @account_subcategories = account_subcategories
5128
- @institution = institution
5129
- end
5130
- end
5131
-
5132
- class ManualEntry < ::Stripe::RequestParams
5133
- # Settings for configuring manual entry of account details.
5134
- attr_accessor :mode
5135
-
5136
- def initialize(mode: nil)
5137
- @mode = mode
5138
2206
  end
5139
2207
  end
5140
2208
  # Provide filters for the linked accounts that the customer can select for the payment method.
5141
2209
  attr_accessor :filters
5142
- # Customize manual entry behavior
5143
- attr_accessor :manual_entry
5144
2210
  # The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
5145
2211
  attr_accessor :permissions
5146
2212
  # List of data features that you would like to retrieve upon account creation.
@@ -5148,15 +2214,8 @@ module Stripe
5148
2214
  # For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
5149
2215
  attr_accessor :return_url
5150
2216
 
5151
- def initialize(
5152
- filters: nil,
5153
- manual_entry: nil,
5154
- permissions: nil,
5155
- prefetch: nil,
5156
- return_url: nil
5157
- )
2217
+ def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
5158
2218
  @filters = filters
5159
- @manual_entry = manual_entry
5160
2219
  @permissions = permissions
5161
2220
  @prefetch = prefetch
5162
2221
  @return_url = return_url
@@ -5186,8 +2245,6 @@ module Stripe
5186
2245
  attr_accessor :mandate_options
5187
2246
  # Additional fields for network related functions
5188
2247
  attr_accessor :networks
5189
- # Preferred transaction settlement speed
5190
- attr_accessor :preferred_settlement_speed
5191
2248
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
5192
2249
  #
5193
2250
  # 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.
@@ -5202,23 +2259,25 @@ module Stripe
5202
2259
  attr_accessor :target_date
5203
2260
  # Bank account verification method.
5204
2261
  attr_accessor :verification_method
2262
+ # Preferred transaction settlement speed
2263
+ attr_accessor :preferred_settlement_speed
5205
2264
 
5206
2265
  def initialize(
5207
2266
  financial_connections: nil,
5208
2267
  mandate_options: nil,
5209
2268
  networks: nil,
5210
- preferred_settlement_speed: nil,
5211
2269
  setup_future_usage: nil,
5212
2270
  target_date: nil,
5213
- verification_method: nil
2271
+ verification_method: nil,
2272
+ preferred_settlement_speed: nil
5214
2273
  )
5215
2274
  @financial_connections = financial_connections
5216
2275
  @mandate_options = mandate_options
5217
2276
  @networks = networks
5218
- @preferred_settlement_speed = preferred_settlement_speed
5219
2277
  @setup_future_usage = setup_future_usage
5220
2278
  @target_date = target_date
5221
2279
  @verification_method = verification_method
2280
+ @preferred_settlement_speed = preferred_settlement_speed
5222
2281
  end
5223
2282
  end
5224
2283
 
@@ -5301,12 +2360,8 @@ module Stripe
5301
2360
  attr_accessor :fpx
5302
2361
  # If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
5303
2362
  attr_accessor :giropay
5304
- # If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
5305
- attr_accessor :gopay
5306
2363
  # If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
5307
2364
  attr_accessor :grabpay
5308
- # If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
5309
- attr_accessor :id_bank_transfer
5310
2365
  # If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
5311
2366
  attr_accessor :ideal
5312
2367
  # If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
@@ -5343,18 +2398,12 @@ module Stripe
5343
2398
  attr_accessor :paynow
5344
2399
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
5345
2400
  attr_accessor :paypal
5346
- # If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
5347
- attr_accessor :paypay
5348
2401
  # If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
5349
2402
  attr_accessor :payto
5350
2403
  # If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
5351
2404
  attr_accessor :pix
5352
2405
  # If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
5353
2406
  attr_accessor :promptpay
5354
- # If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
5355
- attr_accessor :qris
5356
- # If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
5357
- attr_accessor :rechnung
5358
2407
  # If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
5359
2408
  attr_accessor :revolut_pay
5360
2409
  # If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
@@ -5363,12 +2412,8 @@ module Stripe
5363
2412
  attr_accessor :satispay
5364
2413
  # If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
5365
2414
  attr_accessor :sepa_debit
5366
- # If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
5367
- attr_accessor :shopeepay
5368
2415
  # If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
5369
2416
  attr_accessor :sofort
5370
- # If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
5371
- attr_accessor :stripe_balance
5372
2417
  # If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
5373
2418
  attr_accessor :swish
5374
2419
  # If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
@@ -5401,9 +2446,7 @@ module Stripe
5401
2446
  eps: nil,
5402
2447
  fpx: nil,
5403
2448
  giropay: nil,
5404
- gopay: nil,
5405
2449
  grabpay: nil,
5406
- id_bank_transfer: nil,
5407
2450
  ideal: nil,
5408
2451
  interac_present: nil,
5409
2452
  kakao_pay: nil,
@@ -5422,19 +2465,14 @@ module Stripe
5422
2465
  payco: nil,
5423
2466
  paynow: nil,
5424
2467
  paypal: nil,
5425
- paypay: nil,
5426
2468
  payto: nil,
5427
2469
  pix: nil,
5428
2470
  promptpay: nil,
5429
- qris: nil,
5430
- rechnung: nil,
5431
2471
  revolut_pay: nil,
5432
2472
  samsung_pay: nil,
5433
2473
  satispay: nil,
5434
2474
  sepa_debit: nil,
5435
- shopeepay: nil,
5436
2475
  sofort: nil,
5437
- stripe_balance: nil,
5438
2476
  swish: nil,
5439
2477
  twint: nil,
5440
2478
  us_bank_account: nil,
@@ -5461,9 +2499,7 @@ module Stripe
5461
2499
  @eps = eps
5462
2500
  @fpx = fpx
5463
2501
  @giropay = giropay
5464
- @gopay = gopay
5465
2502
  @grabpay = grabpay
5466
- @id_bank_transfer = id_bank_transfer
5467
2503
  @ideal = ideal
5468
2504
  @interac_present = interac_present
5469
2505
  @kakao_pay = kakao_pay
@@ -5482,19 +2518,14 @@ module Stripe
5482
2518
  @payco = payco
5483
2519
  @paynow = paynow
5484
2520
  @paypal = paypal
5485
- @paypay = paypay
5486
2521
  @payto = payto
5487
2522
  @pix = pix
5488
2523
  @promptpay = promptpay
5489
- @qris = qris
5490
- @rechnung = rechnung
5491
2524
  @revolut_pay = revolut_pay
5492
2525
  @samsung_pay = samsung_pay
5493
2526
  @satispay = satispay
5494
2527
  @sepa_debit = sepa_debit
5495
- @shopeepay = shopeepay
5496
2528
  @sofort = sofort
5497
- @stripe_balance = stripe_balance
5498
2529
  @swish = swish
5499
2530
  @twint = twint
5500
2531
  @us_bank_account = us_bank_account
@@ -5562,12 +2593,8 @@ module Stripe
5562
2593
  @tracking_number = tracking_number
5563
2594
  end
5564
2595
  end
5565
- # Allocated Funds configuration for this PaymentIntent.
5566
- attr_accessor :allocated_funds
5567
2596
  # Provides industry-specific information about the amount.
5568
2597
  attr_accessor :amount_details
5569
- # 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).
5570
- attr_accessor :application_fee_amount
5571
2598
  # Controls when the funds will be captured from the customer's account.
5572
2599
  attr_accessor :capture_method
5573
2600
  # ID of the ConfirmationToken used to confirm this PaymentIntent.
@@ -5580,8 +2607,6 @@ module Stripe
5580
2607
  attr_accessor :excluded_payment_method_types
5581
2608
  # Specifies which fields in the response should be expanded.
5582
2609
  attr_accessor :expand
5583
- # The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
5584
- attr_accessor :fx_quote
5585
2610
  # Automations to be run during the PaymentIntent lifecycle
5586
2611
  attr_accessor :hooks
5587
2612
  # ID of the mandate that's used for this payment.
@@ -5625,19 +2650,14 @@ module Stripe
5625
2650
  attr_accessor :shipping
5626
2651
  # Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
5627
2652
  attr_accessor :use_stripe_sdk
5628
- # ID of the SharedPaymentToken used to confirm this PaymentIntent.
5629
- attr_accessor :shared_payment_granted_token
5630
2653
 
5631
2654
  def initialize(
5632
- allocated_funds: nil,
5633
2655
  amount_details: nil,
5634
- application_fee_amount: nil,
5635
2656
  capture_method: nil,
5636
2657
  confirmation_token: nil,
5637
2658
  error_on_requires_action: nil,
5638
2659
  excluded_payment_method_types: nil,
5639
2660
  expand: nil,
5640
- fx_quote: nil,
5641
2661
  hooks: nil,
5642
2662
  mandate: nil,
5643
2663
  mandate_data: nil,
@@ -5652,18 +2672,14 @@ module Stripe
5652
2672
  return_url: nil,
5653
2673
  setup_future_usage: nil,
5654
2674
  shipping: nil,
5655
- use_stripe_sdk: nil,
5656
- shared_payment_granted_token: nil
2675
+ use_stripe_sdk: nil
5657
2676
  )
5658
- @allocated_funds = allocated_funds
5659
2677
  @amount_details = amount_details
5660
- @application_fee_amount = application_fee_amount
5661
2678
  @capture_method = capture_method
5662
2679
  @confirmation_token = confirmation_token
5663
2680
  @error_on_requires_action = error_on_requires_action
5664
2681
  @excluded_payment_method_types = excluded_payment_method_types
5665
2682
  @expand = expand
5666
- @fx_quote = fx_quote
5667
2683
  @hooks = hooks
5668
2684
  @mandate = mandate
5669
2685
  @mandate_data = mandate_data
@@ -5679,7 +2695,6 @@ module Stripe
5679
2695
  @setup_future_usage = setup_future_usage
5680
2696
  @shipping = shipping
5681
2697
  @use_stripe_sdk = use_stripe_sdk
5682
- @shared_payment_granted_token = shared_payment_granted_token
5683
2698
  end
5684
2699
  end
5685
2700
  end