stripe 16.1.0.pre.beta.1 → 17.0.0

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