stripe 13.3.0.pre.beta.2 → 13.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (221) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +650 -1394
  3. data/OPENAPI_VERSION +1 -1
  4. data/VERSION +1 -1
  5. data/lib/stripe/api_version.rb +1 -1
  6. data/lib/stripe/object_types.rb +0 -32
  7. data/lib/stripe/resources/account.rb +2 -232
  8. data/lib/stripe/resources/account_link.rb +0 -9
  9. data/lib/stripe/resources/account_session.rb +0 -103
  10. data/lib/stripe/resources/apple_pay_domain.rb +2 -20
  11. data/lib/stripe/resources/application_fee.rb +2 -36
  12. data/lib/stripe/resources/application_fee_refund.rb +0 -17
  13. data/lib/stripe/resources/apps/secret.rb +2 -24
  14. data/lib/stripe/resources/balance.rb +0 -59
  15. data/lib/stripe/resources/balance_transaction.rb +2 -36
  16. data/lib/stripe/resources/bank_account.rb +3 -61
  17. data/lib/stripe/resources/billing/alert.rb +2 -23
  18. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -25
  19. data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -46
  20. data/lib/stripe/resources/billing/credit_grant.rb +2 -46
  21. data/lib/stripe/resources/billing/meter.rb +2 -44
  22. data/lib/stripe/resources/billing/meter_event.rb +0 -15
  23. data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -16
  24. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -15
  25. data/lib/stripe/resources/billing_portal/configuration.rb +2 -72
  26. data/lib/stripe/resources/billing_portal/session.rb +0 -61
  27. data/lib/stripe/resources/capability.rb +0 -38
  28. data/lib/stripe/resources/card.rb +1 -73
  29. data/lib/stripe/resources/cash_balance.rb +0 -14
  30. data/lib/stripe/resources/charge.rb +2 -471
  31. data/lib/stripe/resources/checkout/session.rb +2 -498
  32. data/lib/stripe/resources/climate/order.rb +2 -57
  33. data/lib/stripe/resources/climate/product.rb +2 -26
  34. data/lib/stripe/resources/climate/supplier.rb +2 -20
  35. data/lib/stripe/resources/confirmation_token.rb +0 -297
  36. data/lib/stripe/resources/country_spec.rb +2 -29
  37. data/lib/stripe/resources/coupon.rb +2 -46
  38. data/lib/stripe/resources/credit_note.rb +2 -93
  39. data/lib/stripe/resources/credit_note_line_item.rb +0 -46
  40. data/lib/stripe/resources/customer.rb +2 -95
  41. data/lib/stripe/resources/customer_balance_transaction.rb +0 -27
  42. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -72
  43. data/lib/stripe/resources/customer_session.rb +0 -34
  44. data/lib/stripe/resources/discount.rb +0 -29
  45. data/lib/stripe/resources/dispute.rb +2 -90
  46. data/lib/stripe/resources/entitlements/active_entitlement.rb +2 -13
  47. data/lib/stripe/resources/entitlements/feature.rb +2 -17
  48. data/lib/stripe/resources/ephemeral_key.rb +0 -13
  49. data/lib/stripe/resources/event.rb +2 -46
  50. data/lib/stripe/resources/exchange_rate.rb +2 -9
  51. data/lib/stripe/resources/file.rb +2 -25
  52. data/lib/stripe/resources/file_link.rb +2 -21
  53. data/lib/stripe/resources/financial_connections/account.rb +2 -89
  54. data/lib/stripe/resources/financial_connections/account_owner.rb +0 -17
  55. data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -9
  56. data/lib/stripe/resources/financial_connections/session.rb +0 -49
  57. data/lib/stripe/resources/financial_connections/transaction.rb +2 -30
  58. data/lib/stripe/resources/forwarding/request.rb +2 -42
  59. data/lib/stripe/resources/funding_instructions.rb +0 -82
  60. data/lib/stripe/resources/identity/verification_report.rb +2 -94
  61. data/lib/stripe/resources/identity/verification_session.rb +2 -78
  62. data/lib/stripe/resources/invoice.rb +2 -420
  63. data/lib/stripe/resources/invoice_item.rb +2 -56
  64. data/lib/stripe/resources/invoice_line_item.rb +0 -83
  65. data/lib/stripe/resources/invoice_rendering_template.rb +2 -19
  66. data/lib/stripe/resources/issuing/authorization.rb +2 -131
  67. data/lib/stripe/resources/issuing/card.rb +2 -88
  68. data/lib/stripe/resources/issuing/cardholder.rb +2 -78
  69. data/lib/stripe/resources/issuing/dispute.rb +2 -67
  70. data/lib/stripe/resources/issuing/personalization_design.rb +2 -40
  71. data/lib/stripe/resources/issuing/physical_bundle.rb +2 -20
  72. data/lib/stripe/resources/issuing/token.rb +2 -48
  73. data/lib/stripe/resources/issuing/transaction.rb +2 -108
  74. data/lib/stripe/resources/line_item.rb +0 -50
  75. data/lib/stripe/resources/login_link.rb +0 -7
  76. data/lib/stripe/resources/mandate.rb +0 -78
  77. data/lib/stripe/resources/payment_intent.rb +2 -714
  78. data/lib/stripe/resources/payment_link.rb +2 -200
  79. data/lib/stripe/resources/payment_method.rb +2 -370
  80. data/lib/stripe/resources/payment_method_configuration.rb +2 -432
  81. data/lib/stripe/resources/payment_method_domain.rb +2 -59
  82. data/lib/stripe/resources/payout.rb +2 -58
  83. data/lib/stripe/resources/person.rb +0 -128
  84. data/lib/stripe/resources/plan.rb +2 -54
  85. data/lib/stripe/resources/price.rb +2 -79
  86. data/lib/stripe/resources/product.rb +2 -62
  87. data/lib/stripe/resources/product_feature.rb +0 -12
  88. data/lib/stripe/resources/promotion_code.rb +2 -37
  89. data/lib/stripe/resources/quote.rb +2 -358
  90. data/lib/stripe/resources/radar/early_fraud_warning.rb +2 -19
  91. data/lib/stripe/resources/radar/value_list.rb +2 -25
  92. data/lib/stripe/resources/radar/value_list_item.rb +2 -19
  93. data/lib/stripe/resources/refund.rb +2 -132
  94. data/lib/stripe/resources/reporting/report_run.rb +2 -31
  95. data/lib/stripe/resources/reporting/report_type.rb +2 -21
  96. data/lib/stripe/resources/reversal.rb +0 -21
  97. data/lib/stripe/resources/review.rb +2 -38
  98. data/lib/stripe/resources/setup_attempt.rb +2 -103
  99. data/lib/stripe/resources/setup_intent.rb +2 -160
  100. data/lib/stripe/resources/shipping_rate.rb +2 -44
  101. data/lib/stripe/resources/sigma/scheduled_query_run.rb +2 -28
  102. data/lib/stripe/resources/source.rb +0 -195
  103. data/lib/stripe/resources/source_transaction.rb +0 -48
  104. data/lib/stripe/resources/subscription.rb +2 -216
  105. data/lib/stripe/resources/subscription_item.rb +2 -48
  106. data/lib/stripe/resources/subscription_schedule.rb +2 -175
  107. data/lib/stripe/resources/tax/calculation.rb +0 -72
  108. data/lib/stripe/resources/tax/calculation_line_item.rb +0 -33
  109. data/lib/stripe/resources/tax/registration.rb +2 -381
  110. data/lib/stripe/resources/tax/settings.rb +0 -33
  111. data/lib/stripe/resources/tax/transaction.rb +0 -68
  112. data/lib/stripe/resources/tax/transaction_line_item.rb +0 -30
  113. data/lib/stripe/resources/tax_code.rb +2 -11
  114. data/lib/stripe/resources/tax_id.rb +2 -32
  115. data/lib/stripe/resources/tax_rate.rb +2 -44
  116. data/lib/stripe/resources/terminal/configuration.rb +2 -109
  117. data/lib/stripe/resources/terminal/connection_token.rb +0 -7
  118. data/lib/stripe/resources/terminal/location.rb +2 -22
  119. data/lib/stripe/resources/terminal/reader.rb +2 -180
  120. data/lib/stripe/resources/test_helpers/test_clock.rb +2 -29
  121. data/lib/stripe/resources/token.rb +0 -29
  122. data/lib/stripe/resources/topup.rb +2 -35
  123. data/lib/stripe/resources/transfer.rb +2 -37
  124. data/lib/stripe/resources/treasury/credit_reversal.rb +2 -34
  125. data/lib/stripe/resources/treasury/debit_reversal.rb +2 -40
  126. data/lib/stripe/resources/treasury/financial_account.rb +2 -59
  127. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -91
  128. data/lib/stripe/resources/treasury/inbound_transfer.rb +2 -68
  129. data/lib/stripe/resources/treasury/outbound_payment.rb +2 -87
  130. data/lib/stripe/resources/treasury/outbound_transfer.rb +2 -84
  131. data/lib/stripe/resources/treasury/received_credit.rb +2 -72
  132. data/lib/stripe/resources/treasury/received_debit.rb +2 -69
  133. data/lib/stripe/resources/treasury/transaction.rb +2 -44
  134. data/lib/stripe/resources/treasury/transaction_entry.rb +2 -36
  135. data/lib/stripe/resources/usage_record.rb +0 -13
  136. data/lib/stripe/resources/usage_record_summary.rb +0 -18
  137. data/lib/stripe/resources/v2/billing/meter_event.rb +0 -18
  138. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -20
  139. data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -14
  140. data/lib/stripe/resources/v2/event.rb +0 -21
  141. data/lib/stripe/resources/v2/event_destination.rb +0 -49
  142. data/lib/stripe/resources/webhook_endpoint.rb +2 -34
  143. data/lib/stripe/resources.rb +0 -31
  144. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  145. data/lib/stripe/services/financial_connections_service.rb +1 -2
  146. data/lib/stripe/services/invoice_service.rb +1 -44
  147. data/lib/stripe/services/issuing_service.rb +1 -5
  148. data/lib/stripe/services/payment_intent_service.rb +0 -37
  149. data/lib/stripe/services/quote_service.rb +1 -49
  150. data/lib/stripe/services/subscription_schedule_service.rb +0 -11
  151. data/lib/stripe/services/tax_service.rb +1 -3
  152. data/lib/stripe/services/terminal/reader_service.rb +0 -33
  153. data/lib/stripe/services/terminal_service.rb +1 -2
  154. data/lib/stripe/services/v1_services.rb +1 -8
  155. data/lib/stripe/services.rb +0 -25
  156. data/lib/stripe/stripe_client.rb +1 -1
  157. data/lib/stripe/stripe_configuration.rb +1 -3
  158. data/lib/stripe/stripe_object.rb +3 -8
  159. data/lib/stripe/util.rb +2 -8
  160. data/lib/stripe/version.rb +1 -1
  161. data/lib/stripe.rb +0 -45
  162. data/stripe.gemspec +1 -2
  163. metadata +4 -62
  164. data/lib/stripe/request_signing_authenticator.rb +0 -79
  165. data/lib/stripe/resources/account_notice.rb +0 -60
  166. data/lib/stripe/resources/application.rb +0 -20
  167. data/lib/stripe/resources/billing/alert_triggered.rb +0 -26
  168. data/lib/stripe/resources/billing/meter_error_report.rb +0 -44
  169. data/lib/stripe/resources/capital/financing_offer.rb +0 -94
  170. data/lib/stripe/resources/capital/financing_summary.rb +0 -32
  171. data/lib/stripe/resources/capital/financing_transaction.rb +0 -56
  172. data/lib/stripe/resources/connect_collection_transfer.rb +0 -24
  173. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -23
  174. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  175. data/lib/stripe/resources/financial_connections/institution.rb +0 -61
  176. data/lib/stripe/resources/gift_cards/card.rb +0 -96
  177. data/lib/stripe/resources/gift_cards/transaction.rb +0 -132
  178. data/lib/stripe/resources/invoice_payment.rb +0 -46
  179. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -145
  180. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -49
  181. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -43
  182. data/lib/stripe/resources/issuing/settlement.rb +0 -49
  183. data/lib/stripe/resources/margin.rb +0 -56
  184. data/lib/stripe/resources/order.rb +0 -322
  185. data/lib/stripe/resources/payment_attempt_record.rb +0 -100
  186. data/lib/stripe/resources/payment_record.rb +0 -194
  187. data/lib/stripe/resources/quote_line.rb +0 -136
  188. data/lib/stripe/resources/quote_preview_invoice.rb +0 -374
  189. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -170
  190. data/lib/stripe/resources/reserve_transaction.rb +0 -22
  191. data/lib/stripe/resources/source_mandate_notification.rb +0 -59
  192. data/lib/stripe/resources/tax/association.rb +0 -60
  193. data/lib/stripe/resources/tax/form.rb +0 -124
  194. data/lib/stripe/resources/tax_deducted_at_source.rb +0 -22
  195. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -30
  196. data/lib/stripe/resources/v2/amount.rb +0 -9
  197. data/lib/stripe/services/account_notice_service.rb +0 -39
  198. data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
  199. data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
  200. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
  201. data/lib/stripe/services/capital_service.rb +0 -15
  202. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
  203. data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
  204. data/lib/stripe/services/gift_cards/card_service.rb +0 -63
  205. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -74
  206. data/lib/stripe/services/gift_cards_service.rb +0 -14
  207. data/lib/stripe/services/invoice_payment_service.rb +0 -28
  208. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
  209. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
  210. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
  211. data/lib/stripe/services/margin_service.rb +0 -50
  212. data/lib/stripe/services/order_line_item_service.rb +0 -17
  213. data/lib/stripe/services/order_service.rb +0 -78
  214. data/lib/stripe/services/payment_attempt_record_service.rb +0 -28
  215. data/lib/stripe/services/payment_record_service.rb +0 -78
  216. data/lib/stripe/services/quote_line_service.rb +0 -17
  217. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
  218. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
  219. data/lib/stripe/services/tax/association_service.rb +0 -19
  220. data/lib/stripe/services/tax/form_service.rb +0 -37
  221. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 26a0e799603faaabd343983e502f9fa7438212fa60b6e29d84da01147626d6e3
4
- data.tar.gz: 6c11a08c9b40dcd093e52ea919bc61c5d8dc4466fa6010d96a987c5b66fc004a
3
+ metadata.gz: 27bb8a5706977140a50f81fac944b42ef01fe1cc7b80dbfbc428643b3a7ba1c8
4
+ data.tar.gz: d49111aa0e5969390b73bf380777b00b7757c990a1c5aecffc9c97ecf1ba553c
5
5
  SHA512:
6
- metadata.gz: 7bbad55e635b80b0bae854641ce59fd69e9e98d2e1c2af5a5f682c8cf39df53c8c13a20f8f5896e9cf3d671dfb1c3ca64855d064bd5487221310f9068d931415
7
- data.tar.gz: ca79b76b7ae6405a24be4998a3a5efadf3b1bd9ba3d1bd47e5460f91e2916fb815292e441022d980db40386056b5fe42c90da3c5d225137b2d5ab06ff776182b
6
+ metadata.gz: 548a8056bdc32ee1c823cbde4e4c19bba300f09341c1813e87e2664e4c953646084e80f6a0b1dca4a509d8002fe3c0c0981a0b8391faea107a070403d4e9ed9c
7
+ data.tar.gz: 6cc235dd96aa68fa236f6ffa7b008f3ff35ddfd8a90ef6c3eb58f1d55e14083989772f2849892aecb01935f3fd0acb7dc145d72dd60c8ceeeac2beff79e1817a