stripe 16.1.0.pre.alpha.1 → 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (880) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +0 -34
  3. data/lib/stripe/api_version.rb +2 -1
  4. data/lib/stripe/errors.rb +0 -63
  5. data/lib/stripe/event_types.rb +0 -1032
  6. data/lib/stripe/object_types.rb +0 -79
  7. data/lib/stripe/params/account_create_params.rb +1 -300
  8. data/lib/stripe/params/account_session_create_params.rb +1 -226
  9. data/lib/stripe/params/account_update_params.rb +0 -262
  10. data/lib/stripe/params/billing/alert_create_params.rb +1 -121
  11. data/lib/stripe/params/billing/alert_list_params.rb +0 -4
  12. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +2 -17
  13. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +0 -4
  14. data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -33
  15. data/lib/stripe/params/billing/credit_grant_list_params.rb +0 -4
  16. data/lib/stripe/params/billing_portal/session_create_params.rb +0 -4
  17. data/lib/stripe/params/charge_capture_params.rb +0 -709
  18. data/lib/stripe/params/charge_update_params.rb +0 -709
  19. data/lib/stripe/params/checkout/session_create_params.rb +4 -273
  20. data/lib/stripe/params/checkout/session_list_params.rb +0 -4
  21. data/lib/stripe/params/checkout/session_update_params.rb +1 -288
  22. data/lib/stripe/params/confirmation_token_create_params.rb +0 -97
  23. data/lib/stripe/params/coupon_create_params.rb +1 -17
  24. data/lib/stripe/params/credit_note_create_params.rb +1 -18
  25. data/lib/stripe/params/credit_note_list_params.rb +0 -4
  26. data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +1 -18
  27. data/lib/stripe/params/credit_note_preview_lines_list_params.rb +1 -18
  28. data/lib/stripe/params/credit_note_preview_params.rb +1 -18
  29. data/lib/stripe/params/customer_session_create_params.rb +1 -4
  30. data/lib/stripe/params/dispute_update_params.rb +1 -10
  31. data/lib/stripe/params/financial_connections/account_list_params.rb +1 -4
  32. data/lib/stripe/params/financial_connections/session_create_params.rb +2 -34
  33. data/lib/stripe/params/identity/verification_session_create_params.rb +0 -4
  34. data/lib/stripe/params/identity/verification_session_list_params.rb +0 -4
  35. data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
  36. data/lib/stripe/params/invoice_attach_payment_params.rb +1 -46
  37. data/lib/stripe/params/invoice_create_params.rb +2 -112
  38. data/lib/stripe/params/invoice_create_preview_params.rb +9 -826
  39. data/lib/stripe/params/invoice_item_create_params.rb +1 -37
  40. data/lib/stripe/params/invoice_item_list_params.rb +0 -4
  41. data/lib/stripe/params/invoice_item_update_params.rb +1 -33
  42. data/lib/stripe/params/invoice_line_item_update_params.rb +1 -33
  43. data/lib/stripe/params/invoice_list_params.rb +0 -8
  44. data/lib/stripe/params/invoice_payment_list_params.rb +1 -4
  45. data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
  46. data/lib/stripe/params/invoice_update_params.rb +2 -108
  47. data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
  48. data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
  49. data/lib/stripe/params/payment_intent_capture_params.rb +0 -895
  50. data/lib/stripe/params/payment_intent_confirm_params.rb +18 -1384
  51. data/lib/stripe/params/payment_intent_create_params.rb +16 -1390
  52. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -223
  53. data/lib/stripe/params/payment_intent_list_params.rb +0 -4
  54. data/lib/stripe/params/payment_intent_update_params.rb +4 -1409
  55. data/lib/stripe/params/payment_method_attach_params.rb +1 -4
  56. data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -126
  57. data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -126
  58. data/lib/stripe/params/payment_method_create_params.rb +0 -97
  59. data/lib/stripe/params/payment_method_update_params.rb +0 -19
  60. data/lib/stripe/params/price_update_params.rb +0 -19
  61. data/lib/stripe/params/promotion_code_create_params.rb +0 -4
  62. data/lib/stripe/params/promotion_code_list_params.rb +0 -4
  63. data/lib/stripe/params/quote_create_params.rb +3 -805
  64. data/lib/stripe/params/quote_list_params.rb +0 -8
  65. data/lib/stripe/params/quote_update_params.rb +4 -813
  66. data/lib/stripe/params/setup_intent_confirm_params.rb +3 -225
  67. data/lib/stripe/params/setup_intent_create_params.rb +3 -231
  68. data/lib/stripe/params/setup_intent_list_params.rb +0 -4
  69. data/lib/stripe/params/setup_intent_update_params.rb +3 -231
  70. data/lib/stripe/params/subscription_create_params.rb +5 -259
  71. data/lib/stripe/params/subscription_item_create_params.rb +2 -46
  72. data/lib/stripe/params/subscription_item_update_params.rb +1 -29
  73. data/lib/stripe/params/subscription_list_params.rb +0 -4
  74. data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
  75. data/lib/stripe/params/subscription_schedule_list_params.rb +0 -4
  76. data/lib/stripe/params/subscription_schedule_update_params.rb +5 -163
  77. data/lib/stripe/params/subscription_update_params.rb +4 -238
  78. data/lib/stripe/params/tax_id_create_params.rb +1 -4
  79. data/lib/stripe/params/tax_id_list_params.rb +1 -4
  80. data/lib/stripe/params/terminal/configuration_create_params.rb +0 -13
  81. data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
  82. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -97
  83. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
  84. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
  85. data/lib/stripe/params/transfer_create_params.rb +0 -4
  86. data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
  87. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
  88. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
  89. data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
  90. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
  91. data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
  92. data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
  93. data/lib/stripe/params.rb +0 -240
  94. data/lib/stripe/resources/account.rb +1 -166
  95. data/lib/stripe/resources/account_session.rb +0 -81
  96. data/lib/stripe/resources/billing/alert.rb +1 -105
  97. data/lib/stripe/resources/billing/alert_triggered.rb +0 -6
  98. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -86
  99. data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -84
  100. data/lib/stripe/resources/billing/credit_grant.rb +2 -60
  101. data/lib/stripe/resources/billing_portal/session.rb +0 -2
  102. data/lib/stripe/resources/card.rb +0 -2
  103. data/lib/stripe/resources/cash_balance.rb +0 -2
  104. data/lib/stripe/resources/charge.rb +1 -234
  105. data/lib/stripe/resources/checkout/session.rb +4 -246
  106. data/lib/stripe/resources/confirmation_token.rb +0 -155
  107. data/lib/stripe/resources/coupon.rb +1 -26
  108. data/lib/stripe/resources/credit_note.rb +1 -21
  109. data/lib/stripe/resources/credit_note_line_item.rb +0 -18
  110. data/lib/stripe/resources/customer.rb +0 -2
  111. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  112. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  113. data/lib/stripe/resources/customer_session.rb +0 -2
  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 -27
  118. data/lib/stripe/resources/financial_connections/session.rb +1 -67
  119. data/lib/stripe/resources/identity/verification_session.rb +0 -2
  120. data/lib/stripe/resources/invoice.rb +1 -152
  121. data/lib/stripe/resources/invoice_item.rb +2 -94
  122. data/lib/stripe/resources/invoice_line_item.rb +1 -131
  123. data/lib/stripe/resources/invoice_payment.rb +0 -2
  124. data/lib/stripe/resources/issuing/transaction.rb +0 -2
  125. data/lib/stripe/resources/line_item.rb +1 -68
  126. data/lib/stripe/resources/mandate.rb +0 -71
  127. data/lib/stripe/resources/payment_intent.rb +4 -848
  128. data/lib/stripe/resources/payment_method.rb +0 -157
  129. data/lib/stripe/resources/payment_method_configuration.rb +0 -204
  130. data/lib/stripe/resources/price.rb +0 -20
  131. data/lib/stripe/resources/promotion_code.rb +0 -2
  132. data/lib/stripe/resources/quote.rb +2 -571
  133. data/lib/stripe/resources/refund.rb +0 -18
  134. data/lib/stripe/resources/setup_attempt.rb +0 -63
  135. data/lib/stripe/resources/setup_intent.rb +1 -132
  136. data/lib/stripe/resources/source.rb +0 -38
  137. data/lib/stripe/resources/subscription.rb +0 -232
  138. data/lib/stripe/resources/subscription_item.rb +1 -20
  139. data/lib/stripe/resources/subscription_schedule.rb +3 -198
  140. data/lib/stripe/resources/tax_id.rb +0 -4
  141. data/lib/stripe/resources/terminal/configuration.rb +0 -16
  142. data/lib/stripe/resources/terminal/reader.rb +0 -8
  143. data/lib/stripe/resources/transfer.rb +0 -2
  144. data/lib/stripe/resources/treasury/financial_account.rb +0 -2
  145. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  146. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
  147. data/lib/stripe/resources/treasury/received_credit.rb +0 -30
  148. data/lib/stripe/resources/treasury/received_debit.rb +0 -32
  149. data/lib/stripe/resources/v2/core/event.rb +0 -4
  150. data/lib/stripe/resources.rb +0 -384
  151. data/lib/stripe/services/billing_service.rb +1 -2
  152. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  153. data/lib/stripe/services/financial_connections_service.rb +1 -2
  154. data/lib/stripe/services/issuing_service.rb +1 -5
  155. data/lib/stripe/services/mandate_service.rb +0 -5
  156. data/lib/stripe/services/payment_intent_service.rb +0 -44
  157. data/lib/stripe/services/quote_service.rb +1 -49
  158. data/lib/stripe/services/subscription_schedule_service.rb +0 -11
  159. data/lib/stripe/services/subscription_service.rb +0 -11
  160. data/lib/stripe/services/tax_service.rb +1 -3
  161. data/lib/stripe/services/terminal_service.rb +1 -3
  162. data/lib/stripe/services/v1_services.rb +1 -10
  163. data/lib/stripe/services/v2/billing_service.rb +1 -18
  164. data/lib/stripe/services/v2/core_service.rb +1 -5
  165. data/lib/stripe/services/v2_services.rb +1 -5
  166. data/lib/stripe/services.rb +0 -83
  167. data/lib/stripe/stripe_configuration.rb +1 -3
  168. data/lib/stripe/stripe_object.rb +7 -1
  169. data/lib/stripe/util.rb +1 -7
  170. data/lib/stripe/version.rb +1 -1
  171. data/lib/stripe.rb +0 -53
  172. data/rbi/stripe.rbi +98295 -169826
  173. metadata +4 -711
  174. data/lib/stripe/events/v1_account_updated_event.rb +0 -44
  175. data/lib/stripe/events/v1_application_fee_created_event.rb +0 -44
  176. data/lib/stripe/events/v1_application_fee_refunded_event.rb +0 -44
  177. data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +0 -44
  178. data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +0 -44
  179. data/lib/stripe/events/v1_capability_updated_event.rb +0 -44
  180. data/lib/stripe/events/v1_charge_captured_event.rb +0 -44
  181. data/lib/stripe/events/v1_charge_dispute_closed_event.rb +0 -44
  182. data/lib/stripe/events/v1_charge_dispute_created_event.rb +0 -44
  183. data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +0 -44
  184. data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +0 -44
  185. data/lib/stripe/events/v1_charge_dispute_updated_event.rb +0 -44
  186. data/lib/stripe/events/v1_charge_expired_event.rb +0 -44
  187. data/lib/stripe/events/v1_charge_failed_event.rb +0 -44
  188. data/lib/stripe/events/v1_charge_pending_event.rb +0 -44
  189. data/lib/stripe/events/v1_charge_refund_updated_event.rb +0 -44
  190. data/lib/stripe/events/v1_charge_refunded_event.rb +0 -44
  191. data/lib/stripe/events/v1_charge_succeeded_event.rb +0 -44
  192. data/lib/stripe/events/v1_charge_updated_event.rb +0 -44
  193. data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +0 -44
  194. data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +0 -44
  195. data/lib/stripe/events/v1_checkout_session_completed_event.rb +0 -44
  196. data/lib/stripe/events/v1_checkout_session_expired_event.rb +0 -44
  197. data/lib/stripe/events/v1_climate_order_canceled_event.rb +0 -44
  198. data/lib/stripe/events/v1_climate_order_created_event.rb +0 -44
  199. data/lib/stripe/events/v1_climate_order_delayed_event.rb +0 -44
  200. data/lib/stripe/events/v1_climate_order_delivered_event.rb +0 -44
  201. data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +0 -44
  202. data/lib/stripe/events/v1_climate_product_created_event.rb +0 -44
  203. data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +0 -44
  204. data/lib/stripe/events/v1_coupon_created_event.rb +0 -44
  205. data/lib/stripe/events/v1_coupon_deleted_event.rb +0 -44
  206. data/lib/stripe/events/v1_coupon_updated_event.rb +0 -44
  207. data/lib/stripe/events/v1_credit_note_created_event.rb +0 -44
  208. data/lib/stripe/events/v1_credit_note_updated_event.rb +0 -44
  209. data/lib/stripe/events/v1_credit_note_voided_event.rb +0 -44
  210. data/lib/stripe/events/v1_customer_created_event.rb +0 -44
  211. data/lib/stripe/events/v1_customer_deleted_event.rb +0 -44
  212. data/lib/stripe/events/v1_customer_subscription_created_event.rb +0 -44
  213. data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +0 -44
  214. data/lib/stripe/events/v1_customer_subscription_paused_event.rb +0 -44
  215. data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +0 -44
  216. data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +0 -44
  217. data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +0 -44
  218. data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +0 -44
  219. data/lib/stripe/events/v1_customer_subscription_updated_event.rb +0 -44
  220. data/lib/stripe/events/v1_customer_tax_id_created_event.rb +0 -44
  221. data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +0 -44
  222. data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +0 -44
  223. data/lib/stripe/events/v1_customer_updated_event.rb +0 -44
  224. data/lib/stripe/events/v1_file_created_event.rb +0 -44
  225. data/lib/stripe/events/v1_financial_connections_account_created_event.rb +0 -44
  226. data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +0 -44
  227. data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +0 -44
  228. data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +0 -44
  229. data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +0 -44
  230. data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +0 -44
  231. data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +0 -44
  232. data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +0 -44
  233. data/lib/stripe/events/v1_identity_verification_session_created_event.rb +0 -44
  234. data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +0 -44
  235. data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +0 -44
  236. data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +0 -44
  237. data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +0 -44
  238. data/lib/stripe/events/v1_invoice_created_event.rb +0 -44
  239. data/lib/stripe/events/v1_invoice_deleted_event.rb +0 -44
  240. data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +0 -44
  241. data/lib/stripe/events/v1_invoice_finalized_event.rb +0 -44
  242. data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +0 -44
  243. data/lib/stripe/events/v1_invoice_overdue_event.rb +0 -44
  244. data/lib/stripe/events/v1_invoice_overpaid_event.rb +0 -44
  245. data/lib/stripe/events/v1_invoice_paid_event.rb +0 -44
  246. data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +0 -44
  247. data/lib/stripe/events/v1_invoice_payment_failed_event.rb +0 -44
  248. data/lib/stripe/events/v1_invoice_payment_paid_event.rb +0 -44
  249. data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +0 -44
  250. data/lib/stripe/events/v1_invoice_sent_event.rb +0 -44
  251. data/lib/stripe/events/v1_invoice_upcoming_event.rb +0 -44
  252. data/lib/stripe/events/v1_invoice_updated_event.rb +0 -44
  253. data/lib/stripe/events/v1_invoice_voided_event.rb +0 -44
  254. data/lib/stripe/events/v1_invoice_will_be_due_event.rb +0 -44
  255. data/lib/stripe/events/v1_invoiceitem_created_event.rb +0 -44
  256. data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +0 -44
  257. data/lib/stripe/events/v1_issuing_authorization_created_event.rb +0 -44
  258. data/lib/stripe/events/v1_issuing_authorization_request_event.rb +0 -44
  259. data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +0 -44
  260. data/lib/stripe/events/v1_issuing_card_created_event.rb +0 -44
  261. data/lib/stripe/events/v1_issuing_card_updated_event.rb +0 -44
  262. data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +0 -44
  263. data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +0 -44
  264. data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +0 -44
  265. data/lib/stripe/events/v1_issuing_dispute_created_event.rb +0 -44
  266. data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +0 -44
  267. data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +0 -44
  268. data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +0 -44
  269. data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +0 -44
  270. data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +0 -44
  271. data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +0 -44
  272. data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +0 -44
  273. data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +0 -44
  274. data/lib/stripe/events/v1_issuing_token_created_event.rb +0 -44
  275. data/lib/stripe/events/v1_issuing_token_updated_event.rb +0 -44
  276. data/lib/stripe/events/v1_issuing_transaction_created_event.rb +0 -44
  277. data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +0 -44
  278. data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +0 -44
  279. data/lib/stripe/events/v1_mandate_updated_event.rb +0 -44
  280. data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +0 -44
  281. data/lib/stripe/events/v1_payment_intent_canceled_event.rb +0 -44
  282. data/lib/stripe/events/v1_payment_intent_created_event.rb +0 -44
  283. data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +0 -44
  284. data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +0 -44
  285. data/lib/stripe/events/v1_payment_intent_processing_event.rb +0 -44
  286. data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +0 -44
  287. data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +0 -44
  288. data/lib/stripe/events/v1_payment_link_created_event.rb +0 -44
  289. data/lib/stripe/events/v1_payment_link_updated_event.rb +0 -44
  290. data/lib/stripe/events/v1_payment_method_attached_event.rb +0 -44
  291. data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +0 -44
  292. data/lib/stripe/events/v1_payment_method_detached_event.rb +0 -44
  293. data/lib/stripe/events/v1_payment_method_updated_event.rb +0 -44
  294. data/lib/stripe/events/v1_payout_canceled_event.rb +0 -44
  295. data/lib/stripe/events/v1_payout_created_event.rb +0 -44
  296. data/lib/stripe/events/v1_payout_failed_event.rb +0 -44
  297. data/lib/stripe/events/v1_payout_paid_event.rb +0 -44
  298. data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +0 -44
  299. data/lib/stripe/events/v1_payout_updated_event.rb +0 -44
  300. data/lib/stripe/events/v1_person_created_event.rb +0 -44
  301. data/lib/stripe/events/v1_person_deleted_event.rb +0 -44
  302. data/lib/stripe/events/v1_person_updated_event.rb +0 -44
  303. data/lib/stripe/events/v1_plan_created_event.rb +0 -44
  304. data/lib/stripe/events/v1_plan_deleted_event.rb +0 -44
  305. data/lib/stripe/events/v1_plan_updated_event.rb +0 -44
  306. data/lib/stripe/events/v1_price_created_event.rb +0 -44
  307. data/lib/stripe/events/v1_price_deleted_event.rb +0 -44
  308. data/lib/stripe/events/v1_price_updated_event.rb +0 -44
  309. data/lib/stripe/events/v1_product_created_event.rb +0 -44
  310. data/lib/stripe/events/v1_product_deleted_event.rb +0 -44
  311. data/lib/stripe/events/v1_product_updated_event.rb +0 -44
  312. data/lib/stripe/events/v1_promotion_code_created_event.rb +0 -44
  313. data/lib/stripe/events/v1_promotion_code_updated_event.rb +0 -44
  314. data/lib/stripe/events/v1_quote_accepted_event.rb +0 -44
  315. data/lib/stripe/events/v1_quote_canceled_event.rb +0 -44
  316. data/lib/stripe/events/v1_quote_created_event.rb +0 -44
  317. data/lib/stripe/events/v1_quote_finalized_event.rb +0 -44
  318. data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +0 -44
  319. data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +0 -44
  320. data/lib/stripe/events/v1_refund_created_event.rb +0 -44
  321. data/lib/stripe/events/v1_refund_failed_event.rb +0 -44
  322. data/lib/stripe/events/v1_refund_updated_event.rb +0 -44
  323. data/lib/stripe/events/v1_review_closed_event.rb +0 -44
  324. data/lib/stripe/events/v1_review_opened_event.rb +0 -44
  325. data/lib/stripe/events/v1_setup_intent_canceled_event.rb +0 -44
  326. data/lib/stripe/events/v1_setup_intent_created_event.rb +0 -44
  327. data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +0 -44
  328. data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +0 -44
  329. data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +0 -44
  330. data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +0 -44
  331. data/lib/stripe/events/v1_source_canceled_event.rb +0 -44
  332. data/lib/stripe/events/v1_source_chargeable_event.rb +0 -44
  333. data/lib/stripe/events/v1_source_failed_event.rb +0 -44
  334. data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +0 -44
  335. data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +0 -44
  336. data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +0 -44
  337. data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +0 -44
  338. data/lib/stripe/events/v1_subscription_schedule_created_event.rb +0 -44
  339. data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +0 -44
  340. data/lib/stripe/events/v1_subscription_schedule_released_event.rb +0 -44
  341. data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +0 -44
  342. data/lib/stripe/events/v1_tax_rate_created_event.rb +0 -44
  343. data/lib/stripe/events/v1_tax_rate_updated_event.rb +0 -44
  344. data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +0 -44
  345. data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +0 -44
  346. data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +0 -44
  347. data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +0 -44
  348. data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +0 -44
  349. data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +0 -44
  350. data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +0 -44
  351. data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +0 -44
  352. data/lib/stripe/events/v1_topup_canceled_event.rb +0 -44
  353. data/lib/stripe/events/v1_topup_created_event.rb +0 -44
  354. data/lib/stripe/events/v1_topup_failed_event.rb +0 -44
  355. data/lib/stripe/events/v1_topup_reversed_event.rb +0 -44
  356. data/lib/stripe/events/v1_topup_succeeded_event.rb +0 -44
  357. data/lib/stripe/events/v1_transfer_created_event.rb +0 -44
  358. data/lib/stripe/events/v1_transfer_reversed_event.rb +0 -44
  359. data/lib/stripe/events/v1_transfer_updated_event.rb +0 -44
  360. data/lib/stripe/events/v2_billing_bill_setting_updated_event.rb +0 -61
  361. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -61
  362. data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -44
  363. data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -61
  364. data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -44
  365. data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -44
  366. data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -61
  367. data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -44
  368. data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -44
  369. data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -44
  370. data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -44
  371. data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -61
  372. data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -61
  373. data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -44
  374. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -44
  375. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -44
  376. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -44
  377. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -44
  378. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -44
  379. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -44
  380. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -44
  381. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -44
  382. data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -44
  383. data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -61
  384. data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -61
  385. data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -67
  386. data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -44
  387. data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -44
  388. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -44
  389. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -44
  390. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -44
  391. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -44
  392. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -44
  393. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -44
  394. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -44
  395. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -44
  396. data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -44
  397. data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -61
  398. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
  399. data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
  400. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
  401. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
  402. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
  403. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
  404. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
  405. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
  406. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
  407. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
  408. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
  409. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
  410. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
  411. data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
  412. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
  413. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
  414. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
  415. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
  416. data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +0 -44
  417. data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +0 -44
  418. data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +0 -44
  419. data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +0 -44
  420. data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +0 -44
  421. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -66
  422. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -66
  423. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -64
  424. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -64
  425. data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -80
  426. data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -80
  427. data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -66
  428. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -64
  429. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -62
  430. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -64
  431. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -64
  432. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -64
  433. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -62
  434. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -62
  435. data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -62
  436. data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -62
  437. data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -58
  438. data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -58
  439. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
  440. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
  441. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
  442. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
  443. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
  444. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
  445. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
  446. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
  447. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
  448. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
  449. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
  450. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
  451. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
  452. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
  453. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
  454. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
  455. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
  456. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
  457. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
  458. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
  459. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
  460. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
  461. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
  462. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
  463. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
  464. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
  465. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
  466. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
  467. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
  468. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
  469. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
  470. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
  471. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
  472. data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +0 -44
  473. data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +0 -44
  474. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -44
  475. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
  476. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -44
  477. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -46
  478. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
  479. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
  480. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
  481. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
  482. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
  483. data/lib/stripe/params/account_notice_list_params.rb +0 -25
  484. data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
  485. data/lib/stripe/params/account_notice_update_params.rb +0 -36
  486. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
  487. data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
  488. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
  489. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
  490. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
  491. data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
  492. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
  493. data/lib/stripe/params/external_account_create_params.rb +0 -134
  494. data/lib/stripe/params/external_account_delete_params.rb +0 -6
  495. data/lib/stripe/params/external_account_list_params.rb +0 -25
  496. data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
  497. data/lib/stripe/params/external_account_update_params.rb +0 -91
  498. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
  499. data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
  500. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
  501. data/lib/stripe/params/fx_quote_create_params.rb +0 -73
  502. data/lib/stripe/params/fx_quote_list_params.rb +0 -22
  503. data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
  504. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
  505. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
  506. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
  507. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
  508. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
  509. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
  510. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
  511. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
  512. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
  513. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
  514. data/lib/stripe/params/mandate_list_params.rb +0 -39
  515. data/lib/stripe/params/margin_create_params.rb +0 -25
  516. data/lib/stripe/params/margin_list_params.rb +0 -25
  517. data/lib/stripe/params/margin_retrieve_params.rb +0 -13
  518. data/lib/stripe/params/margin_update_params.rb +0 -22
  519. data/lib/stripe/params/order_cancel_params.rb +0 -13
  520. data/lib/stripe/params/order_create_params.rb +0 -1124
  521. data/lib/stripe/params/order_line_item_list_params.rb +0 -22
  522. data/lib/stripe/params/order_list_line_items_params.rb +0 -22
  523. data/lib/stripe/params/order_list_params.rb +0 -25
  524. data/lib/stripe/params/order_reopen_params.rb +0 -13
  525. data/lib/stripe/params/order_retrieve_params.rb +0 -13
  526. data/lib/stripe/params/order_submit_params.rb +0 -16
  527. data/lib/stripe/params/order_update_params.rb +0 -1128
  528. data/lib/stripe/params/payment_attempt_record_list_params.rb +0 -19
  529. data/lib/stripe/params/payment_attempt_record_retrieve_params.rb +0 -13
  530. data/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +0 -22
  531. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
  532. data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
  533. data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +0 -19
  534. data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +0 -19
  535. data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +0 -19
  536. data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +0 -93
  537. data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +0 -186
  538. data/lib/stripe/params/payment_record_report_payment_params.rb +0 -252
  539. data/lib/stripe/params/payment_record_retrieve_params.rb +0 -13
  540. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
  541. data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
  542. data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
  543. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
  544. data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
  545. data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
  546. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
  547. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
  548. data/lib/stripe/params/quote_line_list_params.rb +0 -22
  549. data/lib/stripe/params/quote_list_lines_params.rb +0 -22
  550. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
  551. data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
  552. data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
  553. data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
  554. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
  555. data/lib/stripe/params/quote_reestimate_params.rb +0 -13
  556. data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
  557. data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
  558. data/lib/stripe/params/tax/association_find_params.rb +0 -18
  559. data/lib/stripe/params/tax/form_list_params.rb +0 -51
  560. data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
  561. data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
  562. data/lib/stripe/params/terminal/onboarding_link_create_params.rb +0 -43
  563. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
  564. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
  565. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
  566. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
  567. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
  568. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
  569. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
  570. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -17
  571. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -257
  572. data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
  573. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
  574. data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -78
  575. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
  576. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
  577. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
  578. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
  579. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
  580. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
  581. data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +0 -26
  582. data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +0 -24
  583. data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +0 -10
  584. data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +0 -26
  585. data/lib/stripe/params/v2/billing/intent_cancel_params.rb +0 -10
  586. data/lib/stripe/params/v2/billing/intent_commit_params.rb +0 -17
  587. data/lib/stripe/params/v2/billing/intent_create_params.rb +0 -355
  588. data/lib/stripe/params/v2/billing/intent_list_params.rb +0 -17
  589. data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +0 -10
  590. data/lib/stripe/params/v2/billing/intent_reserve_params.rb +0 -10
  591. data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +0 -10
  592. data/lib/stripe/params/v2/billing/intents/action_list_params.rb +0 -19
  593. data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +0 -12
  594. data/lib/stripe/params/v2/billing/license_fee_create_params.rb +0 -103
  595. data/lib/stripe/params/v2/billing/license_fee_list_params.rb +0 -24
  596. data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +0 -10
  597. data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +0 -10
  598. data/lib/stripe/params/v2/billing/license_fee_update_params.rb +0 -84
  599. data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +0 -19
  600. data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +0 -12
  601. data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +0 -48
  602. data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +0 -21
  603. data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +0 -10
  604. data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +0 -48
  605. data/lib/stripe/params/v2/billing/metered_item_create_params.rb +0 -73
  606. data/lib/stripe/params/v2/billing/metered_item_list_params.rb +0 -21
  607. data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +0 -10
  608. data/lib/stripe/params/v2/billing/metered_item_update_params.rb +0 -50
  609. data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +0 -39
  610. data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +0 -24
  611. data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +0 -10
  612. data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +0 -50
  613. data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +0 -10
  614. data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +0 -20
  615. data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +0 -39
  616. data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +0 -73
  617. data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +0 -12
  618. data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +0 -27
  619. data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +0 -12
  620. data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +0 -22
  621. data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +0 -19
  622. data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +0 -12
  623. data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
  624. data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
  625. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
  626. data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
  627. data/lib/stripe/params/v2/billing/rate_card_create_params.rb +0 -49
  628. data/lib/stripe/params/v2/billing/rate_card_list_params.rb +0 -24
  629. data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +0 -10
  630. data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +0 -10
  631. data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +0 -26
  632. data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +0 -51
  633. data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +0 -10
  634. data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +0 -17
  635. data/lib/stripe/params/v2/billing/rate_card_update_params.rb +0 -38
  636. data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +0 -91
  637. data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +0 -12
  638. data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +0 -25
  639. data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +0 -12
  640. data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +0 -19
  641. data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +0 -12
  642. data/lib/stripe/params/v2/billing/service_action_create_params.rb +0 -254
  643. data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +0 -10
  644. data/lib/stripe/params/v2/billing/service_action_update_params.rb +0 -40
  645. data/lib/stripe/params/v2/core/account_close_params.rb +0 -17
  646. data/lib/stripe/params/v2/core/account_create_params.rb +0 -2234
  647. data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -101
  648. data/lib/stripe/params/v2/core/account_list_params.rb +0 -20
  649. data/lib/stripe/params/v2/core/account_retrieve_params.rb +0 -17
  650. data/lib/stripe/params/v2/core/account_update_params.rb +0 -2262
  651. data/lib/stripe/params/v2/core/accounts/person_create_params.rb +0 -493
  652. data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +0 -12
  653. data/lib/stripe/params/v2/core/accounts/person_list_params.rb +0 -19
  654. data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +0 -12
  655. data/lib/stripe/params/v2/core/accounts/person_update_params.rb +0 -493
  656. data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +0 -36
  657. data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +0 -10
  658. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
  659. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
  660. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
  661. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
  662. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
  663. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
  664. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
  665. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
  666. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
  667. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
  668. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
  669. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
  670. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
  671. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
  672. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
  673. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -31
  674. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
  675. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
  676. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
  677. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
  678. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
  679. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
  680. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -102
  681. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
  682. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
  683. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
  684. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
  685. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
  686. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -103
  687. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
  688. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
  689. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
  690. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
  691. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -81
  692. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
  693. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
  694. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
  695. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
  696. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
  697. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
  698. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
  699. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
  700. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
  701. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
  702. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
  703. data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +0 -10
  704. data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +0 -20
  705. data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +0 -10
  706. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
  707. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
  708. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
  709. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
  710. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
  711. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -61
  712. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -237
  713. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
  714. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
  715. data/lib/stripe/params/v2/tax/automatic_rule_create_params.rb +0 -20
  716. data/lib/stripe/params/v2/tax/automatic_rule_deactivate_params.rb +0 -10
  717. data/lib/stripe/params/v2/tax/automatic_rule_find_params.rb +0 -17
  718. data/lib/stripe/params/v2/tax/automatic_rule_retrieve_params.rb +0 -10
  719. data/lib/stripe/params/v2/tax/automatic_rule_update_params.rb +0 -17
  720. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
  721. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
  722. data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -23
  723. data/lib/stripe/resources/account_notice.rb +0 -94
  724. data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
  725. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
  726. data/lib/stripe/resources/capital/financing_offer.rb +0 -142
  727. data/lib/stripe/resources/capital/financing_summary.rb +0 -79
  728. data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
  729. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
  730. data/lib/stripe/resources/financial_connections/institution.rb +0 -127
  731. data/lib/stripe/resources/fx_quote.rb +0 -147
  732. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
  733. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
  734. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
  735. data/lib/stripe/resources/issuing/settlement.rb +0 -61
  736. data/lib/stripe/resources/margin.rb +0 -64
  737. data/lib/stripe/resources/order.rb +0 -987
  738. data/lib/stripe/resources/payment_attempt_record.rb +0 -2102
  739. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -128
  740. data/lib/stripe/resources/payment_record.rb +0 -2208
  741. data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
  742. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
  743. data/lib/stripe/resources/quote_line.rb +0 -521
  744. data/lib/stripe/resources/quote_preview_invoice.rb +0 -1150
  745. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -732
  746. data/lib/stripe/resources/tax/association.rb +0 -86
  747. data/lib/stripe/resources/tax/form.rb +0 -264
  748. data/lib/stripe/resources/terminal/onboarding_link.rb +0 -71
  749. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
  750. data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
  751. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
  752. data/lib/stripe/resources/v2/billing/cadence.rb +0 -655
  753. data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
  754. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
  755. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
  756. data/lib/stripe/resources/v2/billing/intent.rb +0 -86
  757. data/lib/stripe/resources/v2/billing/intent_action.rb +0 -395
  758. data/lib/stripe/resources/v2/billing/license_fee.rb +0 -104
  759. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
  760. data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
  761. data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
  762. data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
  763. data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
  764. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
  765. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -94
  766. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
  767. data/lib/stripe/resources/v2/billing/profile.rb +0 -46
  768. data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
  769. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -110
  770. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -94
  771. data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
  772. data/lib/stripe/resources/v2/billing/service_action.rb +0 -244
  773. data/lib/stripe/resources/v2/core/account.rb +0 -3885
  774. data/lib/stripe/resources/v2/core/account_link.rb +0 -123
  775. data/lib/stripe/resources/v2/core/account_person.rb +0 -477
  776. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
  777. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
  778. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -47
  779. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
  780. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
  781. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
  782. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
  783. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
  784. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
  785. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -219
  786. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
  787. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
  788. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -198
  789. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -137
  790. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
  791. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -228
  792. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -138
  793. data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
  794. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
  795. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
  796. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -242
  797. data/lib/stripe/resources/v2/tax/automatic_rule.rb +0 -39
  798. data/lib/stripe/services/account_notice_service.rb +0 -39
  799. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
  800. data/lib/stripe/services/billing/analytics_service.rb +0 -15
  801. data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
  802. data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
  803. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
  804. data/lib/stripe/services/capital_service.rb +0 -15
  805. data/lib/stripe/services/external_account_service.rb +0 -68
  806. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
  807. data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
  808. data/lib/stripe/services/fx_quote_service.rb +0 -27
  809. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
  810. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
  811. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
  812. data/lib/stripe/services/margin_service.rb +0 -50
  813. data/lib/stripe/services/order_line_item_service.rb +0 -17
  814. data/lib/stripe/services/order_service.rb +0 -78
  815. data/lib/stripe/services/payment_attempt_record_service.rb +0 -28
  816. data/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +0 -17
  817. data/lib/stripe/services/payment_record_service.rb +0 -89
  818. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
  819. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
  820. data/lib/stripe/services/privacy_service.rb +0 -13
  821. data/lib/stripe/services/quote_line_service.rb +0 -17
  822. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
  823. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
  824. data/lib/stripe/services/tax/association_service.rb +0 -19
  825. data/lib/stripe/services/tax/form_service.rb +0 -37
  826. data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -19
  827. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
  828. data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
  829. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
  830. data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
  831. data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
  832. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
  833. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -54
  834. data/lib/stripe/services/v2/billing/intent_service.rb +0 -94
  835. data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -34
  836. data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -61
  837. data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -21
  838. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -34
  839. data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -54
  840. data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -54
  841. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -62
  842. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -43
  843. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -67
  844. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -34
  845. data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
  846. data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -62
  847. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -65
  848. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -57
  849. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -34
  850. data/lib/stripe/services/v2/billing/service_action_service.rb +0 -43
  851. data/lib/stripe/services/v2/core/account_link_service.rb +0 -21
  852. data/lib/stripe/services/v2/core/account_service.rb +0 -76
  853. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -67
  854. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -35
  855. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -74
  856. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -68
  857. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  858. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
  859. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -59
  860. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
  861. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
  862. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
  863. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
  864. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
  865. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
  866. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
  867. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
  868. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
  869. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
  870. data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +0 -43
  871. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
  872. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
  873. data/lib/stripe/services/v2/money_management_service.rb +0 -33
  874. data/lib/stripe/services/v2/payment_service.rb +0 -15
  875. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
  876. data/lib/stripe/services/v2/tax/automatic_rule_service.rb +0 -65
  877. data/lib/stripe/services/v2/tax_service.rb +0 -15
  878. data/lib/stripe/services/v2/test_helper_service.rb +0 -16
  879. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
  880. data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
@@ -1,2208 +0,0 @@
1
- # File generated from our OpenAPI spec
2
- # frozen_string_literal: true
3
-
4
- module Stripe
5
- # A Payment Record is a resource that allows you to represent payments that occur on- or off-Stripe.
6
- # For example, you can create a Payment Record to model a payment made on a different payment processor,
7
- # in order to mark an Invoice as paid and a Subscription as active. Payment Records consist of one or
8
- # more Payment Attempt Records, which represent individual attempts made on a payment network.
9
- class PaymentRecord < APIResource
10
- OBJECT_NAME = "payment_record"
11
- def self.object_name
12
- "payment_record"
13
- end
14
-
15
- class Amount < Stripe::StripeObject
16
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
17
- attr_reader :currency
18
- # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
19
- attr_reader :value
20
-
21
- def self.inner_class_types
22
- @inner_class_types = {}
23
- end
24
-
25
- def self.field_remappings
26
- @field_remappings = {}
27
- end
28
- end
29
-
30
- class AmountAuthorized < Stripe::StripeObject
31
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
32
- attr_reader :currency
33
- # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
34
- attr_reader :value
35
-
36
- def self.inner_class_types
37
- @inner_class_types = {}
38
- end
39
-
40
- def self.field_remappings
41
- @field_remappings = {}
42
- end
43
- end
44
-
45
- class AmountCanceled < Stripe::StripeObject
46
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
47
- attr_reader :currency
48
- # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
49
- attr_reader :value
50
-
51
- def self.inner_class_types
52
- @inner_class_types = {}
53
- end
54
-
55
- def self.field_remappings
56
- @field_remappings = {}
57
- end
58
- end
59
-
60
- class AmountFailed < Stripe::StripeObject
61
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
62
- attr_reader :currency
63
- # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
64
- attr_reader :value
65
-
66
- def self.inner_class_types
67
- @inner_class_types = {}
68
- end
69
-
70
- def self.field_remappings
71
- @field_remappings = {}
72
- end
73
- end
74
-
75
- class AmountGuaranteed < Stripe::StripeObject
76
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
77
- attr_reader :currency
78
- # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
79
- attr_reader :value
80
-
81
- def self.inner_class_types
82
- @inner_class_types = {}
83
- end
84
-
85
- def self.field_remappings
86
- @field_remappings = {}
87
- end
88
- end
89
-
90
- class AmountRefunded < Stripe::StripeObject
91
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
92
- attr_reader :currency
93
- # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
94
- attr_reader :value
95
-
96
- def self.inner_class_types
97
- @inner_class_types = {}
98
- end
99
-
100
- def self.field_remappings
101
- @field_remappings = {}
102
- end
103
- end
104
-
105
- class AmountRequested < Stripe::StripeObject
106
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
107
- attr_reader :currency
108
- # A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
109
- attr_reader :value
110
-
111
- def self.inner_class_types
112
- @inner_class_types = {}
113
- end
114
-
115
- def self.field_remappings
116
- @field_remappings = {}
117
- end
118
- end
119
-
120
- class CustomerDetails < Stripe::StripeObject
121
- # ID of the Stripe Customer associated with this payment.
122
- attr_reader :customer
123
- # The customer's email address.
124
- attr_reader :email
125
- # The customer's name.
126
- attr_reader :name
127
- # The customer's phone number.
128
- attr_reader :phone
129
-
130
- def self.inner_class_types
131
- @inner_class_types = {}
132
- end
133
-
134
- def self.field_remappings
135
- @field_remappings = {}
136
- end
137
- end
138
-
139
- class PaymentMethodDetails < Stripe::StripeObject
140
- class AchCreditTransfer < Stripe::StripeObject
141
- # Account number to transfer funds to.
142
- attr_reader :account_number
143
- # Name of the bank associated with the routing number.
144
- attr_reader :bank_name
145
- # Routing transit number for the bank account to transfer funds to.
146
- attr_reader :routing_number
147
- # SWIFT code of the bank associated with the routing number.
148
- attr_reader :swift_code
149
-
150
- def self.inner_class_types
151
- @inner_class_types = {}
152
- end
153
-
154
- def self.field_remappings
155
- @field_remappings = {}
156
- end
157
- end
158
-
159
- class AchDebit < Stripe::StripeObject
160
- # Type of entity that holds the account. This can be either `individual` or `company`.
161
- attr_reader :account_holder_type
162
- # Name of the bank associated with the bank account.
163
- attr_reader :bank_name
164
- # Two-letter ISO code representing the country the bank account is located in.
165
- attr_reader :country
166
- # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
167
- attr_reader :fingerprint
168
- # Last four digits of the bank account number.
169
- attr_reader :last4
170
- # Routing transit number of the bank account.
171
- attr_reader :routing_number
172
-
173
- def self.inner_class_types
174
- @inner_class_types = {}
175
- end
176
-
177
- def self.field_remappings
178
- @field_remappings = {}
179
- end
180
- end
181
-
182
- class AcssDebit < Stripe::StripeObject
183
- # Name of the bank associated with the bank account.
184
- attr_reader :bank_name
185
- # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
186
- attr_reader :fingerprint
187
- # Institution number of the bank account
188
- attr_reader :institution_number
189
- # Last four digits of the bank account number.
190
- attr_reader :last4
191
- # ID of the mandate used to make this payment.
192
- attr_reader :mandate
193
- # Transit number of the bank account.
194
- attr_reader :transit_number
195
-
196
- def self.inner_class_types
197
- @inner_class_types = {}
198
- end
199
-
200
- def self.field_remappings
201
- @field_remappings = {}
202
- end
203
- end
204
-
205
- class Affirm < Stripe::StripeObject
206
- # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
207
- attr_reader :location
208
- # ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
209
- attr_reader :reader
210
- # The Affirm transaction ID associated with this payment.
211
- attr_reader :transaction_id
212
-
213
- def self.inner_class_types
214
- @inner_class_types = {}
215
- end
216
-
217
- def self.field_remappings
218
- @field_remappings = {}
219
- end
220
- end
221
-
222
- class AfterpayClearpay < Stripe::StripeObject
223
- # The Afterpay order ID associated with this payment intent.
224
- attr_reader :order_id
225
- # Order identifier shown to the merchant in Afterpay’s online portal.
226
- attr_reader :reference
227
-
228
- def self.inner_class_types
229
- @inner_class_types = {}
230
- end
231
-
232
- def self.field_remappings
233
- @field_remappings = {}
234
- end
235
- end
236
-
237
- class Alipay < Stripe::StripeObject
238
- # Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.
239
- attr_reader :buyer_id
240
- # Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.
241
- attr_reader :fingerprint
242
- # Transaction ID of this particular Alipay transaction.
243
- attr_reader :transaction_id
244
-
245
- def self.inner_class_types
246
- @inner_class_types = {}
247
- end
248
-
249
- def self.field_remappings
250
- @field_remappings = {}
251
- end
252
- end
253
-
254
- class Alma < Stripe::StripeObject
255
- class Installments < Stripe::StripeObject
256
- # The number of installments.
257
- attr_reader :count
258
-
259
- def self.inner_class_types
260
- @inner_class_types = {}
261
- end
262
-
263
- def self.field_remappings
264
- @field_remappings = {}
265
- end
266
- end
267
- # Attribute for field installments
268
- attr_reader :installments
269
- # The Alma transaction ID associated with this payment.
270
- attr_reader :transaction_id
271
-
272
- def self.inner_class_types
273
- @inner_class_types = { installments: Installments }
274
- end
275
-
276
- def self.field_remappings
277
- @field_remappings = {}
278
- end
279
- end
280
-
281
- class AmazonPay < Stripe::StripeObject
282
- class Funding < Stripe::StripeObject
283
- class Card < Stripe::StripeObject
284
- # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
285
- attr_reader :brand
286
- # The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
287
- attr_reader :brand_product
288
- # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
289
- attr_reader :country
290
- # Two-digit number representing the card's expiration month.
291
- attr_reader :exp_month
292
- # Four-digit number representing the card's expiration year.
293
- attr_reader :exp_year
294
- # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
295
- attr_reader :funding
296
- # The last four digits of the card.
297
- attr_reader :last4
298
-
299
- def self.inner_class_types
300
- @inner_class_types = {}
301
- end
302
-
303
- def self.field_remappings
304
- @field_remappings = {}
305
- end
306
- end
307
- # Attribute for field card
308
- attr_reader :card
309
- # funding type of the underlying payment method.
310
- attr_reader :type
311
-
312
- def self.inner_class_types
313
- @inner_class_types = { card: Card }
314
- end
315
-
316
- def self.field_remappings
317
- @field_remappings = {}
318
- end
319
- end
320
- # Attribute for field funding
321
- attr_reader :funding
322
- # The Amazon Pay transaction ID associated with this payment.
323
- attr_reader :transaction_id
324
-
325
- def self.inner_class_types
326
- @inner_class_types = { funding: Funding }
327
- end
328
-
329
- def self.field_remappings
330
- @field_remappings = {}
331
- end
332
- end
333
-
334
- class AuBecsDebit < Stripe::StripeObject
335
- # Bank-State-Branch number of the bank account.
336
- attr_reader :bsb_number
337
- # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
338
- attr_reader :fingerprint
339
- # Last four digits of the bank account number.
340
- attr_reader :last4
341
- # ID of the mandate used to make this payment.
342
- attr_reader :mandate
343
-
344
- def self.inner_class_types
345
- @inner_class_types = {}
346
- end
347
-
348
- def self.field_remappings
349
- @field_remappings = {}
350
- end
351
- end
352
-
353
- class BacsDebit < Stripe::StripeObject
354
- # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
355
- attr_reader :fingerprint
356
- # Last four digits of the bank account number.
357
- attr_reader :last4
358
- # ID of the mandate used to make this payment.
359
- attr_reader :mandate
360
- # Sort code of the bank account. (e.g., `10-20-30`)
361
- attr_reader :sort_code
362
-
363
- def self.inner_class_types
364
- @inner_class_types = {}
365
- end
366
-
367
- def self.field_remappings
368
- @field_remappings = {}
369
- end
370
- end
371
-
372
- class Bancontact < Stripe::StripeObject
373
- # Bank code of bank associated with the bank account.
374
- attr_reader :bank_code
375
- # Name of the bank associated with the bank account.
376
- attr_reader :bank_name
377
- # Bank Identifier Code of the bank associated with the bank account.
378
- attr_reader :bic
379
- # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
380
- attr_reader :generated_sepa_debit
381
- # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
382
- attr_reader :generated_sepa_debit_mandate
383
- # Last four characters of the IBAN.
384
- attr_reader :iban_last4
385
- # Preferred language of the Bancontact authorization page that the customer is redirected to.
386
- # Can be one of `en`, `de`, `fr`, or `nl`
387
- attr_reader :preferred_language
388
- # Owner's verified full name. Values are verified or provided by Bancontact directly
389
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
390
- attr_reader :verified_name
391
-
392
- def self.inner_class_types
393
- @inner_class_types = {}
394
- end
395
-
396
- def self.field_remappings
397
- @field_remappings = {}
398
- end
399
- end
400
-
401
- class Billie < Stripe::StripeObject
402
- # The Billie transaction ID associated with this payment.
403
- attr_reader :transaction_id
404
-
405
- def self.inner_class_types
406
- @inner_class_types = {}
407
- end
408
-
409
- def self.field_remappings
410
- @field_remappings = {}
411
- end
412
- end
413
-
414
- class BillingDetails < Stripe::StripeObject
415
- class Address < Stripe::StripeObject
416
- # City, district, suburb, town, or village.
417
- attr_reader :city
418
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
419
- attr_reader :country
420
- # Address line 1, such as the street, PO Box, or company name.
421
- attr_reader :line1
422
- # Address line 2, such as the apartment, suite, unit, or building.
423
- attr_reader :line2
424
- # ZIP or postal code.
425
- attr_reader :postal_code
426
- # State, county, province, or region.
427
- attr_reader :state
428
-
429
- def self.inner_class_types
430
- @inner_class_types = {}
431
- end
432
-
433
- def self.field_remappings
434
- @field_remappings = {}
435
- end
436
- end
437
- # A representation of a physical address.
438
- attr_reader :address
439
- # The billing email associated with the method of payment.
440
- attr_reader :email
441
- # The billing name associated with the method of payment.
442
- attr_reader :name
443
- # The billing phone number associated with the method of payment.
444
- attr_reader :phone
445
-
446
- def self.inner_class_types
447
- @inner_class_types = { address: Address }
448
- end
449
-
450
- def self.field_remappings
451
- @field_remappings = {}
452
- end
453
- end
454
-
455
- class Blik < Stripe::StripeObject
456
- # A unique and immutable identifier assigned by BLIK to every buyer.
457
- attr_reader :buyer_id
458
-
459
- def self.inner_class_types
460
- @inner_class_types = {}
461
- end
462
-
463
- def self.field_remappings
464
- @field_remappings = {}
465
- end
466
- end
467
-
468
- class Boleto < Stripe::StripeObject
469
- # The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers)
470
- attr_reader :tax_id
471
-
472
- def self.inner_class_types
473
- @inner_class_types = {}
474
- end
475
-
476
- def self.field_remappings
477
- @field_remappings = {}
478
- end
479
- end
480
-
481
- class Card < Stripe::StripeObject
482
- class Checks < Stripe::StripeObject
483
- # Attribute for field address_line1_check
484
- attr_reader :address_line1_check
485
- # Attribute for field address_postal_code_check
486
- attr_reader :address_postal_code_check
487
- # Attribute for field cvc_check
488
- attr_reader :cvc_check
489
-
490
- def self.inner_class_types
491
- @inner_class_types = {}
492
- end
493
-
494
- def self.field_remappings
495
- @field_remappings = {}
496
- end
497
- end
498
-
499
- class NetworkToken < Stripe::StripeObject
500
- # Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction.
501
- attr_reader :used
502
-
503
- def self.inner_class_types
504
- @inner_class_types = {}
505
- end
506
-
507
- def self.field_remappings
508
- @field_remappings = {}
509
- end
510
- end
511
-
512
- class ThreeDSecure < Stripe::StripeObject
513
- # Attribute for field authentication_flow
514
- attr_reader :authentication_flow
515
- # Attribute for field result
516
- attr_reader :result
517
- # Attribute for field result_reason
518
- attr_reader :result_reason
519
- # Attribute for field version
520
- attr_reader :version
521
-
522
- def self.inner_class_types
523
- @inner_class_types = {}
524
- end
525
-
526
- def self.field_remappings
527
- @field_remappings = {}
528
- end
529
- end
530
-
531
- class Wallet < Stripe::StripeObject
532
- class ApplePay < Stripe::StripeObject
533
- # Type of the apple_pay transaction, one of `apple_pay` or `apple_pay_later`.
534
- attr_reader :type
535
-
536
- def self.inner_class_types
537
- @inner_class_types = {}
538
- end
539
-
540
- def self.field_remappings
541
- @field_remappings = {}
542
- end
543
- end
544
-
545
- class GooglePay < Stripe::StripeObject
546
- def self.inner_class_types
547
- @inner_class_types = {}
548
- end
549
-
550
- def self.field_remappings
551
- @field_remappings = {}
552
- end
553
- end
554
- # Attribute for field apple_pay
555
- attr_reader :apple_pay
556
- # (For tokenized numbers only.) The last four digits of the device account number.
557
- attr_reader :dynamic_last4
558
- # Attribute for field google_pay
559
- attr_reader :google_pay
560
- # The type of the card wallet, one of `apple_pay` or `google_pay`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type.
561
- attr_reader :type
562
-
563
- def self.inner_class_types
564
- @inner_class_types = { apple_pay: ApplePay, google_pay: GooglePay }
565
- end
566
-
567
- def self.field_remappings
568
- @field_remappings = {}
569
- end
570
- end
571
- # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
572
- attr_reader :brand
573
- # When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured.
574
- attr_reader :capture_before
575
- # Check results by Card networks on Card address and CVC at time of payment.
576
- attr_reader :checks
577
- # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
578
- attr_reader :country
579
- # Two-digit number representing the card's expiration month.
580
- attr_reader :exp_month
581
- # Four-digit number representing the card's expiration year.
582
- attr_reader :exp_year
583
- # Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
584
- #
585
- # *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
586
- attr_reader :fingerprint
587
- # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
588
- attr_reader :funding
589
- # The last four digits of the card.
590
- attr_reader :last4
591
- # True if this payment was marked as MOTO and out of scope for SCA.
592
- attr_reader :moto
593
- # Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
594
- attr_reader :network
595
- # If this card has network token credentials, this contains the details of the network token credentials.
596
- attr_reader :network_token
597
- # This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
598
- attr_reader :network_transaction_id
599
- # Populated if this transaction used 3D Secure authentication.
600
- attr_reader :three_d_secure
601
- # If this Card is part of a card wallet, this contains the details of the card wallet.
602
- attr_reader :wallet
603
-
604
- def self.inner_class_types
605
- @inner_class_types = {
606
- checks: Checks,
607
- network_token: NetworkToken,
608
- three_d_secure: ThreeDSecure,
609
- wallet: Wallet,
610
- }
611
- end
612
-
613
- def self.field_remappings
614
- @field_remappings = {}
615
- end
616
- end
617
-
618
- class CardPresent < Stripe::StripeObject
619
- class Offline < Stripe::StripeObject
620
- # Time at which the payment was collected while offline
621
- attr_reader :stored_at
622
- # The method used to process this payment method offline. Only deferred is allowed.
623
- attr_reader :type
624
-
625
- def self.inner_class_types
626
- @inner_class_types = {}
627
- end
628
-
629
- def self.field_remappings
630
- @field_remappings = {}
631
- end
632
- end
633
-
634
- class Receipt < Stripe::StripeObject
635
- # The type of account being debited or credited
636
- attr_reader :account_type
637
- # The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers.
638
- attr_reader :application_cryptogram
639
- # The Application Identifier (AID) on the card used to determine which networks are eligible to process the transaction. Referenced from EMV tag 9F12, data encoded on the card's chip.
640
- attr_reader :application_preferred_name
641
- # Identifier for this transaction.
642
- attr_reader :authorization_code
643
- # EMV tag 8A. A code returned by the card issuer.
644
- attr_reader :authorization_response_code
645
- # Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
646
- attr_reader :cardholder_verification_method
647
- # Similar to the application_preferred_name, identifying the applications (AIDs) available on the card. Referenced from EMV tag 84.
648
- attr_reader :dedicated_file_name
649
- # A 5-byte string that records the checks and validations that occur between the card and the terminal. These checks determine how the terminal processes the transaction and what risk tolerance is acceptable. Referenced from EMV Tag 95.
650
- attr_reader :terminal_verification_results
651
- # An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
652
- attr_reader :transaction_status_information
653
-
654
- def self.inner_class_types
655
- @inner_class_types = {}
656
- end
657
-
658
- def self.field_remappings
659
- @field_remappings = {}
660
- end
661
- end
662
-
663
- class Wallet < Stripe::StripeObject
664
- # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
665
- attr_reader :type
666
-
667
- def self.inner_class_types
668
- @inner_class_types = {}
669
- end
670
-
671
- def self.field_remappings
672
- @field_remappings = {}
673
- end
674
- end
675
- # The authorized amount
676
- attr_reader :amount_authorized
677
- # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
678
- attr_reader :brand
679
- # The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.
680
- attr_reader :brand_product
681
- # When using manual capture, a future timestamp after which the charge will be automatically refunded if uncaptured.
682
- attr_reader :capture_before
683
- # The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
684
- attr_reader :cardholder_name
685
- # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
686
- attr_reader :country
687
- # A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
688
- attr_reader :description
689
- # Authorization response cryptogram.
690
- attr_reader :emv_auth_data
691
- # Two-digit number representing the card's expiration month.
692
- attr_reader :exp_month
693
- # Four-digit number representing the card's expiration year.
694
- attr_reader :exp_year
695
- # Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
696
- #
697
- # *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
698
- attr_reader :fingerprint
699
- # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
700
- attr_reader :funding
701
- # ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.
702
- attr_reader :generated_card
703
- # Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
704
- attr_reader :iin
705
- # Whether this [PaymentIntent](https://stripe.com/docs/api/payment_intents) is eligible for incremental authorizations. Request support using [request_incremental_authorization_support](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support).
706
- attr_reader :incremental_authorization_supported
707
- # The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
708
- attr_reader :issuer
709
- # The last four digits of the card.
710
- attr_reader :last4
711
- # Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
712
- attr_reader :network
713
- # This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
714
- attr_reader :network_transaction_id
715
- # Details about payments collected offline.
716
- attr_reader :offline
717
- # Defines whether the authorized amount can be over-captured or not
718
- attr_reader :overcapture_supported
719
- # The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
720
- attr_reader :preferred_locales
721
- # How card details were read in this transaction.
722
- attr_reader :read_method
723
- # A collection of fields required to be displayed on receipts. Only required for EMV transactions.
724
- attr_reader :receipt
725
- # Attribute for field wallet
726
- attr_reader :wallet
727
-
728
- def self.inner_class_types
729
- @inner_class_types = { offline: Offline, receipt: Receipt, wallet: Wallet }
730
- end
731
-
732
- def self.field_remappings
733
- @field_remappings = {}
734
- end
735
- end
736
-
737
- class Cashapp < Stripe::StripeObject
738
- # A unique and immutable identifier assigned by Cash App to every buyer.
739
- attr_reader :buyer_id
740
- # A public identifier for buyers using Cash App.
741
- attr_reader :cashtag
742
- # A unique and immutable identifier of payments assigned by Cash App
743
- attr_reader :transaction_id
744
-
745
- def self.inner_class_types
746
- @inner_class_types = {}
747
- end
748
-
749
- def self.field_remappings
750
- @field_remappings = {}
751
- end
752
- end
753
-
754
- class Crypto < Stripe::StripeObject
755
- # The wallet address of the customer.
756
- attr_reader :buyer_address
757
- # The blockchain network that the transaction was sent on.
758
- attr_reader :network
759
- # The token currency that the transaction was sent with.
760
- attr_reader :token_currency
761
- # The blockchain transaction hash of the crypto payment.
762
- attr_reader :transaction_hash
763
-
764
- def self.inner_class_types
765
- @inner_class_types = {}
766
- end
767
-
768
- def self.field_remappings
769
- @field_remappings = {}
770
- end
771
- end
772
-
773
- class Custom < Stripe::StripeObject
774
- # Display name for the custom (user-defined) payment method type used to make this payment.
775
- attr_reader :display_name
776
- # The custom payment method type associated with this payment.
777
- attr_reader :type
778
-
779
- def self.inner_class_types
780
- @inner_class_types = {}
781
- end
782
-
783
- def self.field_remappings
784
- @field_remappings = {}
785
- end
786
- end
787
-
788
- class CustomerBalance < Stripe::StripeObject
789
- def self.inner_class_types
790
- @inner_class_types = {}
791
- end
792
-
793
- def self.field_remappings
794
- @field_remappings = {}
795
- end
796
- end
797
-
798
- class Eps < Stripe::StripeObject
799
- # The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
800
- attr_reader :bank
801
- # Owner's verified full name. Values are verified or provided by EPS directly
802
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
803
- # EPS rarely provides this information so the attribute is usually empty.
804
- attr_reader :verified_name
805
-
806
- def self.inner_class_types
807
- @inner_class_types = {}
808
- end
809
-
810
- def self.field_remappings
811
- @field_remappings = {}
812
- end
813
- end
814
-
815
- class Fpx < Stripe::StripeObject
816
- # Account holder type, if provided. Can be one of `individual` or `company`.
817
- attr_reader :account_holder_type
818
- # The customer's bank. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`.
819
- attr_reader :bank
820
- # Unique transaction id generated by FPX for every request from the merchant
821
- attr_reader :transaction_id
822
-
823
- def self.inner_class_types
824
- @inner_class_types = {}
825
- end
826
-
827
- def self.field_remappings
828
- @field_remappings = {}
829
- end
830
- end
831
-
832
- class Giropay < Stripe::StripeObject
833
- # Bank code of bank associated with the bank account.
834
- attr_reader :bank_code
835
- # Name of the bank associated with the bank account.
836
- attr_reader :bank_name
837
- # Bank Identifier Code of the bank associated with the bank account.
838
- attr_reader :bic
839
- # Owner's verified full name. Values are verified or provided by Giropay directly
840
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
841
- # Giropay rarely provides this information so the attribute is usually empty.
842
- attr_reader :verified_name
843
-
844
- def self.inner_class_types
845
- @inner_class_types = {}
846
- end
847
-
848
- def self.field_remappings
849
- @field_remappings = {}
850
- end
851
- end
852
-
853
- class Gopay < Stripe::StripeObject
854
- def self.inner_class_types
855
- @inner_class_types = {}
856
- end
857
-
858
- def self.field_remappings
859
- @field_remappings = {}
860
- end
861
- end
862
-
863
- class Grabpay < Stripe::StripeObject
864
- # Unique transaction id generated by GrabPay
865
- attr_reader :transaction_id
866
-
867
- def self.inner_class_types
868
- @inner_class_types = {}
869
- end
870
-
871
- def self.field_remappings
872
- @field_remappings = {}
873
- end
874
- end
875
-
876
- class IdBankTransfer < Stripe::StripeObject
877
- # Account number of the bank account to transfer funds to.
878
- attr_reader :account_number
879
- # Bank where the account is located.
880
- attr_reader :bank
881
- # Local bank code of the bank.
882
- attr_reader :bank_code
883
- # Name of the bank associated with the bank account.
884
- attr_reader :bank_name
885
- # Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
886
- attr_reader :display_name
887
-
888
- def self.inner_class_types
889
- @inner_class_types = {}
890
- end
891
-
892
- def self.field_remappings
893
- @field_remappings = {}
894
- end
895
- end
896
-
897
- class Ideal < Stripe::StripeObject
898
- # The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
899
- attr_reader :bank
900
- # The Bank Identifier Code of the customer's bank.
901
- attr_reader :bic
902
- # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
903
- attr_reader :generated_sepa_debit
904
- # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
905
- attr_reader :generated_sepa_debit_mandate
906
- # Last four characters of the IBAN.
907
- attr_reader :iban_last4
908
- # Owner's verified full name. Values are verified or provided by iDEAL directly
909
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
910
- attr_reader :verified_name
911
-
912
- def self.inner_class_types
913
- @inner_class_types = {}
914
- end
915
-
916
- def self.field_remappings
917
- @field_remappings = {}
918
- end
919
- end
920
-
921
- class InteracPresent < Stripe::StripeObject
922
- class Receipt < Stripe::StripeObject
923
- # The type of account being debited or credited
924
- attr_reader :account_type
925
- # The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers.
926
- attr_reader :application_cryptogram
927
- # The Application Identifier (AID) on the card used to determine which networks are eligible to process the transaction. Referenced from EMV tag 9F12, data encoded on the card's chip.
928
- attr_reader :application_preferred_name
929
- # Identifier for this transaction.
930
- attr_reader :authorization_code
931
- # EMV tag 8A. A code returned by the card issuer.
932
- attr_reader :authorization_response_code
933
- # Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
934
- attr_reader :cardholder_verification_method
935
- # Similar to the application_preferred_name, identifying the applications (AIDs) available on the card. Referenced from EMV tag 84.
936
- attr_reader :dedicated_file_name
937
- # A 5-byte string that records the checks and validations that occur between the card and the terminal. These checks determine how the terminal processes the transaction and what risk tolerance is acceptable. Referenced from EMV Tag 95.
938
- attr_reader :terminal_verification_results
939
- # An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
940
- attr_reader :transaction_status_information
941
-
942
- def self.inner_class_types
943
- @inner_class_types = {}
944
- end
945
-
946
- def self.field_remappings
947
- @field_remappings = {}
948
- end
949
- end
950
- # Card brand. Can be `interac`, `mastercard` or `visa`.
951
- attr_reader :brand
952
- # The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
953
- attr_reader :cardholder_name
954
- # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
955
- attr_reader :country
956
- # A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
957
- attr_reader :description
958
- # Authorization response cryptogram.
959
- attr_reader :emv_auth_data
960
- # Two-digit number representing the card's expiration month.
961
- attr_reader :exp_month
962
- # Four-digit number representing the card's expiration year.
963
- attr_reader :exp_year
964
- # Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
965
- #
966
- # *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
967
- attr_reader :fingerprint
968
- # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
969
- attr_reader :funding
970
- # ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.
971
- attr_reader :generated_card
972
- # Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
973
- attr_reader :iin
974
- # The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
975
- attr_reader :issuer
976
- # The last four digits of the card.
977
- attr_reader :last4
978
- # Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
979
- attr_reader :network
980
- # This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
981
- attr_reader :network_transaction_id
982
- # The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
983
- attr_reader :preferred_locales
984
- # How card details were read in this transaction.
985
- attr_reader :read_method
986
- # A collection of fields required to be displayed on receipts. Only required for EMV transactions.
987
- attr_reader :receipt
988
-
989
- def self.inner_class_types
990
- @inner_class_types = { receipt: Receipt }
991
- end
992
-
993
- def self.field_remappings
994
- @field_remappings = {}
995
- end
996
- end
997
-
998
- class KakaoPay < Stripe::StripeObject
999
- # A unique identifier for the buyer as determined by the local payment processor.
1000
- attr_reader :buyer_id
1001
- # The Kakao Pay transaction ID associated with this payment.
1002
- attr_reader :transaction_id
1003
-
1004
- def self.inner_class_types
1005
- @inner_class_types = {}
1006
- end
1007
-
1008
- def self.field_remappings
1009
- @field_remappings = {}
1010
- end
1011
- end
1012
-
1013
- class Klarna < Stripe::StripeObject
1014
- class PayerDetails < Stripe::StripeObject
1015
- class Address < Stripe::StripeObject
1016
- # The payer address country
1017
- attr_reader :country
1018
-
1019
- def self.inner_class_types
1020
- @inner_class_types = {}
1021
- end
1022
-
1023
- def self.field_remappings
1024
- @field_remappings = {}
1025
- end
1026
- end
1027
- # The payer's address
1028
- attr_reader :address
1029
-
1030
- def self.inner_class_types
1031
- @inner_class_types = { address: Address }
1032
- end
1033
-
1034
- def self.field_remappings
1035
- @field_remappings = {}
1036
- end
1037
- end
1038
- # The payer details for this transaction.
1039
- attr_reader :payer_details
1040
- # The Klarna payment method used for this transaction.
1041
- # Can be one of `pay_later`, `pay_now`, `pay_with_financing`, or `pay_in_installments`
1042
- attr_reader :payment_method_category
1043
- # Preferred language of the Klarna authorization page that the customer is redirected to.
1044
- # Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `es-US`, `fr-FR`, `en-FR`, `cs-CZ`, `en-CZ`, `ro-RO`, `en-RO`, `el-GR`, `en-GR`, `en-AU`, `en-NZ`, `en-CA`, `fr-CA`, `pl-PL`, `en-PL`, `pt-PT`, `en-PT`, `de-CH`, `fr-CH`, `it-CH`, or `en-CH`
1045
- attr_reader :preferred_locale
1046
-
1047
- def self.inner_class_types
1048
- @inner_class_types = { payer_details: PayerDetails }
1049
- end
1050
-
1051
- def self.field_remappings
1052
- @field_remappings = {}
1053
- end
1054
- end
1055
-
1056
- class Konbini < Stripe::StripeObject
1057
- class Store < Stripe::StripeObject
1058
- # The name of the convenience store chain where the payment was completed.
1059
- attr_reader :chain
1060
-
1061
- def self.inner_class_types
1062
- @inner_class_types = {}
1063
- end
1064
-
1065
- def self.field_remappings
1066
- @field_remappings = {}
1067
- end
1068
- end
1069
- # If the payment succeeded, this contains the details of the convenience store where the payment was completed.
1070
- attr_reader :store
1071
-
1072
- def self.inner_class_types
1073
- @inner_class_types = { store: Store }
1074
- end
1075
-
1076
- def self.field_remappings
1077
- @field_remappings = {}
1078
- end
1079
- end
1080
-
1081
- class KrCard < Stripe::StripeObject
1082
- # The local credit or debit card brand.
1083
- attr_reader :brand
1084
- # A unique identifier for the buyer as determined by the local payment processor.
1085
- attr_reader :buyer_id
1086
- # The last four digits of the card. This may not be present for American Express cards.
1087
- attr_reader :last4
1088
- # The Korean Card transaction ID associated with this payment.
1089
- attr_reader :transaction_id
1090
-
1091
- def self.inner_class_types
1092
- @inner_class_types = {}
1093
- end
1094
-
1095
- def self.field_remappings
1096
- @field_remappings = {}
1097
- end
1098
- end
1099
-
1100
- class Link < Stripe::StripeObject
1101
- # Two-letter ISO code representing the funding source country beneath the Link payment.
1102
- # You could use this attribute to get a sense of international fees.
1103
- attr_reader :country
1104
-
1105
- def self.inner_class_types
1106
- @inner_class_types = {}
1107
- end
1108
-
1109
- def self.field_remappings
1110
- @field_remappings = {}
1111
- end
1112
- end
1113
-
1114
- class MbWay < Stripe::StripeObject
1115
- def self.inner_class_types
1116
- @inner_class_types = {}
1117
- end
1118
-
1119
- def self.field_remappings
1120
- @field_remappings = {}
1121
- end
1122
- end
1123
-
1124
- class Mobilepay < Stripe::StripeObject
1125
- class Card < Stripe::StripeObject
1126
- # Brand of the card used in the transaction
1127
- attr_reader :brand
1128
- # Two-letter ISO code representing the country of the card
1129
- attr_reader :country
1130
- # Two digit number representing the card's expiration month
1131
- attr_reader :exp_month
1132
- # Two digit number representing the card's expiration year
1133
- attr_reader :exp_year
1134
- # The last 4 digits of the card
1135
- attr_reader :last4
1136
-
1137
- def self.inner_class_types
1138
- @inner_class_types = {}
1139
- end
1140
-
1141
- def self.field_remappings
1142
- @field_remappings = {}
1143
- end
1144
- end
1145
- # Internal card details
1146
- attr_reader :card
1147
-
1148
- def self.inner_class_types
1149
- @inner_class_types = { card: Card }
1150
- end
1151
-
1152
- def self.field_remappings
1153
- @field_remappings = {}
1154
- end
1155
- end
1156
-
1157
- class Multibanco < Stripe::StripeObject
1158
- # Entity number associated with this Multibanco payment.
1159
- attr_reader :entity
1160
- # Reference number associated with this Multibanco payment.
1161
- attr_reader :reference
1162
-
1163
- def self.inner_class_types
1164
- @inner_class_types = {}
1165
- end
1166
-
1167
- def self.field_remappings
1168
- @field_remappings = {}
1169
- end
1170
- end
1171
-
1172
- class NaverPay < Stripe::StripeObject
1173
- # A unique identifier for the buyer as determined by the local payment processor.
1174
- attr_reader :buyer_id
1175
- # The Naver Pay transaction ID associated with this payment.
1176
- attr_reader :transaction_id
1177
-
1178
- def self.inner_class_types
1179
- @inner_class_types = {}
1180
- end
1181
-
1182
- def self.field_remappings
1183
- @field_remappings = {}
1184
- end
1185
- end
1186
-
1187
- class NzBankAccount < Stripe::StripeObject
1188
- # The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.
1189
- attr_reader :account_holder_name
1190
- # The numeric code for the bank account's bank.
1191
- attr_reader :bank_code
1192
- # The name of the bank.
1193
- attr_reader :bank_name
1194
- # The numeric code for the bank account's bank branch.
1195
- attr_reader :branch_code
1196
- # Last four digits of the bank account number.
1197
- attr_reader :last4
1198
- # The suffix of the bank account number.
1199
- attr_reader :suffix
1200
-
1201
- def self.inner_class_types
1202
- @inner_class_types = {}
1203
- end
1204
-
1205
- def self.field_remappings
1206
- @field_remappings = {}
1207
- end
1208
- end
1209
-
1210
- class Oxxo < Stripe::StripeObject
1211
- # OXXO reference number
1212
- attr_reader :number
1213
-
1214
- def self.inner_class_types
1215
- @inner_class_types = {}
1216
- end
1217
-
1218
- def self.field_remappings
1219
- @field_remappings = {}
1220
- end
1221
- end
1222
-
1223
- class P24 < Stripe::StripeObject
1224
- # The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `velobank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`.
1225
- attr_reader :bank
1226
- # Unique reference for this Przelewy24 payment.
1227
- attr_reader :reference
1228
- # Owner's verified full name. Values are verified or provided by Przelewy24 directly
1229
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1230
- # Przelewy24 rarely provides this information so the attribute is usually empty.
1231
- attr_reader :verified_name
1232
-
1233
- def self.inner_class_types
1234
- @inner_class_types = {}
1235
- end
1236
-
1237
- def self.field_remappings
1238
- @field_remappings = {}
1239
- end
1240
- end
1241
-
1242
- class PayByBank < Stripe::StripeObject
1243
- def self.inner_class_types
1244
- @inner_class_types = {}
1245
- end
1246
-
1247
- def self.field_remappings
1248
- @field_remappings = {}
1249
- end
1250
- end
1251
-
1252
- class Payco < Stripe::StripeObject
1253
- # A unique identifier for the buyer as determined by the local payment processor.
1254
- attr_reader :buyer_id
1255
- # The Payco transaction ID associated with this payment.
1256
- attr_reader :transaction_id
1257
-
1258
- def self.inner_class_types
1259
- @inner_class_types = {}
1260
- end
1261
-
1262
- def self.field_remappings
1263
- @field_remappings = {}
1264
- end
1265
- end
1266
-
1267
- class Paynow < Stripe::StripeObject
1268
- # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
1269
- attr_reader :location
1270
- # ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
1271
- attr_reader :reader
1272
- # Reference number associated with this PayNow payment
1273
- attr_reader :reference
1274
-
1275
- def self.inner_class_types
1276
- @inner_class_types = {}
1277
- end
1278
-
1279
- def self.field_remappings
1280
- @field_remappings = {}
1281
- end
1282
- end
1283
-
1284
- class Paypal < Stripe::StripeObject
1285
- class SellerProtection < Stripe::StripeObject
1286
- # An array of conditions that are covered for the transaction, if applicable.
1287
- attr_reader :dispute_categories
1288
- # Indicates whether the transaction is eligible for PayPal's seller protection.
1289
- attr_reader :status
1290
-
1291
- def self.inner_class_types
1292
- @inner_class_types = {}
1293
- end
1294
-
1295
- def self.field_remappings
1296
- @field_remappings = {}
1297
- end
1298
- end
1299
-
1300
- class Shipping < Stripe::StripeObject
1301
- # City, district, suburb, town, or village.
1302
- attr_reader :city
1303
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1304
- attr_reader :country
1305
- # Address line 1, such as the street, PO Box, or company name.
1306
- attr_reader :line1
1307
- # Address line 2, such as the apartment, suite, unit, or building.
1308
- attr_reader :line2
1309
- # ZIP or postal code.
1310
- attr_reader :postal_code
1311
- # State, county, province, or region.
1312
- attr_reader :state
1313
-
1314
- def self.inner_class_types
1315
- @inner_class_types = {}
1316
- end
1317
-
1318
- def self.field_remappings
1319
- @field_remappings = {}
1320
- end
1321
- end
1322
-
1323
- class VerifiedAddress < Stripe::StripeObject
1324
- # City, district, suburb, town, or village.
1325
- attr_reader :city
1326
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1327
- attr_reader :country
1328
- # Address line 1, such as the street, PO Box, or company name.
1329
- attr_reader :line1
1330
- # Address line 2, such as the apartment, suite, unit, or building.
1331
- attr_reader :line2
1332
- # ZIP or postal code.
1333
- attr_reader :postal_code
1334
- # State, county, province, or region.
1335
- attr_reader :state
1336
-
1337
- def self.inner_class_types
1338
- @inner_class_types = {}
1339
- end
1340
-
1341
- def self.field_remappings
1342
- @field_remappings = {}
1343
- end
1344
- end
1345
- # Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1346
- attr_reader :country
1347
- # Owner's email. Values are provided by PayPal directly
1348
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1349
- attr_reader :payer_email
1350
- # PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
1351
- attr_reader :payer_id
1352
- # Owner's full name. Values provided by PayPal directly
1353
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1354
- attr_reader :payer_name
1355
- # The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
1356
- attr_reader :seller_protection
1357
- # The shipping address for the customer, as supplied by the merchant at the point of payment
1358
- # execution. This shipping address will not be updated if the merchant updates the shipping
1359
- # address on the PaymentIntent after the PaymentIntent was successfully confirmed.
1360
- attr_reader :shipping
1361
- # A unique ID generated by PayPal for this transaction.
1362
- attr_reader :transaction_id
1363
- # The shipping address for the customer, as supplied by the merchant at the point of payment
1364
- # execution. This shipping address will not be updated if the merchant updates the shipping
1365
- # address on the PaymentIntent after the PaymentIntent was successfully confirmed.
1366
- attr_reader :verified_address
1367
- # Owner's verified email. Values are verified or provided by PayPal directly
1368
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1369
- attr_reader :verified_email
1370
- # Owner's verified full name. Values are verified or provided by PayPal directly
1371
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1372
- attr_reader :verified_name
1373
-
1374
- def self.inner_class_types
1375
- @inner_class_types = {
1376
- seller_protection: SellerProtection,
1377
- shipping: Shipping,
1378
- verified_address: VerifiedAddress,
1379
- }
1380
- end
1381
-
1382
- def self.field_remappings
1383
- @field_remappings = {}
1384
- end
1385
- end
1386
-
1387
- class Paypay < Stripe::StripeObject
1388
- def self.inner_class_types
1389
- @inner_class_types = {}
1390
- end
1391
-
1392
- def self.field_remappings
1393
- @field_remappings = {}
1394
- end
1395
- end
1396
-
1397
- class Payto < Stripe::StripeObject
1398
- # Bank-State-Branch number of the bank account.
1399
- attr_reader :bsb_number
1400
- # Last four digits of the bank account number.
1401
- attr_reader :last4
1402
- # ID of the mandate used to make this payment.
1403
- attr_reader :mandate
1404
- # The PayID alias for the bank account.
1405
- attr_reader :pay_id
1406
-
1407
- def self.inner_class_types
1408
- @inner_class_types = {}
1409
- end
1410
-
1411
- def self.field_remappings
1412
- @field_remappings = {}
1413
- end
1414
- end
1415
-
1416
- class Pix < Stripe::StripeObject
1417
- # Unique transaction id generated by BCB
1418
- attr_reader :bank_transaction_id
1419
- # ID of the multi use Mandate generated by the PaymentIntent
1420
- attr_reader :mandate
1421
-
1422
- def self.inner_class_types
1423
- @inner_class_types = {}
1424
- end
1425
-
1426
- def self.field_remappings
1427
- @field_remappings = {}
1428
- end
1429
- end
1430
-
1431
- class Promptpay < Stripe::StripeObject
1432
- # Bill reference generated by PromptPay
1433
- attr_reader :reference
1434
-
1435
- def self.inner_class_types
1436
- @inner_class_types = {}
1437
- end
1438
-
1439
- def self.field_remappings
1440
- @field_remappings = {}
1441
- end
1442
- end
1443
-
1444
- class Qris < Stripe::StripeObject
1445
- def self.inner_class_types
1446
- @inner_class_types = {}
1447
- end
1448
-
1449
- def self.field_remappings
1450
- @field_remappings = {}
1451
- end
1452
- end
1453
-
1454
- class Rechnung < Stripe::StripeObject
1455
- def self.inner_class_types
1456
- @inner_class_types = {}
1457
- end
1458
-
1459
- def self.field_remappings
1460
- @field_remappings = {}
1461
- end
1462
- end
1463
-
1464
- class RevolutPay < Stripe::StripeObject
1465
- class Funding < Stripe::StripeObject
1466
- class Card < Stripe::StripeObject
1467
- # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
1468
- attr_reader :brand
1469
- # The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
1470
- attr_reader :brand_product
1471
- # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
1472
- attr_reader :country
1473
- # Two-digit number representing the card's expiration month.
1474
- attr_reader :exp_month
1475
- # Four-digit number representing the card's expiration year.
1476
- attr_reader :exp_year
1477
- # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
1478
- attr_reader :funding
1479
- # The last four digits of the card.
1480
- attr_reader :last4
1481
-
1482
- def self.inner_class_types
1483
- @inner_class_types = {}
1484
- end
1485
-
1486
- def self.field_remappings
1487
- @field_remappings = {}
1488
- end
1489
- end
1490
- # Attribute for field card
1491
- attr_reader :card
1492
- # funding type of the underlying payment method.
1493
- attr_reader :type
1494
-
1495
- def self.inner_class_types
1496
- @inner_class_types = { card: Card }
1497
- end
1498
-
1499
- def self.field_remappings
1500
- @field_remappings = {}
1501
- end
1502
- end
1503
- # Attribute for field funding
1504
- attr_reader :funding
1505
- # The Revolut Pay transaction ID associated with this payment.
1506
- attr_reader :transaction_id
1507
-
1508
- def self.inner_class_types
1509
- @inner_class_types = { funding: Funding }
1510
- end
1511
-
1512
- def self.field_remappings
1513
- @field_remappings = {}
1514
- end
1515
- end
1516
-
1517
- class SamsungPay < Stripe::StripeObject
1518
- # A unique identifier for the buyer as determined by the local payment processor.
1519
- attr_reader :buyer_id
1520
- # The Samsung Pay transaction ID associated with this payment.
1521
- attr_reader :transaction_id
1522
-
1523
- def self.inner_class_types
1524
- @inner_class_types = {}
1525
- end
1526
-
1527
- def self.field_remappings
1528
- @field_remappings = {}
1529
- end
1530
- end
1531
-
1532
- class Satispay < Stripe::StripeObject
1533
- # The Satispay transaction ID associated with this payment.
1534
- attr_reader :transaction_id
1535
-
1536
- def self.inner_class_types
1537
- @inner_class_types = {}
1538
- end
1539
-
1540
- def self.field_remappings
1541
- @field_remappings = {}
1542
- end
1543
- end
1544
-
1545
- class SepaCreditTransfer < Stripe::StripeObject
1546
- # Name of the bank associated with the bank account.
1547
- attr_reader :bank_name
1548
- # Bank Identifier Code of the bank associated with the bank account.
1549
- attr_reader :bic
1550
- # IBAN of the bank account to transfer funds to.
1551
- attr_reader :iban
1552
-
1553
- def self.inner_class_types
1554
- @inner_class_types = {}
1555
- end
1556
-
1557
- def self.field_remappings
1558
- @field_remappings = {}
1559
- end
1560
- end
1561
-
1562
- class SepaDebit < Stripe::StripeObject
1563
- # Bank code of bank associated with the bank account.
1564
- attr_reader :bank_code
1565
- # Branch code of bank associated with the bank account.
1566
- attr_reader :branch_code
1567
- # Two-letter ISO code representing the country the bank account is located in.
1568
- attr_reader :country
1569
- # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
1570
- attr_reader :fingerprint
1571
- # Last four characters of the IBAN.
1572
- attr_reader :last4
1573
- # Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate) property on the Charge. Use this mandate ID to [retrieve the Mandate](https://stripe.com/docs/api/mandates/retrieve).
1574
- attr_reader :mandate
1575
-
1576
- def self.inner_class_types
1577
- @inner_class_types = {}
1578
- end
1579
-
1580
- def self.field_remappings
1581
- @field_remappings = {}
1582
- end
1583
- end
1584
-
1585
- class Shopeepay < Stripe::StripeObject
1586
- def self.inner_class_types
1587
- @inner_class_types = {}
1588
- end
1589
-
1590
- def self.field_remappings
1591
- @field_remappings = {}
1592
- end
1593
- end
1594
-
1595
- class Sofort < Stripe::StripeObject
1596
- # Bank code of bank associated with the bank account.
1597
- attr_reader :bank_code
1598
- # Name of the bank associated with the bank account.
1599
- attr_reader :bank_name
1600
- # Bank Identifier Code of the bank associated with the bank account.
1601
- attr_reader :bic
1602
- # Two-letter ISO code representing the country the bank account is located in.
1603
- attr_reader :country
1604
- # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
1605
- attr_reader :generated_sepa_debit
1606
- # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
1607
- attr_reader :generated_sepa_debit_mandate
1608
- # Last four characters of the IBAN.
1609
- attr_reader :iban_last4
1610
- # Preferred language of the SOFORT authorization page that the customer is redirected to.
1611
- # Can be one of `de`, `en`, `es`, `fr`, `it`, `nl`, or `pl`
1612
- attr_reader :preferred_language
1613
- # Owner's verified full name. Values are verified or provided by SOFORT directly
1614
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1615
- attr_reader :verified_name
1616
-
1617
- def self.inner_class_types
1618
- @inner_class_types = {}
1619
- end
1620
-
1621
- def self.field_remappings
1622
- @field_remappings = {}
1623
- end
1624
- end
1625
-
1626
- class StripeAccount < Stripe::StripeObject
1627
- def self.inner_class_types
1628
- @inner_class_types = {}
1629
- end
1630
-
1631
- def self.field_remappings
1632
- @field_remappings = {}
1633
- end
1634
- end
1635
-
1636
- class StripeBalance < Stripe::StripeObject
1637
- # The connected account ID whose Stripe balance to use as the source of payment
1638
- attr_reader :account
1639
- # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
1640
- attr_reader :source_type
1641
-
1642
- def self.inner_class_types
1643
- @inner_class_types = {}
1644
- end
1645
-
1646
- def self.field_remappings
1647
- @field_remappings = {}
1648
- end
1649
- end
1650
-
1651
- class Swish < Stripe::StripeObject
1652
- # Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer
1653
- attr_reader :fingerprint
1654
- # Payer bank reference number for the payment
1655
- attr_reader :payment_reference
1656
- # The last four digits of the Swish account phone number
1657
- attr_reader :verified_phone_last4
1658
-
1659
- def self.inner_class_types
1660
- @inner_class_types = {}
1661
- end
1662
-
1663
- def self.field_remappings
1664
- @field_remappings = {}
1665
- end
1666
- end
1667
-
1668
- class Twint < Stripe::StripeObject
1669
- def self.inner_class_types
1670
- @inner_class_types = {}
1671
- end
1672
-
1673
- def self.field_remappings
1674
- @field_remappings = {}
1675
- end
1676
- end
1677
-
1678
- class UsBankAccount < Stripe::StripeObject
1679
- # Attribute for field account_holder_type
1680
- attr_reader :account_holder_type
1681
- # Attribute for field account_type
1682
- attr_reader :account_type
1683
- # Name of the bank associated with the bank account.
1684
- attr_reader :bank_name
1685
- # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
1686
- attr_reader :fingerprint
1687
- # Last four digits of the bank account number.
1688
- attr_reader :last4
1689
- # ID of the mandate used to make this payment.
1690
- attr_reader :mandate
1691
- # Reference number to locate ACH payments with customer’s bank.
1692
- attr_reader :payment_reference
1693
- # Routing number of the bank account.
1694
- attr_reader :routing_number
1695
-
1696
- def self.inner_class_types
1697
- @inner_class_types = {}
1698
- end
1699
-
1700
- def self.field_remappings
1701
- @field_remappings = {}
1702
- end
1703
- end
1704
-
1705
- class Wechat < Stripe::StripeObject
1706
- def self.inner_class_types
1707
- @inner_class_types = {}
1708
- end
1709
-
1710
- def self.field_remappings
1711
- @field_remappings = {}
1712
- end
1713
- end
1714
-
1715
- class WechatPay < Stripe::StripeObject
1716
- # Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
1717
- attr_reader :fingerprint
1718
- # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
1719
- attr_reader :location
1720
- # ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
1721
- attr_reader :reader
1722
- # Transaction ID of this particular WeChat Pay transaction.
1723
- attr_reader :transaction_id
1724
-
1725
- def self.inner_class_types
1726
- @inner_class_types = {}
1727
- end
1728
-
1729
- def self.field_remappings
1730
- @field_remappings = {}
1731
- end
1732
- end
1733
-
1734
- class Zip < Stripe::StripeObject
1735
- def self.inner_class_types
1736
- @inner_class_types = {}
1737
- end
1738
-
1739
- def self.field_remappings
1740
- @field_remappings = {}
1741
- end
1742
- end
1743
- # Attribute for field ach_credit_transfer
1744
- attr_reader :ach_credit_transfer
1745
- # Attribute for field ach_debit
1746
- attr_reader :ach_debit
1747
- # Attribute for field acss_debit
1748
- attr_reader :acss_debit
1749
- # Attribute for field affirm
1750
- attr_reader :affirm
1751
- # Attribute for field afterpay_clearpay
1752
- attr_reader :afterpay_clearpay
1753
- # Attribute for field alipay
1754
- attr_reader :alipay
1755
- # Attribute for field alma
1756
- attr_reader :alma
1757
- # Attribute for field amazon_pay
1758
- attr_reader :amazon_pay
1759
- # Attribute for field au_becs_debit
1760
- attr_reader :au_becs_debit
1761
- # Attribute for field bacs_debit
1762
- attr_reader :bacs_debit
1763
- # Attribute for field bancontact
1764
- attr_reader :bancontact
1765
- # Attribute for field billie
1766
- attr_reader :billie
1767
- # The billing details associated with the method of payment.
1768
- attr_reader :billing_details
1769
- # Attribute for field blik
1770
- attr_reader :blik
1771
- # Attribute for field boleto
1772
- attr_reader :boleto
1773
- # Details of the card used for this payment attempt.
1774
- attr_reader :card
1775
- # Attribute for field card_present
1776
- attr_reader :card_present
1777
- # Attribute for field cashapp
1778
- attr_reader :cashapp
1779
- # Attribute for field crypto
1780
- attr_reader :crypto
1781
- # Custom Payment Methods represent Payment Method types not modeled directly in
1782
- # the Stripe API. This resource consists of details about the custom payment method
1783
- # used for this payment attempt.
1784
- attr_reader :custom
1785
- # Attribute for field customer_balance
1786
- attr_reader :customer_balance
1787
- # Attribute for field eps
1788
- attr_reader :eps
1789
- # Attribute for field fpx
1790
- attr_reader :fpx
1791
- # Attribute for field giropay
1792
- attr_reader :giropay
1793
- # Attribute for field gopay
1794
- attr_reader :gopay
1795
- # Attribute for field grabpay
1796
- attr_reader :grabpay
1797
- # Attribute for field id_bank_transfer
1798
- attr_reader :id_bank_transfer
1799
- # Attribute for field ideal
1800
- attr_reader :ideal
1801
- # Attribute for field interac_present
1802
- attr_reader :interac_present
1803
- # Attribute for field kakao_pay
1804
- attr_reader :kakao_pay
1805
- # Attribute for field klarna
1806
- attr_reader :klarna
1807
- # Attribute for field konbini
1808
- attr_reader :konbini
1809
- # Attribute for field kr_card
1810
- attr_reader :kr_card
1811
- # Attribute for field link
1812
- attr_reader :link
1813
- # Attribute for field mb_way
1814
- attr_reader :mb_way
1815
- # Attribute for field mobilepay
1816
- attr_reader :mobilepay
1817
- # Attribute for field multibanco
1818
- attr_reader :multibanco
1819
- # Attribute for field naver_pay
1820
- attr_reader :naver_pay
1821
- # Attribute for field nz_bank_account
1822
- attr_reader :nz_bank_account
1823
- # Attribute for field oxxo
1824
- attr_reader :oxxo
1825
- # Attribute for field p24
1826
- attr_reader :p24
1827
- # Attribute for field pay_by_bank
1828
- attr_reader :pay_by_bank
1829
- # Attribute for field payco
1830
- attr_reader :payco
1831
- # ID of the Stripe PaymentMethod used to make this payment.
1832
- attr_reader :payment_method
1833
- # Attribute for field paynow
1834
- attr_reader :paynow
1835
- # Attribute for field paypal
1836
- attr_reader :paypal
1837
- # Attribute for field paypay
1838
- attr_reader :paypay
1839
- # Attribute for field payto
1840
- attr_reader :payto
1841
- # Attribute for field pix
1842
- attr_reader :pix
1843
- # Attribute for field promptpay
1844
- attr_reader :promptpay
1845
- # Attribute for field qris
1846
- attr_reader :qris
1847
- # Attribute for field rechnung
1848
- attr_reader :rechnung
1849
- # Attribute for field revolut_pay
1850
- attr_reader :revolut_pay
1851
- # Attribute for field samsung_pay
1852
- attr_reader :samsung_pay
1853
- # Attribute for field satispay
1854
- attr_reader :satispay
1855
- # Attribute for field sepa_credit_transfer
1856
- attr_reader :sepa_credit_transfer
1857
- # Attribute for field sepa_debit
1858
- attr_reader :sepa_debit
1859
- # Attribute for field shopeepay
1860
- attr_reader :shopeepay
1861
- # Attribute for field sofort
1862
- attr_reader :sofort
1863
- # Attribute for field stripe_account
1864
- attr_reader :stripe_account
1865
- # Attribute for field stripe_balance
1866
- attr_reader :stripe_balance
1867
- # Attribute for field swish
1868
- attr_reader :swish
1869
- # Attribute for field twint
1870
- attr_reader :twint
1871
- # The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://stripe.com/docs/api/payment_methods/object#payment_method_object-type) for the full list of possible types.
1872
- # An additional hash is included on `payment_method_details` with a name matching this value.
1873
- # It contains information specific to the payment method.
1874
- attr_reader :type
1875
- # Details of the US Bank Account used for this payment attempt.
1876
- attr_reader :us_bank_account
1877
- # Attribute for field wechat
1878
- attr_reader :wechat
1879
- # Attribute for field wechat_pay
1880
- attr_reader :wechat_pay
1881
- # Attribute for field zip
1882
- attr_reader :zip
1883
-
1884
- def self.inner_class_types
1885
- @inner_class_types = {
1886
- ach_credit_transfer: AchCreditTransfer,
1887
- ach_debit: AchDebit,
1888
- acss_debit: AcssDebit,
1889
- affirm: Affirm,
1890
- afterpay_clearpay: AfterpayClearpay,
1891
- alipay: Alipay,
1892
- alma: Alma,
1893
- amazon_pay: AmazonPay,
1894
- au_becs_debit: AuBecsDebit,
1895
- bacs_debit: BacsDebit,
1896
- bancontact: Bancontact,
1897
- billie: Billie,
1898
- billing_details: BillingDetails,
1899
- blik: Blik,
1900
- boleto: Boleto,
1901
- card: Card,
1902
- card_present: CardPresent,
1903
- cashapp: Cashapp,
1904
- crypto: Crypto,
1905
- custom: Custom,
1906
- customer_balance: CustomerBalance,
1907
- eps: Eps,
1908
- fpx: Fpx,
1909
- giropay: Giropay,
1910
- gopay: Gopay,
1911
- grabpay: Grabpay,
1912
- id_bank_transfer: IdBankTransfer,
1913
- ideal: Ideal,
1914
- interac_present: InteracPresent,
1915
- kakao_pay: KakaoPay,
1916
- klarna: Klarna,
1917
- konbini: Konbini,
1918
- kr_card: KrCard,
1919
- link: Link,
1920
- mb_way: MbWay,
1921
- mobilepay: Mobilepay,
1922
- multibanco: Multibanco,
1923
- naver_pay: NaverPay,
1924
- nz_bank_account: NzBankAccount,
1925
- oxxo: Oxxo,
1926
- p24: P24,
1927
- pay_by_bank: PayByBank,
1928
- payco: Payco,
1929
- paynow: Paynow,
1930
- paypal: Paypal,
1931
- paypay: Paypay,
1932
- payto: Payto,
1933
- pix: Pix,
1934
- promptpay: Promptpay,
1935
- qris: Qris,
1936
- rechnung: Rechnung,
1937
- revolut_pay: RevolutPay,
1938
- samsung_pay: SamsungPay,
1939
- satispay: Satispay,
1940
- sepa_credit_transfer: SepaCreditTransfer,
1941
- sepa_debit: SepaDebit,
1942
- shopeepay: Shopeepay,
1943
- sofort: Sofort,
1944
- stripe_account: StripeAccount,
1945
- stripe_balance: StripeBalance,
1946
- swish: Swish,
1947
- twint: Twint,
1948
- us_bank_account: UsBankAccount,
1949
- wechat: Wechat,
1950
- wechat_pay: WechatPay,
1951
- zip: Zip,
1952
- }
1953
- end
1954
-
1955
- def self.field_remappings
1956
- @field_remappings = {}
1957
- end
1958
- end
1959
-
1960
- class ProcessorDetails < Stripe::StripeObject
1961
- class Custom < Stripe::StripeObject
1962
- # An opaque string for manual reconciliation of this payment, for example a check number or a payment processor ID.
1963
- attr_reader :payment_reference
1964
-
1965
- def self.inner_class_types
1966
- @inner_class_types = {}
1967
- end
1968
-
1969
- def self.field_remappings
1970
- @field_remappings = {}
1971
- end
1972
- end
1973
- # Custom processors represent payment processors not modeled directly in
1974
- # the Stripe API. This resource consists of details about the custom processor
1975
- # used for this payment attempt.
1976
- attr_reader :custom
1977
- # The processor used for this payment attempt.
1978
- attr_reader :type
1979
-
1980
- def self.inner_class_types
1981
- @inner_class_types = { custom: Custom }
1982
- end
1983
-
1984
- def self.field_remappings
1985
- @field_remappings = {}
1986
- end
1987
- end
1988
-
1989
- class ShippingDetails < Stripe::StripeObject
1990
- class Address < Stripe::StripeObject
1991
- # City, district, suburb, town, or village.
1992
- attr_reader :city
1993
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1994
- attr_reader :country
1995
- # Address line 1, such as the street, PO Box, or company name.
1996
- attr_reader :line1
1997
- # Address line 2, such as the apartment, suite, unit, or building.
1998
- attr_reader :line2
1999
- # ZIP or postal code.
2000
- attr_reader :postal_code
2001
- # State, county, province, or region.
2002
- attr_reader :state
2003
-
2004
- def self.inner_class_types
2005
- @inner_class_types = {}
2006
- end
2007
-
2008
- def self.field_remappings
2009
- @field_remappings = {}
2010
- end
2011
- end
2012
- # A representation of a physical address.
2013
- attr_reader :address
2014
- # The shipping recipient's name.
2015
- attr_reader :name
2016
- # The shipping recipient's phone number.
2017
- attr_reader :phone
2018
-
2019
- def self.inner_class_types
2020
- @inner_class_types = { address: Address }
2021
- end
2022
-
2023
- def self.field_remappings
2024
- @field_remappings = {}
2025
- end
2026
- end
2027
- # A representation of an amount of money, consisting of an amount and a currency.
2028
- attr_reader :amount
2029
- # A representation of an amount of money, consisting of an amount and a currency.
2030
- attr_reader :amount_authorized
2031
- # A representation of an amount of money, consisting of an amount and a currency.
2032
- attr_reader :amount_canceled
2033
- # A representation of an amount of money, consisting of an amount and a currency.
2034
- attr_reader :amount_failed
2035
- # A representation of an amount of money, consisting of an amount and a currency.
2036
- attr_reader :amount_guaranteed
2037
- # A representation of an amount of money, consisting of an amount and a currency.
2038
- attr_reader :amount_refunded
2039
- # A representation of an amount of money, consisting of an amount and a currency.
2040
- attr_reader :amount_requested
2041
- # ID of the Connect application that created the PaymentRecord.
2042
- attr_reader :application
2043
- # Time at which the object was created. Measured in seconds since the Unix epoch.
2044
- attr_reader :created
2045
- # Customer information for this payment.
2046
- attr_reader :customer_details
2047
- # Indicates whether the customer was present in your checkout flow during this payment.
2048
- attr_reader :customer_presence
2049
- # An arbitrary string attached to the object. Often useful for displaying to users.
2050
- attr_reader :description
2051
- # Unique identifier for the object.
2052
- attr_reader :id
2053
- # ID of the latest Payment Attempt Record attached to this Payment Record.
2054
- attr_reader :latest_payment_attempt_record
2055
- # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
2056
- attr_reader :livemode
2057
- # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
2058
- attr_reader :metadata
2059
- # String representing the object's type. Objects of the same type share the same value.
2060
- attr_reader :object
2061
- # Information about the Payment Method debited for this payment.
2062
- attr_reader :payment_method_details
2063
- # Processor information associated with this payment.
2064
- attr_reader :processor_details
2065
- # Shipping information for this payment.
2066
- attr_reader :shipping_details
2067
-
2068
- # Report a new Payment Record. You may report a Payment Record as it is
2069
- # initialized and later report updates through the other report_* methods, or report Payment
2070
- # Records in a terminal state directly, through this method.
2071
- def self.report_payment(params = {}, opts = {})
2072
- request_stripe_object(
2073
- method: :post,
2074
- path: "/v1/payment_records/report_payment",
2075
- params: params,
2076
- opts: opts
2077
- )
2078
- end
2079
-
2080
- # Report a new payment attempt on the specified Payment Record. A new payment
2081
- # attempt can only be specified if all other payment attempts are canceled or failed.
2082
- def report_payment_attempt(params = {}, opts = {})
2083
- request_stripe_object(
2084
- method: :post,
2085
- path: format("/v1/payment_records/%<id>s/report_payment_attempt", { id: CGI.escape(self["id"]) }),
2086
- params: params,
2087
- opts: opts
2088
- )
2089
- end
2090
-
2091
- # Report a new payment attempt on the specified Payment Record. A new payment
2092
- # attempt can only be specified if all other payment attempts are canceled or failed.
2093
- def self.report_payment_attempt(id, params = {}, opts = {})
2094
- request_stripe_object(
2095
- method: :post,
2096
- path: format("/v1/payment_records/%<id>s/report_payment_attempt", { id: CGI.escape(id) }),
2097
- params: params,
2098
- opts: opts
2099
- )
2100
- end
2101
-
2102
- # Report that the most recent payment attempt on the specified Payment Record
2103
- # was canceled.
2104
- def report_payment_attempt_canceled(params = {}, opts = {})
2105
- request_stripe_object(
2106
- method: :post,
2107
- path: format("/v1/payment_records/%<id>s/report_payment_attempt_canceled", { id: CGI.escape(self["id"]) }),
2108
- params: params,
2109
- opts: opts
2110
- )
2111
- end
2112
-
2113
- # Report that the most recent payment attempt on the specified Payment Record
2114
- # was canceled.
2115
- def self.report_payment_attempt_canceled(id, params = {}, opts = {})
2116
- request_stripe_object(
2117
- method: :post,
2118
- path: format("/v1/payment_records/%<id>s/report_payment_attempt_canceled", { id: CGI.escape(id) }),
2119
- params: params,
2120
- opts: opts
2121
- )
2122
- end
2123
-
2124
- # Report that the most recent payment attempt on the specified Payment Record
2125
- # failed or errored.
2126
- def report_payment_attempt_failed(params = {}, opts = {})
2127
- request_stripe_object(
2128
- method: :post,
2129
- path: format("/v1/payment_records/%<id>s/report_payment_attempt_failed", { id: CGI.escape(self["id"]) }),
2130
- params: params,
2131
- opts: opts
2132
- )
2133
- end
2134
-
2135
- # Report that the most recent payment attempt on the specified Payment Record
2136
- # failed or errored.
2137
- def self.report_payment_attempt_failed(id, params = {}, opts = {})
2138
- request_stripe_object(
2139
- method: :post,
2140
- path: format("/v1/payment_records/%<id>s/report_payment_attempt_failed", { id: CGI.escape(id) }),
2141
- params: params,
2142
- opts: opts
2143
- )
2144
- end
2145
-
2146
- # Report that the most recent payment attempt on the specified Payment Record
2147
- # was guaranteed.
2148
- def report_payment_attempt_guaranteed(params = {}, opts = {})
2149
- request_stripe_object(
2150
- method: :post,
2151
- path: format("/v1/payment_records/%<id>s/report_payment_attempt_guaranteed", { id: CGI.escape(self["id"]) }),
2152
- params: params,
2153
- opts: opts
2154
- )
2155
- end
2156
-
2157
- # Report that the most recent payment attempt on the specified Payment Record
2158
- # was guaranteed.
2159
- def self.report_payment_attempt_guaranteed(id, params = {}, opts = {})
2160
- request_stripe_object(
2161
- method: :post,
2162
- path: format("/v1/payment_records/%<id>s/report_payment_attempt_guaranteed", { id: CGI.escape(id) }),
2163
- params: params,
2164
- opts: opts
2165
- )
2166
- end
2167
-
2168
- # Report informational updates on the specified Payment Record.
2169
- def report_payment_attempt_informational(params = {}, opts = {})
2170
- request_stripe_object(
2171
- method: :post,
2172
- path: format("/v1/payment_records/%<id>s/report_payment_attempt_informational", { id: CGI.escape(self["id"]) }),
2173
- params: params,
2174
- opts: opts
2175
- )
2176
- end
2177
-
2178
- # Report informational updates on the specified Payment Record.
2179
- def self.report_payment_attempt_informational(id, params = {}, opts = {})
2180
- request_stripe_object(
2181
- method: :post,
2182
- path: format("/v1/payment_records/%<id>s/report_payment_attempt_informational", { id: CGI.escape(id) }),
2183
- params: params,
2184
- opts: opts
2185
- )
2186
- end
2187
-
2188
- def self.inner_class_types
2189
- @inner_class_types = {
2190
- amount: Amount,
2191
- amount_authorized: AmountAuthorized,
2192
- amount_canceled: AmountCanceled,
2193
- amount_failed: AmountFailed,
2194
- amount_guaranteed: AmountGuaranteed,
2195
- amount_refunded: AmountRefunded,
2196
- amount_requested: AmountRequested,
2197
- customer_details: CustomerDetails,
2198
- payment_method_details: PaymentMethodDetails,
2199
- processor_details: ProcessorDetails,
2200
- shipping_details: ShippingDetails,
2201
- }
2202
- end
2203
-
2204
- def self.field_remappings
2205
- @field_remappings = {}
2206
- end
2207
- end
2208
- end