stripe 13.4.0.pre.beta.4 → 13.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (744) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +653 -1422
  3. data/CONTRIBUTING.md +25 -0
  4. data/OPENAPI_VERSION +1 -1
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_operations/request.rb +0 -1
  7. data/lib/stripe/api_requestor.rb +0 -1
  8. data/lib/stripe/object_types.rb +0 -32
  9. data/lib/stripe/resources/account.rb +0 -5163
  10. data/lib/stripe/resources/account_link.rb +0 -54
  11. data/lib/stripe/resources/account_session.rb +0 -967
  12. data/lib/stripe/resources/apple_pay_domain.rb +0 -63
  13. data/lib/stripe/resources/application_fee.rb +0 -96
  14. data/lib/stripe/resources/application_fee_refund.rb +0 -17
  15. data/lib/stripe/resources/apps/secret.rb +0 -141
  16. data/lib/stripe/resources/balance.rb +0 -131
  17. data/lib/stripe/resources/balance_transaction.rb +0 -112
  18. data/lib/stripe/resources/bank_account.rb +2 -84
  19. data/lib/stripe/resources/billing/alert.rb +0 -144
  20. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -77
  21. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -116
  22. data/lib/stripe/resources/billing/credit_grant.rb +0 -203
  23. data/lib/stripe/resources/billing/meter.rb +0 -178
  24. data/lib/stripe/resources/billing/meter_event.rb +0 -35
  25. data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -43
  26. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -15
  27. data/lib/stripe/resources/billing_portal/configuration.rb +0 -562
  28. data/lib/stripe/resources/billing_portal/session.rb +0 -271
  29. data/lib/stripe/resources/capability.rb +0 -84
  30. data/lib/stripe/resources/card.rb +0 -79
  31. data/lib/stripe/resources/cash_balance.rb +0 -17
  32. data/lib/stripe/resources/charge.rb +0 -3030
  33. data/lib/stripe/resources/checkout/session.rb +0 -3670
  34. data/lib/stripe/resources/climate/order.rb +0 -176
  35. data/lib/stripe/resources/climate/product.rb +0 -56
  36. data/lib/stripe/resources/climate/supplier.rb +0 -54
  37. data/lib/stripe/resources/confirmation_token.rb +0 -1530
  38. data/lib/stripe/resources/country_spec.rb +0 -63
  39. data/lib/stripe/resources/coupon.rb +0 -198
  40. data/lib/stripe/resources/credit_note.rb +0 -660
  41. data/lib/stripe/resources/credit_note_line_item.rb +0 -65
  42. data/lib/stripe/resources/customer.rb +0 -840
  43. data/lib/stripe/resources/customer_balance_transaction.rb +0 -27
  44. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -109
  45. data/lib/stripe/resources/customer_session.rb +0 -159
  46. data/lib/stripe/resources/discount.rb +0 -29
  47. data/lib/stripe/resources/dispute.rb +0 -619
  48. data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -46
  49. data/lib/stripe/resources/entitlements/feature.rb +0 -90
  50. data/lib/stripe/resources/ephemeral_key.rb +0 -21
  51. data/lib/stripe/resources/event.rb +0 -130
  52. data/lib/stripe/resources/exchange_rate.rb +0 -33
  53. data/lib/stripe/resources/file.rb +0 -111
  54. data/lib/stripe/resources/file_link.rb +0 -112
  55. data/lib/stripe/resources/financial_connections/account.rb +0 -260
  56. data/lib/stripe/resources/financial_connections/account_owner.rb +0 -17
  57. data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -9
  58. data/lib/stripe/resources/financial_connections/session.rb +0 -159
  59. data/lib/stripe/resources/financial_connections/transaction.rb +0 -101
  60. data/lib/stripe/resources/forwarding/request.rb +0 -165
  61. data/lib/stripe/resources/funding_instructions.rb +0 -308
  62. data/lib/stripe/resources/identity/verification_report.rb +0 -266
  63. data/lib/stripe/resources/identity/verification_session.rb +0 -361
  64. data/lib/stripe/resources/invoice.rb +0 -8078
  65. data/lib/stripe/resources/invoice_item.rb +0 -445
  66. data/lib/stripe/resources/invoice_line_item.rb +0 -333
  67. data/lib/stripe/resources/invoice_rendering_template.rb +0 -67
  68. data/lib/stripe/resources/issuing/authorization.rb +0 -1113
  69. data/lib/stripe/resources/issuing/card.rb +0 -666
  70. data/lib/stripe/resources/issuing/cardholder.rb +0 -658
  71. data/lib/stripe/resources/issuing/dispute.rb +0 -790
  72. data/lib/stripe/resources/issuing/personalization_design.rb +0 -285
  73. data/lib/stripe/resources/issuing/physical_bundle.rb +0 -63
  74. data/lib/stripe/resources/issuing/token.rb +0 -175
  75. data/lib/stripe/resources/issuing/transaction.rb +0 -927
  76. data/lib/stripe/resources/line_item.rb +0 -75
  77. data/lib/stripe/resources/login_link.rb +0 -7
  78. data/lib/stripe/resources/mandate.rb +0 -169
  79. data/lib/stripe/resources/payment_intent.rb +0 -12910
  80. data/lib/stripe/resources/payment_link.rb +0 -1563
  81. data/lib/stripe/resources/payment_method.rb +0 -1655
  82. data/lib/stripe/resources/payment_method_configuration.rb +0 -2903
  83. data/lib/stripe/resources/payment_method_domain.rb +0 -153
  84. data/lib/stripe/resources/payout.rb +0 -218
  85. data/lib/stripe/resources/person.rb +0 -263
  86. data/lib/stripe/resources/plan.rb +0 -317
  87. data/lib/stripe/resources/price.rb +0 -649
  88. data/lib/stripe/resources/product.rb +0 -536
  89. data/lib/stripe/resources/product_feature.rb +0 -12
  90. data/lib/stripe/resources/promotion_code.rb +0 -221
  91. data/lib/stripe/resources/quote.rb +0 -2946
  92. data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -77
  93. data/lib/stripe/resources/radar/value_list.rb +0 -125
  94. data/lib/stripe/resources/radar/value_list_item.rb +0 -95
  95. data/lib/stripe/resources/refund.rb +0 -397
  96. data/lib/stripe/resources/reporting/report_run.rb +0 -150
  97. data/lib/stripe/resources/reporting/report_type.rb +0 -36
  98. data/lib/stripe/resources/reversal.rb +0 -21
  99. data/lib/stripe/resources/review.rb +0 -108
  100. data/lib/stripe/resources/setup_attempt.rb +0 -373
  101. data/lib/stripe/resources/setup_intent.rb +0 -3855
  102. data/lib/stripe/resources/shipping_rate.rb +0 -259
  103. data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -54
  104. data/lib/stripe/resources/source.rb +0 -1239
  105. data/lib/stripe/resources/source_transaction.rb +0 -85
  106. data/lib/stripe/resources/subscription.rb +0 -2057
  107. data/lib/stripe/resources/subscription_item.rb +0 -433
  108. data/lib/stripe/resources/subscription_schedule.rb +0 -2402
  109. data/lib/stripe/resources/tax/calculation.rb +0 -387
  110. data/lib/stripe/resources/tax/calculation_line_item.rb +0 -56
  111. data/lib/stripe/resources/tax/registration.rb +0 -2382
  112. data/lib/stripe/resources/tax/settings.rb +0 -126
  113. data/lib/stripe/resources/tax/transaction.rb +0 -267
  114. data/lib/stripe/resources/tax/transaction_line_item.rb +0 -31
  115. data/lib/stripe/resources/tax_code.rb +0 -35
  116. data/lib/stripe/resources/tax_id.rb +0 -121
  117. data/lib/stripe/resources/tax_rate.rb +0 -200
  118. data/lib/stripe/resources/terminal/configuration.rb +0 -1060
  119. data/lib/stripe/resources/terminal/connection_token.rb +0 -18
  120. data/lib/stripe/resources/terminal/location.rb +0 -175
  121. data/lib/stripe/resources/terminal/reader.rb +0 -774
  122. data/lib/stripe/resources/test_helpers/test_clock.rb +0 -86
  123. data/lib/stripe/resources/token.rb +0 -1168
  124. data/lib/stripe/resources/topup.rb +0 -174
  125. data/lib/stripe/resources/transfer.rb +0 -153
  126. data/lib/stripe/resources/treasury/credit_reversal.rb +0 -92
  127. data/lib/stripe/resources/treasury/debit_reversal.rb +0 -103
  128. data/lib/stripe/resources/treasury/financial_account.rb +0 -752
  129. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -191
  130. data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -235
  131. data/lib/stripe/resources/treasury/outbound_payment.rb +0 -495
  132. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -387
  133. data/lib/stripe/resources/treasury/received_credit.rb +0 -283
  134. data/lib/stripe/resources/treasury/received_debit.rb +0 -244
  135. data/lib/stripe/resources/treasury/transaction.rb +0 -176
  136. data/lib/stripe/resources/treasury/transaction_entry.rb +0 -157
  137. data/lib/stripe/resources/usage_record.rb +0 -13
  138. data/lib/stripe/resources/usage_record_summary.rb +0 -21
  139. data/lib/stripe/resources/v2/billing/meter_event.rb +0 -18
  140. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -21
  141. data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -14
  142. data/lib/stripe/resources/v2/event.rb +0 -27
  143. data/lib/stripe/resources/v2/event_destination.rb +0 -59
  144. data/lib/stripe/resources/webhook_endpoint.rb +0 -122
  145. data/lib/stripe/resources.rb +0 -31
  146. data/lib/stripe/services/account_capability_service.rb +0 -32
  147. data/lib/stripe/services/account_external_account_service.rb +0 -250
  148. data/lib/stripe/services/account_link_service.rb +0 -46
  149. data/lib/stripe/services/account_login_link_service.rb +0 -9
  150. data/lib/stripe/services/account_person_service.rb +0 -875
  151. data/lib/stripe/services/account_service.rb +0 -4441
  152. data/lib/stripe/services/account_session_service.rb +0 -682
  153. data/lib/stripe/services/apple_pay_domain_service.rb +0 -51
  154. data/lib/stripe/services/application_fee_refund_service.rb +0 -54
  155. data/lib/stripe/services/application_fee_service.rb +0 -57
  156. data/lib/stripe/services/apps/secret_service.rb +0 -116
  157. data/lib/stripe/services/balance_service.rb +0 -9
  158. data/lib/stripe/services/balance_transaction_service.rb +0 -69
  159. data/lib/stripe/services/billing/alert_service.rb +0 -113
  160. data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -37
  161. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -40
  162. data/lib/stripe/services/billing/credit_grant_service.rb +0 -151
  163. data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -26
  164. data/lib/stripe/services/billing/meter_event_service.rb +0 -21
  165. data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -39
  166. data/lib/stripe/services/billing/meter_service.rb +0 -130
  167. data/lib/stripe/services/billing_portal/configuration_service.rb +0 -444
  168. data/lib/stripe/services/billing_portal/session_service.rb +0 -173
  169. data/lib/stripe/services/charge_service.rb +0 -1736
  170. data/lib/stripe/services/checkout/session_line_item_service.rb +0 -18
  171. data/lib/stripe/services/checkout/session_service.rb +0 -2472
  172. data/lib/stripe/services/climate/order_service.rb +0 -102
  173. data/lib/stripe/services/climate/product_service.rb +0 -27
  174. data/lib/stripe/services/climate/supplier_service.rb +0 -27
  175. data/lib/stripe/services/confirmation_token_service.rb +0 -9
  176. data/lib/stripe/services/country_spec_service.rb +0 -27
  177. data/lib/stripe/services/coupon_service.rb +0 -152
  178. data/lib/stripe/services/credit_note_line_item_service.rb +0 -18
  179. data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -156
  180. data/lib/stripe/services/credit_note_service.rb +0 -373
  181. data/lib/stripe/services/customer_balance_transaction_service.rb +0 -63
  182. data/lib/stripe/services/customer_cash_balance_service.rb +0 -29
  183. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -27
  184. data/lib/stripe/services/customer_funding_instructions_service.rb +0 -42
  185. data/lib/stripe/services/customer_payment_method_service.rb +0 -40
  186. data/lib/stripe/services/customer_payment_source_service.rb +0 -179
  187. data/lib/stripe/services/customer_service.rb +0 -593
  188. data/lib/stripe/services/customer_session_service.rb +0 -96
  189. data/lib/stripe/services/customer_tax_id_service.rb +0 -45
  190. data/lib/stripe/services/dispute_service.rb +0 -374
  191. data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -36
  192. data/lib/stripe/services/entitlements/feature_service.rb +0 -76
  193. data/lib/stripe/services/ephemeral_key_service.rb +0 -36
  194. data/lib/stripe/services/event_service.rb +0 -65
  195. data/lib/stripe/services/exchange_rate_service.rb +0 -27
  196. data/lib/stripe/services/file_link_service.rb +0 -94
  197. data/lib/stripe/services/file_service.rb +0 -89
  198. data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -27
  199. data/lib/stripe/services/financial_connections/account_service.rb +1 -99
  200. data/lib/stripe/services/financial_connections/session_service.rb +0 -97
  201. data/lib/stripe/services/financial_connections/transaction_service.rb +0 -70
  202. data/lib/stripe/services/financial_connections_service.rb +1 -2
  203. data/lib/stripe/services/forwarding/request_service.rb +0 -106
  204. data/lib/stripe/services/identity/verification_report_service.rb +0 -65
  205. data/lib/stripe/services/identity/verification_session_service.rb +0 -231
  206. data/lib/stripe/services/invoice_item_service.rb +0 -388
  207. data/lib/stripe/services/invoice_line_item_service.rb +0 -237
  208. data/lib/stripe/services/invoice_rendering_template_service.rb +0 -51
  209. data/lib/stripe/services/invoice_service.rb +1 -5567
  210. data/lib/stripe/services/invoice_upcoming_lines_service.rb +0 -1864
  211. data/lib/stripe/services/issuing/authorization_service.rb +0 -104
  212. data/lib/stripe/services/issuing/card_service.rb +0 -455
  213. data/lib/stripe/services/issuing/cardholder_service.rb +0 -526
  214. data/lib/stripe/services/issuing/dispute_service.rb +0 -633
  215. data/lib/stripe/services/issuing/personalization_design_service.rb +0 -193
  216. data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -40
  217. data/lib/stripe/services/issuing/token_service.rb +0 -73
  218. data/lib/stripe/services/issuing/transaction_service.rb +0 -81
  219. data/lib/stripe/services/issuing_service.rb +1 -5
  220. data/lib/stripe/services/mandate_service.rb +0 -9
  221. data/lib/stripe/services/payment_intent_service.rb +0 -10936
  222. data/lib/stripe/services/payment_link_line_item_service.rb +0 -18
  223. data/lib/stripe/services/payment_link_service.rb +0 -1223
  224. data/lib/stripe/services/payment_method_configuration_service.rb +0 -2088
  225. data/lib/stripe/services/payment_method_domain_service.rb +0 -76
  226. data/lib/stripe/services/payment_method_service.rb +0 -878
  227. data/lib/stripe/services/payout_service.rb +0 -159
  228. data/lib/stripe/services/plan_service.rb +0 -253
  229. data/lib/stripe/services/price_service.rb +0 -516
  230. data/lib/stripe/services/product_feature_service.rb +0 -42
  231. data/lib/stripe/services/product_service.rb +0 -459
  232. data/lib/stripe/services/promotion_code_service.rb +0 -178
  233. data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -18
  234. data/lib/stripe/services/quote_line_item_service.rb +0 -18
  235. data/lib/stripe/services/quote_service.rb +1 -2319
  236. data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -61
  237. data/lib/stripe/services/radar/value_list_item_service.rb +0 -79
  238. data/lib/stripe/services/radar/value_list_service.rb +0 -103
  239. data/lib/stripe/services/refund_service.rb +0 -137
  240. data/lib/stripe/services/reporting/report_run_service.rb +0 -106
  241. data/lib/stripe/services/reporting/report_type_service.rb +0 -18
  242. data/lib/stripe/services/review_service.rb +0 -56
  243. data/lib/stripe/services/setup_attempt_service.rb +0 -51
  244. data/lib/stripe/services/setup_intent_service.rb +0 -3497
  245. data/lib/stripe/services/shipping_rate_service.rb +0 -200
  246. data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -27
  247. data/lib/stripe/services/source_service.rb +0 -601
  248. data/lib/stripe/services/source_transaction_service.rb +0 -18
  249. data/lib/stripe/services/subscription_item_service.rb +0 -383
  250. data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -18
  251. data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -18
  252. data/lib/stripe/services/subscription_schedule_service.rb +0 -2053
  253. data/lib/stripe/services/subscription_service.rb +0 -1722
  254. data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -18
  255. data/lib/stripe/services/tax/calculation_service.rb +0 -205
  256. data/lib/stripe/services/tax/registration_service.rb +0 -1564
  257. data/lib/stripe/services/tax/settings_service.rb +0 -74
  258. data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -18
  259. data/lib/stripe/services/tax/transaction_service.rb +0 -111
  260. data/lib/stripe/services/tax_code_service.rb +0 -27
  261. data/lib/stripe/services/tax_id_service.rb +0 -79
  262. data/lib/stripe/services/tax_rate_service.rb +0 -155
  263. data/lib/stripe/services/tax_service.rb +1 -3
  264. data/lib/stripe/services/terminal/configuration_service.rb +0 -831
  265. data/lib/stripe/services/terminal/connection_token_service.rb +0 -12
  266. data/lib/stripe/services/terminal/location_service.rb +0 -144
  267. data/lib/stripe/services/terminal/reader_service.rb +0 -443
  268. data/lib/stripe/services/terminal_service.rb +1 -2
  269. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -680
  270. data/lib/stripe/services/test_helpers/customer_service.rb +0 -18
  271. data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -745
  272. data/lib/stripe/services/test_helpers/issuing/card_service.rb +0 -45
  273. data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -41
  274. data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -632
  275. data/lib/stripe/services/test_helpers/refund_service.rb +0 -9
  276. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -44
  277. data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -57
  278. data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -38
  279. data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -87
  280. data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -87
  281. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -84
  282. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -84
  283. data/lib/stripe/services/token_service.rb +0 -1140
  284. data/lib/stripe/services/topup_service.rb +0 -142
  285. data/lib/stripe/services/transfer_reversal_service.rb +0 -66
  286. data/lib/stripe/services/transfer_service.rb +0 -119
  287. data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -59
  288. data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -63
  289. data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -169
  290. data/lib/stripe/services/treasury/financial_account_service.rb +0 -498
  291. data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -88
  292. data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -258
  293. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -148
  294. data/lib/stripe/services/treasury/received_credit_service.rb +0 -52
  295. data/lib/stripe/services/treasury/received_debit_service.rb +0 -40
  296. data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -87
  297. data/lib/stripe/services/treasury/transaction_service.rb +0 -95
  298. data/lib/stripe/services/v1_services.rb +1 -8
  299. data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -23
  300. data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -25
  301. data/lib/stripe/services/v2/billing/meter_event_session_service.rb +0 -3
  302. data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -33
  303. data/lib/stripe/services/v2/core/event_destination_service.rb +0 -146
  304. data/lib/stripe/services/v2/core/event_service.rb +0 -18
  305. data/lib/stripe/services/webhook_endpoint_service.rb +0 -96
  306. data/lib/stripe/services.rb +0 -25
  307. data/lib/stripe/stripe_client.rb +1 -1
  308. data/lib/stripe/stripe_configuration.rb +1 -3
  309. data/lib/stripe/stripe_object.rb +0 -5
  310. data/lib/stripe/util.rb +1 -7
  311. data/lib/stripe/version.rb +1 -1
  312. data/lib/stripe.rb +0 -46
  313. metadata +5 -435
  314. data/lib/stripe/request_params.rb +0 -24
  315. data/lib/stripe/request_signing_authenticator.rb +0 -79
  316. data/lib/stripe/resources/account_notice.rb +0 -132
  317. data/lib/stripe/resources/application.rb +0 -20
  318. data/lib/stripe/resources/billing/alert_triggered.rb +0 -26
  319. data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
  320. data/lib/stripe/resources/capital/financing_offer.rb +0 -188
  321. data/lib/stripe/resources/capital/financing_summary.rb +0 -64
  322. data/lib/stripe/resources/capital/financing_transaction.rb +0 -123
  323. data/lib/stripe/resources/connect_collection_transfer.rb +0 -24
  324. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -23
  325. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  326. data/lib/stripe/resources/financial_connections/institution.rb +0 -99
  327. data/lib/stripe/resources/gift_cards/card.rb +0 -217
  328. data/lib/stripe/resources/gift_cards/transaction.rb +0 -281
  329. data/lib/stripe/resources/invoice_payment.rb +0 -56
  330. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -611
  331. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -84
  332. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -95
  333. data/lib/stripe/resources/issuing/settlement.rb +0 -49
  334. data/lib/stripe/resources/margin.rb +0 -124
  335. data/lib/stripe/resources/order.rb +0 -2850
  336. data/lib/stripe/resources/payment_attempt_record.rb +0 -184
  337. data/lib/stripe/resources/payment_record.rb +0 -715
  338. data/lib/stripe/resources/quote_line.rb +0 -274
  339. data/lib/stripe/resources/quote_preview_invoice.rb +0 -652
  340. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -362
  341. data/lib/stripe/resources/reserve_transaction.rb +0 -22
  342. data/lib/stripe/resources/source_mandate_notification.rb +0 -66
  343. data/lib/stripe/resources/tax/association.rb +0 -89
  344. data/lib/stripe/resources/tax/form.rb +0 -220
  345. data/lib/stripe/resources/tax_deducted_at_source.rb +0 -22
  346. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -40
  347. data/lib/stripe/resources/v2/amount.rb +0 -9
  348. data/lib/stripe/services/account_notice_service.rb +0 -101
  349. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  350. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  351. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  352. data/lib/stripe/services/capital_service.rb +0 -15
  353. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -37
  354. data/lib/stripe/services/financial_connections/institution_service.rb +0 -57
  355. data/lib/stripe/services/gift_cards/card_service.rb +0 -170
  356. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
  357. data/lib/stripe/services/gift_cards_service.rb +0 -14
  358. data/lib/stripe/services/invoice_payment_service.rb +0 -55
  359. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  360. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  361. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  362. data/lib/stripe/services/margin_service.rb +0 -119
  363. data/lib/stripe/services/order_line_item_service.rb +0 -35
  364. data/lib/stripe/services/order_service.rb +0 -2254
  365. data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
  366. data/lib/stripe/services/payment_record_service.rb +0 -542
  367. data/lib/stripe/services/quote_line_service.rb +0 -35
  368. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -35
  369. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
  370. data/lib/stripe/services/tax/association_service.rb +0 -31
  371. data/lib/stripe/services/tax/form_service.rb +0 -100
  372. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  373. data/rbi/stripe/resources/account.rbi +0 -5185
  374. data/rbi/stripe/resources/account_link.rbi +0 -74
  375. data/rbi/stripe/resources/account_notice.rbi +0 -139
  376. data/rbi/stripe/resources/account_session.rbi +0 -1122
  377. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -97
  378. data/rbi/stripe/resources/application.rbi +0 -20
  379. data/rbi/stripe/resources/application_fee.rbi +0 -123
  380. data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
  381. data/rbi/stripe/resources/apps/secret.rbi +0 -195
  382. data/rbi/stripe/resources/balance.rbi +0 -187
  383. data/rbi/stripe/resources/balance_transaction.rbi +0 -149
  384. data/rbi/stripe/resources/bank_account.rbi +0 -127
  385. data/rbi/stripe/resources/billing/alert.rbi +0 -206
  386. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
  387. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -102
  388. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -154
  389. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -269
  390. data/rbi/stripe/resources/billing/meter.rbi +0 -233
  391. data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -71
  392. data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
  393. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
  394. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -33
  395. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -640
  396. data/rbi/stripe/resources/billing_portal/session.rbi +0 -341
  397. data/rbi/stripe/resources/capability.rbi +0 -125
  398. data/rbi/stripe/resources/capital/financing_offer.rbi +0 -190
  399. data/rbi/stripe/resources/capital/financing_summary.rbi +0 -74
  400. data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -130
  401. data/rbi/stripe/resources/card.rbi +0 -128
  402. data/rbi/stripe/resources/cash_balance.rbi +0 -32
  403. data/rbi/stripe/resources/charge.rbi +0 -3488
  404. data/rbi/stripe/resources/checkout/session.rbi +0 -4015
  405. data/rbi/stripe/resources/climate/order.rbi +0 -250
  406. data/rbi/stripe/resources/climate/product.rbi +0 -82
  407. data/rbi/stripe/resources/climate/supplier.rbi +0 -79
  408. data/rbi/stripe/resources/confirmation_token.rbi +0 -1787
  409. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
  410. data/rbi/stripe/resources/country_spec.rbi +0 -92
  411. data/rbi/stripe/resources/coupon.rbi +0 -257
  412. data/rbi/stripe/resources/credit_note.rbi +0 -759
  413. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -99
  414. data/rbi/stripe/resources/customer.rbi +0 -1001
  415. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -53
  416. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
  417. data/rbi/stripe/resources/customer_session.rbi +0 -196
  418. data/rbi/stripe/resources/discount.rbi +0 -53
  419. data/rbi/stripe/resources/dispute.rbi +0 -764
  420. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -65
  421. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
  422. data/rbi/stripe/resources/entitlements/feature.rbi +0 -124
  423. data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
  424. data/rbi/stripe/resources/event.rbi +0 -190
  425. data/rbi/stripe/resources/exchange_rate.rbi +0 -73
  426. data/rbi/stripe/resources/file.rbi +0 -148
  427. data/rbi/stripe/resources/file_link.rbi +0 -146
  428. data/rbi/stripe/resources/financial_connections/account.rbi +0 -358
  429. data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -27
  430. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
  431. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
  432. data/rbi/stripe/resources/financial_connections/institution.rbi +0 -99
  433. data/rbi/stripe/resources/financial_connections/session.rbi +0 -186
  434. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -127
  435. data/rbi/stripe/resources/forwarding/request.rbi +0 -219
  436. data/rbi/stripe/resources/funding_instructions.rbi +0 -437
  437. data/rbi/stripe/resources/gift_cards/card.rbi +0 -206
  438. data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -257
  439. data/rbi/stripe/resources/identity/verification_report.rbi +0 -354
  440. data/rbi/stripe/resources/identity/verification_session.rbi +0 -518
  441. data/rbi/stripe/resources/invoice.rbi +0 -8928
  442. data/rbi/stripe/resources/invoice_item.rbi +0 -514
  443. data/rbi/stripe/resources/invoice_line_item.rbi +0 -400
  444. data/rbi/stripe/resources/invoice_payment.rbi +0 -70
  445. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -114
  446. data/rbi/stripe/resources/issuing/authorization.rbi +0 -1266
  447. data/rbi/stripe/resources/issuing/card.rbi +0 -738
  448. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -732
  449. data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -622
  450. data/rbi/stripe/resources/issuing/dispute.rbi +0 -900
  451. data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -83
  452. data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -90
  453. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -333
  454. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -86
  455. data/rbi/stripe/resources/issuing/settlement.rbi +0 -62
  456. data/rbi/stripe/resources/issuing/token.rbi +0 -231
  457. data/rbi/stripe/resources/issuing/transaction.rbi +0 -1057
  458. data/rbi/stripe/resources/line_item.rbi +0 -108
  459. data/rbi/stripe/resources/login_link.rbi +0 -18
  460. data/rbi/stripe/resources/mandate.rbi +0 -219
  461. data/rbi/stripe/resources/margin.rbi +0 -127
  462. data/rbi/stripe/resources/order.rbi +0 -3016
  463. data/rbi/stripe/resources/payment_attempt_record.rbi +0 -215
  464. data/rbi/stripe/resources/payment_intent.rbi +0 -13895
  465. data/rbi/stripe/resources/payment_link.rbi +0 -1666
  466. data/rbi/stripe/resources/payment_method.rbi +0 -1926
  467. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3237
  468. data/rbi/stripe/resources/payment_method_domain.rbi +0 -217
  469. data/rbi/stripe/resources/payment_record.rbi +0 -722
  470. data/rbi/stripe/resources/payout.rbi +0 -299
  471. data/rbi/stripe/resources/person.rbi +0 -371
  472. data/rbi/stripe/resources/plan.rbi +0 -385
  473. data/rbi/stripe/resources/price.rbi +0 -731
  474. data/rbi/stripe/resources/product.rbi +0 -615
  475. data/rbi/stripe/resources/product_feature.rbi +0 -26
  476. data/rbi/stripe/resources/promotion_code.rbi +0 -266
  477. data/rbi/stripe/resources/quote.rbi +0 -3186
  478. data/rbi/stripe/resources/quote_line.rbi +0 -350
  479. data/rbi/stripe/resources/quote_preview_invoice.rbi +0 -850
  480. data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -474
  481. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -101
  482. data/rbi/stripe/resources/radar/value_list.rbi +0 -175
  483. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -134
  484. data/rbi/stripe/resources/refund.rbi +0 -515
  485. data/rbi/stripe/resources/reporting/report_run.rbi +0 -194
  486. data/rbi/stripe/resources/reporting/report_type.rbi +0 -64
  487. data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
  488. data/rbi/stripe/resources/reversal.rbi +0 -51
  489. data/rbi/stripe/resources/review.rbi +0 -159
  490. data/rbi/stripe/resources/setup_attempt.rbi +0 -484
  491. data/rbi/stripe/resources/setup_intent.rbi +0 -4062
  492. data/rbi/stripe/resources/shipping_rate.rbi +0 -310
  493. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -82
  494. data/rbi/stripe/resources/source.rbi +0 -1543
  495. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
  496. data/rbi/stripe/resources/source_transaction.rbi +0 -127
  497. data/rbi/stripe/resources/subscription.rbi +0 -2308
  498. data/rbi/stripe/resources/subscription_item.rbi +0 -478
  499. data/rbi/stripe/resources/subscription_schedule.rbi +0 -2653
  500. data/rbi/stripe/resources/tax/association.rbi +0 -94
  501. data/rbi/stripe/resources/tax/calculation.rbi +0 -479
  502. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -88
  503. data/rbi/stripe/resources/tax/form.rbi +0 -224
  504. data/rbi/stripe/resources/tax/registration.rbi +0 -2438
  505. data/rbi/stripe/resources/tax/settings.rbi +0 -148
  506. data/rbi/stripe/resources/tax/transaction.rbi +0 -356
  507. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
  508. data/rbi/stripe/resources/tax_code.rbi +0 -51
  509. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
  510. data/rbi/stripe/resources/tax_id.rbi +0 -174
  511. data/rbi/stripe/resources/tax_rate.rbi +0 -244
  512. data/rbi/stripe/resources/terminal/configuration.rbi +0 -1143
  513. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
  514. data/rbi/stripe/resources/terminal/location.rbi +0 -231
  515. data/rbi/stripe/resources/terminal/reader.rbi +0 -940
  516. data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -41
  517. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -139
  518. data/rbi/stripe/resources/token.rbi +0 -1192
  519. data/rbi/stripe/resources/topup.rbi +0 -225
  520. data/rbi/stripe/resources/transfer.rbi +0 -204
  521. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -126
  522. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -138
  523. data/rbi/stripe/resources/treasury/financial_account.rbi +0 -870
  524. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -263
  525. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -302
  526. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -589
  527. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -473
  528. data/rbi/stripe/resources/treasury/received_credit.rbi +0 -348
  529. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -305
  530. data/rbi/stripe/resources/treasury/transaction.rbi +0 -216
  531. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -193
  532. data/rbi/stripe/resources/usage_record.rbi +0 -32
  533. data/rbi/stripe/resources/usage_record_summary.rbi +0 -38
  534. data/rbi/stripe/resources/v2/amount.rbi +0 -14
  535. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
  536. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
  537. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
  538. data/rbi/stripe/resources/v2/event.rbi +0 -47
  539. data/rbi/stripe/resources/v2/event_destination.rbi +0 -90
  540. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -177
  541. data/rbi/stripe/services/account_capability_service.rbi +0 -51
  542. data/rbi/stripe/services/account_external_account_service.rbi +0 -306
  543. data/rbi/stripe/services/account_link_service.rbi +0 -58
  544. data/rbi/stripe/services/account_login_link_service.rbi +0 -22
  545. data/rbi/stripe/services/account_notice_service.rbi +0 -90
  546. data/rbi/stripe/services/account_person_service.rbi +0 -903
  547. data/rbi/stripe/services/account_service.rbi +0 -4267
  548. data/rbi/stripe/services/account_session_service.rbi +0 -780
  549. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -78
  550. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -91
  551. data/rbi/stripe/services/application_fee_service.rbi +0 -74
  552. data/rbi/stripe/services/apps/secret_service.rbi +0 -151
  553. data/rbi/stripe/services/apps_service.rbi +0 -9
  554. data/rbi/stripe/services/balance_service.rbi +0 -21
  555. data/rbi/stripe/services/balance_transaction_service.rbi +0 -89
  556. data/rbi/stripe/services/billing/alert_service.rbi +0 -152
  557. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -54
  558. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
  559. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -191
  560. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -40
  561. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
  562. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
  563. data/rbi/stripe/services/billing/meter_service.rbi +0 -163
  564. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -497
  565. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -202
  566. data/rbi/stripe/services/billing_portal_service.rbi +0 -10
  567. data/rbi/stripe/services/billing_service.rbi +0 -15
  568. data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -95
  569. data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -22
  570. data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -68
  571. data/rbi/stripe/services/capital_service.rbi +0 -11
  572. data/rbi/stripe/services/charge_service.rbi +0 -1816
  573. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
  574. data/rbi/stripe/services/checkout/session_service.rbi +0 -2591
  575. data/rbi/stripe/services/checkout_service.rbi +0 -9
  576. data/rbi/stripe/services/climate/order_service.rbi +0 -140
  577. data/rbi/stripe/services/climate/product_service.rbi +0 -46
  578. data/rbi/stripe/services/climate/supplier_service.rbi +0 -46
  579. data/rbi/stripe/services/climate_service.rbi +0 -11
  580. data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
  581. data/rbi/stripe/services/country_spec_service.rbi +0 -44
  582. data/rbi/stripe/services/coupon_service.rbi +0 -190
  583. data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -31
  584. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
  585. data/rbi/stripe/services/credit_note_service.rbi +0 -420
  586. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
  587. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
  588. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
  589. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
  590. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
  591. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -228
  592. data/rbi/stripe/services/customer_service.rbi +0 -647
  593. data/rbi/stripe/services/customer_session_service.rbi +0 -110
  594. data/rbi/stripe/services/customer_tax_id_service.rbi +0 -72
  595. data/rbi/stripe/services/dispute_service.rbi +0 -422
  596. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
  597. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
  598. data/rbi/stripe/services/entitlements_service.rbi +0 -10
  599. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
  600. data/rbi/stripe/services/event_service.rbi +0 -81
  601. data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
  602. data/rbi/stripe/services/file_link_service.rbi +0 -122
  603. data/rbi/stripe/services/file_service.rbi +0 -114
  604. data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -33
  605. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
  606. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -132
  607. data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -46
  608. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -111
  609. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -90
  610. data/rbi/stripe/services/financial_connections_service.rbi +0 -12
  611. data/rbi/stripe/services/forwarding/request_service.rbi +0 -132
  612. data/rbi/stripe/services/forwarding_service.rbi +0 -9
  613. data/rbi/stripe/services/gift_cards/card_service.rbi +0 -142
  614. data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -174
  615. data/rbi/stripe/services/gift_cards_service.rbi +0 -10
  616. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -85
  617. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -317
  618. data/rbi/stripe/services/identity_service.rbi +0 -10
  619. data/rbi/stripe/services/invoice_item_service.rbi +0 -424
  620. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -270
  621. data/rbi/stripe/services/invoice_payment_service.rbi +0 -44
  622. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
  623. data/rbi/stripe/services/invoice_service.rbi +0 -6040
  624. data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +0 -2023
  625. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -140
  626. data/rbi/stripe/services/issuing/card_service.rbi +0 -479
  627. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -568
  628. data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -498
  629. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -701
  630. data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -55
  631. data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -73
  632. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -233
  633. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
  634. data/rbi/stripe/services/issuing/token_service.rbi +0 -95
  635. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -103
  636. data/rbi/stripe/services/issuing_service.rbi +0 -19
  637. data/rbi/stripe/services/mandate_service.rbi +0 -20
  638. data/rbi/stripe/services/margin_service.rbi +0 -104
  639. data/rbi/stripe/services/order_line_item_service.rbi +0 -31
  640. data/rbi/stripe/services/order_service.rbi +0 -2306
  641. data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -36
  642. data/rbi/stripe/services/payment_intent_service.rbi +0 -11477
  643. data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -31
  644. data/rbi/stripe/services/payment_link_service.rbi +0 -1250
  645. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2215
  646. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -110
  647. data/rbi/stripe/services/payment_method_service.rbi +0 -897
  648. data/rbi/stripe/services/payment_record_service.rbi +0 -521
  649. data/rbi/stripe/services/payout_service.rbi +0 -197
  650. data/rbi/stripe/services/plan_service.rbi +0 -286
  651. data/rbi/stripe/services/price_service.rbi +0 -551
  652. data/rbi/stripe/services/product_feature_service.rbi +0 -69
  653. data/rbi/stripe/services/product_service.rbi +0 -503
  654. data/rbi/stripe/services/promotion_code_service.rbi +0 -210
  655. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
  656. data/rbi/stripe/services/quote_line_item_service.rbi +0 -31
  657. data/rbi/stripe/services/quote_line_service.rbi +0 -31
  658. data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -31
  659. data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -31
  660. data/rbi/stripe/services/quote_service.rbi +0 -2390
  661. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -83
  662. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -107
  663. data/rbi/stripe/services/radar/value_list_service.rbi +0 -139
  664. data/rbi/stripe/services/radar_service.rbi +0 -11
  665. data/rbi/stripe/services/refund_service.rbi +0 -181
  666. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -131
  667. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
  668. data/rbi/stripe/services/reporting_service.rbi +0 -10
  669. data/rbi/stripe/services/review_service.rbi +0 -82
  670. data/rbi/stripe/services/setup_attempt_service.rbi +0 -63
  671. data/rbi/stripe/services/setup_intent_service.rbi +0 -3630
  672. data/rbi/stripe/services/shipping_rate_service.rbi +0 -235
  673. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
  674. data/rbi/stripe/services/sigma_service.rbi +0 -9
  675. data/rbi/stripe/services/source_service.rbi +0 -647
  676. data/rbi/stripe/services/source_transaction_service.rbi +0 -31
  677. data/rbi/stripe/services/subscription_item_service.rbi +0 -422
  678. data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -37
  679. data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -33
  680. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -2208
  681. data/rbi/stripe/services/subscription_service.rbi +0 -1870
  682. data/rbi/stripe/services/tax/association_service.rbi +0 -25
  683. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -33
  684. data/rbi/stripe/services/tax/calculation_service.rbi +0 -228
  685. data/rbi/stripe/services/tax/form_service.rbi +0 -85
  686. data/rbi/stripe/services/tax/registration_service.rbi +0 -1517
  687. data/rbi/stripe/services/tax/settings_service.rbi +0 -93
  688. data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -33
  689. data/rbi/stripe/services/tax/transaction_service.rbi +0 -142
  690. data/rbi/stripe/services/tax_code_service.rbi +0 -44
  691. data/rbi/stripe/services/tax_id_service.rbi +0 -112
  692. data/rbi/stripe/services/tax_rate_service.rbi +0 -183
  693. data/rbi/stripe/services/tax_service.rbi +0 -14
  694. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -860
  695. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
  696. data/rbi/stripe/services/terminal/location_service.rbi +0 -184
  697. data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -22
  698. data/rbi/stripe/services/terminal/reader_service.rbi +0 -513
  699. data/rbi/stripe/services/terminal_service.rbi +0 -13
  700. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -787
  701. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
  702. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -836
  703. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
  704. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -67
  705. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -705
  706. data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
  707. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
  708. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -62
  709. data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
  710. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -90
  711. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
  712. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -123
  713. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -123
  714. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -114
  715. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -114
  716. data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
  717. data/rbi/stripe/services/test_helpers_service.rbi +0 -15
  718. data/rbi/stripe/services/token_service.rbi +0 -1155
  719. data/rbi/stripe/services/topup_service.rbi +0 -172
  720. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -99
  721. data/rbi/stripe/services/transfer_service.rbi +0 -150
  722. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
  723. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
  724. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -201
  725. data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -566
  726. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
  727. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -300
  728. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -182
  729. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -70
  730. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
  731. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -107
  732. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -114
  733. data/rbi/stripe/services/treasury_service.rbi +0 -18
  734. data/rbi/stripe/services/v1_services.rbi +0 -83
  735. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
  736. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
  737. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -20
  738. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
  739. data/rbi/stripe/services/v2/billing_service.rbi +0 -14
  740. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -203
  741. data/rbi/stripe/services/v2/core/event_service.rbi +0 -39
  742. data/rbi/stripe/services/v2/core_service.rbi +0 -12
  743. data/rbi/stripe/services/v2_services.rbi +0 -10
  744. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -131
@@ -20,3036 +20,6 @@ module Stripe
20
20
 
21
21
  nested_resource_class_methods :refund, operations: %i[retrieve list]
22
22
 
23
- class BillingDetails < Stripe::StripeObject
24
- class Address < Stripe::StripeObject
25
- # City, district, suburb, town, or village.
26
- attr_reader :city
27
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
28
- attr_reader :country
29
- # Address line 1 (e.g., street, PO Box, or company name).
30
- attr_reader :line1
31
- # Address line 2 (e.g., apartment, suite, unit, or building).
32
- attr_reader :line2
33
- # ZIP or postal code.
34
- attr_reader :postal_code
35
- # State, county, province, or region.
36
- attr_reader :state
37
- end
38
- # Billing address.
39
- attr_reader :address
40
- # Email address.
41
- attr_reader :email
42
- # Full name.
43
- attr_reader :name
44
- # Billing phone number (including extension).
45
- attr_reader :phone
46
- end
47
-
48
- class FraudDetails < Stripe::StripeObject
49
- # Assessments from Stripe. If set, the value is `fraudulent`.
50
- attr_reader :stripe_report
51
- # Assessments reported by you. If set, possible values of are `safe` and `fraudulent`.
52
- attr_reader :user_report
53
- end
54
-
55
- class Level3 < Stripe::StripeObject
56
- class LineItem < Stripe::StripeObject
57
- # Attribute for field discount_amount
58
- attr_reader :discount_amount
59
- # Attribute for field product_code
60
- attr_reader :product_code
61
- # Attribute for field product_description
62
- attr_reader :product_description
63
- # Attribute for field quantity
64
- attr_reader :quantity
65
- # Attribute for field tax_amount
66
- attr_reader :tax_amount
67
- # Attribute for field unit_cost
68
- attr_reader :unit_cost
69
- end
70
- # Attribute for field customer_reference
71
- attr_reader :customer_reference
72
- # Attribute for field line_items
73
- attr_reader :line_items
74
- # Attribute for field merchant_reference
75
- attr_reader :merchant_reference
76
- # Attribute for field shipping_address_zip
77
- attr_reader :shipping_address_zip
78
- # Attribute for field shipping_amount
79
- attr_reader :shipping_amount
80
- # Attribute for field shipping_from_zip
81
- attr_reader :shipping_from_zip
82
- end
83
-
84
- class Outcome < Stripe::StripeObject
85
- class Rule < Stripe::StripeObject
86
- # The action taken on the payment.
87
- attr_reader :action
88
- # Unique identifier for the object.
89
- attr_reader :id
90
- # The predicate to evaluate the payment against.
91
- attr_reader :predicate
92
- end
93
- # An enumerated value providing a more detailed explanation on [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines).
94
- attr_reader :advice_code
95
- # For charges declined by the network, a 2 digit code which indicates the advice returned by the network on how to proceed with an error.
96
- attr_reader :network_advice_code
97
- # For charges declined by the network, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed.
98
- attr_reader :network_decline_code
99
- # Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](https://stripe.com/docs/declines#blocked-payments) after bank authorization, and may temporarily appear as "pending" on a cardholder's statement.
100
- attr_reader :network_status
101
- # An enumerated value providing a more detailed explanation of the outcome's `type`. Charges blocked by Radar's default block rule have the value `highest_risk_level`. Charges placed in review by Radar's default review rule have the value `elevated_risk_level`. Charges authorized, blocked, or placed in review by custom rules have the value `rule`. See [understanding declines](https://stripe.com/docs/declines) for more details.
102
- attr_reader :reason
103
- # Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are `normal`, `elevated`, `highest`. For non-card payments, and card-based payments predating the public assignment of risk levels, this field will have the value `not_assessed`. In the event of an error in the evaluation, this field will have the value `unknown`. This field is only available with Radar.
104
- attr_reader :risk_level
105
- # Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are between 0 and 100. For non-card payments, card-based payments predating the public assignment of risk scores, or in the event of an error during evaluation, this field will not be present. This field is only available with Radar for Fraud Teams.
106
- attr_reader :risk_score
107
- # The ID of the Radar rule that matched the payment, if applicable.
108
- attr_reader :rule
109
- # A human-readable description of the outcome type and reason, designed for you (the recipient of the payment), not your customer.
110
- attr_reader :seller_message
111
- # Possible values are `authorized`, `manual_review`, `issuer_declined`, `blocked`, and `invalid`. See [understanding declines](https://stripe.com/docs/declines) and [Radar reviews](https://stripe.com/docs/radar/reviews) for details.
112
- attr_reader :type
113
- end
114
-
115
- class PaymentMethodDetails < Stripe::StripeObject
116
- class AchCreditTransfer < Stripe::StripeObject
117
- # Account number to transfer funds to.
118
- attr_reader :account_number
119
- # Name of the bank associated with the routing number.
120
- attr_reader :bank_name
121
- # Routing transit number for the bank account to transfer funds to.
122
- attr_reader :routing_number
123
- # SWIFT code of the bank associated with the routing number.
124
- attr_reader :swift_code
125
- end
126
-
127
- class AchDebit < Stripe::StripeObject
128
- # Type of entity that holds the account. This can be either `individual` or `company`.
129
- attr_reader :account_holder_type
130
- # Name of the bank associated with the bank account.
131
- attr_reader :bank_name
132
- # Two-letter ISO code representing the country the bank account is located in.
133
- attr_reader :country
134
- # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
135
- attr_reader :fingerprint
136
- # Last four digits of the bank account number.
137
- attr_reader :last4
138
- # Routing transit number of the bank account.
139
- attr_reader :routing_number
140
- end
141
-
142
- class AcssDebit < Stripe::StripeObject
143
- # Name of the bank associated with the bank account.
144
- attr_reader :bank_name
145
- # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
146
- attr_reader :fingerprint
147
- # Institution number of the bank account
148
- attr_reader :institution_number
149
- # Last four digits of the bank account number.
150
- attr_reader :last4
151
- # ID of the mandate used to make this payment.
152
- attr_reader :mandate
153
- # Transit number of the bank account.
154
- attr_reader :transit_number
155
- end
156
-
157
- class Affirm < Stripe::StripeObject
158
- # The Affirm transaction ID associated with this payment.
159
- attr_reader :transaction_id
160
- end
161
-
162
- class AfterpayClearpay < Stripe::StripeObject
163
- # The Afterpay order ID associated with this payment intent.
164
- attr_reader :order_id
165
- # Order identifier shown to the merchant in Afterpay’s online portal.
166
- attr_reader :reference
167
- end
168
-
169
- class Alipay < Stripe::StripeObject
170
- # Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.
171
- attr_reader :buyer_id
172
- # Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.
173
- attr_reader :fingerprint
174
- # Transaction ID of this particular Alipay transaction.
175
- attr_reader :transaction_id
176
- end
177
-
178
- class Alma < Stripe::StripeObject; end
179
-
180
- class AmazonPay < Stripe::StripeObject
181
- class Funding < Stripe::StripeObject
182
- class Card < Stripe::StripeObject
183
- # Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
184
- attr_reader :brand
185
- # 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.
186
- attr_reader :country
187
- # Two-digit number representing the card's expiration month.
188
- attr_reader :exp_month
189
- # Four-digit number representing the card's expiration year.
190
- attr_reader :exp_year
191
- # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
192
- attr_reader :funding
193
- # The last four digits of the card.
194
- attr_reader :last4
195
- end
196
- # Attribute for field card
197
- attr_reader :card
198
- # funding type of the underlying payment method.
199
- attr_reader :type
200
- end
201
- # Attribute for field funding
202
- attr_reader :funding
203
- end
204
-
205
- class AuBecsDebit < Stripe::StripeObject
206
- # Bank-State-Branch number of the bank account.
207
- attr_reader :bsb_number
208
- # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
209
- attr_reader :fingerprint
210
- # Last four digits of the bank account number.
211
- attr_reader :last4
212
- # ID of the mandate used to make this payment.
213
- attr_reader :mandate
214
- end
215
-
216
- class BacsDebit < Stripe::StripeObject
217
- # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
218
- attr_reader :fingerprint
219
- # Last four digits of the bank account number.
220
- attr_reader :last4
221
- # ID of the mandate used to make this payment.
222
- attr_reader :mandate
223
- # Sort code of the bank account. (e.g., `10-20-30`)
224
- attr_reader :sort_code
225
- end
226
-
227
- class Bancontact < Stripe::StripeObject
228
- # Bank code of bank associated with the bank account.
229
- attr_reader :bank_code
230
- # Name of the bank associated with the bank account.
231
- attr_reader :bank_name
232
- # Bank Identifier Code of the bank associated with the bank account.
233
- attr_reader :bic
234
- # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
235
- attr_reader :generated_sepa_debit
236
- # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
237
- attr_reader :generated_sepa_debit_mandate
238
- # Last four characters of the IBAN.
239
- attr_reader :iban_last4
240
- # Preferred language of the Bancontact authorization page that the customer is redirected to.
241
- # Can be one of `en`, `de`, `fr`, or `nl`
242
- attr_reader :preferred_language
243
- # Owner's verified full name. Values are verified or provided by Bancontact directly
244
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
245
- attr_reader :verified_name
246
- end
247
-
248
- class Blik < Stripe::StripeObject
249
- # A unique and immutable identifier assigned by BLIK to every buyer.
250
- attr_reader :buyer_id
251
- end
252
-
253
- class Boleto < Stripe::StripeObject
254
- # The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers)
255
- attr_reader :tax_id
256
- end
257
-
258
- class Card < Stripe::StripeObject
259
- class Checks < Stripe::StripeObject
260
- # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
261
- attr_reader :address_line1_check
262
- # If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
263
- attr_reader :address_postal_code_check
264
- # If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
265
- attr_reader :cvc_check
266
- end
267
-
268
- class DecrementalAuthorization < Stripe::StripeObject
269
- # Indicates whether or not the decremental authorization feature is supported.
270
- attr_reader :status
271
- end
272
-
273
- class ExtendedAuthorization < Stripe::StripeObject
274
- # Indicates whether or not the capture window is extended beyond the standard authorization.
275
- attr_reader :status
276
- end
277
-
278
- class IncrementalAuthorization < Stripe::StripeObject
279
- # Indicates whether or not the incremental authorization feature is supported.
280
- attr_reader :status
281
- end
282
-
283
- class Installments < Stripe::StripeObject
284
- class Plan < Stripe::StripeObject
285
- # For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.
286
- attr_reader :count
287
- # For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card.
288
- # One of `month`.
289
- attr_reader :interval
290
- # Type of installment plan, one of `fixed_count`.
291
- attr_reader :type
292
- end
293
- # Installment plan selected for the payment.
294
- attr_reader :plan
295
- end
296
-
297
- class Multicapture < Stripe::StripeObject
298
- # Indicates whether or not multiple captures are supported.
299
- attr_reader :status
300
- end
301
-
302
- class NetworkToken < Stripe::StripeObject
303
- # Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction.
304
- attr_reader :used
305
- end
306
-
307
- class Overcapture < Stripe::StripeObject
308
- # The maximum amount that can be captured.
309
- attr_reader :maximum_amount_capturable
310
- # Indicates whether or not the authorized amount can be over-captured.
311
- attr_reader :status
312
- end
313
-
314
- class PartialAuthorization < Stripe::StripeObject
315
- # Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
316
- attr_reader :status
317
- end
318
-
319
- class ThreeDSecure < Stripe::StripeObject
320
- # For authenticated transactions: how the customer was authenticated by
321
- # the issuing bank.
322
- attr_reader :authentication_flow
323
- # The Electronic Commerce Indicator (ECI). A protocol-level field
324
- # indicating what degree of authentication was performed.
325
- attr_reader :electronic_commerce_indicator
326
- # The exemption requested via 3DS and accepted by the issuer at authentication time.
327
- attr_reader :exemption_indicator
328
- # Whether Stripe requested the value of `exemption_indicator` in the transaction. This will depend on
329
- # the outcome of Stripe's internal risk assessment.
330
- attr_reader :exemption_indicator_applied
331
- # Indicates the outcome of 3D Secure authentication.
332
- attr_reader :result
333
- # Additional information about why 3D Secure succeeded or failed based
334
- # on the `result`.
335
- attr_reader :result_reason
336
- # The 3D Secure 1 XID or 3D Secure 2 Directory Server Transaction ID
337
- # (dsTransId) for this payment.
338
- attr_reader :transaction_id
339
- # The version of 3D Secure that was used.
340
- attr_reader :version
341
- end
342
-
343
- class Wallet < Stripe::StripeObject
344
- class AmexExpressCheckout < Stripe::StripeObject; end
345
- class ApplePay < Stripe::StripeObject; end
346
- class GooglePay < Stripe::StripeObject; end
347
- class Link < Stripe::StripeObject; end
348
-
349
- class Masterpass < Stripe::StripeObject
350
- class BillingAddress < Stripe::StripeObject
351
- # City, district, suburb, town, or village.
352
- attr_reader :city
353
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
354
- attr_reader :country
355
- # Address line 1 (e.g., street, PO Box, or company name).
356
- attr_reader :line1
357
- # Address line 2 (e.g., apartment, suite, unit, or building).
358
- attr_reader :line2
359
- # ZIP or postal code.
360
- attr_reader :postal_code
361
- # State, county, province, or region.
362
- attr_reader :state
363
- end
364
-
365
- class ShippingAddress < Stripe::StripeObject
366
- # City, district, suburb, town, or village.
367
- attr_reader :city
368
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
369
- attr_reader :country
370
- # Address line 1 (e.g., street, PO Box, or company name).
371
- attr_reader :line1
372
- # Address line 2 (e.g., apartment, suite, unit, or building).
373
- attr_reader :line2
374
- # ZIP or postal code.
375
- attr_reader :postal_code
376
- # State, county, province, or region.
377
- attr_reader :state
378
- end
379
- # Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
380
- attr_reader :billing_address
381
- # Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
382
- attr_reader :email
383
- # Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
384
- attr_reader :name
385
- # Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
386
- attr_reader :shipping_address
387
- end
388
-
389
- class SamsungPay < Stripe::StripeObject; end
390
-
391
- class VisaCheckout < Stripe::StripeObject
392
- class BillingAddress < Stripe::StripeObject
393
- # City, district, suburb, town, or village.
394
- attr_reader :city
395
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
396
- attr_reader :country
397
- # Address line 1 (e.g., street, PO Box, or company name).
398
- attr_reader :line1
399
- # Address line 2 (e.g., apartment, suite, unit, or building).
400
- attr_reader :line2
401
- # ZIP or postal code.
402
- attr_reader :postal_code
403
- # State, county, province, or region.
404
- attr_reader :state
405
- end
406
-
407
- class ShippingAddress < Stripe::StripeObject
408
- # City, district, suburb, town, or village.
409
- attr_reader :city
410
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
411
- attr_reader :country
412
- # Address line 1 (e.g., street, PO Box, or company name).
413
- attr_reader :line1
414
- # Address line 2 (e.g., apartment, suite, unit, or building).
415
- attr_reader :line2
416
- # ZIP or postal code.
417
- attr_reader :postal_code
418
- # State, county, province, or region.
419
- attr_reader :state
420
- end
421
- # Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
422
- attr_reader :billing_address
423
- # Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
424
- attr_reader :email
425
- # Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
426
- attr_reader :name
427
- # Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
428
- attr_reader :shipping_address
429
- end
430
- # Attribute for field amex_express_checkout
431
- attr_reader :amex_express_checkout
432
- # Attribute for field apple_pay
433
- attr_reader :apple_pay
434
- # (For tokenized numbers only.) The last four digits of the device account number.
435
- attr_reader :dynamic_last4
436
- # Attribute for field google_pay
437
- attr_reader :google_pay
438
- # Attribute for field link
439
- attr_reader :link
440
- # Attribute for field masterpass
441
- attr_reader :masterpass
442
- # Attribute for field samsung_pay
443
- attr_reader :samsung_pay
444
- # The type of the card wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, `visa_checkout`, or `link`. 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.
445
- attr_reader :type
446
- # Attribute for field visa_checkout
447
- attr_reader :visa_checkout
448
- end
449
- # The authorized amount.
450
- attr_reader :amount_authorized
451
- # The latest amount intended to be authorized by this charge.
452
- attr_reader :amount_requested
453
- # Authorization code on the charge.
454
- attr_reader :authorization_code
455
- # Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
456
- attr_reader :brand
457
- # When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured.
458
- attr_reader :capture_before
459
- # Check results by Card networks on Card address and CVC at time of payment.
460
- attr_reader :checks
461
- # 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.
462
- attr_reader :country
463
- # Attribute for field decremental_authorization
464
- attr_reader :decremental_authorization
465
- # 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.)
466
- attr_reader :description
467
- # Two-digit number representing the card's expiration month.
468
- attr_reader :exp_month
469
- # Four-digit number representing the card's expiration year.
470
- attr_reader :exp_year
471
- # Attribute for field extended_authorization
472
- attr_reader :extended_authorization
473
- # 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.
474
- #
475
- # *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.*
476
- attr_reader :fingerprint
477
- # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
478
- attr_reader :funding
479
- # Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
480
- attr_reader :iin
481
- # Attribute for field incremental_authorization
482
- attr_reader :incremental_authorization
483
- # Installment details for this payment (Mexico only).
484
- #
485
- # For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).
486
- attr_reader :installments
487
- # The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
488
- attr_reader :issuer
489
- # The last four digits of the card.
490
- attr_reader :last4
491
- # ID of the mandate used to make this payment or created by it.
492
- attr_reader :mandate
493
- # True if this payment was marked as MOTO and out of scope for SCA.
494
- attr_reader :moto
495
- # Attribute for field multicapture
496
- attr_reader :multicapture
497
- # 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`.
498
- attr_reader :network
499
- # If this card has network token credentials, this contains the details of the network token credentials.
500
- attr_reader :network_token
501
- # 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.
502
- attr_reader :network_transaction_id
503
- # Attribute for field overcapture
504
- attr_reader :overcapture
505
- # Attribute for field partial_authorization
506
- attr_reader :partial_authorization
507
- # Status of a card based on the card issuer.
508
- attr_reader :regulated_status
509
- # Populated if this transaction used 3D Secure authentication.
510
- attr_reader :three_d_secure
511
- # If this Card is part of a card wallet, this contains the details of the card wallet.
512
- attr_reader :wallet
513
- end
514
-
515
- class CardPresent < Stripe::StripeObject
516
- class Offline < Stripe::StripeObject
517
- # Time at which the payment was collected while offline
518
- attr_reader :stored_at
519
- # The method used to process this payment method offline. Only deferred is allowed.
520
- attr_reader :type
521
- end
522
-
523
- class Receipt < Stripe::StripeObject
524
- # The type of account being debited or credited
525
- attr_reader :account_type
526
- # EMV tag 9F26, cryptogram generated by the integrated circuit chip.
527
- attr_reader :application_cryptogram
528
- # Mnenomic of the Application Identifier.
529
- attr_reader :application_preferred_name
530
- # Identifier for this transaction.
531
- attr_reader :authorization_code
532
- # EMV tag 8A. A code returned by the card issuer.
533
- attr_reader :authorization_response_code
534
- # 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`.
535
- attr_reader :cardholder_verification_method
536
- # EMV tag 84. Similar to the application identifier stored on the integrated circuit chip.
537
- attr_reader :dedicated_file_name
538
- # The outcome of a series of EMV functions performed by the card reader.
539
- attr_reader :terminal_verification_results
540
- # An indication of various EMV functions performed during the transaction.
541
- attr_reader :transaction_status_information
542
- end
543
-
544
- class Wallet < Stripe::StripeObject
545
- # The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
546
- attr_reader :type
547
- end
548
- # The authorized amount
549
- attr_reader :amount_authorized
550
- # Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
551
- attr_reader :brand
552
- # The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.
553
- attr_reader :brand_product
554
- # When using manual capture, a future timestamp after which the charge will be automatically refunded if uncaptured.
555
- attr_reader :capture_before
556
- # 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.
557
- attr_reader :cardholder_name
558
- # 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.
559
- attr_reader :country
560
- # 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.)
561
- attr_reader :description
562
- # Authorization response cryptogram.
563
- attr_reader :emv_auth_data
564
- # Two-digit number representing the card's expiration month.
565
- attr_reader :exp_month
566
- # Four-digit number representing the card's expiration year.
567
- attr_reader :exp_year
568
- # 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.
569
- #
570
- # *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.*
571
- attr_reader :fingerprint
572
- # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
573
- attr_reader :funding
574
- # 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.
575
- attr_reader :generated_card
576
- # Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
577
- attr_reader :iin
578
- # 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).
579
- attr_reader :incremental_authorization_supported
580
- # The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
581
- attr_reader :issuer
582
- # The last four digits of the card.
583
- attr_reader :last4
584
- # 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`.
585
- attr_reader :network
586
- # 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.
587
- attr_reader :network_transaction_id
588
- # Details about payments collected offline.
589
- attr_reader :offline
590
- # Defines whether the authorized amount can be over-captured or not
591
- attr_reader :overcapture_supported
592
- # EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
593
- attr_reader :preferred_locales
594
- # How card details were read in this transaction.
595
- attr_reader :read_method
596
- # A collection of fields required to be displayed on receipts. Only required for EMV transactions.
597
- attr_reader :receipt
598
- # Attribute for field wallet
599
- attr_reader :wallet
600
- end
601
-
602
- class Cashapp < Stripe::StripeObject
603
- # A unique and immutable identifier assigned by Cash App to every buyer.
604
- attr_reader :buyer_id
605
- # A public identifier for buyers using Cash App.
606
- attr_reader :cashtag
607
- end
608
-
609
- class CustomerBalance < Stripe::StripeObject; end
610
-
611
- class Eps < Stripe::StripeObject
612
- # 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`.
613
- attr_reader :bank
614
- # Owner's verified full name. Values are verified or provided by EPS directly
615
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
616
- # EPS rarely provides this information so the attribute is usually empty.
617
- attr_reader :verified_name
618
- end
619
-
620
- class Fpx < Stripe::StripeObject
621
- # Account holder type, if provided. Can be one of `individual` or `company`.
622
- attr_reader :account_holder_type
623
- # 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`.
624
- attr_reader :bank
625
- # Unique transaction id generated by FPX for every request from the merchant
626
- attr_reader :transaction_id
627
- end
628
-
629
- class Giropay < Stripe::StripeObject
630
- # Bank code of bank associated with the bank account.
631
- attr_reader :bank_code
632
- # Name of the bank associated with the bank account.
633
- attr_reader :bank_name
634
- # Bank Identifier Code of the bank associated with the bank account.
635
- attr_reader :bic
636
- # Owner's verified full name. Values are verified or provided by Giropay directly
637
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
638
- # Giropay rarely provides this information so the attribute is usually empty.
639
- attr_reader :verified_name
640
- end
641
-
642
- class Gopay < Stripe::StripeObject; end
643
-
644
- class Grabpay < Stripe::StripeObject
645
- # Unique transaction id generated by GrabPay
646
- attr_reader :transaction_id
647
- end
648
-
649
- class IdBankTransfer < Stripe::StripeObject
650
- # Account number of the bank account to transfer funds to.
651
- attr_reader :account_number
652
- # Bank where the account is located.
653
- attr_reader :bank
654
- # Local bank code of the bank.
655
- attr_reader :bank_code
656
- # Name of the bank associated with the bank account.
657
- attr_reader :bank_name
658
- # Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
659
- attr_reader :display_name
660
- end
661
-
662
- class Ideal < Stripe::StripeObject
663
- # The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
664
- attr_reader :bank
665
- # The Bank Identifier Code of the customer's bank.
666
- attr_reader :bic
667
- # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
668
- attr_reader :generated_sepa_debit
669
- # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
670
- attr_reader :generated_sepa_debit_mandate
671
- # Last four characters of the IBAN.
672
- attr_reader :iban_last4
673
- # Owner's verified full name. Values are verified or provided by iDEAL directly
674
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
675
- attr_reader :verified_name
676
- end
677
-
678
- class InteracPresent < Stripe::StripeObject
679
- class Receipt < Stripe::StripeObject
680
- # The type of account being debited or credited
681
- attr_reader :account_type
682
- # EMV tag 9F26, cryptogram generated by the integrated circuit chip.
683
- attr_reader :application_cryptogram
684
- # Mnenomic of the Application Identifier.
685
- attr_reader :application_preferred_name
686
- # Identifier for this transaction.
687
- attr_reader :authorization_code
688
- # EMV tag 8A. A code returned by the card issuer.
689
- attr_reader :authorization_response_code
690
- # 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`.
691
- attr_reader :cardholder_verification_method
692
- # EMV tag 84. Similar to the application identifier stored on the integrated circuit chip.
693
- attr_reader :dedicated_file_name
694
- # The outcome of a series of EMV functions performed by the card reader.
695
- attr_reader :terminal_verification_results
696
- # An indication of various EMV functions performed during the transaction.
697
- attr_reader :transaction_status_information
698
- end
699
- # Card brand. Can be `interac`, `mastercard` or `visa`.
700
- attr_reader :brand
701
- # 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.
702
- attr_reader :cardholder_name
703
- # 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.
704
- attr_reader :country
705
- # 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.)
706
- attr_reader :description
707
- # Authorization response cryptogram.
708
- attr_reader :emv_auth_data
709
- # Two-digit number representing the card's expiration month.
710
- attr_reader :exp_month
711
- # Four-digit number representing the card's expiration year.
712
- attr_reader :exp_year
713
- # 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.
714
- #
715
- # *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.*
716
- attr_reader :fingerprint
717
- # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
718
- attr_reader :funding
719
- # 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.
720
- attr_reader :generated_card
721
- # Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
722
- attr_reader :iin
723
- # The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
724
- attr_reader :issuer
725
- # The last four digits of the card.
726
- attr_reader :last4
727
- # 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`.
728
- attr_reader :network
729
- # 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.
730
- attr_reader :network_transaction_id
731
- # EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
732
- attr_reader :preferred_locales
733
- # How card details were read in this transaction.
734
- attr_reader :read_method
735
- # A collection of fields required to be displayed on receipts. Only required for EMV transactions.
736
- attr_reader :receipt
737
- end
738
-
739
- class KakaoPay < Stripe::StripeObject
740
- # A unique identifier for the buyer as determined by the local payment processor.
741
- attr_reader :buyer_id
742
- end
743
-
744
- class Klarna < Stripe::StripeObject
745
- class PayerDetails < Stripe::StripeObject
746
- class Address < Stripe::StripeObject
747
- # The payer address country
748
- attr_reader :country
749
- end
750
- # The payer's address
751
- attr_reader :address
752
- end
753
- # The payer details for this transaction.
754
- attr_reader :payer_details
755
- # The Klarna payment method used for this transaction.
756
- # Can be one of `pay_later`, `pay_now`, `pay_with_financing`, or `pay_in_installments`
757
- attr_reader :payment_method_category
758
- # Preferred language of the Klarna authorization page that the customer is redirected to.
759
- # 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`
760
- attr_reader :preferred_locale
761
- end
762
-
763
- class Konbini < Stripe::StripeObject
764
- class Store < Stripe::StripeObject
765
- # The name of the convenience store chain where the payment was completed.
766
- attr_reader :chain
767
- end
768
- # If the payment succeeded, this contains the details of the convenience store where the payment was completed.
769
- attr_reader :store
770
- end
771
-
772
- class KrCard < Stripe::StripeObject
773
- # The local credit or debit card brand.
774
- attr_reader :brand
775
- # A unique identifier for the buyer as determined by the local payment processor.
776
- attr_reader :buyer_id
777
- # The last four digits of the card. This may not be present for American Express cards.
778
- attr_reader :last4
779
- end
780
-
781
- class Link < Stripe::StripeObject
782
- # Two-letter ISO code representing the funding source country beneath the Link payment.
783
- # You could use this attribute to get a sense of international fees.
784
- attr_reader :country
785
- end
786
-
787
- class MbWay < Stripe::StripeObject; end
788
-
789
- class Mobilepay < Stripe::StripeObject
790
- class Card < Stripe::StripeObject
791
- # Brand of the card used in the transaction
792
- attr_reader :brand
793
- # Two-letter ISO code representing the country of the card
794
- attr_reader :country
795
- # Two digit number representing the card's expiration month
796
- attr_reader :exp_month
797
- # Two digit number representing the card's expiration year
798
- attr_reader :exp_year
799
- # The last 4 digits of the card
800
- attr_reader :last4
801
- end
802
- # Internal card details
803
- attr_reader :card
804
- end
805
-
806
- class Multibanco < Stripe::StripeObject
807
- # Entity number associated with this Multibanco payment.
808
- attr_reader :entity
809
- # Reference number associated with this Multibanco payment.
810
- attr_reader :reference
811
- end
812
-
813
- class NaverPay < Stripe::StripeObject
814
- # A unique identifier for the buyer as determined by the local payment processor.
815
- attr_reader :buyer_id
816
- end
817
-
818
- class Oxxo < Stripe::StripeObject
819
- # OXXO reference number
820
- attr_reader :number
821
- end
822
-
823
- class P24 < Stripe::StripeObject
824
- # 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`.
825
- attr_reader :bank
826
- # Unique reference for this Przelewy24 payment.
827
- attr_reader :reference
828
- # Owner's verified full name. Values are verified or provided by Przelewy24 directly
829
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
830
- # Przelewy24 rarely provides this information so the attribute is usually empty.
831
- attr_reader :verified_name
832
- end
833
-
834
- class PayByBank < Stripe::StripeObject; end
835
-
836
- class Payco < Stripe::StripeObject
837
- # A unique identifier for the buyer as determined by the local payment processor.
838
- attr_reader :buyer_id
839
- end
840
-
841
- class Paynow < Stripe::StripeObject
842
- # Reference number associated with this PayNow payment
843
- attr_reader :reference
844
- end
845
-
846
- class Paypal < Stripe::StripeObject
847
- class SellerProtection < Stripe::StripeObject
848
- # An array of conditions that are covered for the transaction, if applicable.
849
- attr_reader :dispute_categories
850
- # Indicates whether the transaction is eligible for PayPal's seller protection.
851
- attr_reader :status
852
- end
853
-
854
- class Shipping < Stripe::StripeObject
855
- # City, district, suburb, town, or village.
856
- attr_reader :city
857
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
858
- attr_reader :country
859
- # Address line 1 (e.g., street, PO Box, or company name).
860
- attr_reader :line1
861
- # Address line 2 (e.g., apartment, suite, unit, or building).
862
- attr_reader :line2
863
- # ZIP or postal code.
864
- attr_reader :postal_code
865
- # State, county, province, or region.
866
- attr_reader :state
867
- end
868
-
869
- class VerifiedAddress < Stripe::StripeObject
870
- # City, district, suburb, town, or village.
871
- attr_reader :city
872
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
873
- attr_reader :country
874
- # Address line 1 (e.g., street, PO Box, or company name).
875
- attr_reader :line1
876
- # Address line 2 (e.g., apartment, suite, unit, or building).
877
- attr_reader :line2
878
- # ZIP or postal code.
879
- attr_reader :postal_code
880
- # State, county, province, or region.
881
- attr_reader :state
882
- end
883
- # 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.
884
- attr_reader :country
885
- # Owner's email. Values are provided by PayPal directly
886
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
887
- attr_reader :payer_email
888
- # PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
889
- attr_reader :payer_id
890
- # Owner's full name. Values provided by PayPal directly
891
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
892
- attr_reader :payer_name
893
- # The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
894
- attr_reader :seller_protection
895
- # The shipping address for the customer, as supplied by the merchant at the point of payment
896
- # execution. This shipping address will not be updated if the merchant updates the shipping
897
- # address on the PaymentIntent after the PaymentIntent was successfully confirmed.
898
- attr_reader :shipping
899
- # A unique ID generated by PayPal for this transaction.
900
- attr_reader :transaction_id
901
- # The shipping address for the customer, as supplied by the merchant at the point of payment
902
- # execution. This shipping address will not be updated if the merchant updates the shipping
903
- # address on the PaymentIntent after the PaymentIntent was successfully confirmed.
904
- attr_reader :verified_address
905
- # Owner's verified email. Values are verified or provided by PayPal directly
906
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
907
- attr_reader :verified_email
908
- # Owner's verified full name. Values are verified or provided by PayPal directly
909
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
910
- attr_reader :verified_name
911
- end
912
-
913
- class Payto < Stripe::StripeObject
914
- # Bank-State-Branch number of the bank account.
915
- attr_reader :bsb_number
916
- # Last four digits of the bank account number.
917
- attr_reader :last4
918
- # ID of the mandate used to make this payment.
919
- attr_reader :mandate
920
- # The PayID alias for the bank account.
921
- attr_reader :pay_id
922
- end
923
-
924
- class Pix < Stripe::StripeObject
925
- # Unique transaction id generated by BCB
926
- attr_reader :bank_transaction_id
927
- end
928
-
929
- class Promptpay < Stripe::StripeObject
930
- # Bill reference generated by PromptPay
931
- attr_reader :reference
932
- end
933
-
934
- class Qris < Stripe::StripeObject; end
935
- class Rechnung < Stripe::StripeObject; end
936
-
937
- class RevolutPay < Stripe::StripeObject
938
- class Funding < Stripe::StripeObject
939
- class Card < Stripe::StripeObject
940
- # Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
941
- attr_reader :brand
942
- # 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.
943
- attr_reader :country
944
- # Two-digit number representing the card's expiration month.
945
- attr_reader :exp_month
946
- # Four-digit number representing the card's expiration year.
947
- attr_reader :exp_year
948
- # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
949
- attr_reader :funding
950
- # The last four digits of the card.
951
- attr_reader :last4
952
- end
953
- # Attribute for field card
954
- attr_reader :card
955
- # funding type of the underlying payment method.
956
- attr_reader :type
957
- end
958
- # Attribute for field funding
959
- attr_reader :funding
960
- end
961
-
962
- class SamsungPay < Stripe::StripeObject
963
- # A unique identifier for the buyer as determined by the local payment processor.
964
- attr_reader :buyer_id
965
- end
966
-
967
- class SepaCreditTransfer < Stripe::StripeObject
968
- # Name of the bank associated with the bank account.
969
- attr_reader :bank_name
970
- # Bank Identifier Code of the bank associated with the bank account.
971
- attr_reader :bic
972
- # IBAN of the bank account to transfer funds to.
973
- attr_reader :iban
974
- end
975
-
976
- class SepaDebit < Stripe::StripeObject
977
- # Bank code of bank associated with the bank account.
978
- attr_reader :bank_code
979
- # Branch code of bank associated with the bank account.
980
- attr_reader :branch_code
981
- # Two-letter ISO code representing the country the bank account is located in.
982
- attr_reader :country
983
- # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
984
- attr_reader :fingerprint
985
- # Last four characters of the IBAN.
986
- attr_reader :last4
987
- # 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).
988
- attr_reader :mandate
989
- end
990
-
991
- class Shopeepay < Stripe::StripeObject; end
992
-
993
- class Sofort < Stripe::StripeObject
994
- # Bank code of bank associated with the bank account.
995
- attr_reader :bank_code
996
- # Name of the bank associated with the bank account.
997
- attr_reader :bank_name
998
- # Bank Identifier Code of the bank associated with the bank account.
999
- attr_reader :bic
1000
- # Two-letter ISO code representing the country the bank account is located in.
1001
- attr_reader :country
1002
- # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
1003
- attr_reader :generated_sepa_debit
1004
- # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
1005
- attr_reader :generated_sepa_debit_mandate
1006
- # Last four characters of the IBAN.
1007
- attr_reader :iban_last4
1008
- # Preferred language of the SOFORT authorization page that the customer is redirected to.
1009
- # Can be one of `de`, `en`, `es`, `fr`, `it`, `nl`, or `pl`
1010
- attr_reader :preferred_language
1011
- # Owner's verified full name. Values are verified or provided by SOFORT directly
1012
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1013
- attr_reader :verified_name
1014
- end
1015
-
1016
- class StripeAccount < Stripe::StripeObject; end
1017
-
1018
- class Swish < Stripe::StripeObject
1019
- # 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
1020
- attr_reader :fingerprint
1021
- # Payer bank reference number for the payment
1022
- attr_reader :payment_reference
1023
- # The last four digits of the Swish account phone number
1024
- attr_reader :verified_phone_last4
1025
- end
1026
-
1027
- class Twint < Stripe::StripeObject; end
1028
-
1029
- class UsBankAccount < Stripe::StripeObject
1030
- # Account holder type: individual or company.
1031
- attr_reader :account_holder_type
1032
- # Account type: checkings or savings. Defaults to checking if omitted.
1033
- attr_reader :account_type
1034
- # Name of the bank associated with the bank account.
1035
- attr_reader :bank_name
1036
- # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
1037
- attr_reader :fingerprint
1038
- # Last four digits of the bank account number.
1039
- attr_reader :last4
1040
- # ID of the mandate used to make this payment.
1041
- attr_reader :mandate
1042
- # Reference number to locate ACH payments with customer's bank.
1043
- attr_reader :payment_reference
1044
- # Routing number of the bank account.
1045
- attr_reader :routing_number
1046
- end
1047
-
1048
- class Wechat < Stripe::StripeObject; end
1049
-
1050
- class WechatPay < Stripe::StripeObject
1051
- # Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
1052
- attr_reader :fingerprint
1053
- # Transaction ID of this particular WeChat Pay transaction.
1054
- attr_reader :transaction_id
1055
- end
1056
-
1057
- class Zip < Stripe::StripeObject; end
1058
- # Attribute for field ach_credit_transfer
1059
- attr_reader :ach_credit_transfer
1060
- # Attribute for field ach_debit
1061
- attr_reader :ach_debit
1062
- # Attribute for field acss_debit
1063
- attr_reader :acss_debit
1064
- # Attribute for field affirm
1065
- attr_reader :affirm
1066
- # Attribute for field afterpay_clearpay
1067
- attr_reader :afterpay_clearpay
1068
- # Attribute for field alipay
1069
- attr_reader :alipay
1070
- # Attribute for field alma
1071
- attr_reader :alma
1072
- # Attribute for field amazon_pay
1073
- attr_reader :amazon_pay
1074
- # Attribute for field au_becs_debit
1075
- attr_reader :au_becs_debit
1076
- # Attribute for field bacs_debit
1077
- attr_reader :bacs_debit
1078
- # Attribute for field bancontact
1079
- attr_reader :bancontact
1080
- # Attribute for field blik
1081
- attr_reader :blik
1082
- # Attribute for field boleto
1083
- attr_reader :boleto
1084
- # Attribute for field card
1085
- attr_reader :card
1086
- # Attribute for field card_present
1087
- attr_reader :card_present
1088
- # Attribute for field cashapp
1089
- attr_reader :cashapp
1090
- # Attribute for field customer_balance
1091
- attr_reader :customer_balance
1092
- # Attribute for field eps
1093
- attr_reader :eps
1094
- # Attribute for field fpx
1095
- attr_reader :fpx
1096
- # Attribute for field giropay
1097
- attr_reader :giropay
1098
- # Attribute for field gopay
1099
- attr_reader :gopay
1100
- # Attribute for field grabpay
1101
- attr_reader :grabpay
1102
- # Attribute for field id_bank_transfer
1103
- attr_reader :id_bank_transfer
1104
- # Attribute for field ideal
1105
- attr_reader :ideal
1106
- # Attribute for field interac_present
1107
- attr_reader :interac_present
1108
- # Attribute for field kakao_pay
1109
- attr_reader :kakao_pay
1110
- # Attribute for field klarna
1111
- attr_reader :klarna
1112
- # Attribute for field konbini
1113
- attr_reader :konbini
1114
- # Attribute for field kr_card
1115
- attr_reader :kr_card
1116
- # Attribute for field link
1117
- attr_reader :link
1118
- # Attribute for field mb_way
1119
- attr_reader :mb_way
1120
- # Attribute for field mobilepay
1121
- attr_reader :mobilepay
1122
- # Attribute for field multibanco
1123
- attr_reader :multibanco
1124
- # Attribute for field naver_pay
1125
- attr_reader :naver_pay
1126
- # Attribute for field oxxo
1127
- attr_reader :oxxo
1128
- # Attribute for field p24
1129
- attr_reader :p24
1130
- # Attribute for field pay_by_bank
1131
- attr_reader :pay_by_bank
1132
- # Attribute for field payco
1133
- attr_reader :payco
1134
- # Attribute for field paynow
1135
- attr_reader :paynow
1136
- # Attribute for field paypal
1137
- attr_reader :paypal
1138
- # Attribute for field payto
1139
- attr_reader :payto
1140
- # Attribute for field pix
1141
- attr_reader :pix
1142
- # Attribute for field promptpay
1143
- attr_reader :promptpay
1144
- # Attribute for field qris
1145
- attr_reader :qris
1146
- # Attribute for field rechnung
1147
- attr_reader :rechnung
1148
- # Attribute for field revolut_pay
1149
- attr_reader :revolut_pay
1150
- # Attribute for field samsung_pay
1151
- attr_reader :samsung_pay
1152
- # Attribute for field sepa_credit_transfer
1153
- attr_reader :sepa_credit_transfer
1154
- # Attribute for field sepa_debit
1155
- attr_reader :sepa_debit
1156
- # Attribute for field shopeepay
1157
- attr_reader :shopeepay
1158
- # Attribute for field sofort
1159
- attr_reader :sofort
1160
- # Attribute for field stripe_account
1161
- attr_reader :stripe_account
1162
- # Attribute for field swish
1163
- attr_reader :swish
1164
- # Attribute for field twint
1165
- attr_reader :twint
1166
- # The type of transaction-specific details of the payment method used in the payment, one of `ach_credit_transfer`, `ach_debit`, `acss_debit`, `alipay`, `au_becs_debit`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `klarna`, `multibanco`, `p24`, `sepa_debit`, `sofort`, `stripe_account`, or `wechat`.
1167
- # An additional hash is included on `payment_method_details` with a name matching this value.
1168
- # It contains information specific to the payment method.
1169
- attr_reader :type
1170
- # Attribute for field us_bank_account
1171
- attr_reader :us_bank_account
1172
- # Attribute for field wechat
1173
- attr_reader :wechat
1174
- # Attribute for field wechat_pay
1175
- attr_reader :wechat_pay
1176
- # Attribute for field zip
1177
- attr_reader :zip
1178
- end
1179
-
1180
- class RadarOptions < Stripe::StripeObject
1181
- # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
1182
- attr_reader :session
1183
- end
1184
-
1185
- class Shipping < Stripe::StripeObject
1186
- class Address < Stripe::StripeObject
1187
- # City, district, suburb, town, or village.
1188
- attr_reader :city
1189
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1190
- attr_reader :country
1191
- # Address line 1 (e.g., street, PO Box, or company name).
1192
- attr_reader :line1
1193
- # Address line 2 (e.g., apartment, suite, unit, or building).
1194
- attr_reader :line2
1195
- # ZIP or postal code.
1196
- attr_reader :postal_code
1197
- # State, county, province, or region.
1198
- attr_reader :state
1199
- end
1200
- # Attribute for field address
1201
- attr_reader :address
1202
- # The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
1203
- attr_reader :carrier
1204
- # Recipient name.
1205
- attr_reader :name
1206
- # Recipient phone (including extension).
1207
- attr_reader :phone
1208
- # The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
1209
- attr_reader :tracking_number
1210
- end
1211
-
1212
- class TransferData < Stripe::StripeObject
1213
- # The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
1214
- attr_reader :amount
1215
- # ID of an existing, connected Stripe account to transfer funds to if `transfer_data` was specified in the charge request.
1216
- attr_reader :destination
1217
- end
1218
-
1219
- class ListParams < Stripe::RequestParams
1220
- class Created < Stripe::RequestParams
1221
- # Minimum value to filter by (exclusive)
1222
- attr_accessor :gt
1223
- # Minimum value to filter by (inclusive)
1224
- attr_accessor :gte
1225
- # Maximum value to filter by (exclusive)
1226
- attr_accessor :lt
1227
- # Maximum value to filter by (inclusive)
1228
- attr_accessor :lte
1229
-
1230
- def initialize(gt: nil, gte: nil, lt: nil, lte: nil)
1231
- @gt = gt
1232
- @gte = gte
1233
- @lt = lt
1234
- @lte = lte
1235
- end
1236
- end
1237
- # Only return charges that were created during the given date interval.
1238
- attr_accessor :created
1239
- # Only return charges for the customer specified by this customer ID.
1240
- attr_accessor :customer
1241
- # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
1242
- attr_accessor :ending_before
1243
- # Specifies which fields in the response should be expanded.
1244
- attr_accessor :expand
1245
- # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
1246
- attr_accessor :limit
1247
- # Only return charges that were created by the PaymentIntent specified by this PaymentIntent ID.
1248
- attr_accessor :payment_intent
1249
- # A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
1250
- attr_accessor :starting_after
1251
- # Only return charges for this transfer group, limited to 100.
1252
- attr_accessor :transfer_group
1253
-
1254
- def initialize(
1255
- created: nil,
1256
- customer: nil,
1257
- ending_before: nil,
1258
- expand: nil,
1259
- limit: nil,
1260
- payment_intent: nil,
1261
- starting_after: nil,
1262
- transfer_group: nil
1263
- )
1264
- @created = created
1265
- @customer = customer
1266
- @ending_before = ending_before
1267
- @expand = expand
1268
- @limit = limit
1269
- @payment_intent = payment_intent
1270
- @starting_after = starting_after
1271
- @transfer_group = transfer_group
1272
- end
1273
- end
1274
-
1275
- class CreateParams < Stripe::RequestParams
1276
- class Destination < Stripe::RequestParams
1277
- # ID of an existing, connected Stripe account.
1278
- attr_accessor :account
1279
- # The amount to transfer to the destination account without creating an `Application Fee` object. Cannot be combined with the `application_fee` parameter. Must be less than or equal to the charge amount.
1280
- attr_accessor :amount
1281
-
1282
- def initialize(account: nil, amount: nil)
1283
- @account = account
1284
- @amount = amount
1285
- end
1286
- end
1287
-
1288
- class RadarOptions < Stripe::RequestParams
1289
- # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
1290
- attr_accessor :session
1291
-
1292
- def initialize(session: nil)
1293
- @session = session
1294
- end
1295
- end
1296
-
1297
- class Shipping < Stripe::RequestParams
1298
- class Address < Stripe::RequestParams
1299
- # City, district, suburb, town, or village.
1300
- attr_accessor :city
1301
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1302
- attr_accessor :country
1303
- # Address line 1 (e.g., street, PO Box, or company name).
1304
- attr_accessor :line1
1305
- # Address line 2 (e.g., apartment, suite, unit, or building).
1306
- attr_accessor :line2
1307
- # ZIP or postal code.
1308
- attr_accessor :postal_code
1309
- # State, county, province, or region.
1310
- attr_accessor :state
1311
-
1312
- def initialize(
1313
- city: nil,
1314
- country: nil,
1315
- line1: nil,
1316
- line2: nil,
1317
- postal_code: nil,
1318
- state: nil
1319
- )
1320
- @city = city
1321
- @country = country
1322
- @line1 = line1
1323
- @line2 = line2
1324
- @postal_code = postal_code
1325
- @state = state
1326
- end
1327
- end
1328
- # Shipping address.
1329
- attr_accessor :address
1330
- # The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
1331
- attr_accessor :carrier
1332
- # Recipient name.
1333
- attr_accessor :name
1334
- # Recipient phone (including extension).
1335
- attr_accessor :phone
1336
- # The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
1337
- attr_accessor :tracking_number
1338
-
1339
- def initialize(address: nil, carrier: nil, name: nil, phone: nil, tracking_number: nil)
1340
- @address = address
1341
- @carrier = carrier
1342
- @name = name
1343
- @phone = phone
1344
- @tracking_number = tracking_number
1345
- end
1346
- end
1347
-
1348
- class TransferData < Stripe::RequestParams
1349
- # The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
1350
- attr_accessor :amount
1351
- # ID of an existing, connected Stripe account.
1352
- attr_accessor :destination
1353
-
1354
- def initialize(amount: nil, destination: nil)
1355
- @amount = amount
1356
- @destination = destination
1357
- end
1358
- end
1359
- # Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
1360
- attr_accessor :amount
1361
- # Attribute for param field application_fee
1362
- attr_accessor :application_fee
1363
- # A fee in cents (or local equivalent) that will be applied to the charge and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the `Stripe-Account` header in order to take an application fee. For more information, see the application fees [documentation](https://stripe.com/docs/connect/direct-charges#collect-fees).
1364
- attr_accessor :application_fee_amount
1365
- # Whether to immediately capture the charge. Defaults to `true`. When `false`, the charge issues an authorization (or pre-authorization), and will need to be [captured](https://stripe.com/docs/api#capture_charge) later. Uncaptured charges expire after a set number of days (7 by default). For more information, see the [authorizing charges and settling later](https://stripe.com/docs/charges/placing-a-hold) documentation.
1366
- attr_accessor :capture
1367
- # 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).
1368
- attr_accessor :currency
1369
- # The ID of an existing customer that will be charged in this request.
1370
- attr_accessor :customer
1371
- # An arbitrary string which you can attach to a `Charge` object. It is displayed when in the web interface alongside the charge. Note that if you use Stripe to send automatic email receipts to your customers, your receipt emails will include the `description` of the charge(s) that they are describing.
1372
- attr_accessor :description
1373
- # Attribute for param field destination
1374
- attr_accessor :destination
1375
- # Specifies which fields in the response should be expanded.
1376
- attr_accessor :expand
1377
- # 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
1378
- attr_accessor :metadata
1379
- # The Stripe account ID for which these funds are intended. Automatically set if you use the `destination` parameter. For details, see [Creating Separate Charges and Transfers](https://stripe.com/docs/connect/separate-charges-and-transfers#settlement-merchant).
1380
- attr_accessor :on_behalf_of
1381
- # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
1382
- attr_accessor :radar_options
1383
- # The email address to which this charge's [receipt](https://stripe.com/docs/dashboard/receipts) will be sent. The receipt will not be sent until the charge is paid, and no receipts will be sent for test mode charges. If this charge is for a [Customer](https://stripe.com/docs/api/customers/object), the email address specified here will override the customer's email address. If `receipt_email` is specified for a charge in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
1384
- attr_accessor :receipt_email
1385
- # Shipping information for the charge. Helps prevent fraud on charges for physical goods.
1386
- attr_accessor :shipping
1387
- # A payment source to be charged. This can be the ID of a [card](https://stripe.com/docs/api#cards) (i.e., credit or debit card), a [bank account](https://stripe.com/docs/api#bank_accounts), a [source](https://stripe.com/docs/api#sources), a [token](https://stripe.com/docs/api#tokens), or a [connected account](https://stripe.com/docs/connect/account-debits#charging-a-connected-account). For certain sources---namely, [cards](https://stripe.com/docs/api#cards), [bank accounts](https://stripe.com/docs/api#bank_accounts), and attached [sources](https://stripe.com/docs/api#sources)---you must also pass the ID of the associated customer.
1388
- attr_accessor :source
1389
- # For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
1390
- #
1391
- # For a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.
1392
- attr_accessor :statement_descriptor
1393
- # Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
1394
- attr_accessor :statement_descriptor_suffix
1395
- # An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details.
1396
- attr_accessor :transfer_data
1397
- # A string that identifies this transaction as part of a group. For details, see [Grouping transactions](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options).
1398
- attr_accessor :transfer_group
1399
-
1400
- def initialize(
1401
- amount: nil,
1402
- application_fee: nil,
1403
- application_fee_amount: nil,
1404
- capture: nil,
1405
- currency: nil,
1406
- customer: nil,
1407
- description: nil,
1408
- destination: nil,
1409
- expand: nil,
1410
- metadata: nil,
1411
- on_behalf_of: nil,
1412
- radar_options: nil,
1413
- receipt_email: nil,
1414
- shipping: nil,
1415
- source: nil,
1416
- statement_descriptor: nil,
1417
- statement_descriptor_suffix: nil,
1418
- transfer_data: nil,
1419
- transfer_group: nil
1420
- )
1421
- @amount = amount
1422
- @application_fee = application_fee
1423
- @application_fee_amount = application_fee_amount
1424
- @capture = capture
1425
- @currency = currency
1426
- @customer = customer
1427
- @description = description
1428
- @destination = destination
1429
- @expand = expand
1430
- @metadata = metadata
1431
- @on_behalf_of = on_behalf_of
1432
- @radar_options = radar_options
1433
- @receipt_email = receipt_email
1434
- @shipping = shipping
1435
- @source = source
1436
- @statement_descriptor = statement_descriptor
1437
- @statement_descriptor_suffix = statement_descriptor_suffix
1438
- @transfer_data = transfer_data
1439
- @transfer_group = transfer_group
1440
- end
1441
- end
1442
-
1443
- class RetrieveParams < Stripe::RequestParams
1444
- # Specifies which fields in the response should be expanded.
1445
- attr_accessor :expand
1446
-
1447
- def initialize(expand: nil)
1448
- @expand = expand
1449
- end
1450
- end
1451
-
1452
- class UpdateParams < Stripe::RequestParams
1453
- class FraudDetails < Stripe::RequestParams
1454
- # Either `safe` or `fraudulent`.
1455
- attr_accessor :user_report
1456
-
1457
- def initialize(user_report: nil)
1458
- @user_report = user_report
1459
- end
1460
- end
1461
-
1462
- class PaymentDetails < Stripe::RequestParams
1463
- class CarRental < Stripe::RequestParams
1464
- class Affiliate < Stripe::RequestParams
1465
- # The name of the affiliate that originated the purchase.
1466
- attr_accessor :name
1467
-
1468
- def initialize(name: nil)
1469
- @name = name
1470
- end
1471
- end
1472
-
1473
- class Delivery < Stripe::RequestParams
1474
- class Recipient < Stripe::RequestParams
1475
- # The email of the recipient the ticket is delivered to.
1476
- attr_accessor :email
1477
- # The name of the recipient the ticket is delivered to.
1478
- attr_accessor :name
1479
- # The phone number of the recipient the ticket is delivered to.
1480
- attr_accessor :phone
1481
-
1482
- def initialize(email: nil, name: nil, phone: nil)
1483
- @email = email
1484
- @name = name
1485
- @phone = phone
1486
- end
1487
- end
1488
- # The delivery method for the payment
1489
- attr_accessor :mode
1490
- # Details of the recipient.
1491
- attr_accessor :recipient
1492
-
1493
- def initialize(mode: nil, recipient: nil)
1494
- @mode = mode
1495
- @recipient = recipient
1496
- end
1497
- end
1498
-
1499
- class Driver < Stripe::RequestParams
1500
- # Full name of the person or entity on the car reservation.
1501
- attr_accessor :name
1502
-
1503
- def initialize(name: nil)
1504
- @name = name
1505
- end
1506
- end
1507
-
1508
- class PickupAddress < Stripe::RequestParams
1509
- # City, district, suburb, town, or village.
1510
- attr_accessor :city
1511
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1512
- attr_accessor :country
1513
- # Address line 1 (e.g., street, PO Box, or company name).
1514
- attr_accessor :line1
1515
- # Address line 2 (e.g., apartment, suite, unit, or building).
1516
- attr_accessor :line2
1517
- # ZIP or postal code.
1518
- attr_accessor :postal_code
1519
- # State, county, province, or region.
1520
- attr_accessor :state
1521
-
1522
- def initialize(
1523
- city: nil,
1524
- country: nil,
1525
- line1: nil,
1526
- line2: nil,
1527
- postal_code: nil,
1528
- state: nil
1529
- )
1530
- @city = city
1531
- @country = country
1532
- @line1 = line1
1533
- @line2 = line2
1534
- @postal_code = postal_code
1535
- @state = state
1536
- end
1537
- end
1538
-
1539
- class ReturnAddress < Stripe::RequestParams
1540
- # City, district, suburb, town, or village.
1541
- attr_accessor :city
1542
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1543
- attr_accessor :country
1544
- # Address line 1 (e.g., street, PO Box, or company name).
1545
- attr_accessor :line1
1546
- # Address line 2 (e.g., apartment, suite, unit, or building).
1547
- attr_accessor :line2
1548
- # ZIP or postal code.
1549
- attr_accessor :postal_code
1550
- # State, county, province, or region.
1551
- attr_accessor :state
1552
-
1553
- def initialize(
1554
- city: nil,
1555
- country: nil,
1556
- line1: nil,
1557
- line2: nil,
1558
- postal_code: nil,
1559
- state: nil
1560
- )
1561
- @city = city
1562
- @country = country
1563
- @line1 = line1
1564
- @line2 = line2
1565
- @postal_code = postal_code
1566
- @state = state
1567
- end
1568
- end
1569
- # Affiliate details for this purchase.
1570
- attr_accessor :affiliate
1571
- # The booking number associated with the car rental.
1572
- attr_accessor :booking_number
1573
- # Class code of the car.
1574
- attr_accessor :car_class_code
1575
- # Make of the car.
1576
- attr_accessor :car_make
1577
- # Model of the car.
1578
- attr_accessor :car_model
1579
- # The name of the rental car company.
1580
- attr_accessor :company
1581
- # The customer service phone number of the car rental company.
1582
- attr_accessor :customer_service_phone_number
1583
- # Number of days the car is being rented.
1584
- attr_accessor :days_rented
1585
- # Delivery details for this purchase.
1586
- attr_accessor :delivery
1587
- # The details of the passengers in the travel reservation
1588
- attr_accessor :drivers
1589
- # List of additional charges being billed.
1590
- attr_accessor :extra_charges
1591
- # Indicates if the customer did not keep nor cancel their booking.
1592
- attr_accessor :no_show
1593
- # Car pick-up address.
1594
- attr_accessor :pickup_address
1595
- # Car pick-up time. Measured in seconds since the Unix epoch.
1596
- attr_accessor :pickup_at
1597
- # Rental rate.
1598
- attr_accessor :rate_amount
1599
- # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
1600
- attr_accessor :rate_interval
1601
- # The name of the person or entity renting the car.
1602
- attr_accessor :renter_name
1603
- # Car return address.
1604
- attr_accessor :return_address
1605
- # Car return time. Measured in seconds since the Unix epoch.
1606
- attr_accessor :return_at
1607
- # Indicates whether the goods or services are tax-exempt or tax is not collected.
1608
- attr_accessor :tax_exempt
1609
-
1610
- def initialize(
1611
- affiliate: nil,
1612
- booking_number: nil,
1613
- car_class_code: nil,
1614
- car_make: nil,
1615
- car_model: nil,
1616
- company: nil,
1617
- customer_service_phone_number: nil,
1618
- days_rented: nil,
1619
- delivery: nil,
1620
- drivers: nil,
1621
- extra_charges: nil,
1622
- no_show: nil,
1623
- pickup_address: nil,
1624
- pickup_at: nil,
1625
- rate_amount: nil,
1626
- rate_interval: nil,
1627
- renter_name: nil,
1628
- return_address: nil,
1629
- return_at: nil,
1630
- tax_exempt: nil
1631
- )
1632
- @affiliate = affiliate
1633
- @booking_number = booking_number
1634
- @car_class_code = car_class_code
1635
- @car_make = car_make
1636
- @car_model = car_model
1637
- @company = company
1638
- @customer_service_phone_number = customer_service_phone_number
1639
- @days_rented = days_rented
1640
- @delivery = delivery
1641
- @drivers = drivers
1642
- @extra_charges = extra_charges
1643
- @no_show = no_show
1644
- @pickup_address = pickup_address
1645
- @pickup_at = pickup_at
1646
- @rate_amount = rate_amount
1647
- @rate_interval = rate_interval
1648
- @renter_name = renter_name
1649
- @return_address = return_address
1650
- @return_at = return_at
1651
- @tax_exempt = tax_exempt
1652
- end
1653
- end
1654
-
1655
- class EventDetails < Stripe::RequestParams
1656
- class Address < Stripe::RequestParams
1657
- # City, district, suburb, town, or village.
1658
- attr_accessor :city
1659
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1660
- attr_accessor :country
1661
- # Address line 1 (e.g., street, PO Box, or company name).
1662
- attr_accessor :line1
1663
- # Address line 2 (e.g., apartment, suite, unit, or building).
1664
- attr_accessor :line2
1665
- # ZIP or postal code.
1666
- attr_accessor :postal_code
1667
- # State, county, province, or region.
1668
- attr_accessor :state
1669
-
1670
- def initialize(
1671
- city: nil,
1672
- country: nil,
1673
- line1: nil,
1674
- line2: nil,
1675
- postal_code: nil,
1676
- state: nil
1677
- )
1678
- @city = city
1679
- @country = country
1680
- @line1 = line1
1681
- @line2 = line2
1682
- @postal_code = postal_code
1683
- @state = state
1684
- end
1685
- end
1686
-
1687
- class Affiliate < Stripe::RequestParams
1688
- # The name of the affiliate that originated the purchase.
1689
- attr_accessor :name
1690
-
1691
- def initialize(name: nil)
1692
- @name = name
1693
- end
1694
- end
1695
-
1696
- class Delivery < Stripe::RequestParams
1697
- class Recipient < Stripe::RequestParams
1698
- # The email of the recipient the ticket is delivered to.
1699
- attr_accessor :email
1700
- # The name of the recipient the ticket is delivered to.
1701
- attr_accessor :name
1702
- # The phone number of the recipient the ticket is delivered to.
1703
- attr_accessor :phone
1704
-
1705
- def initialize(email: nil, name: nil, phone: nil)
1706
- @email = email
1707
- @name = name
1708
- @phone = phone
1709
- end
1710
- end
1711
- # The delivery method for the payment
1712
- attr_accessor :mode
1713
- # Details of the recipient.
1714
- attr_accessor :recipient
1715
-
1716
- def initialize(mode: nil, recipient: nil)
1717
- @mode = mode
1718
- @recipient = recipient
1719
- end
1720
- end
1721
- # Indicates if the tickets are digitally checked when entering the venue.
1722
- attr_accessor :access_controlled_venue
1723
- # The event location's address.
1724
- attr_accessor :address
1725
- # Affiliate details for this purchase.
1726
- attr_accessor :affiliate
1727
- # The name of the company
1728
- attr_accessor :company
1729
- # Delivery details for this purchase.
1730
- attr_accessor :delivery
1731
- # Event end time. Measured in seconds since the Unix epoch.
1732
- attr_accessor :ends_at
1733
- # Type of the event entertainment (concert, sports event etc)
1734
- attr_accessor :genre
1735
- # The name of the event.
1736
- attr_accessor :name
1737
- # Event start time. Measured in seconds since the Unix epoch.
1738
- attr_accessor :starts_at
1739
-
1740
- def initialize(
1741
- access_controlled_venue: nil,
1742
- address: nil,
1743
- affiliate: nil,
1744
- company: nil,
1745
- delivery: nil,
1746
- ends_at: nil,
1747
- genre: nil,
1748
- name: nil,
1749
- starts_at: nil
1750
- )
1751
- @access_controlled_venue = access_controlled_venue
1752
- @address = address
1753
- @affiliate = affiliate
1754
- @company = company
1755
- @delivery = delivery
1756
- @ends_at = ends_at
1757
- @genre = genre
1758
- @name = name
1759
- @starts_at = starts_at
1760
- end
1761
- end
1762
-
1763
- class Flight < Stripe::RequestParams
1764
- class Affiliate < Stripe::RequestParams
1765
- # The name of the affiliate that originated the purchase.
1766
- attr_accessor :name
1767
-
1768
- def initialize(name: nil)
1769
- @name = name
1770
- end
1771
- end
1772
-
1773
- class Delivery < Stripe::RequestParams
1774
- class Recipient < Stripe::RequestParams
1775
- # The email of the recipient the ticket is delivered to.
1776
- attr_accessor :email
1777
- # The name of the recipient the ticket is delivered to.
1778
- attr_accessor :name
1779
- # The phone number of the recipient the ticket is delivered to.
1780
- attr_accessor :phone
1781
-
1782
- def initialize(email: nil, name: nil, phone: nil)
1783
- @email = email
1784
- @name = name
1785
- @phone = phone
1786
- end
1787
- end
1788
- # The delivery method for the payment
1789
- attr_accessor :mode
1790
- # Details of the recipient.
1791
- attr_accessor :recipient
1792
-
1793
- def initialize(mode: nil, recipient: nil)
1794
- @mode = mode
1795
- @recipient = recipient
1796
- end
1797
- end
1798
-
1799
- class Passenger < Stripe::RequestParams
1800
- # Full name of the person or entity on the flight reservation.
1801
- attr_accessor :name
1802
-
1803
- def initialize(name: nil)
1804
- @name = name
1805
- end
1806
- end
1807
-
1808
- class Segment < Stripe::RequestParams
1809
- # The flight segment amount.
1810
- attr_accessor :amount
1811
- # The International Air Transport Association (IATA) airport code for the arrival airport.
1812
- attr_accessor :arrival_airport
1813
- # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
1814
- attr_accessor :arrives_at
1815
- # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
1816
- attr_accessor :carrier
1817
- # The departure time for the flight segment. Measured in seconds since the Unix epoch.
1818
- attr_accessor :departs_at
1819
- # The International Air Transport Association (IATA) airport code for the departure airport.
1820
- attr_accessor :departure_airport
1821
- # The flight number associated with the segment
1822
- attr_accessor :flight_number
1823
- # The fare class for the segment.
1824
- attr_accessor :service_class
1825
-
1826
- def initialize(
1827
- amount: nil,
1828
- arrival_airport: nil,
1829
- arrives_at: nil,
1830
- carrier: nil,
1831
- departs_at: nil,
1832
- departure_airport: nil,
1833
- flight_number: nil,
1834
- service_class: nil
1835
- )
1836
- @amount = amount
1837
- @arrival_airport = arrival_airport
1838
- @arrives_at = arrives_at
1839
- @carrier = carrier
1840
- @departs_at = departs_at
1841
- @departure_airport = departure_airport
1842
- @flight_number = flight_number
1843
- @service_class = service_class
1844
- end
1845
- end
1846
- # Affiliate details for this purchase.
1847
- attr_accessor :affiliate
1848
- # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
1849
- attr_accessor :agency_number
1850
- # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
1851
- attr_accessor :carrier
1852
- # Delivery details for this purchase.
1853
- attr_accessor :delivery
1854
- # The name of the person or entity on the reservation.
1855
- attr_accessor :passenger_name
1856
- # The details of the passengers in the travel reservation.
1857
- attr_accessor :passengers
1858
- # The individual flight segments associated with the trip.
1859
- attr_accessor :segments
1860
- # The ticket number associated with the travel reservation.
1861
- attr_accessor :ticket_number
1862
-
1863
- def initialize(
1864
- affiliate: nil,
1865
- agency_number: nil,
1866
- carrier: nil,
1867
- delivery: nil,
1868
- passenger_name: nil,
1869
- passengers: nil,
1870
- segments: nil,
1871
- ticket_number: nil
1872
- )
1873
- @affiliate = affiliate
1874
- @agency_number = agency_number
1875
- @carrier = carrier
1876
- @delivery = delivery
1877
- @passenger_name = passenger_name
1878
- @passengers = passengers
1879
- @segments = segments
1880
- @ticket_number = ticket_number
1881
- end
1882
- end
1883
-
1884
- class Lodging < Stripe::RequestParams
1885
- class Address < Stripe::RequestParams
1886
- # City, district, suburb, town, or village.
1887
- attr_accessor :city
1888
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1889
- attr_accessor :country
1890
- # Address line 1 (e.g., street, PO Box, or company name).
1891
- attr_accessor :line1
1892
- # Address line 2 (e.g., apartment, suite, unit, or building).
1893
- attr_accessor :line2
1894
- # ZIP or postal code.
1895
- attr_accessor :postal_code
1896
- # State, county, province, or region.
1897
- attr_accessor :state
1898
-
1899
- def initialize(
1900
- city: nil,
1901
- country: nil,
1902
- line1: nil,
1903
- line2: nil,
1904
- postal_code: nil,
1905
- state: nil
1906
- )
1907
- @city = city
1908
- @country = country
1909
- @line1 = line1
1910
- @line2 = line2
1911
- @postal_code = postal_code
1912
- @state = state
1913
- end
1914
- end
1915
-
1916
- class Affiliate < Stripe::RequestParams
1917
- # The name of the affiliate that originated the purchase.
1918
- attr_accessor :name
1919
-
1920
- def initialize(name: nil)
1921
- @name = name
1922
- end
1923
- end
1924
-
1925
- class Delivery < Stripe::RequestParams
1926
- class Recipient < Stripe::RequestParams
1927
- # The email of the recipient the ticket is delivered to.
1928
- attr_accessor :email
1929
- # The name of the recipient the ticket is delivered to.
1930
- attr_accessor :name
1931
- # The phone number of the recipient the ticket is delivered to.
1932
- attr_accessor :phone
1933
-
1934
- def initialize(email: nil, name: nil, phone: nil)
1935
- @email = email
1936
- @name = name
1937
- @phone = phone
1938
- end
1939
- end
1940
- # The delivery method for the payment
1941
- attr_accessor :mode
1942
- # Details of the recipient.
1943
- attr_accessor :recipient
1944
-
1945
- def initialize(mode: nil, recipient: nil)
1946
- @mode = mode
1947
- @recipient = recipient
1948
- end
1949
- end
1950
-
1951
- class Passenger < Stripe::RequestParams
1952
- # Full name of the person or entity on the lodging reservation.
1953
- attr_accessor :name
1954
-
1955
- def initialize(name: nil)
1956
- @name = name
1957
- end
1958
- end
1959
- # The lodging location's address.
1960
- attr_accessor :address
1961
- # The number of adults on the booking
1962
- attr_accessor :adults
1963
- # Affiliate details for this purchase.
1964
- attr_accessor :affiliate
1965
- # The booking number associated with the lodging reservation.
1966
- attr_accessor :booking_number
1967
- # The lodging category
1968
- attr_accessor :category
1969
- # Loding check-in time. Measured in seconds since the Unix epoch.
1970
- attr_accessor :checkin_at
1971
- # Lodging check-out time. Measured in seconds since the Unix epoch.
1972
- attr_accessor :checkout_at
1973
- # The customer service phone number of the lodging company.
1974
- attr_accessor :customer_service_phone_number
1975
- # The daily lodging room rate.
1976
- attr_accessor :daily_room_rate_amount
1977
- # Delivery details for this purchase.
1978
- attr_accessor :delivery
1979
- # List of additional charges being billed.
1980
- attr_accessor :extra_charges
1981
- # Indicates whether the lodging location is compliant with the Fire Safety Act.
1982
- attr_accessor :fire_safety_act_compliance
1983
- # The name of the lodging location.
1984
- attr_accessor :name
1985
- # Indicates if the customer did not keep their booking while failing to cancel the reservation.
1986
- attr_accessor :no_show
1987
- # The number of rooms on the booking
1988
- attr_accessor :number_of_rooms
1989
- # The details of the passengers in the travel reservation
1990
- attr_accessor :passengers
1991
- # The phone number of the lodging location.
1992
- attr_accessor :property_phone_number
1993
- # The room class for this purchase.
1994
- attr_accessor :room_class
1995
- # The number of room nights
1996
- attr_accessor :room_nights
1997
- # The total tax amount associating with the room reservation.
1998
- attr_accessor :total_room_tax_amount
1999
- # The total tax amount
2000
- attr_accessor :total_tax_amount
2001
-
2002
- def initialize(
2003
- address: nil,
2004
- adults: nil,
2005
- affiliate: nil,
2006
- booking_number: nil,
2007
- category: nil,
2008
- checkin_at: nil,
2009
- checkout_at: nil,
2010
- customer_service_phone_number: nil,
2011
- daily_room_rate_amount: nil,
2012
- delivery: nil,
2013
- extra_charges: nil,
2014
- fire_safety_act_compliance: nil,
2015
- name: nil,
2016
- no_show: nil,
2017
- number_of_rooms: nil,
2018
- passengers: nil,
2019
- property_phone_number: nil,
2020
- room_class: nil,
2021
- room_nights: nil,
2022
- total_room_tax_amount: nil,
2023
- total_tax_amount: nil
2024
- )
2025
- @address = address
2026
- @adults = adults
2027
- @affiliate = affiliate
2028
- @booking_number = booking_number
2029
- @category = category
2030
- @checkin_at = checkin_at
2031
- @checkout_at = checkout_at
2032
- @customer_service_phone_number = customer_service_phone_number
2033
- @daily_room_rate_amount = daily_room_rate_amount
2034
- @delivery = delivery
2035
- @extra_charges = extra_charges
2036
- @fire_safety_act_compliance = fire_safety_act_compliance
2037
- @name = name
2038
- @no_show = no_show
2039
- @number_of_rooms = number_of_rooms
2040
- @passengers = passengers
2041
- @property_phone_number = property_phone_number
2042
- @room_class = room_class
2043
- @room_nights = room_nights
2044
- @total_room_tax_amount = total_room_tax_amount
2045
- @total_tax_amount = total_tax_amount
2046
- end
2047
- end
2048
-
2049
- class Subscription < Stripe::RequestParams
2050
- class Affiliate < Stripe::RequestParams
2051
- # The name of the affiliate that originated the purchase.
2052
- attr_accessor :name
2053
-
2054
- def initialize(name: nil)
2055
- @name = name
2056
- end
2057
- end
2058
-
2059
- class BillingInterval < Stripe::RequestParams
2060
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2061
- attr_accessor :count
2062
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2063
- attr_accessor :interval
2064
-
2065
- def initialize(count: nil, interval: nil)
2066
- @count = count
2067
- @interval = interval
2068
- end
2069
- end
2070
- # Affiliate details for this purchase.
2071
- attr_accessor :affiliate
2072
- # Info whether the subscription will be auto renewed upon expiry.
2073
- attr_accessor :auto_renewal
2074
- # Subscription billing details for this purchase.
2075
- attr_accessor :billing_interval
2076
- # Subscription end time. Measured in seconds since the Unix epoch.
2077
- attr_accessor :ends_at
2078
- # Name of the product on subscription. e.g. Apple Music Subscription
2079
- attr_accessor :name
2080
- # Subscription start time. Measured in seconds since the Unix epoch.
2081
- attr_accessor :starts_at
2082
-
2083
- def initialize(
2084
- affiliate: nil,
2085
- auto_renewal: nil,
2086
- billing_interval: nil,
2087
- ends_at: nil,
2088
- name: nil,
2089
- starts_at: nil
2090
- )
2091
- @affiliate = affiliate
2092
- @auto_renewal = auto_renewal
2093
- @billing_interval = billing_interval
2094
- @ends_at = ends_at
2095
- @name = name
2096
- @starts_at = starts_at
2097
- end
2098
- end
2099
- # Car rental details for this PaymentIntent.
2100
- attr_accessor :car_rental
2101
- # Event details for this PaymentIntent
2102
- attr_accessor :event_details
2103
- # Flight reservation details for this PaymentIntent
2104
- attr_accessor :flight
2105
- # Lodging reservation details for this PaymentIntent
2106
- attr_accessor :lodging
2107
- # Subscription details for this PaymentIntent
2108
- attr_accessor :subscription
2109
-
2110
- def initialize(
2111
- car_rental: nil,
2112
- event_details: nil,
2113
- flight: nil,
2114
- lodging: nil,
2115
- subscription: nil
2116
- )
2117
- @car_rental = car_rental
2118
- @event_details = event_details
2119
- @flight = flight
2120
- @lodging = lodging
2121
- @subscription = subscription
2122
- end
2123
- end
2124
-
2125
- class Shipping < Stripe::RequestParams
2126
- class Address < Stripe::RequestParams
2127
- # City, district, suburb, town, or village.
2128
- attr_accessor :city
2129
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2130
- attr_accessor :country
2131
- # Address line 1 (e.g., street, PO Box, or company name).
2132
- attr_accessor :line1
2133
- # Address line 2 (e.g., apartment, suite, unit, or building).
2134
- attr_accessor :line2
2135
- # ZIP or postal code.
2136
- attr_accessor :postal_code
2137
- # State, county, province, or region.
2138
- attr_accessor :state
2139
-
2140
- def initialize(
2141
- city: nil,
2142
- country: nil,
2143
- line1: nil,
2144
- line2: nil,
2145
- postal_code: nil,
2146
- state: nil
2147
- )
2148
- @city = city
2149
- @country = country
2150
- @line1 = line1
2151
- @line2 = line2
2152
- @postal_code = postal_code
2153
- @state = state
2154
- end
2155
- end
2156
- # Shipping address.
2157
- attr_accessor :address
2158
- # The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
2159
- attr_accessor :carrier
2160
- # Recipient name.
2161
- attr_accessor :name
2162
- # Recipient phone (including extension).
2163
- attr_accessor :phone
2164
- # The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
2165
- attr_accessor :tracking_number
2166
-
2167
- def initialize(address: nil, carrier: nil, name: nil, phone: nil, tracking_number: nil)
2168
- @address = address
2169
- @carrier = carrier
2170
- @name = name
2171
- @phone = phone
2172
- @tracking_number = tracking_number
2173
- end
2174
- end
2175
- # The ID of an existing customer that will be associated with this request. This field may only be updated if there is no existing associated customer with this charge.
2176
- attr_accessor :customer
2177
- # An arbitrary string which you can attach to a charge object. It is displayed when in the web interface alongside the charge. Note that if you use Stripe to send automatic email receipts to your customers, your receipt emails will include the `description` of the charge(s) that they are describing.
2178
- attr_accessor :description
2179
- # Specifies which fields in the response should be expanded.
2180
- attr_accessor :expand
2181
- # A set of key-value pairs you can attach to a charge giving information about its riskiness. If you believe a charge is fraudulent, include a `user_report` key with a value of `fraudulent`. If you believe a charge is safe, include a `user_report` key with a value of `safe`. Stripe will use the information you send to improve our fraud detection algorithms.
2182
- attr_accessor :fraud_details
2183
- # 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2184
- attr_accessor :metadata
2185
- # Provides industry-specific information about the charge.
2186
- attr_accessor :payment_details
2187
- # This is the email address that the receipt for this charge will be sent to. If this field is updated, then a new email receipt will be sent to the updated address.
2188
- attr_accessor :receipt_email
2189
- # Shipping information for the charge. Helps prevent fraud on charges for physical goods.
2190
- attr_accessor :shipping
2191
- # A string that identifies this transaction as part of a group. `transfer_group` may only be provided if it has not been set. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) for details.
2192
- attr_accessor :transfer_group
2193
-
2194
- def initialize(
2195
- customer: nil,
2196
- description: nil,
2197
- expand: nil,
2198
- fraud_details: nil,
2199
- metadata: nil,
2200
- payment_details: nil,
2201
- receipt_email: nil,
2202
- shipping: nil,
2203
- transfer_group: nil
2204
- )
2205
- @customer = customer
2206
- @description = description
2207
- @expand = expand
2208
- @fraud_details = fraud_details
2209
- @metadata = metadata
2210
- @payment_details = payment_details
2211
- @receipt_email = receipt_email
2212
- @shipping = shipping
2213
- @transfer_group = transfer_group
2214
- end
2215
- end
2216
-
2217
- class SearchParams < Stripe::RequestParams
2218
- # Specifies which fields in the response should be expanded.
2219
- attr_accessor :expand
2220
- # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
2221
- attr_accessor :limit
2222
- # A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
2223
- attr_accessor :page
2224
- # The search query string. See [search query language](https://stripe.com/docs/search#search-query-language) and the list of supported [query fields for charges](https://stripe.com/docs/search#query-fields-for-charges).
2225
- attr_accessor :query
2226
-
2227
- def initialize(expand: nil, limit: nil, page: nil, query: nil)
2228
- @expand = expand
2229
- @limit = limit
2230
- @page = page
2231
- @query = query
2232
- end
2233
- end
2234
-
2235
- class CaptureParams < Stripe::RequestParams
2236
- class PaymentDetails < Stripe::RequestParams
2237
- class CarRental < Stripe::RequestParams
2238
- class Affiliate < Stripe::RequestParams
2239
- # The name of the affiliate that originated the purchase.
2240
- attr_accessor :name
2241
-
2242
- def initialize(name: nil)
2243
- @name = name
2244
- end
2245
- end
2246
-
2247
- class Delivery < Stripe::RequestParams
2248
- class Recipient < Stripe::RequestParams
2249
- # The email of the recipient the ticket is delivered to.
2250
- attr_accessor :email
2251
- # The name of the recipient the ticket is delivered to.
2252
- attr_accessor :name
2253
- # The phone number of the recipient the ticket is delivered to.
2254
- attr_accessor :phone
2255
-
2256
- def initialize(email: nil, name: nil, phone: nil)
2257
- @email = email
2258
- @name = name
2259
- @phone = phone
2260
- end
2261
- end
2262
- # The delivery method for the payment
2263
- attr_accessor :mode
2264
- # Details of the recipient.
2265
- attr_accessor :recipient
2266
-
2267
- def initialize(mode: nil, recipient: nil)
2268
- @mode = mode
2269
- @recipient = recipient
2270
- end
2271
- end
2272
-
2273
- class Driver < Stripe::RequestParams
2274
- # Full name of the person or entity on the car reservation.
2275
- attr_accessor :name
2276
-
2277
- def initialize(name: nil)
2278
- @name = name
2279
- end
2280
- end
2281
-
2282
- class PickupAddress < Stripe::RequestParams
2283
- # City, district, suburb, town, or village.
2284
- attr_accessor :city
2285
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2286
- attr_accessor :country
2287
- # Address line 1 (e.g., street, PO Box, or company name).
2288
- attr_accessor :line1
2289
- # Address line 2 (e.g., apartment, suite, unit, or building).
2290
- attr_accessor :line2
2291
- # ZIP or postal code.
2292
- attr_accessor :postal_code
2293
- # State, county, province, or region.
2294
- attr_accessor :state
2295
-
2296
- def initialize(
2297
- city: nil,
2298
- country: nil,
2299
- line1: nil,
2300
- line2: nil,
2301
- postal_code: nil,
2302
- state: nil
2303
- )
2304
- @city = city
2305
- @country = country
2306
- @line1 = line1
2307
- @line2 = line2
2308
- @postal_code = postal_code
2309
- @state = state
2310
- end
2311
- end
2312
-
2313
- class ReturnAddress < Stripe::RequestParams
2314
- # City, district, suburb, town, or village.
2315
- attr_accessor :city
2316
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2317
- attr_accessor :country
2318
- # Address line 1 (e.g., street, PO Box, or company name).
2319
- attr_accessor :line1
2320
- # Address line 2 (e.g., apartment, suite, unit, or building).
2321
- attr_accessor :line2
2322
- # ZIP or postal code.
2323
- attr_accessor :postal_code
2324
- # State, county, province, or region.
2325
- attr_accessor :state
2326
-
2327
- def initialize(
2328
- city: nil,
2329
- country: nil,
2330
- line1: nil,
2331
- line2: nil,
2332
- postal_code: nil,
2333
- state: nil
2334
- )
2335
- @city = city
2336
- @country = country
2337
- @line1 = line1
2338
- @line2 = line2
2339
- @postal_code = postal_code
2340
- @state = state
2341
- end
2342
- end
2343
- # Affiliate details for this purchase.
2344
- attr_accessor :affiliate
2345
- # The booking number associated with the car rental.
2346
- attr_accessor :booking_number
2347
- # Class code of the car.
2348
- attr_accessor :car_class_code
2349
- # Make of the car.
2350
- attr_accessor :car_make
2351
- # Model of the car.
2352
- attr_accessor :car_model
2353
- # The name of the rental car company.
2354
- attr_accessor :company
2355
- # The customer service phone number of the car rental company.
2356
- attr_accessor :customer_service_phone_number
2357
- # Number of days the car is being rented.
2358
- attr_accessor :days_rented
2359
- # Delivery details for this purchase.
2360
- attr_accessor :delivery
2361
- # The details of the passengers in the travel reservation
2362
- attr_accessor :drivers
2363
- # List of additional charges being billed.
2364
- attr_accessor :extra_charges
2365
- # Indicates if the customer did not keep nor cancel their booking.
2366
- attr_accessor :no_show
2367
- # Car pick-up address.
2368
- attr_accessor :pickup_address
2369
- # Car pick-up time. Measured in seconds since the Unix epoch.
2370
- attr_accessor :pickup_at
2371
- # Rental rate.
2372
- attr_accessor :rate_amount
2373
- # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
2374
- attr_accessor :rate_interval
2375
- # The name of the person or entity renting the car.
2376
- attr_accessor :renter_name
2377
- # Car return address.
2378
- attr_accessor :return_address
2379
- # Car return time. Measured in seconds since the Unix epoch.
2380
- attr_accessor :return_at
2381
- # Indicates whether the goods or services are tax-exempt or tax is not collected.
2382
- attr_accessor :tax_exempt
2383
-
2384
- def initialize(
2385
- affiliate: nil,
2386
- booking_number: nil,
2387
- car_class_code: nil,
2388
- car_make: nil,
2389
- car_model: nil,
2390
- company: nil,
2391
- customer_service_phone_number: nil,
2392
- days_rented: nil,
2393
- delivery: nil,
2394
- drivers: nil,
2395
- extra_charges: nil,
2396
- no_show: nil,
2397
- pickup_address: nil,
2398
- pickup_at: nil,
2399
- rate_amount: nil,
2400
- rate_interval: nil,
2401
- renter_name: nil,
2402
- return_address: nil,
2403
- return_at: nil,
2404
- tax_exempt: nil
2405
- )
2406
- @affiliate = affiliate
2407
- @booking_number = booking_number
2408
- @car_class_code = car_class_code
2409
- @car_make = car_make
2410
- @car_model = car_model
2411
- @company = company
2412
- @customer_service_phone_number = customer_service_phone_number
2413
- @days_rented = days_rented
2414
- @delivery = delivery
2415
- @drivers = drivers
2416
- @extra_charges = extra_charges
2417
- @no_show = no_show
2418
- @pickup_address = pickup_address
2419
- @pickup_at = pickup_at
2420
- @rate_amount = rate_amount
2421
- @rate_interval = rate_interval
2422
- @renter_name = renter_name
2423
- @return_address = return_address
2424
- @return_at = return_at
2425
- @tax_exempt = tax_exempt
2426
- end
2427
- end
2428
-
2429
- class EventDetails < Stripe::RequestParams
2430
- class Address < Stripe::RequestParams
2431
- # City, district, suburb, town, or village.
2432
- attr_accessor :city
2433
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2434
- attr_accessor :country
2435
- # Address line 1 (e.g., street, PO Box, or company name).
2436
- attr_accessor :line1
2437
- # Address line 2 (e.g., apartment, suite, unit, or building).
2438
- attr_accessor :line2
2439
- # ZIP or postal code.
2440
- attr_accessor :postal_code
2441
- # State, county, province, or region.
2442
- attr_accessor :state
2443
-
2444
- def initialize(
2445
- city: nil,
2446
- country: nil,
2447
- line1: nil,
2448
- line2: nil,
2449
- postal_code: nil,
2450
- state: nil
2451
- )
2452
- @city = city
2453
- @country = country
2454
- @line1 = line1
2455
- @line2 = line2
2456
- @postal_code = postal_code
2457
- @state = state
2458
- end
2459
- end
2460
-
2461
- class Affiliate < Stripe::RequestParams
2462
- # The name of the affiliate that originated the purchase.
2463
- attr_accessor :name
2464
-
2465
- def initialize(name: nil)
2466
- @name = name
2467
- end
2468
- end
2469
-
2470
- class Delivery < Stripe::RequestParams
2471
- class Recipient < Stripe::RequestParams
2472
- # The email of the recipient the ticket is delivered to.
2473
- attr_accessor :email
2474
- # The name of the recipient the ticket is delivered to.
2475
- attr_accessor :name
2476
- # The phone number of the recipient the ticket is delivered to.
2477
- attr_accessor :phone
2478
-
2479
- def initialize(email: nil, name: nil, phone: nil)
2480
- @email = email
2481
- @name = name
2482
- @phone = phone
2483
- end
2484
- end
2485
- # The delivery method for the payment
2486
- attr_accessor :mode
2487
- # Details of the recipient.
2488
- attr_accessor :recipient
2489
-
2490
- def initialize(mode: nil, recipient: nil)
2491
- @mode = mode
2492
- @recipient = recipient
2493
- end
2494
- end
2495
- # Indicates if the tickets are digitally checked when entering the venue.
2496
- attr_accessor :access_controlled_venue
2497
- # The event location's address.
2498
- attr_accessor :address
2499
- # Affiliate details for this purchase.
2500
- attr_accessor :affiliate
2501
- # The name of the company
2502
- attr_accessor :company
2503
- # Delivery details for this purchase.
2504
- attr_accessor :delivery
2505
- # Event end time. Measured in seconds since the Unix epoch.
2506
- attr_accessor :ends_at
2507
- # Type of the event entertainment (concert, sports event etc)
2508
- attr_accessor :genre
2509
- # The name of the event.
2510
- attr_accessor :name
2511
- # Event start time. Measured in seconds since the Unix epoch.
2512
- attr_accessor :starts_at
2513
-
2514
- def initialize(
2515
- access_controlled_venue: nil,
2516
- address: nil,
2517
- affiliate: nil,
2518
- company: nil,
2519
- delivery: nil,
2520
- ends_at: nil,
2521
- genre: nil,
2522
- name: nil,
2523
- starts_at: nil
2524
- )
2525
- @access_controlled_venue = access_controlled_venue
2526
- @address = address
2527
- @affiliate = affiliate
2528
- @company = company
2529
- @delivery = delivery
2530
- @ends_at = ends_at
2531
- @genre = genre
2532
- @name = name
2533
- @starts_at = starts_at
2534
- end
2535
- end
2536
-
2537
- class Flight < Stripe::RequestParams
2538
- class Affiliate < Stripe::RequestParams
2539
- # The name of the affiliate that originated the purchase.
2540
- attr_accessor :name
2541
-
2542
- def initialize(name: nil)
2543
- @name = name
2544
- end
2545
- end
2546
-
2547
- class Delivery < Stripe::RequestParams
2548
- class Recipient < Stripe::RequestParams
2549
- # The email of the recipient the ticket is delivered to.
2550
- attr_accessor :email
2551
- # The name of the recipient the ticket is delivered to.
2552
- attr_accessor :name
2553
- # The phone number of the recipient the ticket is delivered to.
2554
- attr_accessor :phone
2555
-
2556
- def initialize(email: nil, name: nil, phone: nil)
2557
- @email = email
2558
- @name = name
2559
- @phone = phone
2560
- end
2561
- end
2562
- # The delivery method for the payment
2563
- attr_accessor :mode
2564
- # Details of the recipient.
2565
- attr_accessor :recipient
2566
-
2567
- def initialize(mode: nil, recipient: nil)
2568
- @mode = mode
2569
- @recipient = recipient
2570
- end
2571
- end
2572
-
2573
- class Passenger < Stripe::RequestParams
2574
- # Full name of the person or entity on the flight reservation.
2575
- attr_accessor :name
2576
-
2577
- def initialize(name: nil)
2578
- @name = name
2579
- end
2580
- end
2581
-
2582
- class Segment < Stripe::RequestParams
2583
- # The flight segment amount.
2584
- attr_accessor :amount
2585
- # The International Air Transport Association (IATA) airport code for the arrival airport.
2586
- attr_accessor :arrival_airport
2587
- # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
2588
- attr_accessor :arrives_at
2589
- # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
2590
- attr_accessor :carrier
2591
- # The departure time for the flight segment. Measured in seconds since the Unix epoch.
2592
- attr_accessor :departs_at
2593
- # The International Air Transport Association (IATA) airport code for the departure airport.
2594
- attr_accessor :departure_airport
2595
- # The flight number associated with the segment
2596
- attr_accessor :flight_number
2597
- # The fare class for the segment.
2598
- attr_accessor :service_class
2599
-
2600
- def initialize(
2601
- amount: nil,
2602
- arrival_airport: nil,
2603
- arrives_at: nil,
2604
- carrier: nil,
2605
- departs_at: nil,
2606
- departure_airport: nil,
2607
- flight_number: nil,
2608
- service_class: nil
2609
- )
2610
- @amount = amount
2611
- @arrival_airport = arrival_airport
2612
- @arrives_at = arrives_at
2613
- @carrier = carrier
2614
- @departs_at = departs_at
2615
- @departure_airport = departure_airport
2616
- @flight_number = flight_number
2617
- @service_class = service_class
2618
- end
2619
- end
2620
- # Affiliate details for this purchase.
2621
- attr_accessor :affiliate
2622
- # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
2623
- attr_accessor :agency_number
2624
- # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
2625
- attr_accessor :carrier
2626
- # Delivery details for this purchase.
2627
- attr_accessor :delivery
2628
- # The name of the person or entity on the reservation.
2629
- attr_accessor :passenger_name
2630
- # The details of the passengers in the travel reservation.
2631
- attr_accessor :passengers
2632
- # The individual flight segments associated with the trip.
2633
- attr_accessor :segments
2634
- # The ticket number associated with the travel reservation.
2635
- attr_accessor :ticket_number
2636
-
2637
- def initialize(
2638
- affiliate: nil,
2639
- agency_number: nil,
2640
- carrier: nil,
2641
- delivery: nil,
2642
- passenger_name: nil,
2643
- passengers: nil,
2644
- segments: nil,
2645
- ticket_number: nil
2646
- )
2647
- @affiliate = affiliate
2648
- @agency_number = agency_number
2649
- @carrier = carrier
2650
- @delivery = delivery
2651
- @passenger_name = passenger_name
2652
- @passengers = passengers
2653
- @segments = segments
2654
- @ticket_number = ticket_number
2655
- end
2656
- end
2657
-
2658
- class Lodging < Stripe::RequestParams
2659
- class Address < Stripe::RequestParams
2660
- # City, district, suburb, town, or village.
2661
- attr_accessor :city
2662
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2663
- attr_accessor :country
2664
- # Address line 1 (e.g., street, PO Box, or company name).
2665
- attr_accessor :line1
2666
- # Address line 2 (e.g., apartment, suite, unit, or building).
2667
- attr_accessor :line2
2668
- # ZIP or postal code.
2669
- attr_accessor :postal_code
2670
- # State, county, province, or region.
2671
- attr_accessor :state
2672
-
2673
- def initialize(
2674
- city: nil,
2675
- country: nil,
2676
- line1: nil,
2677
- line2: nil,
2678
- postal_code: nil,
2679
- state: nil
2680
- )
2681
- @city = city
2682
- @country = country
2683
- @line1 = line1
2684
- @line2 = line2
2685
- @postal_code = postal_code
2686
- @state = state
2687
- end
2688
- end
2689
-
2690
- class Affiliate < Stripe::RequestParams
2691
- # The name of the affiliate that originated the purchase.
2692
- attr_accessor :name
2693
-
2694
- def initialize(name: nil)
2695
- @name = name
2696
- end
2697
- end
2698
-
2699
- class Delivery < Stripe::RequestParams
2700
- class Recipient < Stripe::RequestParams
2701
- # The email of the recipient the ticket is delivered to.
2702
- attr_accessor :email
2703
- # The name of the recipient the ticket is delivered to.
2704
- attr_accessor :name
2705
- # The phone number of the recipient the ticket is delivered to.
2706
- attr_accessor :phone
2707
-
2708
- def initialize(email: nil, name: nil, phone: nil)
2709
- @email = email
2710
- @name = name
2711
- @phone = phone
2712
- end
2713
- end
2714
- # The delivery method for the payment
2715
- attr_accessor :mode
2716
- # Details of the recipient.
2717
- attr_accessor :recipient
2718
-
2719
- def initialize(mode: nil, recipient: nil)
2720
- @mode = mode
2721
- @recipient = recipient
2722
- end
2723
- end
2724
-
2725
- class Passenger < Stripe::RequestParams
2726
- # Full name of the person or entity on the lodging reservation.
2727
- attr_accessor :name
2728
-
2729
- def initialize(name: nil)
2730
- @name = name
2731
- end
2732
- end
2733
- # The lodging location's address.
2734
- attr_accessor :address
2735
- # The number of adults on the booking
2736
- attr_accessor :adults
2737
- # Affiliate details for this purchase.
2738
- attr_accessor :affiliate
2739
- # The booking number associated with the lodging reservation.
2740
- attr_accessor :booking_number
2741
- # The lodging category
2742
- attr_accessor :category
2743
- # Loding check-in time. Measured in seconds since the Unix epoch.
2744
- attr_accessor :checkin_at
2745
- # Lodging check-out time. Measured in seconds since the Unix epoch.
2746
- attr_accessor :checkout_at
2747
- # The customer service phone number of the lodging company.
2748
- attr_accessor :customer_service_phone_number
2749
- # The daily lodging room rate.
2750
- attr_accessor :daily_room_rate_amount
2751
- # Delivery details for this purchase.
2752
- attr_accessor :delivery
2753
- # List of additional charges being billed.
2754
- attr_accessor :extra_charges
2755
- # Indicates whether the lodging location is compliant with the Fire Safety Act.
2756
- attr_accessor :fire_safety_act_compliance
2757
- # The name of the lodging location.
2758
- attr_accessor :name
2759
- # Indicates if the customer did not keep their booking while failing to cancel the reservation.
2760
- attr_accessor :no_show
2761
- # The number of rooms on the booking
2762
- attr_accessor :number_of_rooms
2763
- # The details of the passengers in the travel reservation
2764
- attr_accessor :passengers
2765
- # The phone number of the lodging location.
2766
- attr_accessor :property_phone_number
2767
- # The room class for this purchase.
2768
- attr_accessor :room_class
2769
- # The number of room nights
2770
- attr_accessor :room_nights
2771
- # The total tax amount associating with the room reservation.
2772
- attr_accessor :total_room_tax_amount
2773
- # The total tax amount
2774
- attr_accessor :total_tax_amount
2775
-
2776
- def initialize(
2777
- address: nil,
2778
- adults: nil,
2779
- affiliate: nil,
2780
- booking_number: nil,
2781
- category: nil,
2782
- checkin_at: nil,
2783
- checkout_at: nil,
2784
- customer_service_phone_number: nil,
2785
- daily_room_rate_amount: nil,
2786
- delivery: nil,
2787
- extra_charges: nil,
2788
- fire_safety_act_compliance: nil,
2789
- name: nil,
2790
- no_show: nil,
2791
- number_of_rooms: nil,
2792
- passengers: nil,
2793
- property_phone_number: nil,
2794
- room_class: nil,
2795
- room_nights: nil,
2796
- total_room_tax_amount: nil,
2797
- total_tax_amount: nil
2798
- )
2799
- @address = address
2800
- @adults = adults
2801
- @affiliate = affiliate
2802
- @booking_number = booking_number
2803
- @category = category
2804
- @checkin_at = checkin_at
2805
- @checkout_at = checkout_at
2806
- @customer_service_phone_number = customer_service_phone_number
2807
- @daily_room_rate_amount = daily_room_rate_amount
2808
- @delivery = delivery
2809
- @extra_charges = extra_charges
2810
- @fire_safety_act_compliance = fire_safety_act_compliance
2811
- @name = name
2812
- @no_show = no_show
2813
- @number_of_rooms = number_of_rooms
2814
- @passengers = passengers
2815
- @property_phone_number = property_phone_number
2816
- @room_class = room_class
2817
- @room_nights = room_nights
2818
- @total_room_tax_amount = total_room_tax_amount
2819
- @total_tax_amount = total_tax_amount
2820
- end
2821
- end
2822
-
2823
- class Subscription < Stripe::RequestParams
2824
- class Affiliate < Stripe::RequestParams
2825
- # The name of the affiliate that originated the purchase.
2826
- attr_accessor :name
2827
-
2828
- def initialize(name: nil)
2829
- @name = name
2830
- end
2831
- end
2832
-
2833
- class BillingInterval < Stripe::RequestParams
2834
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2835
- attr_accessor :count
2836
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2837
- attr_accessor :interval
2838
-
2839
- def initialize(count: nil, interval: nil)
2840
- @count = count
2841
- @interval = interval
2842
- end
2843
- end
2844
- # Affiliate details for this purchase.
2845
- attr_accessor :affiliate
2846
- # Info whether the subscription will be auto renewed upon expiry.
2847
- attr_accessor :auto_renewal
2848
- # Subscription billing details for this purchase.
2849
- attr_accessor :billing_interval
2850
- # Subscription end time. Measured in seconds since the Unix epoch.
2851
- attr_accessor :ends_at
2852
- # Name of the product on subscription. e.g. Apple Music Subscription
2853
- attr_accessor :name
2854
- # Subscription start time. Measured in seconds since the Unix epoch.
2855
- attr_accessor :starts_at
2856
-
2857
- def initialize(
2858
- affiliate: nil,
2859
- auto_renewal: nil,
2860
- billing_interval: nil,
2861
- ends_at: nil,
2862
- name: nil,
2863
- starts_at: nil
2864
- )
2865
- @affiliate = affiliate
2866
- @auto_renewal = auto_renewal
2867
- @billing_interval = billing_interval
2868
- @ends_at = ends_at
2869
- @name = name
2870
- @starts_at = starts_at
2871
- end
2872
- end
2873
- # Car rental details for this PaymentIntent.
2874
- attr_accessor :car_rental
2875
- # Event details for this PaymentIntent
2876
- attr_accessor :event_details
2877
- # Flight reservation details for this PaymentIntent
2878
- attr_accessor :flight
2879
- # Lodging reservation details for this PaymentIntent
2880
- attr_accessor :lodging
2881
- # Subscription details for this PaymentIntent
2882
- attr_accessor :subscription
2883
-
2884
- def initialize(
2885
- car_rental: nil,
2886
- event_details: nil,
2887
- flight: nil,
2888
- lodging: nil,
2889
- subscription: nil
2890
- )
2891
- @car_rental = car_rental
2892
- @event_details = event_details
2893
- @flight = flight
2894
- @lodging = lodging
2895
- @subscription = subscription
2896
- end
2897
- end
2898
-
2899
- class TransferData < Stripe::RequestParams
2900
- # The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
2901
- attr_accessor :amount
2902
-
2903
- def initialize(amount: nil)
2904
- @amount = amount
2905
- end
2906
- end
2907
- # The amount to capture, which must be less than or equal to the original amount. Any additional amount will be automatically refunded.
2908
- attr_accessor :amount
2909
- # An application fee to add on to this charge.
2910
- attr_accessor :application_fee
2911
- # An application fee amount to add on to this charge, which must be less than or equal to the original amount.
2912
- attr_accessor :application_fee_amount
2913
- # Specifies which fields in the response should be expanded.
2914
- attr_accessor :expand
2915
- # Provides industry-specific information about the charge.
2916
- attr_accessor :payment_details
2917
- # The email address to send this charge's receipt to. This will override the previously-specified email address for this charge, if one was set. Receipts will not be sent in test mode.
2918
- attr_accessor :receipt_email
2919
- # For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
2920
- #
2921
- # For a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.
2922
- attr_accessor :statement_descriptor
2923
- # Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
2924
- attr_accessor :statement_descriptor_suffix
2925
- # An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details.
2926
- attr_accessor :transfer_data
2927
- # A string that identifies this transaction as part of a group. `transfer_group` may only be provided if it has not been set. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) for details.
2928
- attr_accessor :transfer_group
2929
-
2930
- def initialize(
2931
- amount: nil,
2932
- application_fee: nil,
2933
- application_fee_amount: nil,
2934
- expand: nil,
2935
- payment_details: nil,
2936
- receipt_email: nil,
2937
- statement_descriptor: nil,
2938
- statement_descriptor_suffix: nil,
2939
- transfer_data: nil,
2940
- transfer_group: nil
2941
- )
2942
- @amount = amount
2943
- @application_fee = application_fee
2944
- @application_fee_amount = application_fee_amount
2945
- @expand = expand
2946
- @payment_details = payment_details
2947
- @receipt_email = receipt_email
2948
- @statement_descriptor = statement_descriptor
2949
- @statement_descriptor_suffix = statement_descriptor_suffix
2950
- @transfer_data = transfer_data
2951
- @transfer_group = transfer_group
2952
- end
2953
- end
2954
- # Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
2955
- attr_reader :amount
2956
- # Amount in cents (or local equivalent) captured (can be less than the amount attribute on the charge if a partial capture was made).
2957
- attr_reader :amount_captured
2958
- # Amount in cents (or local equivalent) refunded (can be less than the amount attribute on the charge if a partial refund was issued).
2959
- attr_reader :amount_refunded
2960
- # ID of the Connect application that created the charge.
2961
- attr_reader :application
2962
- # The application fee (if any) for the charge. [See the Connect documentation](https://stripe.com/docs/connect/direct-charges#collect-fees) for details.
2963
- attr_reader :application_fee
2964
- # The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://stripe.com/docs/connect/direct-charges#collect-fees) for details.
2965
- attr_reader :application_fee_amount
2966
- # Authorization code on the charge.
2967
- attr_reader :authorization_code
2968
- # ID of the balance transaction that describes the impact of this charge on your account balance (not including refunds or disputes).
2969
- attr_reader :balance_transaction
2970
- # Attribute for field billing_details
2971
- attr_reader :billing_details
2972
- # The full statement descriptor that is passed to card networks, and that is displayed on your customers' credit card and bank statements. Allows you to see what the statement descriptor looks like after the static and dynamic portions are combined. This value only exists for card payments.
2973
- attr_reader :calculated_statement_descriptor
2974
- # If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured.
2975
- attr_reader :captured
2976
- # Time at which the object was created. Measured in seconds since the Unix epoch.
2977
- attr_reader :created
2978
- # 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).
2979
- attr_reader :currency
2980
- # ID of the customer this charge is for if one exists.
2981
- attr_reader :customer
2982
- # An arbitrary string attached to the object. Often useful for displaying to users.
2983
- attr_reader :description
2984
- # Whether the charge has been disputed.
2985
- attr_reader :disputed
2986
- # ID of the balance transaction that describes the reversal of the balance on your account due to payment failure.
2987
- attr_reader :failure_balance_transaction
2988
- # Error code explaining reason for charge failure if available (see [the errors section](https://stripe.com/docs/error-codes) for a list of codes).
2989
- attr_reader :failure_code
2990
- # Message to user further explaining reason for charge failure if available.
2991
- attr_reader :failure_message
2992
- # Information on fraud assessments for the charge.
2993
- attr_reader :fraud_details
2994
- # Unique identifier for the object.
2995
- attr_reader :id
2996
- # ID of the invoice this charge is for if one exists.
2997
- attr_reader :invoice
2998
- # Attribute for field level3
2999
- attr_reader :level3
3000
- # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
3001
- attr_reader :livemode
3002
- # 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.
3003
- attr_reader :metadata
3004
- # String representing the object's type. Objects of the same type share the same value.
3005
- attr_reader :object
3006
- # The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers) for details.
3007
- attr_reader :on_behalf_of
3008
- # Details about whether the payment was accepted, and why. See [understanding declines](https://stripe.com/docs/declines) for details.
3009
- attr_reader :outcome
3010
- # `true` if the charge succeeded, or was successfully authorized for later capture.
3011
- attr_reader :paid
3012
- # ID of the PaymentIntent associated with this charge, if one exists.
3013
- attr_reader :payment_intent
3014
- # ID of the payment method used in this charge.
3015
- attr_reader :payment_method
3016
- # Details about the payment method at the time of the transaction.
3017
- attr_reader :payment_method_details
3018
- # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
3019
- attr_reader :radar_options
3020
- # This is the email address that the receipt for this charge was sent to.
3021
- attr_reader :receipt_email
3022
- # This is the transaction number that appears on email receipts sent for this charge. This attribute will be `null` until a receipt has been sent.
3023
- attr_reader :receipt_number
3024
- # This is the URL to view the receipt for this charge. The receipt is kept up-to-date to the latest state of the charge, including any refunds. If the charge is for an Invoice, the receipt will be stylized as an Invoice receipt.
3025
- attr_reader :receipt_url
3026
- # Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.
3027
- attr_reader :refunded
3028
- # A list of refunds that have been applied to the charge.
3029
- attr_reader :refunds
3030
- # ID of the review associated with this charge if one exists.
3031
- attr_reader :review
3032
- # Shipping information for the charge.
3033
- attr_reader :shipping
3034
- # This is a legacy field that will be removed in the future. It contains the Source, Card, or BankAccount object used for the charge. For details about the payment method used for this charge, refer to `payment_method` or `payment_method_details` instead.
3035
- attr_reader :source
3036
- # The transfer ID which created this charge. Only present if the charge came from another Stripe account. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.
3037
- attr_reader :source_transfer
3038
- # For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
3039
- #
3040
- # For a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.
3041
- attr_reader :statement_descriptor
3042
- # Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
3043
- attr_reader :statement_descriptor_suffix
3044
- # The status of the payment is either `succeeded`, `pending`, or `failed`.
3045
- attr_reader :status
3046
- # ID of the transfer to the `destination` account (only applicable if the charge was created using the `destination` parameter).
3047
- attr_reader :transfer
3048
- # An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details.
3049
- attr_reader :transfer_data
3050
- # A string that identifies this transaction as part of a group. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) for details.
3051
- attr_reader :transfer_group
3052
-
3053
23
  # Capture the payment of an existing, uncaptured charge that was created with the capture option set to false.
3054
24
  #
3055
25
  # Uncaptured payments expire a set number of days after they are created ([7 by default](https://stripe.com/docs/charges/placing-a-hold)), after which they are marked as refunded and capture attempts will fail.