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 PaymentIntentUpdateParams < ::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
@@ -33,1874 +24,209 @@ module Stripe
33
24
  end
34
25
  end
35
26
 
36
- class Klarna < ::Stripe::RequestParams
37
- # URL to an image for the product. Max length, 4096 characters.
38
- attr_accessor :image_url
39
- # URL to the product page. Max length, 4096 characters.
40
- attr_accessor :product_url
41
- # Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed.
42
- attr_accessor :reference
43
- # Reference for the subscription this line item is for.
44
- attr_accessor :subscription_reference
45
-
46
- def initialize(
47
- image_url: nil,
48
- product_url: nil,
49
- reference: nil,
50
- subscription_reference: nil
51
- )
52
- @image_url = image_url
53
- @product_url = product_url
54
- @reference = reference
55
- @subscription_reference = subscription_reference
56
- end
57
- end
58
-
59
- class Paypal < ::Stripe::RequestParams
60
- # Type of the line item.
61
- attr_accessor :category
62
- # Description of the line item.
63
- attr_accessor :description
64
- # The Stripe account ID of the connected account that sells the item.
65
- attr_accessor :sold_by
66
-
67
- def initialize(category: nil, description: nil, sold_by: nil)
68
- @category = category
69
- @description = description
70
- @sold_by = sold_by
71
- end
72
- end
73
- # This sub-hash contains line item details that are specific to `card` payment method."
74
- attr_accessor :card
75
- # This sub-hash contains line item details that are specific to `card_present` payment method."
76
- attr_accessor :card_present
77
- # This sub-hash contains line item details that are specific to `klarna` payment method."
78
- attr_accessor :klarna
79
- # This sub-hash contains line item details that are specific to `paypal` payment method."
80
- attr_accessor :paypal
81
-
82
- def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil)
83
- @card = card
84
- @card_present = card_present
85
- @klarna = klarna
86
- @paypal = paypal
87
- end
88
- end
89
-
90
- class Tax < ::Stripe::RequestParams
91
- # The total amount of tax on a single line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
92
- #
93
- # This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field.
94
- attr_accessor :total_tax_amount
95
-
96
- def initialize(total_tax_amount: nil)
97
- @total_tax_amount = total_tax_amount
98
- end
99
- end
100
- # The discount applied on this line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
101
- #
102
- # This field is mutually exclusive with the `amount_details[discount_amount]` field.
103
- attr_accessor :discount_amount
104
- # Payment method-specific information for line items.
105
- attr_accessor :payment_method_options
106
- # The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long.
107
- attr_accessor :product_code
108
- # The product name of the line item. Required for L3 rates. At most 1024 characters long.
109
- #
110
- # For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For Paypal, this field is truncated to 127 characters.
111
- attr_accessor :product_name
112
- # The quantity of items. Required for L3 rates. An integer greater than 0.
113
- attr_accessor :quantity
114
- # Contains information about the tax on the item.
115
- attr_accessor :tax
116
- # The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
117
- attr_accessor :unit_cost
118
- # A unit of measure for the line item, such as gallons, feet, meters, etc.
119
- attr_accessor :unit_of_measure
120
-
121
- def initialize(
122
- discount_amount: nil,
123
- payment_method_options: nil,
124
- 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 Online < ::Stripe::RequestParams
214
- # The IP address from which the Mandate was accepted by the customer.
215
- attr_accessor :ip_address
216
- # The user agent of the browser from which the Mandate was accepted by the customer.
217
- attr_accessor :user_agent
218
-
219
- def initialize(ip_address: nil, user_agent: nil)
220
- @ip_address = ip_address
221
- @user_agent = user_agent
222
- end
223
- end
224
- # If this is a Mandate accepted online, this hash contains details about the online acceptance.
225
- attr_accessor :online
226
- # The type of customer acceptance information included with the Mandate.
227
- attr_accessor :type
228
-
229
- def initialize(online: nil, type: nil)
230
- @online = online
231
- @type = type
232
- end
233
- end
234
- # This hash contains details about the customer acceptance of the Mandate.
235
- attr_accessor :customer_acceptance
236
-
237
- def initialize(customer_acceptance: nil)
238
- @customer_acceptance = customer_acceptance
239
- end
240
- end
241
-
242
- class PaymentDetails < ::Stripe::RequestParams
243
- class Benefit < ::Stripe::RequestParams
244
- class FrMealVoucher < ::Stripe::RequestParams
245
- # The 14-digit SIRET of the meal voucher acceptor.
246
- attr_accessor :siret
247
-
248
- def initialize(siret: nil)
249
- @siret = siret
250
- end
251
- end
252
- # French meal voucher benefit details for this PaymentIntent.
253
- attr_accessor :fr_meal_voucher
254
-
255
- def initialize(fr_meal_voucher: nil)
256
- @fr_meal_voucher = fr_meal_voucher
257
- end
258
- end
259
-
260
- class CarRental < ::Stripe::RequestParams
261
- class Affiliate < ::Stripe::RequestParams
262
- # The name of the affiliate that originated the purchase.
263
- attr_accessor :name
264
-
265
- def initialize(name: nil)
266
- @name = name
267
- end
268
- end
269
-
270
- class Delivery < ::Stripe::RequestParams
271
- class Recipient < ::Stripe::RequestParams
272
- # The email of the recipient the ticket is delivered to.
273
- attr_accessor :email
274
- # The name of the recipient the ticket is delivered to.
275
- attr_accessor :name
276
- # The phone number of the recipient the ticket is delivered to.
277
- attr_accessor :phone
278
-
279
- def initialize(email: nil, name: nil, phone: nil)
280
- @email = email
281
- @name = name
282
- @phone = phone
283
- end
284
- end
285
- # The delivery method for the payment
286
- attr_accessor :mode
287
- # Details of the recipient.
288
- attr_accessor :recipient
289
-
290
- def initialize(mode: nil, recipient: nil)
291
- @mode = mode
292
- @recipient = recipient
293
- end
294
- end
295
-
296
- class Distance < ::Stripe::RequestParams
297
- # Distance traveled.
298
- attr_accessor :amount
299
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
300
- attr_accessor :unit
301
-
302
- def initialize(amount: nil, unit: nil)
303
- @amount = amount
304
- @unit = unit
305
- end
306
- end
307
-
308
- class Driver < ::Stripe::RequestParams
309
- # Driver's identification number.
310
- attr_accessor :driver_identification_number
311
- # Driver's tax number.
312
- attr_accessor :driver_tax_number
313
- # Full name of the person or entity on the car reservation.
314
- attr_accessor :name
315
-
316
- def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
317
- @driver_identification_number = driver_identification_number
318
- @driver_tax_number = driver_tax_number
319
- @name = name
320
- end
321
- end
322
-
323
- class PickupAddress < ::Stripe::RequestParams
324
- # City, district, suburb, town, or village.
325
- attr_accessor :city
326
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
327
- attr_accessor :country
328
- # Address line 1, such as the street, PO Box, or company name.
329
- attr_accessor :line1
330
- # Address line 2, such as the apartment, suite, unit, or building.
331
- attr_accessor :line2
332
- # ZIP or postal code.
333
- attr_accessor :postal_code
334
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
335
- attr_accessor :state
336
-
337
- def initialize(
338
- city: nil,
339
- country: nil,
340
- line1: nil,
341
- line2: nil,
342
- postal_code: nil,
343
- state: nil
344
- )
345
- @city = city
346
- @country = country
347
- @line1 = line1
348
- @line2 = line2
349
- @postal_code = postal_code
350
- @state = state
351
- end
352
- end
353
-
354
- class ReturnAddress < ::Stripe::RequestParams
355
- # City, district, suburb, town, or village.
356
- attr_accessor :city
357
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
358
- attr_accessor :country
359
- # Address line 1, such as the street, PO Box, or company name.
360
- attr_accessor :line1
361
- # Address line 2, such as the apartment, suite, unit, or building.
362
- attr_accessor :line2
363
- # ZIP or postal code.
364
- attr_accessor :postal_code
365
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
366
- attr_accessor :state
367
-
368
- def initialize(
369
- city: nil,
370
- country: nil,
371
- line1: nil,
372
- line2: nil,
373
- postal_code: nil,
374
- state: nil
375
- )
376
- @city = city
377
- @country = country
378
- @line1 = line1
379
- @line2 = line2
380
- @postal_code = postal_code
381
- @state = state
382
- end
383
- end
384
- # Affiliate details for this purchase.
385
- attr_accessor :affiliate
386
- # The booking number associated with the car rental.
387
- attr_accessor :booking_number
388
- # Class code of the car.
389
- attr_accessor :car_class_code
390
- # Make of the car.
391
- attr_accessor :car_make
392
- # Model of the car.
393
- attr_accessor :car_model
394
- # The name of the rental car company.
395
- attr_accessor :company
396
- # The customer service phone number of the car rental company.
397
- attr_accessor :customer_service_phone_number
398
- # Number of days the car is being rented.
399
- attr_accessor :days_rented
400
- # Delivery details for this purchase.
401
- attr_accessor :delivery
402
- # The details of the distance traveled during the rental period.
403
- attr_accessor :distance
404
- # The details of the passengers in the travel reservation
405
- attr_accessor :drivers
406
- # List of additional charges being billed.
407
- attr_accessor :extra_charges
408
- # Indicates if the customer did not keep nor cancel their booking.
409
- attr_accessor :no_show
410
- # Car pick-up address.
411
- attr_accessor :pickup_address
412
- # Car pick-up time. Measured in seconds since the Unix epoch.
413
- attr_accessor :pickup_at
414
- # Name of the pickup location.
415
- attr_accessor :pickup_location_name
416
- # Rental rate.
417
- attr_accessor :rate_amount
418
- # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
419
- attr_accessor :rate_interval
420
- # The name of the person or entity renting the car.
421
- attr_accessor :renter_name
422
- # Car return address.
423
- attr_accessor :return_address
424
- # Car return time. Measured in seconds since the Unix epoch.
425
- attr_accessor :return_at
426
- # Name of the return location.
427
- attr_accessor :return_location_name
428
- # Indicates whether the goods or services are tax-exempt or tax is not collected.
429
- attr_accessor :tax_exempt
430
- # The vehicle identification number.
431
- attr_accessor :vehicle_identification_number
432
-
433
- def initialize(
434
- affiliate: nil,
435
- booking_number: nil,
436
- car_class_code: nil,
437
- car_make: nil,
438
- car_model: nil,
439
- company: nil,
440
- customer_service_phone_number: nil,
441
- days_rented: nil,
442
- delivery: nil,
443
- distance: nil,
444
- drivers: nil,
445
- extra_charges: nil,
446
- no_show: nil,
447
- pickup_address: nil,
448
- pickup_at: nil,
449
- pickup_location_name: nil,
450
- rate_amount: nil,
451
- rate_interval: nil,
452
- renter_name: nil,
453
- return_address: nil,
454
- return_at: nil,
455
- return_location_name: nil,
456
- tax_exempt: nil,
457
- vehicle_identification_number: nil
458
- )
459
- @affiliate = affiliate
460
- @booking_number = booking_number
461
- @car_class_code = car_class_code
462
- @car_make = car_make
463
- @car_model = car_model
464
- @company = company
465
- @customer_service_phone_number = customer_service_phone_number
466
- @days_rented = days_rented
467
- @delivery = delivery
468
- @distance = distance
469
- @drivers = drivers
470
- @extra_charges = extra_charges
471
- @no_show = no_show
472
- @pickup_address = pickup_address
473
- @pickup_at = pickup_at
474
- @pickup_location_name = pickup_location_name
475
- @rate_amount = rate_amount
476
- @rate_interval = rate_interval
477
- @renter_name = renter_name
478
- @return_address = return_address
479
- @return_at = return_at
480
- @return_location_name = return_location_name
481
- @tax_exempt = tax_exempt
482
- @vehicle_identification_number = vehicle_identification_number
483
- end
484
- end
485
-
486
- class CarRentalDatum < ::Stripe::RequestParams
487
- class Affiliate < ::Stripe::RequestParams
488
- # Affiliate partner code.
489
- attr_accessor :code
490
- # Name of affiliate partner.
491
- attr_accessor :name
492
-
493
- def initialize(code: nil, name: nil)
494
- @code = code
495
- @name = name
496
- end
497
- end
498
-
499
- class Distance < ::Stripe::RequestParams
500
- # Distance traveled.
501
- attr_accessor :amount
502
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
503
- attr_accessor :unit
504
-
505
- def initialize(amount: nil, unit: nil)
506
- @amount = amount
507
- @unit = unit
508
- end
509
- end
510
-
511
- class Driver < ::Stripe::RequestParams
512
- class DateOfBirth < ::Stripe::RequestParams
513
- # Day of birth (1-31).
514
- attr_accessor :day
515
- # Month of birth (1-12).
516
- attr_accessor :month
517
- # Year of birth (must be greater than 1900).
518
- attr_accessor :year
519
-
520
- def initialize(day: nil, month: nil, year: nil)
521
- @day = day
522
- @month = month
523
- @year = year
524
- end
525
- end
526
- # Driver's date of birth.
527
- attr_accessor :date_of_birth
528
- # Driver's identification number.
529
- attr_accessor :driver_identification_number
530
- # Driver's tax number.
531
- attr_accessor :driver_tax_number
532
- # Driver's full name.
533
- attr_accessor :name
534
-
535
- def initialize(
536
- date_of_birth: nil,
537
- driver_identification_number: nil,
538
- driver_tax_number: nil,
539
- name: nil
540
- )
541
- @date_of_birth = date_of_birth
542
- @driver_identification_number = driver_identification_number
543
- @driver_tax_number = driver_tax_number
544
- @name = name
545
- end
546
- end
547
-
548
- class DropOff < ::Stripe::RequestParams
549
- class Address < ::Stripe::RequestParams
550
- # City, district, suburb, town, or village.
551
- attr_accessor :city
552
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
553
- attr_accessor :country
554
- # Address line 1, such as the street, PO Box, or company name.
555
- attr_accessor :line1
556
- # Address line 2, such as the apartment, suite, unit, or building.
557
- attr_accessor :line2
558
- # ZIP or postal code.
559
- attr_accessor :postal_code
560
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
561
- attr_accessor :state
562
-
563
- def initialize(
564
- city: nil,
565
- country: nil,
566
- line1: nil,
567
- line2: nil,
568
- postal_code: nil,
569
- state: nil
570
- )
571
- @city = city
572
- @country = country
573
- @line1 = line1
574
- @line2 = line2
575
- @postal_code = postal_code
576
- @state = state
577
- end
578
- end
579
- # Address of the rental location.
580
- attr_accessor :address
581
- # Location name.
582
- attr_accessor :location_name
583
- # Timestamp for the location.
584
- attr_accessor :time
585
-
586
- def initialize(address: nil, location_name: nil, time: nil)
587
- @address = address
588
- @location_name = location_name
589
- @time = time
590
- end
591
- end
592
-
593
- class Insurance < ::Stripe::RequestParams
594
- # Amount of the insurance coverage in cents.
595
- attr_accessor :amount
596
- # Currency of the insurance amount.
597
- attr_accessor :currency
598
- # Name of the insurance company.
599
- attr_accessor :insurance_company_name
600
- # Type of insurance coverage.
601
- attr_accessor :insurance_type
602
-
603
- def initialize(
604
- amount: nil,
605
- currency: nil,
606
- insurance_company_name: nil,
607
- insurance_type: nil
608
- )
609
- @amount = amount
610
- @currency = currency
611
- @insurance_company_name = insurance_company_name
612
- @insurance_type = insurance_type
613
- end
614
- end
615
-
616
- class Pickup < ::Stripe::RequestParams
617
- class Address < ::Stripe::RequestParams
618
- # City, district, suburb, town, or village.
619
- attr_accessor :city
620
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
621
- attr_accessor :country
622
- # Address line 1, such as the street, PO Box, or company name.
623
- attr_accessor :line1
624
- # Address line 2, such as the apartment, suite, unit, or building.
625
- attr_accessor :line2
626
- # ZIP or postal code.
627
- attr_accessor :postal_code
628
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
629
- attr_accessor :state
630
-
631
- def initialize(
632
- city: nil,
633
- country: nil,
634
- line1: nil,
635
- line2: nil,
636
- postal_code: nil,
637
- state: nil
638
- )
639
- @city = city
640
- @country = country
641
- @line1 = line1
642
- @line2 = line2
643
- @postal_code = postal_code
644
- @state = state
645
- end
646
- end
647
- # Address of the rental location.
648
- attr_accessor :address
649
- # Location name.
650
- attr_accessor :location_name
651
- # Timestamp for the location.
652
- attr_accessor :time
653
-
654
- def initialize(address: nil, location_name: nil, time: nil)
655
- @address = address
656
- @location_name = location_name
657
- @time = time
658
- end
659
- end
660
-
661
- class Total < ::Stripe::RequestParams
662
- class Discounts < ::Stripe::RequestParams
663
- # Corporate client discount code.
664
- attr_accessor :corporate_client_code
665
- # Coupon code applied to the rental.
666
- attr_accessor :coupon
667
- # Maximum number of free miles or kilometers included.
668
- attr_accessor :maximum_free_miles_or_kilometers
669
-
670
- def initialize(
671
- corporate_client_code: nil,
672
- coupon: nil,
673
- maximum_free_miles_or_kilometers: nil
674
- )
675
- @corporate_client_code = corporate_client_code
676
- @coupon = coupon
677
- @maximum_free_miles_or_kilometers = maximum_free_miles_or_kilometers
678
- end
679
- end
680
-
681
- class ExtraCharge < ::Stripe::RequestParams
682
- # Amount of the extra charge in cents.
683
- attr_accessor :amount
684
- # Type of extra charge.
685
- attr_accessor :type
686
-
687
- def initialize(amount: nil, type: nil)
688
- @amount = amount
689
- @type = type
690
- end
691
- end
692
-
693
- class Tax < ::Stripe::RequestParams
694
- class Tax < ::Stripe::RequestParams
695
- # Tax amount.
696
- attr_accessor :amount
697
- # Tax rate applied.
698
- attr_accessor :rate
699
- # Type of tax applied.
700
- attr_accessor :type
701
-
702
- def initialize(amount: nil, rate: nil, type: nil)
703
- @amount = amount
704
- @rate = rate
705
- @type = type
706
- end
707
- end
708
- # Indicates if the transaction is tax exempt.
709
- attr_accessor :tax_exempt_indicator
710
- # Array of tax details.
711
- attr_accessor :taxes
712
-
713
- def initialize(tax_exempt_indicator: nil, taxes: nil)
714
- @tax_exempt_indicator = tax_exempt_indicator
715
- @taxes = taxes
716
- end
717
- end
718
- # Total amount in cents.
719
- attr_accessor :amount
720
- # Currency of the amount.
721
- attr_accessor :currency
722
- # Discount details for the rental.
723
- attr_accessor :discounts
724
- # Additional charges for the rental.
725
- attr_accessor :extra_charges
726
- # Rate per unit for the rental.
727
- attr_accessor :rate_per_unit
728
- # Unit of measurement for the rate.
729
- attr_accessor :rate_unit
730
- # Tax breakdown for the rental.
731
- attr_accessor :tax
732
-
733
- def initialize(
734
- amount: nil,
735
- currency: nil,
736
- discounts: nil,
737
- extra_charges: nil,
738
- rate_per_unit: nil,
739
- rate_unit: nil,
740
- tax: nil
741
- )
742
- @amount = amount
743
- @currency = currency
744
- @discounts = discounts
745
- @extra_charges = extra_charges
746
- @rate_per_unit = rate_per_unit
747
- @rate_unit = rate_unit
748
- @tax = tax
749
- end
750
- end
751
-
752
- class Vehicle < ::Stripe::RequestParams
753
- # Make of the rental vehicle.
754
- attr_accessor :make
755
- # Model of the rental vehicle.
756
- attr_accessor :model
757
- # Odometer reading at the time of rental.
758
- attr_accessor :odometer
759
- # Type of the rental vehicle.
760
- attr_accessor :type
761
- # Class of the rental vehicle.
762
- attr_accessor :vehicle_class
763
- # Vehicle identification number (VIN).
764
- attr_accessor :vehicle_identification_number
765
-
766
- def initialize(
767
- make: nil,
768
- model: nil,
769
- odometer: nil,
770
- type: nil,
771
- vehicle_class: nil,
772
- vehicle_identification_number: nil
773
- )
774
- @make = make
775
- @model = model
776
- @odometer = odometer
777
- @type = type
778
- @vehicle_class = vehicle_class
779
- @vehicle_identification_number = vehicle_identification_number
780
- end
781
- end
782
- # Affiliate (such as travel agency) details for the rental.
783
- attr_accessor :affiliate
784
- # Booking confirmation number for the car rental.
785
- attr_accessor :booking_number
786
- # Name of the car rental company.
787
- attr_accessor :carrier_name
788
- # Customer service phone number for the car rental company.
789
- attr_accessor :customer_service_phone_number
790
- # Number of days the car is being rented.
791
- attr_accessor :days_rented
792
- # Distance details for the rental.
793
- attr_accessor :distance
794
- # List of drivers for the rental.
795
- attr_accessor :drivers
796
- # Drop-off location details.
797
- attr_accessor :drop_off
798
- # Insurance details for the rental.
799
- attr_accessor :insurances
800
- # Indicates if the customer was a no-show.
801
- attr_accessor :no_show_indicator
802
- # Pickup location details.
803
- attr_accessor :pickup
804
- # Name of the person renting the vehicle.
805
- attr_accessor :renter_name
806
- # Total cost breakdown for the rental.
807
- attr_accessor :total
808
- # Vehicle details for the rental.
809
- attr_accessor :vehicle
810
-
811
- def initialize(
812
- affiliate: nil,
813
- booking_number: nil,
814
- carrier_name: nil,
815
- customer_service_phone_number: nil,
816
- days_rented: nil,
817
- distance: nil,
818
- drivers: nil,
819
- drop_off: nil,
820
- insurances: nil,
821
- no_show_indicator: nil,
822
- pickup: nil,
823
- renter_name: nil,
824
- total: nil,
825
- vehicle: nil
826
- )
827
- @affiliate = affiliate
828
- @booking_number = booking_number
829
- @carrier_name = carrier_name
830
- @customer_service_phone_number = customer_service_phone_number
831
- @days_rented = days_rented
832
- @distance = distance
833
- @drivers = drivers
834
- @drop_off = drop_off
835
- @insurances = insurances
836
- @no_show_indicator = no_show_indicator
837
- @pickup = pickup
838
- @renter_name = renter_name
839
- @total = total
840
- @vehicle = vehicle
841
- end
842
- end
843
-
844
- class EventDetails < ::Stripe::RequestParams
845
- class Address < ::Stripe::RequestParams
846
- # City, district, suburb, town, or village.
847
- attr_accessor :city
848
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
849
- attr_accessor :country
850
- # Address line 1, such as the street, PO Box, or company name.
851
- attr_accessor :line1
852
- # Address line 2, such as the apartment, suite, unit, or building.
853
- attr_accessor :line2
854
- # ZIP or postal code.
855
- attr_accessor :postal_code
856
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
857
- attr_accessor :state
858
-
859
- def initialize(
860
- city: nil,
861
- country: nil,
862
- line1: nil,
863
- line2: nil,
864
- postal_code: nil,
865
- state: nil
866
- )
867
- @city = city
868
- @country = country
869
- @line1 = line1
870
- @line2 = line2
871
- @postal_code = postal_code
872
- @state = state
873
- end
874
- end
875
-
876
- class Affiliate < ::Stripe::RequestParams
877
- # The name of the affiliate that originated the purchase.
878
- attr_accessor :name
879
-
880
- def initialize(name: nil)
881
- @name = name
882
- end
883
- end
884
-
885
- class Delivery < ::Stripe::RequestParams
886
- class Recipient < ::Stripe::RequestParams
887
- # The email of the recipient the ticket is delivered to.
888
- attr_accessor :email
889
- # The name of the recipient the ticket is delivered to.
890
- attr_accessor :name
891
- # The phone number of the recipient the ticket is delivered to.
892
- attr_accessor :phone
893
-
894
- def initialize(email: nil, name: nil, phone: nil)
895
- @email = email
896
- @name = name
897
- @phone = phone
898
- end
899
- end
900
- # The delivery method for the payment
901
- attr_accessor :mode
902
- # Details of the recipient.
903
- attr_accessor :recipient
904
-
905
- def initialize(mode: nil, recipient: nil)
906
- @mode = mode
907
- @recipient = recipient
908
- end
909
- end
910
- # Indicates if the tickets are digitally checked when entering the venue.
911
- attr_accessor :access_controlled_venue
912
- # The event location's address.
913
- attr_accessor :address
914
- # Affiliate details for this purchase.
915
- attr_accessor :affiliate
916
- # The name of the company
917
- attr_accessor :company
918
- # Delivery details for this purchase.
919
- attr_accessor :delivery
920
- # Event end time. Measured in seconds since the Unix epoch.
921
- attr_accessor :ends_at
922
- # Type of the event entertainment (concert, sports event etc)
923
- attr_accessor :genre
924
- # The name of the event.
925
- attr_accessor :name
926
- # Event start time. Measured in seconds since the Unix epoch.
927
- attr_accessor :starts_at
928
-
929
- def initialize(
930
- access_controlled_venue: nil,
931
- address: nil,
932
- affiliate: nil,
933
- company: nil,
934
- delivery: nil,
935
- ends_at: nil,
936
- genre: nil,
937
- name: nil,
938
- starts_at: nil
939
- )
940
- @access_controlled_venue = access_controlled_venue
941
- @address = address
942
- @affiliate = affiliate
943
- @company = company
944
- @delivery = delivery
945
- @ends_at = ends_at
946
- @genre = genre
947
- @name = name
948
- @starts_at = starts_at
949
- end
950
- end
951
-
952
- class Flight < ::Stripe::RequestParams
953
- class Affiliate < ::Stripe::RequestParams
954
- # The name of the affiliate that originated the purchase.
955
- attr_accessor :name
956
-
957
- def initialize(name: nil)
958
- @name = name
959
- end
960
- end
961
-
962
- class Delivery < ::Stripe::RequestParams
963
- class Recipient < ::Stripe::RequestParams
964
- # The email of the recipient the ticket is delivered to.
965
- attr_accessor :email
966
- # The name of the recipient the ticket is delivered to.
967
- attr_accessor :name
968
- # The phone number of the recipient the ticket is delivered to.
969
- attr_accessor :phone
970
-
971
- def initialize(email: nil, name: nil, phone: nil)
972
- @email = email
973
- @name = name
974
- @phone = phone
975
- end
976
- end
977
- # The delivery method for the payment
978
- attr_accessor :mode
979
- # Details of the recipient.
980
- attr_accessor :recipient
981
-
982
- def initialize(mode: nil, recipient: nil)
983
- @mode = mode
984
- @recipient = recipient
985
- end
986
- end
987
-
988
- class Passenger < ::Stripe::RequestParams
989
- # Full name of the person or entity on the flight reservation.
990
- attr_accessor :name
991
-
992
- def initialize(name: nil)
993
- @name = name
994
- end
995
- end
996
-
997
- class Segment < ::Stripe::RequestParams
998
- # The flight segment amount.
999
- attr_accessor :amount
1000
- # The International Air Transport Association (IATA) airport code for the arrival airport.
1001
- attr_accessor :arrival_airport
1002
- # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
1003
- attr_accessor :arrives_at
1004
- # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
1005
- attr_accessor :carrier
1006
- # The departure time for the flight segment. Measured in seconds since the Unix epoch.
1007
- attr_accessor :departs_at
1008
- # The International Air Transport Association (IATA) airport code for the departure airport.
1009
- attr_accessor :departure_airport
1010
- # The flight number associated with the segment
1011
- attr_accessor :flight_number
1012
- # The fare class for the segment.
1013
- attr_accessor :service_class
1014
-
1015
- def initialize(
1016
- amount: nil,
1017
- arrival_airport: nil,
1018
- arrives_at: nil,
1019
- carrier: nil,
1020
- departs_at: nil,
1021
- departure_airport: nil,
1022
- flight_number: nil,
1023
- service_class: nil
1024
- )
1025
- @amount = amount
1026
- @arrival_airport = arrival_airport
1027
- @arrives_at = arrives_at
1028
- @carrier = carrier
1029
- @departs_at = departs_at
1030
- @departure_airport = departure_airport
1031
- @flight_number = flight_number
1032
- @service_class = service_class
1033
- end
1034
- end
1035
- # Affiliate details for this purchase.
1036
- attr_accessor :affiliate
1037
- # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
1038
- attr_accessor :agency_number
1039
- # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
1040
- attr_accessor :carrier
1041
- # Delivery details for this purchase.
1042
- attr_accessor :delivery
1043
- # The name of the person or entity on the reservation.
1044
- attr_accessor :passenger_name
1045
- # The details of the passengers in the travel reservation.
1046
- attr_accessor :passengers
1047
- # The individual flight segments associated with the trip.
1048
- attr_accessor :segments
1049
- # The ticket number associated with the travel reservation.
1050
- attr_accessor :ticket_number
1051
-
1052
- def initialize(
1053
- affiliate: nil,
1054
- agency_number: nil,
1055
- carrier: nil,
1056
- delivery: nil,
1057
- passenger_name: nil,
1058
- passengers: nil,
1059
- segments: nil,
1060
- ticket_number: nil
1061
- )
1062
- @affiliate = affiliate
1063
- @agency_number = agency_number
1064
- @carrier = carrier
1065
- @delivery = delivery
1066
- @passenger_name = passenger_name
1067
- @passengers = passengers
1068
- @segments = segments
1069
- @ticket_number = ticket_number
1070
- end
1071
- end
1072
-
1073
- class FlightDatum < ::Stripe::RequestParams
1074
- class Affiliate < ::Stripe::RequestParams
1075
- # Affiliate partner code.
1076
- attr_accessor :code
1077
- # Name of affiliate partner.
1078
- attr_accessor :name
1079
- # Code provided by the company to a travel agent authorizing ticket issuance.
1080
- attr_accessor :travel_authorization_code
1081
-
1082
- def initialize(code: nil, name: nil, travel_authorization_code: nil)
1083
- @code = code
1084
- @name = name
1085
- @travel_authorization_code = travel_authorization_code
1086
- end
1087
- end
1088
-
1089
- class Insurance < ::Stripe::RequestParams
1090
- # Insurance cost.
1091
- attr_accessor :amount
1092
- # Insurance currency.
1093
- attr_accessor :currency
1094
- # Insurance company name.
1095
- attr_accessor :insurance_company_name
1096
- # Type of insurance.
1097
- attr_accessor :insurance_type
1098
-
1099
- def initialize(
1100
- amount: nil,
1101
- currency: nil,
1102
- insurance_company_name: nil,
1103
- insurance_type: nil
1104
- )
1105
- @amount = amount
1106
- @currency = currency
1107
- @insurance_company_name = insurance_company_name
1108
- @insurance_type = insurance_type
1109
- end
1110
- end
1111
-
1112
- class Passenger < ::Stripe::RequestParams
1113
- # Passenger's full name.
1114
- attr_accessor :name
1115
-
1116
- def initialize(name: nil)
1117
- @name = name
1118
- end
1119
- end
1120
-
1121
- class Segment < ::Stripe::RequestParams
1122
- class Arrival < ::Stripe::RequestParams
1123
- # Arrival airport IATA code.
1124
- attr_accessor :airport
1125
- # Arrival date/time.
1126
- attr_accessor :arrives_at
1127
- # Arrival city.
1128
- attr_accessor :city
1129
- # Arrival country.
1130
- attr_accessor :country
1131
-
1132
- def initialize(airport: nil, arrives_at: nil, city: nil, country: nil)
1133
- @airport = airport
1134
- @arrives_at = arrives_at
1135
- @city = city
1136
- @country = country
1137
- end
1138
- end
1139
-
1140
- class Departure < ::Stripe::RequestParams
1141
- # Departure airport IATA code.
1142
- attr_accessor :airport
1143
- # Departure city.
1144
- attr_accessor :city
1145
- # Departure country.
1146
- attr_accessor :country
1147
- # Departure date/time.
1148
- attr_accessor :departs_at
1149
-
1150
- def initialize(airport: nil, city: nil, country: nil, departs_at: nil)
1151
- @airport = airport
1152
- @city = city
1153
- @country = country
1154
- @departs_at = departs_at
1155
- end
1156
- end
1157
- # Segment fare amount.
1158
- attr_accessor :amount
1159
- # Arrival details.
1160
- attr_accessor :arrival
1161
- # Airline carrier code.
1162
- attr_accessor :carrier_code
1163
- # Carrier name.
1164
- attr_accessor :carrier_name
1165
- # Segment currency.
1166
- attr_accessor :currency
1167
- # Departure details.
1168
- attr_accessor :departure
1169
- # Exchange ticket number.
1170
- attr_accessor :exchange_ticket_number
1171
- # Fare basis code.
1172
- attr_accessor :fare_basis_code
1173
- # Additional fees.
1174
- attr_accessor :fees
1175
- # Flight number.
1176
- attr_accessor :flight_number
1177
- # Stopover indicator.
1178
- attr_accessor :is_stop_over_indicator
1179
- # Refundable ticket indicator.
1180
- attr_accessor :refundable
1181
- # Class of service.
1182
- attr_accessor :service_class
1183
- # Tax amount for segment.
1184
- attr_accessor :tax_amount
1185
- # Ticket number.
1186
- attr_accessor :ticket_number
1187
-
1188
- def initialize(
1189
- amount: nil,
1190
- arrival: nil,
1191
- carrier_code: nil,
1192
- carrier_name: nil,
1193
- currency: nil,
1194
- departure: nil,
1195
- exchange_ticket_number: nil,
1196
- fare_basis_code: nil,
1197
- fees: nil,
1198
- flight_number: nil,
1199
- is_stop_over_indicator: nil,
1200
- refundable: nil,
1201
- service_class: nil,
1202
- tax_amount: nil,
1203
- ticket_number: nil
1204
- )
1205
- @amount = amount
1206
- @arrival = arrival
1207
- @carrier_code = carrier_code
1208
- @carrier_name = carrier_name
1209
- @currency = currency
1210
- @departure = departure
1211
- @exchange_ticket_number = exchange_ticket_number
1212
- @fare_basis_code = fare_basis_code
1213
- @fees = fees
1214
- @flight_number = flight_number
1215
- @is_stop_over_indicator = is_stop_over_indicator
1216
- @refundable = refundable
1217
- @service_class = service_class
1218
- @tax_amount = tax_amount
1219
- @ticket_number = ticket_number
1220
- end
1221
- end
1222
-
1223
- class Total < ::Stripe::RequestParams
1224
- class Discounts < ::Stripe::RequestParams
1225
- # Corporate client discount code.
1226
- attr_accessor :corporate_client_code
1227
-
1228
- def initialize(corporate_client_code: nil)
1229
- @corporate_client_code = corporate_client_code
1230
- end
1231
- end
1232
-
1233
- class ExtraCharge < ::Stripe::RequestParams
1234
- # Amount of additional charges.
1235
- attr_accessor :amount
1236
- # Type of additional charges.
1237
- attr_accessor :type
1238
-
1239
- def initialize(amount: nil, type: nil)
1240
- @amount = amount
1241
- @type = type
1242
- end
1243
- end
1244
-
1245
- class Tax < ::Stripe::RequestParams
1246
- class Tax < ::Stripe::RequestParams
1247
- # Tax amount.
1248
- attr_accessor :amount
1249
- # Tax rate.
1250
- attr_accessor :rate
1251
- # Type of tax.
1252
- attr_accessor :type
1253
-
1254
- def initialize(amount: nil, rate: nil, type: nil)
1255
- @amount = amount
1256
- @rate = rate
1257
- @type = type
1258
- end
1259
- end
1260
- # Array of tax details.
1261
- attr_accessor :taxes
1262
-
1263
- def initialize(taxes: nil)
1264
- @taxes = taxes
1265
- end
1266
- end
1267
- # Total flight amount.
1268
- attr_accessor :amount
1269
- # Reason for credit.
1270
- attr_accessor :credit_reason
1271
- # Total currency.
1272
- attr_accessor :currency
1273
- # Discount details.
1274
- attr_accessor :discounts
1275
- # Additional charges.
1276
- attr_accessor :extra_charges
1277
- # Tax breakdown.
1278
- attr_accessor :tax
1279
-
1280
- def initialize(
1281
- amount: nil,
1282
- credit_reason: nil,
1283
- currency: nil,
1284
- discounts: nil,
1285
- extra_charges: nil,
1286
- tax: nil
1287
- )
1288
- @amount = amount
1289
- @credit_reason = credit_reason
1290
- @currency = currency
1291
- @discounts = discounts
1292
- @extra_charges = extra_charges
1293
- @tax = tax
1294
- end
1295
- end
1296
- # Affiliate details if applicable.
1297
- attr_accessor :affiliate
1298
- # Reservation reference.
1299
- attr_accessor :booking_number
1300
- # Computerized reservation system used to make the reservation and purchase the ticket.
1301
- attr_accessor :computerized_reservation_system
1302
- # Ticket restrictions.
1303
- attr_accessor :endorsements_and_restrictions
1304
- # List of insurances.
1305
- attr_accessor :insurances
1306
- # List of passengers.
1307
- attr_accessor :passengers
1308
- # List of flight segments.
1309
- attr_accessor :segments
1310
- # Electronic ticket indicator.
1311
- attr_accessor :ticket_electronically_issued_indicator
1312
- # Total cost breakdown.
1313
- attr_accessor :total
1314
- # Type of flight transaction.
1315
- attr_accessor :transaction_type
1316
-
1317
- def initialize(
1318
- affiliate: nil,
1319
- booking_number: nil,
1320
- computerized_reservation_system: nil,
1321
- endorsements_and_restrictions: nil,
1322
- insurances: nil,
1323
- passengers: nil,
1324
- segments: nil,
1325
- ticket_electronically_issued_indicator: nil,
1326
- total: nil,
1327
- transaction_type: nil
1328
- )
1329
- @affiliate = affiliate
1330
- @booking_number = booking_number
1331
- @computerized_reservation_system = computerized_reservation_system
1332
- @endorsements_and_restrictions = endorsements_and_restrictions
1333
- @insurances = insurances
1334
- @passengers = passengers
1335
- @segments = segments
1336
- @ticket_electronically_issued_indicator = ticket_electronically_issued_indicator
1337
- @total = total
1338
- @transaction_type = transaction_type
1339
- end
1340
- end
1341
-
1342
- class Lodging < ::Stripe::RequestParams
1343
- class Address < ::Stripe::RequestParams
1344
- # City, district, suburb, town, or village.
1345
- attr_accessor :city
1346
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1347
- attr_accessor :country
1348
- # Address line 1, such as the street, PO Box, or company name.
1349
- attr_accessor :line1
1350
- # Address line 2, such as the apartment, suite, unit, or building.
1351
- attr_accessor :line2
1352
- # ZIP or postal code.
1353
- attr_accessor :postal_code
1354
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
1355
- attr_accessor :state
1356
-
1357
- def initialize(
1358
- city: nil,
1359
- country: nil,
1360
- line1: nil,
1361
- line2: nil,
1362
- postal_code: nil,
1363
- state: nil
1364
- )
1365
- @city = city
1366
- @country = country
1367
- @line1 = line1
1368
- @line2 = line2
1369
- @postal_code = postal_code
1370
- @state = state
1371
- end
1372
- end
1373
-
1374
- class Affiliate < ::Stripe::RequestParams
1375
- # The name of the affiliate that originated the purchase.
1376
- attr_accessor :name
1377
-
1378
- def initialize(name: nil)
1379
- @name = name
1380
- end
1381
- end
1382
-
1383
- class Delivery < ::Stripe::RequestParams
1384
- class Recipient < ::Stripe::RequestParams
1385
- # The email of the recipient the ticket is delivered to.
1386
- attr_accessor :email
1387
- # The name of the recipient the ticket is delivered to.
1388
- attr_accessor :name
1389
- # The phone number of the recipient the ticket is delivered to.
1390
- attr_accessor :phone
1391
-
1392
- def initialize(email: nil, name: nil, phone: nil)
1393
- @email = email
1394
- @name = name
1395
- @phone = phone
1396
- end
1397
- end
1398
- # The delivery method for the payment
1399
- attr_accessor :mode
1400
- # Details of the recipient.
1401
- attr_accessor :recipient
1402
-
1403
- def initialize(mode: nil, recipient: nil)
1404
- @mode = mode
1405
- @recipient = recipient
1406
- end
1407
- end
1408
-
1409
- class Passenger < ::Stripe::RequestParams
1410
- # Full name of the person or entity on the lodging reservation.
1411
- attr_accessor :name
1412
-
1413
- def initialize(name: nil)
1414
- @name = name
1415
- end
1416
- end
1417
- # The lodging location's address.
1418
- attr_accessor :address
1419
- # The number of adults on the booking
1420
- attr_accessor :adults
1421
- # Affiliate details for this purchase.
1422
- attr_accessor :affiliate
1423
- # The booking number associated with the lodging reservation.
1424
- attr_accessor :booking_number
1425
- # The lodging category
1426
- attr_accessor :category
1427
- # Lodging check-in time. Measured in seconds since the Unix epoch.
1428
- attr_accessor :checkin_at
1429
- # Lodging check-out time. Measured in seconds since the Unix epoch.
1430
- attr_accessor :checkout_at
1431
- # The customer service phone number of the lodging company.
1432
- attr_accessor :customer_service_phone_number
1433
- # The daily lodging room rate.
1434
- attr_accessor :daily_room_rate_amount
1435
- # Delivery details for this purchase.
1436
- attr_accessor :delivery
1437
- # List of additional charges being billed.
1438
- attr_accessor :extra_charges
1439
- # Indicates whether the lodging location is compliant with the Fire Safety Act.
1440
- attr_accessor :fire_safety_act_compliance
1441
- # The name of the lodging location.
1442
- attr_accessor :name
1443
- # Indicates if the customer did not keep their booking while failing to cancel the reservation.
1444
- attr_accessor :no_show
1445
- # The number of rooms on the booking
1446
- attr_accessor :number_of_rooms
1447
- # The details of the passengers in the travel reservation
1448
- attr_accessor :passengers
1449
- # The phone number of the lodging location.
1450
- attr_accessor :property_phone_number
1451
- # The room class for this purchase.
1452
- attr_accessor :room_class
1453
- # The number of room nights
1454
- attr_accessor :room_nights
1455
- # The total tax amount associating with the room reservation.
1456
- attr_accessor :total_room_tax_amount
1457
- # The total tax amount
1458
- attr_accessor :total_tax_amount
1459
-
1460
- def initialize(
1461
- address: nil,
1462
- adults: nil,
1463
- affiliate: nil,
1464
- booking_number: nil,
1465
- category: nil,
1466
- checkin_at: nil,
1467
- checkout_at: nil,
1468
- customer_service_phone_number: nil,
1469
- daily_room_rate_amount: nil,
1470
- delivery: nil,
1471
- extra_charges: nil,
1472
- fire_safety_act_compliance: nil,
1473
- name: nil,
1474
- no_show: nil,
1475
- number_of_rooms: nil,
1476
- passengers: nil,
1477
- property_phone_number: nil,
1478
- room_class: nil,
1479
- room_nights: nil,
1480
- total_room_tax_amount: nil,
1481
- total_tax_amount: nil
1482
- )
1483
- @address = address
1484
- @adults = adults
1485
- @affiliate = affiliate
1486
- @booking_number = booking_number
1487
- @category = category
1488
- @checkin_at = checkin_at
1489
- @checkout_at = checkout_at
1490
- @customer_service_phone_number = customer_service_phone_number
1491
- @daily_room_rate_amount = daily_room_rate_amount
1492
- @delivery = delivery
1493
- @extra_charges = extra_charges
1494
- @fire_safety_act_compliance = fire_safety_act_compliance
1495
- @name = name
1496
- @no_show = no_show
1497
- @number_of_rooms = number_of_rooms
1498
- @passengers = passengers
1499
- @property_phone_number = property_phone_number
1500
- @room_class = room_class
1501
- @room_nights = room_nights
1502
- @total_room_tax_amount = total_room_tax_amount
1503
- @total_tax_amount = total_tax_amount
1504
- end
1505
- end
1506
-
1507
- class LodgingDatum < ::Stripe::RequestParams
1508
- class Accommodation < ::Stripe::RequestParams
1509
- # Type of accommodation.
1510
- attr_accessor :accommodation_type
1511
- # Bed type.
1512
- attr_accessor :bed_type
1513
- # Daily accommodation rate in cents.
1514
- attr_accessor :daily_rate_amount
1515
- # Number of nights.
1516
- attr_accessor :nights
1517
- # Number of rooms, cabanas, apartments, and so on.
1518
- attr_accessor :number_of_rooms
1519
- # Rate type.
1520
- attr_accessor :rate_type
1521
- # Whether smoking is allowed.
1522
- attr_accessor :smoking_indicator
1523
-
1524
- def initialize(
1525
- accommodation_type: nil,
1526
- bed_type: nil,
1527
- daily_rate_amount: nil,
1528
- nights: nil,
1529
- number_of_rooms: nil,
1530
- rate_type: nil,
1531
- smoking_indicator: nil
1532
- )
1533
- @accommodation_type = accommodation_type
1534
- @bed_type = bed_type
1535
- @daily_rate_amount = daily_rate_amount
1536
- @nights = nights
1537
- @number_of_rooms = number_of_rooms
1538
- @rate_type = rate_type
1539
- @smoking_indicator = smoking_indicator
1540
- end
1541
- end
1542
-
1543
- class Affiliate < ::Stripe::RequestParams
1544
- # Affiliate partner code.
1545
- attr_accessor :code
1546
- # Affiliate partner name.
1547
- attr_accessor :name
1548
-
1549
- def initialize(code: nil, name: nil)
1550
- @code = code
1551
- @name = name
1552
- end
1553
- end
1554
-
1555
- class Guest < ::Stripe::RequestParams
1556
- # Guest's full name.
1557
- attr_accessor :name
1558
-
1559
- def initialize(name: nil)
1560
- @name = name
1561
- end
1562
- end
1563
-
1564
- class Host < ::Stripe::RequestParams
1565
- class Address < ::Stripe::RequestParams
1566
- # City, district, suburb, town, or village.
1567
- attr_accessor :city
1568
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1569
- attr_accessor :country
1570
- # Address line 1, such as the street, PO Box, or company name.
1571
- attr_accessor :line1
1572
- # Address line 2, such as the apartment, suite, unit, or building.
1573
- attr_accessor :line2
1574
- # ZIP or postal code.
1575
- attr_accessor :postal_code
1576
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
1577
- attr_accessor :state
1578
-
1579
- def initialize(
1580
- city: nil,
1581
- country: nil,
1582
- line1: nil,
1583
- line2: nil,
1584
- postal_code: nil,
1585
- state: nil
1586
- )
1587
- @city = city
1588
- @country = country
1589
- @line1 = line1
1590
- @line2 = line2
1591
- @postal_code = postal_code
1592
- @state = state
1593
- end
1594
- end
1595
- # Address of the host.
1596
- attr_accessor :address
1597
- # Host's country of domicile.
1598
- attr_accessor :country_of_domicile
1599
- # Reference number for the host.
1600
- attr_accessor :host_reference
1601
- # Type of host.
1602
- attr_accessor :host_type
1603
- # Name of the lodging property or host.
1604
- attr_accessor :name
1605
- # Total number of reservations for the host.
1606
- attr_accessor :number_of_reservations
1607
- # Property phone number.
1608
- attr_accessor :property_phone_number
1609
- # Host's registration date.
1610
- attr_accessor :registered_at
1611
-
1612
- def initialize(
1613
- address: nil,
1614
- country_of_domicile: nil,
1615
- host_reference: nil,
1616
- host_type: nil,
1617
- name: nil,
1618
- number_of_reservations: nil,
1619
- property_phone_number: nil,
1620
- registered_at: nil
1621
- )
1622
- @address = address
1623
- @country_of_domicile = country_of_domicile
1624
- @host_reference = host_reference
1625
- @host_type = host_type
1626
- @name = name
1627
- @number_of_reservations = number_of_reservations
1628
- @property_phone_number = property_phone_number
1629
- @registered_at = registered_at
1630
- end
1631
- end
1632
-
1633
- class Insurance < ::Stripe::RequestParams
1634
- # Price of the insurance coverage in cents.
1635
- attr_accessor :amount
1636
- # Currency of the insurance amount.
1637
- attr_accessor :currency
1638
- # Name of the insurance company.
1639
- attr_accessor :insurance_company_name
1640
- # Type of insurance coverage.
1641
- attr_accessor :insurance_type
1642
-
1643
- def initialize(
1644
- amount: nil,
1645
- currency: nil,
1646
- insurance_company_name: nil,
1647
- insurance_type: nil
1648
- )
1649
- @amount = amount
1650
- @currency = currency
1651
- @insurance_company_name = insurance_company_name
1652
- @insurance_type = insurance_type
1653
- end
1654
- end
1655
-
1656
- class Total < ::Stripe::RequestParams
1657
- class Discounts < ::Stripe::RequestParams
1658
- # Corporate client discount code.
1659
- attr_accessor :corporate_client_code
1660
- # Coupon code.
1661
- attr_accessor :coupon
27
+ class Klarna < ::Stripe::RequestParams
28
+ # URL to an image for the product. Max length, 4096 characters.
29
+ attr_accessor :image_url
30
+ # URL to the product page. Max length, 4096 characters.
31
+ attr_accessor :product_url
32
+ # Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed.
33
+ attr_accessor :reference
34
+ # Reference for the subscription this line item is for.
35
+ attr_accessor :subscription_reference
1662
36
 
1663
- def initialize(corporate_client_code: nil, coupon: nil)
1664
- @corporate_client_code = corporate_client_code
1665
- @coupon = coupon
37
+ def initialize(
38
+ image_url: nil,
39
+ product_url: nil,
40
+ reference: nil,
41
+ subscription_reference: nil
42
+ )
43
+ @image_url = image_url
44
+ @product_url = product_url
45
+ @reference = reference
46
+ @subscription_reference = subscription_reference
1666
47
  end
1667
48
  end
1668
49
 
1669
- class ExtraCharge < ::Stripe::RequestParams
1670
- # Amount of the extra charge in cents.
1671
- attr_accessor :amount
1672
- # Type of extra charge.
1673
- attr_accessor :type
50
+ class Paypal < ::Stripe::RequestParams
51
+ # Type of the line item.
52
+ attr_accessor :category
53
+ # Description of the line item.
54
+ attr_accessor :description
55
+ # The Stripe account ID of the connected account that sells the item.
56
+ attr_accessor :sold_by
1674
57
 
1675
- def initialize(amount: nil, type: nil)
1676
- @amount = amount
1677
- @type = type
58
+ def initialize(category: nil, description: nil, sold_by: nil)
59
+ @category = category
60
+ @description = description
61
+ @sold_by = sold_by
1678
62
  end
1679
63
  end
64
+ # This sub-hash contains line item details that are specific to `card` payment method."
65
+ attr_accessor :card
66
+ # This sub-hash contains line item details that are specific to `card_present` payment method."
67
+ attr_accessor :card_present
68
+ # This sub-hash contains line item details that are specific to `klarna` payment method."
69
+ attr_accessor :klarna
70
+ # This sub-hash contains line item details that are specific to `paypal` payment method."
71
+ attr_accessor :paypal
1680
72
 
1681
- class Tax < ::Stripe::RequestParams
1682
- class Tax < ::Stripe::RequestParams
1683
- # Tax amount in cents.
1684
- attr_accessor :amount
1685
- # Tax rate.
1686
- attr_accessor :rate
1687
- # Type of tax applied.
1688
- attr_accessor :type
1689
-
1690
- def initialize(amount: nil, rate: nil, type: nil)
1691
- @amount = amount
1692
- @rate = rate
1693
- @type = type
1694
- end
1695
- end
1696
- # Indicates whether the transaction is tax exempt.
1697
- attr_accessor :tax_exempt_indicator
1698
- # Tax details.
1699
- attr_accessor :taxes
1700
-
1701
- def initialize(tax_exempt_indicator: nil, taxes: nil)
1702
- @tax_exempt_indicator = tax_exempt_indicator
1703
- @taxes = taxes
1704
- end
73
+ def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil)
74
+ @card = card
75
+ @card_present = card_present
76
+ @klarna = klarna
77
+ @paypal = paypal
1705
78
  end
1706
- # Total price of the lodging reservation in cents.
1707
- attr_accessor :amount
1708
- # Cash advances in cents.
1709
- attr_accessor :cash_advances
1710
- # Currency of the total amount.
1711
- attr_accessor :currency
1712
- # Discount details for the lodging.
1713
- attr_accessor :discounts
1714
- # Additional charges for the lodging.
1715
- attr_accessor :extra_charges
1716
- # Prepaid amount in cents.
1717
- attr_accessor :prepaid_amount
1718
- # Tax breakdown for the lodging reservation.
1719
- attr_accessor :tax
79
+ end
1720
80
 
1721
- def initialize(
1722
- amount: nil,
1723
- cash_advances: nil,
1724
- currency: nil,
1725
- discounts: nil,
1726
- extra_charges: nil,
1727
- prepaid_amount: nil,
1728
- tax: nil
1729
- )
1730
- @amount = amount
1731
- @cash_advances = cash_advances
1732
- @currency = currency
1733
- @discounts = discounts
1734
- @extra_charges = extra_charges
1735
- @prepaid_amount = prepaid_amount
1736
- @tax = tax
81
+ class Tax < ::Stripe::RequestParams
82
+ # The total amount of tax on a single line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
83
+ #
84
+ # This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field.
85
+ attr_accessor :total_tax_amount
86
+
87
+ def initialize(total_tax_amount: nil)
88
+ @total_tax_amount = total_tax_amount
1737
89
  end
1738
90
  end
1739
- # Accommodation details for the lodging.
1740
- attr_accessor :accommodation
1741
- # Affiliate details if applicable.
1742
- attr_accessor :affiliate
1743
- # Booking confirmation number for the lodging.
1744
- attr_accessor :booking_number
1745
- # Check-in date.
1746
- attr_accessor :checkin_at
1747
- # Check-out date.
1748
- attr_accessor :checkout_at
1749
- # Customer service phone number for the lodging company.
1750
- attr_accessor :customer_service_phone_number
1751
- # Whether the lodging is compliant with any hotel fire safety regulations.
1752
- attr_accessor :fire_safety_act_compliance_indicator
1753
- # List of guests for the lodging.
1754
- attr_accessor :guests
1755
- # Host details for the lodging.
1756
- attr_accessor :host
1757
- # List of insurances for the lodging.
1758
- attr_accessor :insurances
1759
- # Whether the renter is a no-show.
1760
- attr_accessor :no_show_indicator
1761
- # Renter ID number for the lodging.
1762
- attr_accessor :renter_id_number
1763
- # Renter name for the lodging.
1764
- attr_accessor :renter_name
1765
- # Total details for the lodging.
1766
- attr_accessor :total
91
+ # The discount applied on this line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
92
+ #
93
+ # This field is mutually exclusive with the `amount_details[discount_amount]` field.
94
+ attr_accessor :discount_amount
95
+ # Payment method-specific information for line items.
96
+ attr_accessor :payment_method_options
97
+ # The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long.
98
+ attr_accessor :product_code
99
+ # The product name of the line item. Required for L3 rates. At most 1024 characters long.
100
+ #
101
+ # For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For Paypal, this field is truncated to 127 characters.
102
+ attr_accessor :product_name
103
+ # The quantity of items. Required for L3 rates. An integer greater than 0.
104
+ attr_accessor :quantity
105
+ # Contains information about the tax on the item.
106
+ attr_accessor :tax
107
+ # The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
108
+ attr_accessor :unit_cost
109
+ # A unit of measure for the line item, such as gallons, feet, meters, etc.
110
+ attr_accessor :unit_of_measure
1767
111
 
1768
112
  def initialize(
1769
- accommodation: nil,
1770
- affiliate: nil,
1771
- booking_number: nil,
1772
- checkin_at: nil,
1773
- checkout_at: nil,
1774
- customer_service_phone_number: nil,
1775
- fire_safety_act_compliance_indicator: nil,
1776
- guests: nil,
1777
- host: nil,
1778
- insurances: nil,
1779
- no_show_indicator: nil,
1780
- renter_id_number: nil,
1781
- renter_name: nil,
1782
- total: nil
113
+ discount_amount: nil,
114
+ payment_method_options: nil,
115
+ product_code: nil,
116
+ product_name: nil,
117
+ quantity: nil,
118
+ tax: nil,
119
+ unit_cost: nil,
120
+ unit_of_measure: nil
1783
121
  )
1784
- @accommodation = accommodation
1785
- @affiliate = affiliate
1786
- @booking_number = booking_number
1787
- @checkin_at = checkin_at
1788
- @checkout_at = checkout_at
1789
- @customer_service_phone_number = customer_service_phone_number
1790
- @fire_safety_act_compliance_indicator = fire_safety_act_compliance_indicator
1791
- @guests = guests
1792
- @host = host
1793
- @insurances = insurances
1794
- @no_show_indicator = no_show_indicator
1795
- @renter_id_number = renter_id_number
1796
- @renter_name = renter_name
1797
- @total = total
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
1798
130
  end
1799
131
  end
1800
132
 
1801
- class Subscription < ::Stripe::RequestParams
1802
- class Affiliate < ::Stripe::RequestParams
1803
- # The name of the affiliate that originated the purchase.
1804
- 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
1805
140
 
1806
- def initialize(name: nil)
1807
- @name = name
1808
- 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
1809
145
  end
146
+ end
1810
147
 
1811
- class BillingInterval < ::Stripe::RequestParams
1812
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1813
- attr_accessor :count
1814
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1815
- attr_accessor :interval
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
1816
153
 
1817
- def initialize(count: nil, interval: nil)
1818
- @count = count
1819
- @interval = interval
154
+ def initialize(total_tax_amount: nil)
155
+ @total_tax_amount = total_tax_amount
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
174
+
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
189
+
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
195
+
196
+ def initialize(calculation: nil)
197
+ @calculation = calculation
1820
198
  end
1821
199
  end
1822
- # Affiliate details for this purchase.
1823
- attr_accessor :affiliate
1824
- # Info whether the subscription will be auto renewed upon expiry.
1825
- attr_accessor :auto_renewal
1826
- # Subscription billing details for this purchase.
1827
- attr_accessor :billing_interval
1828
- # Subscription end time. Measured in seconds since the Unix epoch.
1829
- attr_accessor :ends_at
1830
- # Name of the product on subscription. e.g. Apple Music Subscription
1831
- attr_accessor :name
1832
- # Subscription start time. Measured in seconds since the Unix epoch.
1833
- attr_accessor :starts_at
200
+ # Tax arguments for automations
201
+ attr_accessor :tax
1834
202
 
1835
- def initialize(
1836
- affiliate: nil,
1837
- auto_renewal: nil,
1838
- billing_interval: nil,
1839
- ends_at: nil,
1840
- name: nil,
1841
- starts_at: nil
1842
- )
1843
- @affiliate = affiliate
1844
- @auto_renewal = auto_renewal
1845
- @billing_interval = billing_interval
1846
- @ends_at = ends_at
1847
- @name = name
1848
- @starts_at = starts_at
203
+ def initialize(tax: nil)
204
+ @tax = tax
1849
205
  end
1850
206
  end
1851
- # Benefit details for this PaymentIntent
1852
- attr_accessor :benefit
1853
- # Car rental details for this PaymentIntent.
1854
- attr_accessor :car_rental
1855
- # Car rental data for this PaymentIntent.
1856
- attr_accessor :car_rental_data
207
+ # Arguments passed in automations
208
+ attr_accessor :inputs
209
+
210
+ def initialize(inputs: nil)
211
+ @inputs = inputs
212
+ end
213
+ end
214
+
215
+ class PaymentDetails < ::Stripe::RequestParams
1857
216
  # A unique value to identify the customer. This field is available only for card payments.
1858
217
  #
1859
218
  # This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
1860
219
  attr_accessor :customer_reference
1861
- # Event details for this PaymentIntent
1862
- attr_accessor :event_details
1863
- # Flight reservation details for this PaymentIntent
1864
- attr_accessor :flight
1865
- # Flight data for this PaymentIntent.
1866
- attr_accessor :flight_data
1867
- # Lodging reservation details for this PaymentIntent
1868
- attr_accessor :lodging
1869
- # Lodging data for this PaymentIntent.
1870
- attr_accessor :lodging_data
1871
220
  # A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
1872
221
  #
1873
222
  # 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`.
1874
223
  #
1875
224
  # 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.
1876
225
  attr_accessor :order_reference
1877
- # Subscription details for this PaymentIntent
1878
- attr_accessor :subscription
1879
226
 
1880
- def initialize(
1881
- benefit: nil,
1882
- car_rental: nil,
1883
- car_rental_data: nil,
1884
- customer_reference: nil,
1885
- event_details: nil,
1886
- flight: nil,
1887
- flight_data: nil,
1888
- lodging: nil,
1889
- lodging_data: nil,
1890
- order_reference: nil,
1891
- subscription: nil
1892
- )
1893
- @benefit = benefit
1894
- @car_rental = car_rental
1895
- @car_rental_data = car_rental_data
227
+ def initialize(customer_reference: nil, order_reference: nil)
1896
228
  @customer_reference = customer_reference
1897
- @event_details = event_details
1898
- @flight = flight
1899
- @flight_data = flight_data
1900
- @lodging = lodging
1901
- @lodging_data = lodging_data
1902
229
  @order_reference = order_reference
1903
- @subscription = subscription
1904
230
  end
1905
231
  end
1906
232
 
@@ -2041,18 +367,8 @@ module Stripe
2041
367
  end
2042
368
 
2043
369
  class Giropay < ::Stripe::RequestParams; end
2044
- class Gopay < ::Stripe::RequestParams; end
2045
370
  class Grabpay < ::Stripe::RequestParams; end
2046
371
 
2047
- class IdBankTransfer < ::Stripe::RequestParams
2048
- # Bank where the account is held.
2049
- attr_accessor :bank
2050
-
2051
- def initialize(bank: nil)
2052
- @bank = bank
2053
- end
2054
- end
2055
-
2056
372
  class Ideal < ::Stripe::RequestParams
2057
373
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
2058
374
  attr_accessor :bank
@@ -2150,7 +466,6 @@ module Stripe
2150
466
  class Payco < ::Stripe::RequestParams; end
2151
467
  class Paynow < ::Stripe::RequestParams; end
2152
468
  class Paypal < ::Stripe::RequestParams; end
2153
- class Paypay < ::Stripe::RequestParams; end
2154
469
 
2155
470
  class Payto < ::Stripe::RequestParams
2156
471
  # The account number for the bank account.
@@ -2169,7 +484,6 @@ module Stripe
2169
484
 
2170
485
  class Pix < ::Stripe::RequestParams; end
2171
486
  class Promptpay < ::Stripe::RequestParams; end
2172
- class Qris < ::Stripe::RequestParams; end
2173
487
 
2174
488
  class RadarOptions < ::Stripe::RequestParams
2175
489
  # 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.
@@ -2180,29 +494,6 @@ module Stripe
2180
494
  end
2181
495
  end
2182
496
 
2183
- class Rechnung < ::Stripe::RequestParams
2184
- class Dob < ::Stripe::RequestParams
2185
- # The day of birth, between 1 and 31.
2186
- attr_accessor :day
2187
- # The month of birth, between 1 and 12.
2188
- attr_accessor :month
2189
- # The four-digit year of birth.
2190
- attr_accessor :year
2191
-
2192
- def initialize(day: nil, month: nil, year: nil)
2193
- @day = day
2194
- @month = month
2195
- @year = year
2196
- end
2197
- end
2198
- # Customer's date of birth
2199
- attr_accessor :dob
2200
-
2201
- def initialize(dob: nil)
2202
- @dob = dob
2203
- end
2204
- end
2205
-
2206
497
  class RevolutPay < ::Stripe::RequestParams; end
2207
498
  class SamsungPay < ::Stripe::RequestParams; end
2208
499
  class Satispay < ::Stripe::RequestParams; end
@@ -2216,8 +507,6 @@ module Stripe
2216
507
  end
2217
508
  end
2218
509
 
2219
- class Shopeepay < ::Stripe::RequestParams; end
2220
-
2221
510
  class Sofort < ::Stripe::RequestParams
2222
511
  # Two-letter ISO code representing the country the bank account is located in.
2223
512
  attr_accessor :country
@@ -2227,18 +516,6 @@ module Stripe
2227
516
  end
2228
517
  end
2229
518
 
2230
- class StripeBalance < ::Stripe::RequestParams
2231
- # The connected account ID whose Stripe balance to use as the source of payment
2232
- attr_accessor :account
2233
- # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
2234
- attr_accessor :source_type
2235
-
2236
- def initialize(account: nil, source_type: nil)
2237
- @account = account
2238
- @source_type = source_type
2239
- end
2240
- end
2241
-
2242
519
  class Swish < ::Stripe::RequestParams; end
2243
520
  class Twint < ::Stripe::RequestParams; end
2244
521
 
@@ -2311,12 +588,8 @@ module Stripe
2311
588
  attr_accessor :fpx
2312
589
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
2313
590
  attr_accessor :giropay
2314
- # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
2315
- attr_accessor :gopay
2316
591
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
2317
592
  attr_accessor :grabpay
2318
- # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
2319
- attr_accessor :id_bank_transfer
2320
593
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
2321
594
  attr_accessor :ideal
2322
595
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
@@ -2355,20 +628,14 @@ module Stripe
2355
628
  attr_accessor :paynow
2356
629
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
2357
630
  attr_accessor :paypal
2358
- # If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
2359
- attr_accessor :paypay
2360
631
  # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
2361
632
  attr_accessor :payto
2362
633
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
2363
634
  attr_accessor :pix
2364
635
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
2365
636
  attr_accessor :promptpay
2366
- # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
2367
- attr_accessor :qris
2368
637
  # Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
2369
638
  attr_accessor :radar_options
2370
- # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
2371
- attr_accessor :rechnung
2372
639
  # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
2373
640
  attr_accessor :revolut_pay
2374
641
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
@@ -2377,12 +644,8 @@ module Stripe
2377
644
  attr_accessor :satispay
2378
645
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
2379
646
  attr_accessor :sepa_debit
2380
- # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
2381
- attr_accessor :shopeepay
2382
647
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
2383
648
  attr_accessor :sofort
2384
- # This hash contains details about the Stripe balance payment method.
2385
- attr_accessor :stripe_balance
2386
649
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
2387
650
  attr_accessor :swish
2388
651
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
@@ -2417,9 +680,7 @@ module Stripe
2417
680
  eps: nil,
2418
681
  fpx: nil,
2419
682
  giropay: nil,
2420
- gopay: nil,
2421
683
  grabpay: nil,
2422
- id_bank_transfer: nil,
2423
684
  ideal: nil,
2424
685
  interac_present: nil,
2425
686
  kakao_pay: nil,
@@ -2439,20 +700,15 @@ module Stripe
2439
700
  payco: nil,
2440
701
  paynow: nil,
2441
702
  paypal: nil,
2442
- paypay: nil,
2443
703
  payto: nil,
2444
704
  pix: nil,
2445
705
  promptpay: nil,
2446
- qris: nil,
2447
706
  radar_options: nil,
2448
- rechnung: nil,
2449
707
  revolut_pay: nil,
2450
708
  samsung_pay: nil,
2451
709
  satispay: nil,
2452
710
  sepa_debit: nil,
2453
- shopeepay: nil,
2454
711
  sofort: nil,
2455
- stripe_balance: nil,
2456
712
  swish: nil,
2457
713
  twint: nil,
2458
714
  type: nil,
@@ -2480,9 +736,7 @@ module Stripe
2480
736
  @eps = eps
2481
737
  @fpx = fpx
2482
738
  @giropay = giropay
2483
- @gopay = gopay
2484
739
  @grabpay = grabpay
2485
- @id_bank_transfer = id_bank_transfer
2486
740
  @ideal = ideal
2487
741
  @interac_present = interac_present
2488
742
  @kakao_pay = kakao_pay
@@ -2502,20 +756,15 @@ module Stripe
2502
756
  @payco = payco
2503
757
  @paynow = paynow
2504
758
  @paypal = paypal
2505
- @paypay = paypay
2506
759
  @payto = payto
2507
760
  @pix = pix
2508
761
  @promptpay = promptpay
2509
- @qris = qris
2510
762
  @radar_options = radar_options
2511
- @rechnung = rechnung
2512
763
  @revolut_pay = revolut_pay
2513
764
  @samsung_pay = samsung_pay
2514
765
  @satispay = satispay
2515
766
  @sepa_debit = sepa_debit
2516
- @shopeepay = shopeepay
2517
767
  @sofort = sofort
2518
- @stripe_balance = stripe_balance
2519
768
  @swish = swish
2520
769
  @twint = twint
2521
770
  @type = type
@@ -2886,48 +1135,6 @@ module Stripe
2886
1135
  end
2887
1136
  end
2888
1137
 
2889
- class StatementDetails < ::Stripe::RequestParams
2890
- class Address < ::Stripe::RequestParams
2891
- # City, district, suburb, town, or village.
2892
- attr_accessor :city
2893
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2894
- attr_accessor :country
2895
- # Address line 1, such as the street, PO Box, or company name.
2896
- attr_accessor :line1
2897
- # Address line 2, such as the apartment, suite, unit, or building.
2898
- attr_accessor :line2
2899
- # ZIP or postal code.
2900
- attr_accessor :postal_code
2901
- # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
2902
- attr_accessor :state
2903
-
2904
- def initialize(
2905
- city: nil,
2906
- country: nil,
2907
- line1: nil,
2908
- line2: nil,
2909
- postal_code: nil,
2910
- state: nil
2911
- )
2912
- @city = city
2913
- @country = country
2914
- @line1 = line1
2915
- @line2 = line2
2916
- @postal_code = postal_code
2917
- @state = state
2918
- end
2919
- end
2920
- # Please pass in an address that is within your Stripe user account country
2921
- attr_accessor :address
2922
- # Phone number (e.g., a toll-free number that customers can call)
2923
- attr_accessor :phone
2924
-
2925
- def initialize(address: nil, phone: nil)
2926
- @address = address
2927
- @phone = phone
2928
- end
2929
- end
2930
-
2931
1138
  class ThreeDSecure < ::Stripe::RequestParams
2932
1139
  class NetworkOptions < ::Stripe::RequestParams
2933
1140
  class CartesBancaires < ::Stripe::RequestParams
@@ -3022,8 +1229,6 @@ module Stripe
3022
1229
  attr_accessor :moto
3023
1230
  # 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.
3024
1231
  attr_accessor :network
3025
- # Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.
3026
- attr_accessor :request_decremental_authorization
3027
1232
  # Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
3028
1233
  attr_accessor :request_extended_authorization
3029
1234
  # Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
@@ -3032,8 +1237,6 @@ module Stripe
3032
1237
  attr_accessor :request_multicapture
3033
1238
  # Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
3034
1239
  attr_accessor :request_overcapture
3035
- # Request partial authorization on this PaymentIntent.
3036
- attr_accessor :request_partial_authorization
3037
1240
  # 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.
3038
1241
  attr_accessor :request_three_d_secure
3039
1242
  # 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).
@@ -3052,8 +1255,6 @@ module Stripe
3052
1255
  attr_accessor :statement_descriptor_suffix_kana
3053
1256
  # 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.
3054
1257
  attr_accessor :statement_descriptor_suffix_kanji
3055
- # Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
3056
- attr_accessor :statement_details
3057
1258
  # If 3D Secure authentication was performed with a third-party provider,
3058
1259
  # the authentication details to use for this payment.
3059
1260
  attr_accessor :three_d_secure
@@ -3065,18 +1266,15 @@ module Stripe
3065
1266
  mandate_options: nil,
3066
1267
  moto: nil,
3067
1268
  network: nil,
3068
- request_decremental_authorization: nil,
3069
1269
  request_extended_authorization: nil,
3070
1270
  request_incremental_authorization: nil,
3071
1271
  request_multicapture: nil,
3072
1272
  request_overcapture: nil,
3073
- request_partial_authorization: nil,
3074
1273
  request_three_d_secure: nil,
3075
1274
  require_cvc_recollection: nil,
3076
1275
  setup_future_usage: nil,
3077
1276
  statement_descriptor_suffix_kana: nil,
3078
1277
  statement_descriptor_suffix_kanji: nil,
3079
- statement_details: nil,
3080
1278
  three_d_secure: nil
3081
1279
  )
3082
1280
  @capture_method = capture_method
@@ -3085,18 +1283,15 @@ module Stripe
3085
1283
  @mandate_options = mandate_options
3086
1284
  @moto = moto
3087
1285
  @network = network
3088
- @request_decremental_authorization = request_decremental_authorization
3089
1286
  @request_extended_authorization = request_extended_authorization
3090
1287
  @request_incremental_authorization = request_incremental_authorization
3091
1288
  @request_multicapture = request_multicapture
3092
1289
  @request_overcapture = request_overcapture
3093
- @request_partial_authorization = request_partial_authorization
3094
1290
  @request_three_d_secure = request_three_d_secure
3095
1291
  @require_cvc_recollection = require_cvc_recollection
3096
1292
  @setup_future_usage = setup_future_usage
3097
1293
  @statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
3098
1294
  @statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
3099
- @statement_details = statement_details
3100
1295
  @three_d_secure = three_d_secure
3101
1296
  end
3102
1297
  end
@@ -3200,48 +1395,12 @@ module Stripe
3200
1395
  @eu_bank_transfer = eu_bank_transfer
3201
1396
  @requested_address_types = requested_address_types
3202
1397
  @type = type
3203
- end
3204
- end
3205
- # Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
3206
- attr_accessor :bank_transfer
3207
- # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
3208
- attr_accessor :funding_type
3209
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3210
- #
3211
- # 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.
3212
- #
3213
- # 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.
3214
- #
3215
- # 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).
3216
- #
3217
- # 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`.
3218
- attr_accessor :setup_future_usage
3219
-
3220
- def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil)
3221
- @bank_transfer = bank_transfer
3222
- @funding_type = funding_type
3223
- @setup_future_usage = setup_future_usage
3224
- end
3225
- end
3226
-
3227
- class Eps < ::Stripe::RequestParams
3228
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3229
- #
3230
- # 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.
3231
- #
3232
- # 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.
3233
- #
3234
- # 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).
3235
- #
3236
- # 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`.
3237
- attr_accessor :setup_future_usage
3238
-
3239
- def initialize(setup_future_usage: nil)
3240
- @setup_future_usage = setup_future_usage
1398
+ end
3241
1399
  end
3242
- end
3243
-
3244
- class Fpx < ::Stripe::RequestParams
1400
+ # Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
1401
+ attr_accessor :bank_transfer
1402
+ # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
1403
+ attr_accessor :funding_type
3245
1404
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3246
1405
  #
3247
1406
  # 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.
@@ -3253,12 +1412,14 @@ module Stripe
3253
1412
  # 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`.
3254
1413
  attr_accessor :setup_future_usage
3255
1414
 
3256
- def initialize(setup_future_usage: nil)
1415
+ def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil)
1416
+ @bank_transfer = bank_transfer
1417
+ @funding_type = funding_type
3257
1418
  @setup_future_usage = setup_future_usage
3258
1419
  end
3259
1420
  end
3260
1421
 
3261
- class Giropay < ::Stripe::RequestParams
1422
+ class Eps < ::Stripe::RequestParams
3262
1423
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3263
1424
  #
3264
1425
  # 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.
@@ -3275,7 +1436,7 @@ module Stripe
3275
1436
  end
3276
1437
  end
3277
1438
 
3278
- class Gopay < ::Stripe::RequestParams
1439
+ class Fpx < ::Stripe::RequestParams
3279
1440
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3280
1441
  #
3281
1442
  # 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.
@@ -3292,7 +1453,7 @@ module Stripe
3292
1453
  end
3293
1454
  end
3294
1455
 
3295
- class Grabpay < ::Stripe::RequestParams
1456
+ class Giropay < ::Stripe::RequestParams
3296
1457
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3297
1458
  #
3298
1459
  # 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.
@@ -3309,11 +1470,7 @@ module Stripe
3309
1470
  end
3310
1471
  end
3311
1472
 
3312
- class IdBankTransfer < ::Stripe::RequestParams
3313
- # 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.
3314
- attr_accessor :expires_after
3315
- # 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.
3316
- attr_accessor :expires_at
1473
+ class Grabpay < ::Stripe::RequestParams
3317
1474
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3318
1475
  #
3319
1476
  # 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.
@@ -3325,9 +1482,7 @@ module Stripe
3325
1482
  # 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`.
3326
1483
  attr_accessor :setup_future_usage
3327
1484
 
3328
- def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
3329
- @expires_after = expires_after
3330
- @expires_at = expires_at
1485
+ def initialize(setup_future_usage: nil)
3331
1486
  @setup_future_usage = setup_future_usage
3332
1487
  end
3333
1488
  end
@@ -3438,939 +1593,6 @@ module Stripe
3438
1593
  @reference = reference
3439
1594
  end
3440
1595
  end
3441
-
3442
- class SupplementaryPurchaseData < ::Stripe::RequestParams
3443
- class BusReservationDetail < ::Stripe::RequestParams
3444
- class Arrival < ::Stripe::RequestParams
3445
- class Address < ::Stripe::RequestParams
3446
- # The city or town.
3447
- attr_accessor :city
3448
- # The country in ISO 3166-1 alpha-2 format.
3449
- attr_accessor :country
3450
- # The postal code formatted according to country.
3451
- attr_accessor :postal_code
3452
- # The state, county, province, or region formatted according to country.
3453
- attr_accessor :region
3454
- # Line 1 of the street address.
3455
- attr_accessor :street_address
3456
- # Line 2 of the street address.
3457
- attr_accessor :street_address2
3458
-
3459
- def initialize(
3460
- city: nil,
3461
- country: nil,
3462
- postal_code: nil,
3463
- region: nil,
3464
- street_address: nil,
3465
- street_address2: nil
3466
- )
3467
- @city = city
3468
- @country = country
3469
- @postal_code = postal_code
3470
- @region = region
3471
- @street_address = street_address
3472
- @street_address2 = street_address2
3473
- end
3474
- end
3475
- # Address of the arrival location.
3476
- attr_accessor :address
3477
- # Identifier name or reference for the arrival location.
3478
- attr_accessor :arrival_location
3479
-
3480
- def initialize(address: nil, arrival_location: nil)
3481
- @address = address
3482
- @arrival_location = arrival_location
3483
- end
3484
- end
3485
-
3486
- class Departure < ::Stripe::RequestParams
3487
- class Address < ::Stripe::RequestParams
3488
- # The city or town.
3489
- attr_accessor :city
3490
- # The country in ISO 3166-1 alpha-2 format.
3491
- attr_accessor :country
3492
- # The postal code formatted according to country.
3493
- attr_accessor :postal_code
3494
- # The state, county, province, or region formatted according to country.
3495
- attr_accessor :region
3496
- # Line 1 of the street address.
3497
- attr_accessor :street_address
3498
- # Line 2 of the street address.
3499
- attr_accessor :street_address2
3500
-
3501
- def initialize(
3502
- city: nil,
3503
- country: nil,
3504
- postal_code: nil,
3505
- region: nil,
3506
- street_address: nil,
3507
- street_address2: nil
3508
- )
3509
- @city = city
3510
- @country = country
3511
- @postal_code = postal_code
3512
- @region = region
3513
- @street_address = street_address
3514
- @street_address2 = street_address2
3515
- end
3516
- end
3517
- # Address of the departure location.
3518
- attr_accessor :address
3519
- # Timestamp of departure.
3520
- attr_accessor :departs_at
3521
- # Identifier name or reference for the origin location.
3522
- attr_accessor :departure_location
3523
-
3524
- def initialize(address: nil, departs_at: nil, departure_location: nil)
3525
- @address = address
3526
- @departs_at = departs_at
3527
- @departure_location = departure_location
3528
- end
3529
- end
3530
-
3531
- class Insurance < ::Stripe::RequestParams
3532
- # Insurance currency.
3533
- attr_accessor :currency
3534
- # Name of the company providing the insurance.
3535
- attr_accessor :insurance_company_name
3536
- # Type of insurance.
3537
- attr_accessor :insurance_type
3538
- # Price of insurance in cents.
3539
- attr_accessor :price
3540
-
3541
- def initialize(
3542
- currency: nil,
3543
- insurance_company_name: nil,
3544
- insurance_type: nil,
3545
- price: nil
3546
- )
3547
- @currency = currency
3548
- @insurance_company_name = insurance_company_name
3549
- @insurance_type = insurance_type
3550
- @price = price
3551
- end
3552
- end
3553
-
3554
- class Passenger < ::Stripe::RequestParams
3555
- # The family name of the person.
3556
- attr_accessor :family_name
3557
- # The given name of the person.
3558
- attr_accessor :given_name
3559
-
3560
- def initialize(family_name: nil, given_name: nil)
3561
- @family_name = family_name
3562
- @given_name = given_name
3563
- end
3564
- end
3565
- # Name of associated or partner company for the service.
3566
- attr_accessor :affiliate_name
3567
- # Arrival details.
3568
- attr_accessor :arrival
3569
- # Name of transportation company.
3570
- attr_accessor :carrier_name
3571
- # Currency.
3572
- attr_accessor :currency
3573
- # Departure details.
3574
- attr_accessor :departure
3575
- # List of insurances for this reservation.
3576
- attr_accessor :insurances
3577
- # List of passengers that this reservation applies to.
3578
- attr_accessor :passengers
3579
- # Price in cents.
3580
- attr_accessor :price
3581
- # Ticket class.
3582
- attr_accessor :ticket_class
3583
-
3584
- def initialize(
3585
- affiliate_name: nil,
3586
- arrival: nil,
3587
- carrier_name: nil,
3588
- currency: nil,
3589
- departure: nil,
3590
- insurances: nil,
3591
- passengers: nil,
3592
- price: nil,
3593
- ticket_class: nil
3594
- )
3595
- @affiliate_name = affiliate_name
3596
- @arrival = arrival
3597
- @carrier_name = carrier_name
3598
- @currency = currency
3599
- @departure = departure
3600
- @insurances = insurances
3601
- @passengers = passengers
3602
- @price = price
3603
- @ticket_class = ticket_class
3604
- end
3605
- end
3606
-
3607
- class EventReservationDetail < ::Stripe::RequestParams
3608
- class Address < ::Stripe::RequestParams
3609
- # The city or town.
3610
- attr_accessor :city
3611
- # The country in ISO 3166-1 alpha-2 format.
3612
- attr_accessor :country
3613
- # The postal code formatted according to country.
3614
- attr_accessor :postal_code
3615
- # The state, county, province, or region formatted according to country.
3616
- attr_accessor :region
3617
- # Line 1 of the street address.
3618
- attr_accessor :street_address
3619
- # Line 2 of the street address.
3620
- attr_accessor :street_address2
3621
-
3622
- def initialize(
3623
- city: nil,
3624
- country: nil,
3625
- postal_code: nil,
3626
- region: nil,
3627
- street_address: nil,
3628
- street_address2: nil
3629
- )
3630
- @city = city
3631
- @country = country
3632
- @postal_code = postal_code
3633
- @region = region
3634
- @street_address = street_address
3635
- @street_address2 = street_address2
3636
- end
3637
- end
3638
-
3639
- class Insurance < ::Stripe::RequestParams
3640
- # Insurance currency.
3641
- attr_accessor :currency
3642
- # Name of the company providing the insurance.
3643
- attr_accessor :insurance_company_name
3644
- # Type of insurance.
3645
- attr_accessor :insurance_type
3646
- # Price of insurance in cents.
3647
- attr_accessor :price
3648
-
3649
- def initialize(
3650
- currency: nil,
3651
- insurance_company_name: nil,
3652
- insurance_type: nil,
3653
- price: nil
3654
- )
3655
- @currency = currency
3656
- @insurance_company_name = insurance_company_name
3657
- @insurance_type = insurance_type
3658
- @price = price
3659
- end
3660
- end
3661
- # Indicates if the tickets are digitally checked when entering the venue.
3662
- attr_accessor :access_controlled_venue
3663
- # Address of the event.
3664
- attr_accessor :address
3665
- # Name of associated or partner company for the service.
3666
- attr_accessor :affiliate_name
3667
- # End timestamp of the event.
3668
- attr_accessor :ends_at
3669
- # Company selling the ticket.
3670
- attr_accessor :event_company_name
3671
- # Name of the event.
3672
- attr_accessor :event_name
3673
- # Type of the event.
3674
- attr_accessor :event_type
3675
- # List of insurances for this event.
3676
- attr_accessor :insurances
3677
- # Start timestamp of the event.
3678
- attr_accessor :starts_at
3679
- # Name of the venue where the event takes place.
3680
- attr_accessor :venue_name
3681
-
3682
- def initialize(
3683
- access_controlled_venue: nil,
3684
- address: nil,
3685
- affiliate_name: nil,
3686
- ends_at: nil,
3687
- event_company_name: nil,
3688
- event_name: nil,
3689
- event_type: nil,
3690
- insurances: nil,
3691
- starts_at: nil,
3692
- venue_name: nil
3693
- )
3694
- @access_controlled_venue = access_controlled_venue
3695
- @address = address
3696
- @affiliate_name = affiliate_name
3697
- @ends_at = ends_at
3698
- @event_company_name = event_company_name
3699
- @event_name = event_name
3700
- @event_type = event_type
3701
- @insurances = insurances
3702
- @starts_at = starts_at
3703
- @venue_name = venue_name
3704
- end
3705
- end
3706
-
3707
- class FerryReservationDetail < ::Stripe::RequestParams
3708
- class Arrival < ::Stripe::RequestParams
3709
- class Address < ::Stripe::RequestParams
3710
- # The city or town.
3711
- attr_accessor :city
3712
- # The country in ISO 3166-1 alpha-2 format.
3713
- attr_accessor :country
3714
- # The postal code formatted according to country.
3715
- attr_accessor :postal_code
3716
- # The state, county, province, or region formatted according to country.
3717
- attr_accessor :region
3718
- # Line 1 of the street address.
3719
- attr_accessor :street_address
3720
- # Line 2 of the street address.
3721
- attr_accessor :street_address2
3722
-
3723
- def initialize(
3724
- city: nil,
3725
- country: nil,
3726
- postal_code: nil,
3727
- region: nil,
3728
- street_address: nil,
3729
- street_address2: nil
3730
- )
3731
- @city = city
3732
- @country = country
3733
- @postal_code = postal_code
3734
- @region = region
3735
- @street_address = street_address
3736
- @street_address2 = street_address2
3737
- end
3738
- end
3739
- # Address of the arrival location.
3740
- attr_accessor :address
3741
- # Identifier name or reference for the arrival location.
3742
- attr_accessor :arrival_location
3743
-
3744
- def initialize(address: nil, arrival_location: nil)
3745
- @address = address
3746
- @arrival_location = arrival_location
3747
- end
3748
- end
3749
-
3750
- class Departure < ::Stripe::RequestParams
3751
- class Address < ::Stripe::RequestParams
3752
- # The city or town.
3753
- attr_accessor :city
3754
- # The country in ISO 3166-1 alpha-2 format.
3755
- attr_accessor :country
3756
- # The postal code formatted according to country.
3757
- attr_accessor :postal_code
3758
- # The state, county, province, or region formatted according to country.
3759
- attr_accessor :region
3760
- # Line 1 of the street address.
3761
- attr_accessor :street_address
3762
- # Line 2 of the street address.
3763
- attr_accessor :street_address2
3764
-
3765
- def initialize(
3766
- city: nil,
3767
- country: nil,
3768
- postal_code: nil,
3769
- region: nil,
3770
- street_address: nil,
3771
- street_address2: nil
3772
- )
3773
- @city = city
3774
- @country = country
3775
- @postal_code = postal_code
3776
- @region = region
3777
- @street_address = street_address
3778
- @street_address2 = street_address2
3779
- end
3780
- end
3781
- # Address of the departure location.
3782
- attr_accessor :address
3783
- # Timestamp of departure.
3784
- attr_accessor :departs_at
3785
- # Identifier name or reference for the origin location.
3786
- attr_accessor :departure_location
3787
-
3788
- def initialize(address: nil, departs_at: nil, departure_location: nil)
3789
- @address = address
3790
- @departs_at = departs_at
3791
- @departure_location = departure_location
3792
- end
3793
- end
3794
-
3795
- class Insurance < ::Stripe::RequestParams
3796
- # Insurance currency.
3797
- attr_accessor :currency
3798
- # Name of the company providing the insurance.
3799
- attr_accessor :insurance_company_name
3800
- # Type of insurance.
3801
- attr_accessor :insurance_type
3802
- # Price of insurance in cents.
3803
- attr_accessor :price
3804
-
3805
- def initialize(
3806
- currency: nil,
3807
- insurance_company_name: nil,
3808
- insurance_type: nil,
3809
- price: nil
3810
- )
3811
- @currency = currency
3812
- @insurance_company_name = insurance_company_name
3813
- @insurance_type = insurance_type
3814
- @price = price
3815
- end
3816
- end
3817
-
3818
- class Passenger < ::Stripe::RequestParams
3819
- # The family name of the person.
3820
- attr_accessor :family_name
3821
- # The given name of the person.
3822
- attr_accessor :given_name
3823
-
3824
- def initialize(family_name: nil, given_name: nil)
3825
- @family_name = family_name
3826
- @given_name = given_name
3827
- end
3828
- end
3829
- # Name of associated or partner company for the service.
3830
- attr_accessor :affiliate_name
3831
- # Arrival details.
3832
- attr_accessor :arrival
3833
- # Name of transportation company.
3834
- attr_accessor :carrier_name
3835
- # Currency.
3836
- attr_accessor :currency
3837
- # Departure details.
3838
- attr_accessor :departure
3839
- # List of insurances for this reservation.
3840
- attr_accessor :insurances
3841
- # List of passengers that this reservation applies to.
3842
- attr_accessor :passengers
3843
- # Price in cents.
3844
- attr_accessor :price
3845
- # Ticket class.
3846
- attr_accessor :ticket_class
3847
-
3848
- def initialize(
3849
- affiliate_name: nil,
3850
- arrival: nil,
3851
- carrier_name: nil,
3852
- currency: nil,
3853
- departure: nil,
3854
- insurances: nil,
3855
- passengers: nil,
3856
- price: nil,
3857
- ticket_class: nil
3858
- )
3859
- @affiliate_name = affiliate_name
3860
- @arrival = arrival
3861
- @carrier_name = carrier_name
3862
- @currency = currency
3863
- @departure = departure
3864
- @insurances = insurances
3865
- @passengers = passengers
3866
- @price = price
3867
- @ticket_class = ticket_class
3868
- end
3869
- end
3870
-
3871
- class Insurance < ::Stripe::RequestParams
3872
- # Insurance currency.
3873
- attr_accessor :currency
3874
- # Name of the company providing the insurance.
3875
- attr_accessor :insurance_company_name
3876
- # Type of insurance
3877
- attr_accessor :insurance_type
3878
- # Price of insurance in cents.
3879
- attr_accessor :price
3880
-
3881
- def initialize(
3882
- currency: nil,
3883
- insurance_company_name: nil,
3884
- insurance_type: nil,
3885
- price: nil
3886
- )
3887
- @currency = currency
3888
- @insurance_company_name = insurance_company_name
3889
- @insurance_type = insurance_type
3890
- @price = price
3891
- end
3892
- end
3893
-
3894
- class MarketplaceSeller < ::Stripe::RequestParams
3895
- class MarketplaceSellerAddress < ::Stripe::RequestParams
3896
- # The city or town.
3897
- attr_accessor :city
3898
- # The country in ISO 3166-1 alpha-2 format.
3899
- attr_accessor :country
3900
- # The postal code formatted according to country.
3901
- attr_accessor :postal_code
3902
- # The state, county, province, or region formatted according to country.
3903
- attr_accessor :region
3904
- # Line 1 of the street address.
3905
- attr_accessor :street_address
3906
- # Line 2 of the street address.
3907
- attr_accessor :street_address2
3908
-
3909
- def initialize(
3910
- city: nil,
3911
- country: nil,
3912
- postal_code: nil,
3913
- region: nil,
3914
- street_address: nil,
3915
- street_address2: nil
3916
- )
3917
- @city = city
3918
- @country = country
3919
- @postal_code = postal_code
3920
- @region = region
3921
- @street_address = street_address
3922
- @street_address2 = street_address2
3923
- end
3924
- end
3925
- # The references to line items for purchases with multiple associated sub-sellers.
3926
- attr_accessor :line_item_references
3927
- # The address of the selling or delivering merchant.
3928
- attr_accessor :marketplace_seller_address
3929
- # The name of the marketplace seller.
3930
- attr_accessor :marketplace_seller_name
3931
- # The unique identifier for the marketplace seller.
3932
- attr_accessor :marketplace_seller_reference
3933
- # The number of transactions the sub-seller completed in the last 12 months.
3934
- attr_accessor :number_of_transactions
3935
- # The category of the product.
3936
- attr_accessor :product_category
3937
- # The date when the seller's account with the marketplace was last logged in.
3938
- attr_accessor :seller_last_login_at
3939
- # The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values.
3940
- attr_accessor :seller_rating
3941
- # The date when the seller's account with the marketplace was created.
3942
- attr_accessor :seller_registered_at
3943
- # The date when the seller's account with the marketplace was last updated.
3944
- attr_accessor :seller_updated_at
3945
- # The references to shipping addresses for purchases with multiple associated sub-sellers.
3946
- attr_accessor :shipping_references
3947
- # 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.
3948
- attr_accessor :volume_of_transactions
3949
-
3950
- def initialize(
3951
- line_item_references: nil,
3952
- marketplace_seller_address: nil,
3953
- marketplace_seller_name: nil,
3954
- marketplace_seller_reference: nil,
3955
- number_of_transactions: nil,
3956
- product_category: nil,
3957
- seller_last_login_at: nil,
3958
- seller_rating: nil,
3959
- seller_registered_at: nil,
3960
- seller_updated_at: nil,
3961
- shipping_references: nil,
3962
- volume_of_transactions: nil
3963
- )
3964
- @line_item_references = line_item_references
3965
- @marketplace_seller_address = marketplace_seller_address
3966
- @marketplace_seller_name = marketplace_seller_name
3967
- @marketplace_seller_reference = marketplace_seller_reference
3968
- @number_of_transactions = number_of_transactions
3969
- @product_category = product_category
3970
- @seller_last_login_at = seller_last_login_at
3971
- @seller_rating = seller_rating
3972
- @seller_registered_at = seller_registered_at
3973
- @seller_updated_at = seller_updated_at
3974
- @shipping_references = shipping_references
3975
- @volume_of_transactions = volume_of_transactions
3976
- end
3977
- end
3978
-
3979
- class RoundTripReservationDetail < ::Stripe::RequestParams
3980
- class Arrival < ::Stripe::RequestParams
3981
- class Address < ::Stripe::RequestParams
3982
- # The city or town.
3983
- attr_accessor :city
3984
- # The country in ISO 3166-1 alpha-2 format.
3985
- attr_accessor :country
3986
- # The postal code formatted according to country.
3987
- attr_accessor :postal_code
3988
- # The state, county, province, or region formatted according to country.
3989
- attr_accessor :region
3990
- # Line 1 of the street address.
3991
- attr_accessor :street_address
3992
- # Line 2 of the street address.
3993
- attr_accessor :street_address2
3994
-
3995
- def initialize(
3996
- city: nil,
3997
- country: nil,
3998
- postal_code: nil,
3999
- region: nil,
4000
- street_address: nil,
4001
- street_address2: nil
4002
- )
4003
- @city = city
4004
- @country = country
4005
- @postal_code = postal_code
4006
- @region = region
4007
- @street_address = street_address
4008
- @street_address2 = street_address2
4009
- end
4010
- end
4011
- # Address of the arrival location.
4012
- attr_accessor :address
4013
- # Identifier name or reference for the arrival location.
4014
- attr_accessor :arrival_location
4015
-
4016
- def initialize(address: nil, arrival_location: nil)
4017
- @address = address
4018
- @arrival_location = arrival_location
4019
- end
4020
- end
4021
-
4022
- class Departure < ::Stripe::RequestParams
4023
- class Address < ::Stripe::RequestParams
4024
- # The city or town.
4025
- attr_accessor :city
4026
- # The country in ISO 3166-1 alpha-2 format.
4027
- attr_accessor :country
4028
- # The postal code formatted according to country.
4029
- attr_accessor :postal_code
4030
- # The state, county, province, or region formatted according to country.
4031
- attr_accessor :region
4032
- # Line 1 of the street address.
4033
- attr_accessor :street_address
4034
- # Line 2 of the street address.
4035
- attr_accessor :street_address2
4036
-
4037
- def initialize(
4038
- city: nil,
4039
- country: nil,
4040
- postal_code: nil,
4041
- region: nil,
4042
- street_address: nil,
4043
- street_address2: nil
4044
- )
4045
- @city = city
4046
- @country = country
4047
- @postal_code = postal_code
4048
- @region = region
4049
- @street_address = street_address
4050
- @street_address2 = street_address2
4051
- end
4052
- end
4053
- # Address of the departure location.
4054
- attr_accessor :address
4055
- # Timestamp of departure.
4056
- attr_accessor :departs_at
4057
- # Identifier name or reference for the origin location.
4058
- attr_accessor :departure_location
4059
-
4060
- def initialize(address: nil, departs_at: nil, departure_location: nil)
4061
- @address = address
4062
- @departs_at = departs_at
4063
- @departure_location = departure_location
4064
- end
4065
- end
4066
-
4067
- class Insurance < ::Stripe::RequestParams
4068
- # Insurance currency.
4069
- attr_accessor :currency
4070
- # Name of the company providing the insurance.
4071
- attr_accessor :insurance_company_name
4072
- # Type of insurance.
4073
- attr_accessor :insurance_type
4074
- # Price of insurance in cents.
4075
- attr_accessor :price
4076
-
4077
- def initialize(
4078
- currency: nil,
4079
- insurance_company_name: nil,
4080
- insurance_type: nil,
4081
- price: nil
4082
- )
4083
- @currency = currency
4084
- @insurance_company_name = insurance_company_name
4085
- @insurance_type = insurance_type
4086
- @price = price
4087
- end
4088
- end
4089
-
4090
- class Passenger < ::Stripe::RequestParams
4091
- # The family name of the person.
4092
- attr_accessor :family_name
4093
- # The given name of the person.
4094
- attr_accessor :given_name
4095
-
4096
- def initialize(family_name: nil, given_name: nil)
4097
- @family_name = family_name
4098
- @given_name = given_name
4099
- end
4100
- end
4101
- # Name of associated or partner company for the service.
4102
- attr_accessor :affiliate_name
4103
- # Arrival details.
4104
- attr_accessor :arrival
4105
- # Name of transportation company.
4106
- attr_accessor :carrier_name
4107
- # Currency.
4108
- attr_accessor :currency
4109
- # Departure details.
4110
- attr_accessor :departure
4111
- # List of insurances for this reservation.
4112
- attr_accessor :insurances
4113
- # List of passengers that this reservation applies to.
4114
- attr_accessor :passengers
4115
- # Price in cents.
4116
- attr_accessor :price
4117
- # Ticket class.
4118
- attr_accessor :ticket_class
4119
-
4120
- def initialize(
4121
- affiliate_name: nil,
4122
- arrival: nil,
4123
- carrier_name: nil,
4124
- currency: nil,
4125
- departure: nil,
4126
- insurances: nil,
4127
- passengers: nil,
4128
- price: nil,
4129
- ticket_class: nil
4130
- )
4131
- @affiliate_name = affiliate_name
4132
- @arrival = arrival
4133
- @carrier_name = carrier_name
4134
- @currency = currency
4135
- @departure = departure
4136
- @insurances = insurances
4137
- @passengers = passengers
4138
- @price = price
4139
- @ticket_class = ticket_class
4140
- end
4141
- end
4142
-
4143
- class TrainReservationDetail < ::Stripe::RequestParams
4144
- class Arrival < ::Stripe::RequestParams
4145
- class Address < ::Stripe::RequestParams
4146
- # The city or town.
4147
- attr_accessor :city
4148
- # The country in ISO 3166-1 alpha-2 format.
4149
- attr_accessor :country
4150
- # The postal code formatted according to country.
4151
- attr_accessor :postal_code
4152
- # The state, county, province, or region formatted according to country.
4153
- attr_accessor :region
4154
- # Line 1 of the street address.
4155
- attr_accessor :street_address
4156
- # Line 2 of the street address.
4157
- attr_accessor :street_address2
4158
-
4159
- def initialize(
4160
- city: nil,
4161
- country: nil,
4162
- postal_code: nil,
4163
- region: nil,
4164
- street_address: nil,
4165
- street_address2: nil
4166
- )
4167
- @city = city
4168
- @country = country
4169
- @postal_code = postal_code
4170
- @region = region
4171
- @street_address = street_address
4172
- @street_address2 = street_address2
4173
- end
4174
- end
4175
- # Address of the arrival location.
4176
- attr_accessor :address
4177
- # Identifier name or reference for the arrival location.
4178
- attr_accessor :arrival_location
4179
-
4180
- def initialize(address: nil, arrival_location: nil)
4181
- @address = address
4182
- @arrival_location = arrival_location
4183
- end
4184
- end
4185
-
4186
- class Departure < ::Stripe::RequestParams
4187
- class Address < ::Stripe::RequestParams
4188
- # The city or town.
4189
- attr_accessor :city
4190
- # The country in ISO 3166-1 alpha-2 format.
4191
- attr_accessor :country
4192
- # The postal code formatted according to country.
4193
- attr_accessor :postal_code
4194
- # The state, county, province, or region formatted according to country.
4195
- attr_accessor :region
4196
- # Line 1 of the street address.
4197
- attr_accessor :street_address
4198
- # Line 2 of the street address.
4199
- attr_accessor :street_address2
4200
-
4201
- def initialize(
4202
- city: nil,
4203
- country: nil,
4204
- postal_code: nil,
4205
- region: nil,
4206
- street_address: nil,
4207
- street_address2: nil
4208
- )
4209
- @city = city
4210
- @country = country
4211
- @postal_code = postal_code
4212
- @region = region
4213
- @street_address = street_address
4214
- @street_address2 = street_address2
4215
- end
4216
- end
4217
- # Address of the departure location.
4218
- attr_accessor :address
4219
- # Timestamp of departure.
4220
- attr_accessor :departs_at
4221
- # Identifier name or reference for the origin location.
4222
- attr_accessor :departure_location
4223
-
4224
- def initialize(address: nil, departs_at: nil, departure_location: nil)
4225
- @address = address
4226
- @departs_at = departs_at
4227
- @departure_location = departure_location
4228
- end
4229
- end
4230
-
4231
- class Insurance < ::Stripe::RequestParams
4232
- # Insurance currency.
4233
- attr_accessor :currency
4234
- # Name of the company providing the insurance.
4235
- attr_accessor :insurance_company_name
4236
- # Type of insurance.
4237
- attr_accessor :insurance_type
4238
- # Price of insurance in cents.
4239
- attr_accessor :price
4240
-
4241
- def initialize(
4242
- currency: nil,
4243
- insurance_company_name: nil,
4244
- insurance_type: nil,
4245
- price: nil
4246
- )
4247
- @currency = currency
4248
- @insurance_company_name = insurance_company_name
4249
- @insurance_type = insurance_type
4250
- @price = price
4251
- end
4252
- end
4253
-
4254
- class Passenger < ::Stripe::RequestParams
4255
- # The family name of the person.
4256
- attr_accessor :family_name
4257
- # The given name of the person.
4258
- attr_accessor :given_name
4259
-
4260
- def initialize(family_name: nil, given_name: nil)
4261
- @family_name = family_name
4262
- @given_name = given_name
4263
- end
4264
- end
4265
- # Name of associated or partner company for the service.
4266
- attr_accessor :affiliate_name
4267
- # Arrival details.
4268
- attr_accessor :arrival
4269
- # Name of transportation company.
4270
- attr_accessor :carrier_name
4271
- # Currency.
4272
- attr_accessor :currency
4273
- # Departure details.
4274
- attr_accessor :departure
4275
- # List of insurances for this reservation.
4276
- attr_accessor :insurances
4277
- # List of passengers that this reservation applies to.
4278
- attr_accessor :passengers
4279
- # Price in cents.
4280
- attr_accessor :price
4281
- # Ticket class.
4282
- attr_accessor :ticket_class
4283
-
4284
- def initialize(
4285
- affiliate_name: nil,
4286
- arrival: nil,
4287
- carrier_name: nil,
4288
- currency: nil,
4289
- departure: nil,
4290
- insurances: nil,
4291
- passengers: nil,
4292
- price: nil,
4293
- ticket_class: nil
4294
- )
4295
- @affiliate_name = affiliate_name
4296
- @arrival = arrival
4297
- @carrier_name = carrier_name
4298
- @currency = currency
4299
- @departure = departure
4300
- @insurances = insurances
4301
- @passengers = passengers
4302
- @price = price
4303
- @ticket_class = ticket_class
4304
- end
4305
- end
4306
-
4307
- class Voucher < ::Stripe::RequestParams
4308
- # Name of associated or partner company for this voucher.
4309
- attr_accessor :affiliate_name
4310
- # The voucher validity end time.
4311
- attr_accessor :ends_at
4312
- # The voucher validity start time.
4313
- attr_accessor :starts_at
4314
- # The issuer or provider of this voucher.
4315
- attr_accessor :voucher_company
4316
- # The name or reference to identify the voucher.
4317
- attr_accessor :voucher_name
4318
- # The type of this voucher.
4319
- attr_accessor :voucher_type
4320
-
4321
- def initialize(
4322
- affiliate_name: nil,
4323
- ends_at: nil,
4324
- starts_at: nil,
4325
- voucher_company: nil,
4326
- voucher_name: nil,
4327
- voucher_type: nil
4328
- )
4329
- @affiliate_name = affiliate_name
4330
- @ends_at = ends_at
4331
- @starts_at = starts_at
4332
- @voucher_company = voucher_company
4333
- @voucher_name = voucher_name
4334
- @voucher_type = voucher_type
4335
- end
4336
- end
4337
- # Supplementary bus reservation details.
4338
- attr_accessor :bus_reservation_details
4339
- # Supplementary event reservation details.
4340
- attr_accessor :event_reservation_details
4341
- # Supplementary ferry reservation details.
4342
- attr_accessor :ferry_reservation_details
4343
- # Supplementary insurance details.
4344
- attr_accessor :insurances
4345
- # Supplementary marketplace seller details.
4346
- attr_accessor :marketplace_sellers
4347
- # Supplementary round trip reservation details.
4348
- attr_accessor :round_trip_reservation_details
4349
- # Supplementary train reservation details.
4350
- attr_accessor :train_reservation_details
4351
- # Voucher details, such as a gift card or discount code.
4352
- attr_accessor :vouchers
4353
-
4354
- def initialize(
4355
- bus_reservation_details: nil,
4356
- event_reservation_details: nil,
4357
- ferry_reservation_details: nil,
4358
- insurances: nil,
4359
- marketplace_sellers: nil,
4360
- round_trip_reservation_details: nil,
4361
- train_reservation_details: nil,
4362
- vouchers: nil
4363
- )
4364
- @bus_reservation_details = bus_reservation_details
4365
- @event_reservation_details = event_reservation_details
4366
- @ferry_reservation_details = ferry_reservation_details
4367
- @insurances = insurances
4368
- @marketplace_sellers = marketplace_sellers
4369
- @round_trip_reservation_details = round_trip_reservation_details
4370
- @train_reservation_details = train_reservation_details
4371
- @vouchers = vouchers
4372
- end
4373
- end
4374
1596
  # Controls when the funds are captured from the customer's account.
4375
1597
  #
4376
1598
  # 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.
@@ -4393,23 +1615,19 @@ module Stripe
4393
1615
  attr_accessor :setup_future_usage
4394
1616
  # Subscription details if setting up or charging a subscription.
4395
1617
  attr_accessor :subscriptions
4396
- # Supplementary Purchase Data for the corresponding Klarna payment
4397
- attr_accessor :supplementary_purchase_data
4398
1618
 
4399
1619
  def initialize(
4400
1620
  capture_method: nil,
4401
1621
  on_demand: nil,
4402
1622
  preferred_locale: nil,
4403
1623
  setup_future_usage: nil,
4404
- subscriptions: nil,
4405
- supplementary_purchase_data: nil
1624
+ subscriptions: nil
4406
1625
  )
4407
1626
  @capture_method = capture_method
4408
1627
  @on_demand = on_demand
4409
1628
  @preferred_locale = preferred_locale
4410
1629
  @setup_future_usage = setup_future_usage
4411
1630
  @subscriptions = subscriptions
4412
- @supplementary_purchase_data = supplementary_purchase_data
4413
1631
  end
4414
1632
  end
4415
1633
 
@@ -4670,65 +1888,12 @@ module Stripe
4670
1888
  end
4671
1889
 
4672
1890
  class Paypal < ::Stripe::RequestParams
4673
- class LineItem < ::Stripe::RequestParams
4674
- class Tax < ::Stripe::RequestParams
4675
- # The tax for a single unit of the line item in minor units. Cannot be a negative number.
4676
- attr_accessor :amount
4677
- # The tax behavior for the line item.
4678
- attr_accessor :behavior
4679
-
4680
- def initialize(amount: nil, behavior: nil)
4681
- @amount = amount
4682
- @behavior = behavior
4683
- end
4684
- end
4685
- # Type of the line item.
4686
- attr_accessor :category
4687
- # Description of the line item.
4688
- attr_accessor :description
4689
- # Descriptive name of the line item.
4690
- attr_accessor :name
4691
- # Quantity of the line item. Must be a positive number.
4692
- attr_accessor :quantity
4693
- # Client facing stock keeping unit, article number or similar.
4694
- attr_accessor :sku
4695
- # The Stripe account ID of the connected account that sells the item.
4696
- attr_accessor :sold_by
4697
- # The tax information for the line item.
4698
- attr_accessor :tax
4699
- # Price for a single unit of the line item in minor units. Cannot be a negative number.
4700
- attr_accessor :unit_amount
4701
-
4702
- def initialize(
4703
- category: nil,
4704
- description: nil,
4705
- name: nil,
4706
- quantity: nil,
4707
- sku: nil,
4708
- sold_by: nil,
4709
- tax: nil,
4710
- unit_amount: nil
4711
- )
4712
- @category = category
4713
- @description = description
4714
- @name = name
4715
- @quantity = quantity
4716
- @sku = sku
4717
- @sold_by = sold_by
4718
- @tax = tax
4719
- @unit_amount = unit_amount
4720
- end
4721
- end
4722
1891
  # Controls when the funds will be captured from the customer's account.
4723
1892
  attr_accessor :capture_method
4724
- # The line items purchased by the customer.
4725
- attr_accessor :line_items
4726
1893
  # [Preferred locale](https://docs.stripe.com/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
4727
1894
  attr_accessor :preferred_locale
4728
1895
  # 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.
4729
1896
  attr_accessor :reference
4730
- # 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.
4731
- attr_accessor :reference_id
4732
1897
  # The risk correlation ID for an on-session payment using a saved PayPal payment method.
4733
1898
  attr_accessor :risk_correlation_id
4734
1899
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -4741,40 +1906,19 @@ module Stripe
4741
1906
  #
4742
1907
  # 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`.
4743
1908
  attr_accessor :setup_future_usage
4744
- # 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.
4745
- attr_accessor :subsellers
4746
1909
 
4747
1910
  def initialize(
4748
1911
  capture_method: nil,
4749
- line_items: nil,
4750
1912
  preferred_locale: nil,
4751
1913
  reference: nil,
4752
- reference_id: nil,
4753
1914
  risk_correlation_id: nil,
4754
- setup_future_usage: nil,
4755
- subsellers: nil
1915
+ setup_future_usage: nil
4756
1916
  )
4757
1917
  @capture_method = capture_method
4758
- @line_items = line_items
4759
1918
  @preferred_locale = preferred_locale
4760
1919
  @reference = reference
4761
- @reference_id = reference_id
4762
1920
  @risk_correlation_id = risk_correlation_id
4763
1921
  @setup_future_usage = setup_future_usage
4764
- @subsellers = subsellers
4765
- end
4766
- end
4767
-
4768
- class Paypay < ::Stripe::RequestParams
4769
- # Controls when the funds are captured from the customer's account.
4770
- #
4771
- # 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.
4772
- #
4773
- # 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.
4774
- attr_accessor :capture_method
4775
-
4776
- def initialize(capture_method: nil)
4777
- @capture_method = capture_method
4778
1922
  end
4779
1923
  end
4780
1924
 
@@ -4829,52 +1973,12 @@ module Stripe
4829
1973
  end
4830
1974
 
4831
1975
  class Pix < ::Stripe::RequestParams
4832
- class MandateOptions < ::Stripe::RequestParams
4833
- # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
4834
- attr_accessor :amount
4835
- # Determines if the amount includes the IOF tax. Defaults to `never`.
4836
- attr_accessor :amount_includes_iof
4837
- # Type of amount. Defaults to `maximum`.
4838
- attr_accessor :amount_type
4839
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
4840
- attr_accessor :currency
4841
- # 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.
4842
- attr_accessor :end_date
4843
- # Schedule at which the future payments will be charged. Defaults to `weekly`.
4844
- attr_accessor :payment_schedule
4845
- # Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
4846
- attr_accessor :reference
4847
- # 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.
4848
- attr_accessor :start_date
4849
-
4850
- def initialize(
4851
- amount: nil,
4852
- amount_includes_iof: nil,
4853
- amount_type: nil,
4854
- currency: nil,
4855
- end_date: nil,
4856
- payment_schedule: nil,
4857
- reference: nil,
4858
- start_date: nil
4859
- )
4860
- @amount = amount
4861
- @amount_includes_iof = amount_includes_iof
4862
- @amount_type = amount_type
4863
- @currency = currency
4864
- @end_date = end_date
4865
- @payment_schedule = payment_schedule
4866
- @reference = reference
4867
- @start_date = start_date
4868
- end
4869
- end
4870
1976
  # Determines if the amount includes the IOF tax. Defaults to `never`.
4871
1977
  attr_accessor :amount_includes_iof
4872
1978
  # The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
4873
1979
  attr_accessor :expires_after_seconds
4874
1980
  # The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
4875
1981
  attr_accessor :expires_at
4876
- # Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
4877
- attr_accessor :mandate_options
4878
1982
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
4879
1983
  #
4880
1984
  # 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.
@@ -4890,13 +1994,11 @@ module Stripe
4890
1994
  amount_includes_iof: nil,
4891
1995
  expires_after_seconds: nil,
4892
1996
  expires_at: nil,
4893
- mandate_options: nil,
4894
1997
  setup_future_usage: nil
4895
1998
  )
4896
1999
  @amount_includes_iof = amount_includes_iof
4897
2000
  @expires_after_seconds = expires_after_seconds
4898
2001
  @expires_at = expires_at
4899
- @mandate_options = mandate_options
4900
2002
  @setup_future_usage = setup_future_usage
4901
2003
  end
4902
2004
  end
@@ -4918,25 +2020,6 @@ module Stripe
4918
2020
  end
4919
2021
  end
4920
2022
 
4921
- class Qris < ::Stripe::RequestParams
4922
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
4923
- #
4924
- # 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.
4925
- #
4926
- # 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.
4927
- #
4928
- # 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).
4929
- #
4930
- # 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`.
4931
- attr_accessor :setup_future_usage
4932
-
4933
- def initialize(setup_future_usage: nil)
4934
- @setup_future_usage = setup_future_usage
4935
- end
4936
- end
4937
-
4938
- class Rechnung < ::Stripe::RequestParams; end
4939
-
4940
2023
  class RevolutPay < ::Stripe::RequestParams
4941
2024
  # Controls when the funds are captured from the customer's account.
4942
2025
  #
@@ -5016,23 +2099,6 @@ module Stripe
5016
2099
  end
5017
2100
  end
5018
2101
 
5019
- class Shopeepay < ::Stripe::RequestParams
5020
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
5021
- #
5022
- # 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.
5023
- #
5024
- # 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.
5025
- #
5026
- # 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).
5027
- #
5028
- # 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`.
5029
- attr_accessor :setup_future_usage
5030
-
5031
- def initialize(setup_future_usage: nil)
5032
- @setup_future_usage = setup_future_usage
5033
- end
5034
- end
5035
-
5036
2102
  class Sofort < ::Stripe::RequestParams
5037
2103
  # Language shown to the payer on redirect.
5038
2104
  attr_accessor :preferred_language
@@ -5053,23 +2119,6 @@ module Stripe
5053
2119
  end
5054
2120
  end
5055
2121
 
5056
- class StripeBalance < ::Stripe::RequestParams
5057
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
5058
- #
5059
- # 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.
5060
- #
5061
- # 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.
5062
- #
5063
- # 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).
5064
- #
5065
- # 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`.
5066
- attr_accessor :setup_future_usage
5067
-
5068
- def initialize(setup_future_usage: nil)
5069
- @setup_future_usage = setup_future_usage
5070
- end
5071
- end
5072
-
5073
2122
  class Swish < ::Stripe::RequestParams
5074
2123
  # A reference for this payment to be displayed in the Swish app.
5075
2124
  attr_accessor :reference
@@ -5112,27 +2161,13 @@ module Stripe
5112
2161
  class Filters < ::Stripe::RequestParams
5113
2162
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
5114
2163
  attr_accessor :account_subcategories
5115
- # ID of the institution to use to filter for selectable accounts.
5116
- attr_accessor :institution
5117
2164
 
5118
- def initialize(account_subcategories: nil, institution: nil)
2165
+ def initialize(account_subcategories: nil)
5119
2166
  @account_subcategories = account_subcategories
5120
- @institution = institution
5121
- end
5122
- end
5123
-
5124
- class ManualEntry < ::Stripe::RequestParams
5125
- # Settings for configuring manual entry of account details.
5126
- attr_accessor :mode
5127
-
5128
- def initialize(mode: nil)
5129
- @mode = mode
5130
2167
  end
5131
2168
  end
5132
2169
  # Provide filters for the linked accounts that the customer can select for the payment method.
5133
2170
  attr_accessor :filters
5134
- # Customize manual entry behavior
5135
- attr_accessor :manual_entry
5136
2171
  # 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`.
5137
2172
  attr_accessor :permissions
5138
2173
  # List of data features that you would like to retrieve upon account creation.
@@ -5140,15 +2175,8 @@ module Stripe
5140
2175
  # 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.
5141
2176
  attr_accessor :return_url
5142
2177
 
5143
- def initialize(
5144
- filters: nil,
5145
- manual_entry: nil,
5146
- permissions: nil,
5147
- prefetch: nil,
5148
- return_url: nil
5149
- )
2178
+ def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
5150
2179
  @filters = filters
5151
- @manual_entry = manual_entry
5152
2180
  @permissions = permissions
5153
2181
  @prefetch = prefetch
5154
2182
  @return_url = return_url
@@ -5178,8 +2206,6 @@ module Stripe
5178
2206
  attr_accessor :mandate_options
5179
2207
  # Additional fields for network related functions
5180
2208
  attr_accessor :networks
5181
- # Preferred transaction settlement speed
5182
- attr_accessor :preferred_settlement_speed
5183
2209
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
5184
2210
  #
5185
2211
  # 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.
@@ -5194,23 +2220,25 @@ module Stripe
5194
2220
  attr_accessor :target_date
5195
2221
  # Bank account verification method.
5196
2222
  attr_accessor :verification_method
2223
+ # Preferred transaction settlement speed
2224
+ attr_accessor :preferred_settlement_speed
5197
2225
 
5198
2226
  def initialize(
5199
2227
  financial_connections: nil,
5200
2228
  mandate_options: nil,
5201
2229
  networks: nil,
5202
- preferred_settlement_speed: nil,
5203
2230
  setup_future_usage: nil,
5204
2231
  target_date: nil,
5205
- verification_method: nil
2232
+ verification_method: nil,
2233
+ preferred_settlement_speed: nil
5206
2234
  )
5207
2235
  @financial_connections = financial_connections
5208
2236
  @mandate_options = mandate_options
5209
2237
  @networks = networks
5210
- @preferred_settlement_speed = preferred_settlement_speed
5211
2238
  @setup_future_usage = setup_future_usage
5212
2239
  @target_date = target_date
5213
2240
  @verification_method = verification_method
2241
+ @preferred_settlement_speed = preferred_settlement_speed
5214
2242
  end
5215
2243
  end
5216
2244
 
@@ -5293,12 +2321,8 @@ module Stripe
5293
2321
  attr_accessor :fpx
5294
2322
  # If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
5295
2323
  attr_accessor :giropay
5296
- # If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
5297
- attr_accessor :gopay
5298
2324
  # If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
5299
2325
  attr_accessor :grabpay
5300
- # If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
5301
- attr_accessor :id_bank_transfer
5302
2326
  # If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
5303
2327
  attr_accessor :ideal
5304
2328
  # If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
@@ -5335,18 +2359,12 @@ module Stripe
5335
2359
  attr_accessor :paynow
5336
2360
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
5337
2361
  attr_accessor :paypal
5338
- # If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
5339
- attr_accessor :paypay
5340
2362
  # If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
5341
2363
  attr_accessor :payto
5342
2364
  # If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
5343
2365
  attr_accessor :pix
5344
2366
  # If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
5345
2367
  attr_accessor :promptpay
5346
- # If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
5347
- attr_accessor :qris
5348
- # If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
5349
- attr_accessor :rechnung
5350
2368
  # If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
5351
2369
  attr_accessor :revolut_pay
5352
2370
  # If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
@@ -5355,12 +2373,8 @@ module Stripe
5355
2373
  attr_accessor :satispay
5356
2374
  # If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
5357
2375
  attr_accessor :sepa_debit
5358
- # If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
5359
- attr_accessor :shopeepay
5360
2376
  # If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
5361
2377
  attr_accessor :sofort
5362
- # If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
5363
- attr_accessor :stripe_balance
5364
2378
  # If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
5365
2379
  attr_accessor :swish
5366
2380
  # If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
@@ -5393,9 +2407,7 @@ module Stripe
5393
2407
  eps: nil,
5394
2408
  fpx: nil,
5395
2409
  giropay: nil,
5396
- gopay: nil,
5397
2410
  grabpay: nil,
5398
- id_bank_transfer: nil,
5399
2411
  ideal: nil,
5400
2412
  interac_present: nil,
5401
2413
  kakao_pay: nil,
@@ -5414,19 +2426,14 @@ module Stripe
5414
2426
  payco: nil,
5415
2427
  paynow: nil,
5416
2428
  paypal: nil,
5417
- paypay: nil,
5418
2429
  payto: nil,
5419
2430
  pix: nil,
5420
2431
  promptpay: nil,
5421
- qris: nil,
5422
- rechnung: nil,
5423
2432
  revolut_pay: nil,
5424
2433
  samsung_pay: nil,
5425
2434
  satispay: nil,
5426
2435
  sepa_debit: nil,
5427
- shopeepay: nil,
5428
2436
  sofort: nil,
5429
- stripe_balance: nil,
5430
2437
  swish: nil,
5431
2438
  twint: nil,
5432
2439
  us_bank_account: nil,
@@ -5453,9 +2460,7 @@ module Stripe
5453
2460
  @eps = eps
5454
2461
  @fpx = fpx
5455
2462
  @giropay = giropay
5456
- @gopay = gopay
5457
2463
  @grabpay = grabpay
5458
- @id_bank_transfer = id_bank_transfer
5459
2464
  @ideal = ideal
5460
2465
  @interac_present = interac_present
5461
2466
  @kakao_pay = kakao_pay
@@ -5474,19 +2479,14 @@ module Stripe
5474
2479
  @payco = payco
5475
2480
  @paynow = paynow
5476
2481
  @paypal = paypal
5477
- @paypay = paypay
5478
2482
  @payto = payto
5479
2483
  @pix = pix
5480
2484
  @promptpay = promptpay
5481
- @qris = qris
5482
- @rechnung = rechnung
5483
2485
  @revolut_pay = revolut_pay
5484
2486
  @samsung_pay = samsung_pay
5485
2487
  @satispay = satispay
5486
2488
  @sepa_debit = sepa_debit
5487
- @shopeepay = shopeepay
5488
2489
  @sofort = sofort
5489
- @stripe_balance = stripe_balance
5490
2490
  @swish = swish
5491
2491
  @twint = twint
5492
2492
  @us_bank_account = us_bank_account
@@ -5554,8 +2554,6 @@ module Stripe
5554
2554
  @amount = amount
5555
2555
  end
5556
2556
  end
5557
- # Allocated Funds configuration for this PaymentIntent.
5558
- attr_accessor :allocated_funds
5559
2557
  # Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
5560
2558
  attr_accessor :amount
5561
2559
  # Provides industry-specific information about the amount.
@@ -5584,17 +2582,13 @@ module Stripe
5584
2582
  attr_accessor :excluded_payment_method_types
5585
2583
  # Specifies which fields in the response should be expanded.
5586
2584
  attr_accessor :expand
5587
- # The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
5588
- attr_accessor :fx_quote
5589
2585
  # Automations to be run during the PaymentIntent lifecycle
5590
2586
  attr_accessor :hooks
5591
- # This hash contains details about the Mandate to create.
5592
- attr_accessor :mandate_data
5593
2587
  # Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
5594
2588
  attr_accessor :metadata
5595
2589
  # Provides industry-specific information about the charge.
5596
2590
  attr_accessor :payment_details
5597
- # Attribute for param field payment_method
2591
+ # ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://docs.stripe.com/payments/payment-methods/transitioning#compatibility) object) to attach to this PaymentIntent. To unset this field to null, pass in an empty string.
5598
2592
  attr_accessor :payment_method
5599
2593
  # The ID of the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) to use with this PaymentIntent.
5600
2594
  attr_accessor :payment_method_configuration
@@ -5632,7 +2626,6 @@ module Stripe
5632
2626
  attr_accessor :transfer_group
5633
2627
 
5634
2628
  def initialize(
5635
- allocated_funds: nil,
5636
2629
  amount: nil,
5637
2630
  amount_details: nil,
5638
2631
  application_fee_amount: nil,
@@ -5643,9 +2636,7 @@ module Stripe
5643
2636
  description: nil,
5644
2637
  excluded_payment_method_types: nil,
5645
2638
  expand: nil,
5646
- fx_quote: nil,
5647
2639
  hooks: nil,
5648
- mandate_data: nil,
5649
2640
  metadata: nil,
5650
2641
  payment_details: nil,
5651
2642
  payment_method: nil,
@@ -5661,7 +2652,6 @@ module Stripe
5661
2652
  transfer_data: nil,
5662
2653
  transfer_group: nil
5663
2654
  )
5664
- @allocated_funds = allocated_funds
5665
2655
  @amount = amount
5666
2656
  @amount_details = amount_details
5667
2657
  @application_fee_amount = application_fee_amount
@@ -5672,9 +2662,7 @@ module Stripe
5672
2662
  @description = description
5673
2663
  @excluded_payment_method_types = excluded_payment_method_types
5674
2664
  @expand = expand
5675
- @fx_quote = fx_quote
5676
2665
  @hooks = hooks
5677
- @mandate_data = mandate_data
5678
2666
  @metadata = metadata
5679
2667
  @payment_details = payment_details
5680
2668
  @payment_method = payment_method