stripe 15.2.0.pre.beta.1 → 15.3.0.pre.beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +92 -0
- data/CONTRIBUTING.md +25 -0
- data/OPENAPI_VERSION +1 -1
- data/README.md +10 -7
- data/VERSION +1 -1
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/event_types.rb +9 -0
- data/lib/stripe/events/v2_core_account_link_completed_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +1 -1
- data/lib/stripe/events/v2_off_session_payment_requires_capture_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +21 -0
- data/lib/stripe/object_types.rb +1 -3
- data/lib/stripe/resources/account.rb +47 -20
- data/lib/stripe/resources/account_session.rb +85 -24
- data/lib/stripe/resources/apple_pay_domain.rb +1 -2
- data/lib/stripe/resources/balance.rb +42 -0
- data/lib/stripe/resources/balance_transaction.rb +2 -0
- data/lib/stripe/resources/bank_account.rb +2 -2
- data/lib/stripe/resources/billing_portal/session.rb +1 -1
- data/lib/stripe/resources/capability.rb +1 -1
- data/lib/stripe/resources/charge.rb +85 -9
- data/lib/stripe/resources/checkout/session.rb +22 -6
- data/lib/stripe/resources/confirmation_token.rb +37 -97
- data/lib/stripe/resources/country_spec.rb +1 -1
- data/lib/stripe/resources/coupon.rb +1 -2
- data/lib/stripe/resources/credit_note.rb +10 -11
- data/lib/stripe/resources/customer.rb +2 -4
- data/lib/stripe/resources/customer_session.rb +3 -3
- data/lib/stripe/resources/dispute.rb +2 -2
- data/lib/stripe/resources/event.rb +1 -1
- data/lib/stripe/resources/file.rb +1 -1
- data/lib/stripe/resources/financial_connections/account.rb +2 -0
- data/lib/stripe/resources/financial_connections/institution.rb +2 -0
- data/lib/stripe/resources/identity/verification_report.rb +6 -0
- data/lib/stripe/resources/identity/verification_session.rb +17 -11
- data/lib/stripe/resources/invoice.rb +70 -43
- data/lib/stripe/resources/invoice_item.rb +2 -3
- data/lib/stripe/resources/invoice_line_item.rb +1 -1
- data/lib/stripe/resources/invoice_payment.rb +9 -2
- data/lib/stripe/resources/issuing/authorization.rb +8 -8
- data/lib/stripe/resources/issuing/card.rb +1 -1
- data/lib/stripe/resources/issuing/dispute.rb +3 -3
- data/lib/stripe/resources/order.rb +2 -55
- data/lib/stripe/resources/payment_attempt_record.rb +8 -0
- data/lib/stripe/resources/payment_intent.rb +439 -411
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +7 -0
- data/lib/stripe/resources/payment_method.rb +50 -113
- data/lib/stripe/resources/payment_method_configuration.rb +297 -2
- data/lib/stripe/resources/payment_method_domain.rb +2 -2
- data/lib/stripe/resources/payment_record.rb +8 -0
- data/lib/stripe/resources/payout.rb +4 -4
- data/lib/stripe/resources/person.rb +2 -2
- data/lib/stripe/resources/plan.rb +2 -3
- data/lib/stripe/resources/price.rb +1 -1
- data/lib/stripe/resources/privacy/redaction_job.rb +52 -29
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +12 -4
- data/lib/stripe/resources/product.rb +1 -61
- data/lib/stripe/resources/quote.rb +1 -1
- data/lib/stripe/resources/quote_preview_invoice.rb +2 -2
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +26 -1
- data/lib/stripe/resources/radar/value_list.rb +1 -2
- data/lib/stripe/resources/radar/value_list_item.rb +1 -2
- data/lib/stripe/resources/refund.rb +6 -1
- data/lib/stripe/resources/reversal.rb +1 -1
- data/lib/stripe/resources/review.rb +1 -1
- data/lib/stripe/resources/setup_intent.rb +123 -311
- data/lib/stripe/resources/source.rb +1 -1
- data/lib/stripe/resources/subscription.rb +132 -37
- data/lib/stripe/resources/subscription_item.rb +33 -0
- data/lib/stripe/resources/subscription_schedule.rb +120 -5
- data/lib/stripe/resources/tax/association.rb +8 -31
- data/lib/stripe/resources/tax/calculation.rb +4 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
- data/lib/stripe/resources/tax/registration.rb +1 -1
- data/lib/stripe/resources/tax_id.rb +1 -2
- data/lib/stripe/resources/tax_rate.rb +2 -2
- data/lib/stripe/resources/terminal/configuration.rb +1 -2
- data/lib/stripe/resources/terminal/location.rb +2 -3
- data/lib/stripe/resources/terminal/reader.rb +26 -4
- data/lib/stripe/resources/test_helpers/test_clock.rb +1 -2
- data/lib/stripe/resources/token.rb +2 -2
- data/lib/stripe/resources/transfer.rb +1 -1
- data/lib/stripe/resources/v2/core/account.rb +5 -5
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -20
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -24
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +74 -0
- data/lib/stripe/resources/webhook_endpoint.rb +1 -2
- data/lib/stripe/resources.rb +8 -3
- data/lib/stripe/services/account_external_account_service.rb +2 -3
- data/lib/stripe/services/account_login_link_service.rb +1 -1
- data/lib/stripe/services/account_person_service.rb +1 -2
- data/lib/stripe/services/account_service.rb +38 -13
- data/lib/stripe/services/account_session_service.rb +49 -24
- data/lib/stripe/services/apple_pay_domain_service.rb +1 -2
- data/lib/stripe/services/balance_service.rb +1 -1
- data/lib/stripe/services/balance_settings_service.rb +2 -2
- data/lib/stripe/services/charge_service.rb +76 -8
- data/lib/stripe/services/checkout/session_service.rb +14 -6
- data/lib/stripe/services/coupon_service.rb +1 -2
- data/lib/stripe/services/credit_note_service.rb +7 -8
- data/lib/stripe/services/customer_balance_transaction_service.rb +3 -3
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +2 -2
- data/lib/stripe/services/customer_payment_source_service.rb +1 -1
- data/lib/stripe/services/customer_service.rb +3 -5
- data/lib/stripe/services/customer_tax_id_service.rb +1 -2
- data/lib/stripe/services/dispute_service.rb +1 -1
- data/lib/stripe/services/external_account_service.rb +2 -3
- data/lib/stripe/services/file_service.rb +1 -1
- data/lib/stripe/services/identity/verification_session_service.rb +5 -5
- data/lib/stripe/services/invoice_item_service.rb +1 -2
- data/lib/stripe/services/invoice_service.rb +65 -35
- data/lib/stripe/services/issuing/authorization_service.rb +4 -4
- data/lib/stripe/services/issuing/card_service.rb +1 -1
- data/lib/stripe/services/issuing/dispute_service.rb +2 -2
- data/lib/stripe/services/order_service.rb +1 -33
- data/lib/stripe/services/payment_intent_service.rb +385 -386
- data/lib/stripe/services/payment_method_configuration_service.rb +212 -2
- data/lib/stripe/services/payment_method_domain_service.rb +1 -1
- data/lib/stripe/services/payment_method_service.rb +47 -110
- data/lib/stripe/services/payout_service.rb +2 -2
- data/lib/stripe/services/plan_service.rb +2 -3
- data/lib/stripe/services/price_service.rb +2 -2
- data/lib/stripe/services/privacy/redaction_job_service.rb +22 -13
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +1 -1
- data/lib/stripe/services/product_feature_service.rb +1 -2
- data/lib/stripe/services/product_service.rb +2 -41
- data/lib/stripe/services/promotion_code_service.rb +1 -1
- data/lib/stripe/services/quote_service.rb +1 -1
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +1 -1
- data/lib/stripe/services/radar/value_list_item_service.rb +1 -2
- data/lib/stripe/services/radar/value_list_service.rb +1 -2
- data/lib/stripe/services/setup_intent_service.rb +122 -310
- data/lib/stripe/services/source_service.rb +1 -1
- data/lib/stripe/services/subscription_item_service.rb +26 -0
- data/lib/stripe/services/subscription_schedule_service.rb +94 -4
- data/lib/stripe/services/subscription_service.rb +103 -33
- data/lib/stripe/services/tax/calculation_service.rb +4 -0
- data/lib/stripe/services/tax/registration_service.rb +1 -1
- data/lib/stripe/services/tax_id_service.rb +1 -2
- data/lib/stripe/services/terminal/configuration_service.rb +1 -2
- data/lib/stripe/services/terminal/location_service.rb +2 -3
- data/lib/stripe/services/terminal/reader_service.rb +17 -3
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +37 -97
- data/lib/stripe/services/test_helpers/test_clock_service.rb +1 -2
- data/lib/stripe/services/token_service.rb +1 -1
- data/lib/stripe/services/transfer_service.rb +1 -1
- data/lib/stripe/services/v1_services.rb +1 -2
- data/lib/stripe/services/v2/billing/meter_event_session_service.rb +1 -2
- data/lib/stripe/services/v2/core/accounts/person_service.rb +2 -4
- data/lib/stripe/services/v2/core/event_destination_service.rb +4 -10
- data/lib/stripe/services/v2/core/event_service.rb +1 -2
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +3 -7
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +2 -4
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +1 -2
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +1 -2
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +1 -1
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +1 -2
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +1 -2
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +2 -4
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +2 -4
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +2 -4
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +3 -7
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +1 -2
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +1 -2
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +1 -2
- data/lib/stripe/services/v2/money_management/transaction_service.rb +1 -2
- data/lib/stripe/services/v2/payment_service.rb +15 -0
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +138 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +1 -2
- data/lib/stripe/services/v2_services.rb +2 -1
- data/lib/stripe/services/webhook_endpoint_service.rb +1 -2
- data/lib/stripe/services.rb +2 -3
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +3903 -4131
- metadata +13 -8
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
- data/lib/stripe/resources/gift_cards/card.rb +0 -208
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -272
- data/lib/stripe/services/gift_cards/card_service.rb +0 -170
- data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
- data/lib/stripe/services/gift_cards_service.rb +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a49b71d5a21f0e20e0907561d8ef30ce6f88108e0eb2d8a6373c72cf03ef8b2
|
4
|
+
data.tar.gz: 8d19b1d08c8a7492adf80fdd52904edf6cffa3738b3a67820113188935aca43c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb7ca402830ba0e7ed47f22b31484b1a17d40c3549d94567363afbe0d588c13e58014f0cd13ee635d3c006a132f7953e929f5520416b33d9b0c55c66708fe165
|
7
|
+
data.tar.gz: b030fe57704f305cc0880bf5f9e7c27c4259f9e5a504695a33126b83f7bda5da252728092d77aedd07b6071ed1492ca89466011f3a0a3920de75a52610f64a94
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,72 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 15.3.0-beta.1 - 2025-05-29
|
4
|
+
This release changes the pinned API version to `2025-05-28.preview`.
|
5
|
+
|
6
|
+
* [#1599](https://github.com/stripe/stripe-ruby/pull/1599) Update generated code for beta
|
7
|
+
### Breaking changes
|
8
|
+
* Remove support for deprecated previews
|
9
|
+
* Remove support for resources `Billing::MeterErrorReport`, `GiftCards::Card`, `GiftCards::Transaction`, and `Privacy::RedactionJobRootObjects`
|
10
|
+
* Remove support for `create`, `list`, `retrieve`, `update`, and `validate` methods on resource `GiftCards::Card`
|
11
|
+
* Remove support for `cancel`, `confirm`, `create`, `list`, `retrieve`, and `update` methods on resource `GiftCards::Transaction`
|
12
|
+
* Remove support for `provisioning` on `Product::CreateParams` and `Product`
|
13
|
+
* Change type of `Checkout::Session::UpdateParams::LineItem.quantity` from `emptyable(longInteger)` to `longInteger`
|
14
|
+
* Change `CreditNote.post_payment_amount` to be required
|
15
|
+
* Change `CreditNote.pre_payment_amount` to be required
|
16
|
+
* Remove support for `credits` on `Order::CreateParams`, `Order::UpdateParams`, and `Order`
|
17
|
+
* Remove support for `amount_remaining` on `Order`
|
18
|
+
* Remove support for `amount_credit` on `Order::TotalDetail`
|
19
|
+
* Change type of `Invoice::CreatePreviewParams::SubscriptionDetail.cancel_at`, `Subscription::CreateParams.cancel_at`, and `Subscription::UpdateParams.cancel_at` from `DateTime` to `DateTime | enum('max_period_end'|'min_period_end')`
|
20
|
+
* Change type of `PaymentAttemptRecord.metadata` and `PaymentRecord.metadata` from `nullable(map(string: string))` to `map(string: string)`
|
21
|
+
* Change type of `PaymentRecord::ReportPaymentAttemptCanceledParams.metadata`, `PaymentRecord::ReportPaymentAttemptFailedParams.metadata`, `PaymentRecord::ReportPaymentAttemptGuaranteedParams.metadata`, `PaymentRecord::ReportPaymentAttemptParams.metadata`, and `PaymentRecord::ReportPaymentParams.metadata` from `map(string: string)` to `emptyable(map(string: string))`
|
22
|
+
* Change type of `Privacy::RedactionJob.objects` from `$Privacy.RedactionJobRootObjects` to `RedactionResourceRootObjects`
|
23
|
+
* Change type of `Privacy::RedactionJobValidationError.erroring_object` from `map(string: string)` to `RedactionResourceErroringObject`
|
24
|
+
* Remove support for `async_workflows` on `PaymentIntent::CaptureParams`, `PaymentIntent::ConfirmParams`, `PaymentIntent::CreateParams`, `PaymentIntent::DecrementAuthorizationParams`, `PaymentIntent::IncrementAuthorizationParams`, `PaymentIntent::UpdateParams`, and `PaymentIntent`
|
25
|
+
* Remove support for `status_details` and `status` on `Tax::Association`
|
26
|
+
|
27
|
+
### Other changes
|
28
|
+
* Add support for `migrate` method on resource `Subscription`
|
29
|
+
* Add support for `distance`, `pickup_location_name`, `return_location_name`, and `vehicle_identification_number` on `Charge::CaptureParams::PaymentDetail::CarRental`, `Charge::UpdateParams::PaymentDetail::CarRental`, `PaymentIntent::CaptureParams::PaymentDetail::CarRental`, `PaymentIntent::ConfirmParams::PaymentDetail::CarRental`, `PaymentIntent::CreateParams::PaymentDetail::CarRental`, `PaymentIntent::PaymentDetail::CarRental`, and `PaymentIntent::UpdateParams::PaymentDetail::CarRental`
|
30
|
+
* Add support for `driver_identification_number` and `driver_tax_number` on `Charge::CaptureParams::PaymentDetail::CarRental::Driver`, `Charge::UpdateParams::PaymentDetail::CarRental::Driver`, `PaymentIntent::CaptureParams::PaymentDetail::CarRental::Driver`, `PaymentIntent::ConfirmParams::PaymentDetail::CarRental::Driver`, `PaymentIntent::CreateParams::PaymentDetail::CarRental::Driver`, `PaymentIntent::PaymentDetail::CarRental::Driver`, and `PaymentIntent::UpdateParams::PaymentDetail::CarRental::Driver`
|
31
|
+
* Add support for `institution` on `FinancialConnections::Account`
|
32
|
+
* Add support for `countries` on `FinancialConnections::Institution`
|
33
|
+
* Add support for `location` and `reader` on `PaymentAttemptRecord::PaymentMethodDetail::Affirm`, `PaymentAttemptRecord::PaymentMethodDetail::WechatPay`, `PaymentRecord::PaymentMethodDetail::Affirm`, and `PaymentRecord::PaymentMethodDetail::WechatPay`
|
34
|
+
* Add support for `hooks` on `PaymentIntent::CaptureParams`, `PaymentIntent::ConfirmParams`, `PaymentIntent::CreateParams`, `PaymentIntent::DecrementAuthorizationParams`, `PaymentIntent::IncrementAuthorizationParams`, `PaymentIntent::UpdateParams`, and `PaymentIntent`
|
35
|
+
* Add support for `card_present` on `PaymentIntentAmountDetailsLineItem::PaymentMethodOption`
|
36
|
+
* Add support for `livemode` on `Privacy::RedactionJob`
|
37
|
+
* Add support for `billing_thresholds` on `QuotePreviewSubscriptionSchedule::DefaultSetting`, `QuotePreviewSubscriptionSchedule::Phase::Item`, and `QuotePreviewSubscriptionSchedule::Phase`
|
38
|
+
* Add support for `billing_mode_details` on `Subscription`
|
39
|
+
* Add support for `tax_transaction_attempts` on `Tax::Association`
|
40
|
+
* Add support for `confirm_config` on `Terminal::Reader::Action::ConfirmPaymentIntent` and `Terminal::Reader::ConfirmPaymentIntentParams`
|
41
|
+
|
42
|
+
## 15.2.0 - 2025-05-29
|
43
|
+
This release changes the pinned API version to `2025-05-28.basil`.
|
44
|
+
|
45
|
+
* [#1605](https://github.com/stripe/stripe-ruby/pull/1605) Update generated code
|
46
|
+
* Add support for `attach_payment` method on resource `Invoice`
|
47
|
+
* Add support for `collect_inputs` method on resource `Terminal::Reader`
|
48
|
+
* Add support for `succeed_input_collection` and `timeout_input_collection` test helper methods on resource `Terminal::Reader`
|
49
|
+
* Add support for `pix_payments` on `Account::Capability`, `Account::CreateParams::Capability`, and `Account::UpdateParams::Capability`
|
50
|
+
* Add support for `disputes_list` and `payment_disputes` on `AccountSession::Component` and `AccountSession::CreateParams::Component`
|
51
|
+
* Add support for `refund_and_dispute_prefunding` on `Balance`
|
52
|
+
* Add support for `balance_type` on `BalanceTransaction`
|
53
|
+
* Change `Billing::Alert::CreateParams::UsageThreshold.meter` to be required
|
54
|
+
* Add support for `location` and `reader` on `Charge::PaymentMethodDetail::Affirm` and `Charge::PaymentMethodDetail::WechatPay`
|
55
|
+
* Add support for `payment_method_remove` on `Checkout::Session::CreateParams::SavedPaymentMethodOption`
|
56
|
+
* Add support for `setup_future_usage` on `Checkout::Session::PaymentMethodOption::NaverPay`
|
57
|
+
* Change `ConfirmationToken::PaymentMethodPreview::NaverPay.buyer_id` and `PaymentMethod::NaverPay.buyer_id` to be required
|
58
|
+
* Add support for `post_payment_amount` and `pre_payment_amount` on `CreditNote`
|
59
|
+
* Add support for `sex`, `unparsed_place_of_birth`, and `unparsed_sex` on `Identity::VerificationReport::Document` and `Identity::VerificationSession::VerifiedOutput`
|
60
|
+
* Add support for `billing_thresholds` on `Invoice::CreatePreviewParams::ScheduleDetail::Phase::Item`, `Invoice::CreatePreviewParams::ScheduleDetail::Phase`, `Invoice::CreatePreviewParams::SubscriptionDetail::Item`, `Subscription::CreateParams::Item`, `Subscription::CreateParams`, `Subscription::UpdateParams::Item`, `Subscription::UpdateParams`, `SubscriptionItem::CreateParams`, `SubscriptionItem::UpdateParams`, `SubscriptionItem`, `SubscriptionSchedule::CreateParams::DefaultSetting`, `SubscriptionSchedule::CreateParams::Phase::Item`, `SubscriptionSchedule::CreateParams::Phase`, `SubscriptionSchedule::DefaultSetting`, `SubscriptionSchedule::Phase::Item`, `SubscriptionSchedule::Phase`, `SubscriptionSchedule::UpdateParams::DefaultSetting`, `SubscriptionSchedule::UpdateParams::Phase::Item`, `SubscriptionSchedule::UpdateParams::Phase`, and `Subscription`
|
61
|
+
* Add support for `satispay` on `PaymentIntent::ConfirmParams::PaymentMethodOption`, `PaymentIntent::CreateParams::PaymentMethodOption`, `PaymentIntent::PaymentMethodOption`, and `PaymentIntent::UpdateParams::PaymentMethodOption`
|
62
|
+
* Add support for `capture_method` on `PaymentIntent::PaymentMethodOption::Billie`
|
63
|
+
* Add support for `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` on `PaymentMethodConfiguration::CreateParams`, `PaymentMethodConfiguration::UpdateParams`, and `PaymentMethodConfiguration`
|
64
|
+
* Add support for `network_decline_code` on `Refund::DestinationDetail::Paypal`
|
65
|
+
* Add support for `metadata` on `Tax::Calculation::CreateParams::LineItem` and `Tax::CalculationLineItem`
|
66
|
+
* Add support for `return_url` on `Terminal::Reader::Action::ProcessPaymentIntent::ProcessConfig` and `Terminal::Reader::ProcessPaymentIntentParams::ProcessConfig`
|
67
|
+
* Add support for `collect_inputs` on `Terminal::Reader::Action`
|
68
|
+
* [#1601](https://github.com/stripe/stripe-ruby/pull/1601) Adds CONTRIBUTING.md
|
69
|
+
|
3
70
|
## 15.2.0-beta.1 - 2025-04-30
|
4
71
|
* [#1589](https://github.com/stripe/stripe-ruby/pull/1589) Update generated code for beta
|
5
72
|
This release changes the pinned API version to `2025-04-30.preview`.
|
@@ -8,6 +75,31 @@
|
|
8
75
|
* Change `Checkout::Session::AutomaticTax.provider`, `Invoice::AutomaticTax.provider`, `Quote::AutomaticTax.provider`, and `QuotePreviewInvoice::AutomaticTax.provider` to be required
|
9
76
|
* Add support for `account_number` on `ConfirmationToken::PaymentMethodPreview::AcssDebit` and `PaymentMethod::AcssDebit`
|
10
77
|
|
78
|
+
## 15.1.0 - 2025-04-30
|
79
|
+
|
80
|
+
This release changes the pinned API version to `2025-04-30.basil`.
|
81
|
+
|
82
|
+
* [#1566](https://github.com/stripe/stripe-ruby/pull/1566) Update generated code
|
83
|
+
* Add support for `minority_owned_business_designation` on `Account::BusinessProfile`, `Account::CreateParams::BusinessProfile`, and `Account::UpdateParams::BusinessProfile`
|
84
|
+
* Add support for `registration_date` on `Account::Company`, `Account::CreateParams::Company`, `Account::UpdateParams::Company`, and `Token::CreateParams::Account::Company`
|
85
|
+
* Add support for `us_cfpb_data` on `Account::CreateParams`, `Account::UpdateParams`, `AccountPerson::CreateParams`, `AccountPerson::UpdateParams`, `Person`, and `Token::CreateParams::Person`
|
86
|
+
* Add support for `tax_id` on `Charge::BillingDetail`, `ConfirmationToken::CreateParams::PaymentMethodDatum::BillingDetail`, `ConfirmationToken::PaymentMethodPreview::BillingDetail`, `PaymentIntent::ConfirmParams::PaymentMethodDatum::BillingDetail`, `PaymentIntent::CreateParams::PaymentMethodDatum::BillingDetail`, `PaymentIntent::UpdateParams::PaymentMethodDatum::BillingDetail`, `PaymentMethod::BillingDetail`, `PaymentMethod::CreateParams::BillingDetail`, `PaymentMethod::UpdateParams::BillingDetail`, `SetupIntent::ConfirmParams::PaymentMethodDatum::BillingDetail`, `SetupIntent::CreateParams::PaymentMethodDatum::BillingDetail`, `SetupIntent::UpdateParams::PaymentMethodDatum::BillingDetail`, `TestHelpers::ConfirmationToken::CreateParams::PaymentMethodDatum::BillingDetail`, and `Treasury::OutboundPayment::CreateParams::DestinationPaymentMethodDatum::BillingDetail`
|
87
|
+
* Add support for `wallet_options` on `Checkout::Session::CreateParams` and `Checkout::Session`
|
88
|
+
* Add support for `provider` on `Checkout::Session::AutomaticTax`, `Invoice::AutomaticTax`, and `Quote::AutomaticTax`
|
89
|
+
* Add support for `payment_method_options` on `ConfirmationToken::CreateParams` and `TestHelpers::ConfirmationToken::CreateParams`
|
90
|
+
* Add support for `installments` on `ConfirmationToken::PaymentMethodOption::Card`
|
91
|
+
* Add support for `context` on `Event`
|
92
|
+
* Change type of `InvoiceLineItem::Parent::SubscriptionItemDetail.subscription` from `string` to `nullable(string)`
|
93
|
+
* Add support for `billie` on `PaymentIntent::ConfirmParams::PaymentMethodOption`, `PaymentIntent::CreateParams::PaymentMethodOption`, `PaymentIntent::PaymentMethodOption`, and `PaymentIntent::UpdateParams::PaymentMethodOption`
|
94
|
+
* Add support for `pix` on `PaymentMethodConfiguration::CreateParams`, `PaymentMethodConfiguration::UpdateParams`, and `PaymentMethodConfiguration`
|
95
|
+
* Add support for `klarna` on `PaymentMethodDomain`
|
96
|
+
* Add support for `pending_reason` on `Refund`
|
97
|
+
* Change type of `Tax::CalculationLineItem.reference` from `nullable(string)` to `string`
|
98
|
+
* Add support for `aw`, `az`, `bd`, `bf`, `bj`, `cm`, `cv`, `et`, `in`, `kg`, `la`, and `ph` on `Tax::Registration::CountryOption` and `Tax::Registration::CreateParams::CountryOption`
|
99
|
+
* [#1585](https://github.com/stripe/stripe-ruby/pull/1585) Updated rubocop from 1.57.2 to 1.75.2
|
100
|
+
* [#1583](https://github.com/stripe/stripe-ruby/pull/1583) Include new Ruby 3.4 in CI
|
101
|
+
* [#1581](https://github.com/stripe/stripe-ruby/pull/1581) Added rubocop exclusion for generated tests
|
102
|
+
|
11
103
|
## 15.1.0-beta.2 - 2025-04-17
|
12
104
|
* [#1578](https://github.com/stripe/stripe-ruby/pull/1578) Update generated code for beta
|
13
105
|
* Add support for new resources `FxQuote` and `PaymentIntentAmountDetailsLineItem`
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
|
2
|
+
# Contributing
|
3
|
+
|
4
|
+
We welcome bug reports, feature requests, and code contributions in a pull request.
|
5
|
+
|
6
|
+
For most pull requests, we request that you identify or create an associated issue that has the necessary context. We use these issues to reach agreement on an approach and save the PR author from having to redo work. Fixing typos or documentation issues likely do not need an issue; for any issue that introduces substantial code changes, changes the public interface, or if you aren't sure, please find or [create an issue](https://www.github.com/stripe/stripe-ruby/issues/new/choose).
|
7
|
+
|
8
|
+
## Contributor License Agreement
|
9
|
+
|
10
|
+
All contributors must sign the Contributor License Agreement (CLA) before we can accept their contribution. If you have not yet signed the agreement, you will be given an option to do so when you open a pull request. You can then sign by clicking on the badge in the comment from @CLAassistant.
|
11
|
+
|
12
|
+
## Generated code
|
13
|
+
|
14
|
+
This project has a combination of manually maintained code and code generated from our private code generator. If your contribution involves changes to generated code, please call this out in the issue or pull request as we will likely need to make a change to our code generator before accepting the contribution.
|
15
|
+
|
16
|
+
To identify files with purely generated code, look for the comment `File generated from our OpenAPI spec.` at the start of the file. Generated blocks of code within hand-written files will be between comments that say `The beginning of the section generated from our OpenAPI spec` and `The end of the section generated from our OpenAPI spec`.
|
17
|
+
|
18
|
+
## Compatibility with supported language and runtime versions
|
19
|
+
|
20
|
+
This project supports [many different langauge and runtime versions](README.md#requirements) and we are unable to accept any contribution that does not work on _all_ supported versions. If, after discussing the approach in the associated issue, your change must use an API / feature that isn't available in all supported versions, please call this out explicitly in the issue or pull request so we can help figure out the best way forward.
|
21
|
+
|
22
|
+
## Set up your dev environment
|
23
|
+
|
24
|
+
Please refer to this project's [README.md](README.md#development) for instructions on how to set up your development environment.
|
25
|
+
|
data/OPENAPI_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
v1773
|
data/README.md
CHANGED
@@ -353,22 +353,25 @@ by default. If you are overriding `Stripe.api_version` / `stripe_version` on the
|
|
353
353
|
or using a webhook endpoint tied to an older version, be aware that the data
|
354
354
|
you see at runtime may not match the types.
|
355
355
|
|
356
|
-
###
|
356
|
+
### Public Preview SDKs
|
357
357
|
|
358
|
-
Stripe has features in the
|
359
|
-
We would love for you to try these
|
360
|
-
|
358
|
+
Stripe has features in the [public preview phase](https://docs.stripe.com/release-phases) that can be accessed via versions of this package that have the `-beta.X` suffix like `11.2.0-beta.2`.
|
359
|
+
We would love for you to try these as we incrementally release new features and improve them based on your feedback.
|
360
|
+
|
361
|
+
To install, choose the version that includes support for the preview feature you are interested in by reviewing the [releases page](https://github.com/stripe/stripe-ruby/releases/) and use it in the `gem install` command:
|
361
362
|
|
362
363
|
```sh
|
363
|
-
gem install stripe -v
|
364
|
+
gem install stripe -v <replace-with-the-version-of-your-choice>
|
364
365
|
```
|
365
366
|
|
367
|
+
You can find the latest version to use in this command from the [releases page](https://github.com/stripe/stripe-ruby/releases/)
|
368
|
+
|
366
369
|
> **Note**
|
367
|
-
> There can be breaking changes between
|
370
|
+
> There can be breaking changes between two versions of the public preview SDKs without a bump in the major version. Therefore we recommend pinning the package version to a specific version in your Gemfile. This way you can install the same version each time without breaking changes unless you are intentionally looking for the latest version of the public preview SDK.
|
368
371
|
|
369
372
|
We highly recommend keeping an eye on when the beta feature you are interested in goes from beta to stable so that you can move from using a beta version of the SDK to the stable version.
|
370
373
|
|
371
|
-
|
374
|
+
Some preview features require a name and version to be set in the `Stripe-Version` header like `feature_beta=v3`. If your preview feature has this requirement, use the `Stripe.add_beta_version` function (available only in the public preview SDKs):
|
372
375
|
|
373
376
|
```python
|
374
377
|
Stripe.add_beta_version("feature_beta", "v3")
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
15.
|
1
|
+
15.3.0-beta.1
|
data/lib/stripe/api_version.rb
CHANGED
data/lib/stripe/event_types.rb
CHANGED
@@ -97,6 +97,15 @@ module Stripe
|
|
97
97
|
V2MoneyManagementReceivedDebitUpdatedEvent,
|
98
98
|
V2MoneyManagementTransactionCreatedEvent.lookup_type => V2MoneyManagementTransactionCreatedEvent,
|
99
99
|
V2MoneyManagementTransactionUpdatedEvent.lookup_type => V2MoneyManagementTransactionUpdatedEvent,
|
100
|
+
V2OffSessionPaymentRequiresCaptureEvent.lookup_type => V2OffSessionPaymentRequiresCaptureEvent,
|
101
|
+
V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent.lookup_type =>
|
102
|
+
V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent,
|
103
|
+
V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent.lookup_type =>
|
104
|
+
V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent,
|
105
|
+
V2PaymentsOffSessionPaymentCanceledEvent.lookup_type => V2PaymentsOffSessionPaymentCanceledEvent,
|
106
|
+
V2PaymentsOffSessionPaymentCreatedEvent.lookup_type => V2PaymentsOffSessionPaymentCreatedEvent,
|
107
|
+
V2PaymentsOffSessionPaymentFailedEvent.lookup_type => V2PaymentsOffSessionPaymentFailedEvent,
|
108
|
+
V2PaymentsOffSessionPaymentSucceededEvent.lookup_type => V2PaymentsOffSessionPaymentSucceededEvent,
|
100
109
|
# The end of the section generated from our OpenAPI spec
|
101
110
|
}
|
102
111
|
end
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
module Stripe
|
5
|
-
#
|
5
|
+
# Occurs when the generated AccountLink is completed.
|
6
6
|
class V2CoreAccountLinkCompletedEvent < Stripe::V2::Event
|
7
7
|
def self.lookup_type
|
8
8
|
"v2.core.account_link.completed"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
module Stripe
|
5
|
-
#
|
5
|
+
# Occurs when an InboundTransfer fails.
|
6
6
|
class V2MoneyManagementInboundTransferBankDebitFailedEvent < Stripe::V2::Event
|
7
7
|
def self.lookup_type
|
8
8
|
"v2.money_management.inbound_transfer.bank_debit_failed"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
module Stripe
|
5
|
-
#
|
5
|
+
# Occurs when an InboundTransfer starts processing.
|
6
6
|
class V2MoneyManagementInboundTransferBankDebitProcessingEvent < Stripe::V2::Event
|
7
7
|
def self.lookup_type
|
8
8
|
"v2.money_management.inbound_transfer.bank_debit_processing"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
module Stripe
|
5
|
-
#
|
5
|
+
# Occurs when an InboundTransfer is queued.
|
6
6
|
class V2MoneyManagementInboundTransferBankDebitQueuedEvent < Stripe::V2::Event
|
7
7
|
def self.lookup_type
|
8
8
|
"v2.money_management.inbound_transfer.bank_debit_queued"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
module Stripe
|
5
|
-
#
|
5
|
+
# Occurs when an InboundTransfer is returned.
|
6
6
|
class V2MoneyManagementInboundTransferBankDebitReturnedEvent < Stripe::V2::Event
|
7
7
|
def self.lookup_type
|
8
8
|
"v2.money_management.inbound_transfer.bank_debit_returned"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
module Stripe
|
5
|
-
#
|
5
|
+
# Occurs when an InboundTransfer succeeds.
|
6
6
|
class V2MoneyManagementInboundTransferBankDebitSucceededEvent < Stripe::V2::Event
|
7
7
|
def self.lookup_type
|
8
8
|
"v2.money_management.inbound_transfer.bank_debit_succeeded"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
module Stripe
|
5
|
-
#
|
5
|
+
# Occurs when an OutboundPayment transitions into the canceled state.
|
6
6
|
class V2MoneyManagementOutboundPaymentCanceledEvent < Stripe::V2::Event
|
7
7
|
def self.lookup_type
|
8
8
|
"v2.money_management.outbound_payment.canceled"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
module Stripe
|
5
|
-
#
|
5
|
+
# Occurs when an OutboundPayment transitions into the failed state.
|
6
6
|
class V2MoneyManagementOutboundPaymentFailedEvent < Stripe::V2::Event
|
7
7
|
def self.lookup_type
|
8
8
|
"v2.money_management.outbound_payment.failed"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
module Stripe
|
5
|
-
#
|
5
|
+
# Occurs when an OutboundPayment transitions into the posted state.
|
6
6
|
class V2MoneyManagementOutboundPaymentPostedEvent < Stripe::V2::Event
|
7
7
|
def self.lookup_type
|
8
8
|
"v2.money_management.outbound_payment.posted"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
module Stripe
|
5
|
-
#
|
5
|
+
# Occurs when an OutboundPayment transitions into the returned state.
|
6
6
|
class V2MoneyManagementOutboundPaymentReturnedEvent < Stripe::V2::Event
|
7
7
|
def self.lookup_type
|
8
8
|
"v2.money_management.outbound_payment.returned"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
module Stripe
|
5
|
-
#
|
5
|
+
# Occurs when an OutboundPayment is updated.
|
6
6
|
class V2MoneyManagementOutboundPaymentUpdatedEvent < Stripe::V2::Event
|
7
7
|
def self.lookup_type
|
8
8
|
"v2.money_management.outbound_payment.updated"
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# File generated from our OpenAPI spec
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
module Stripe
|
5
|
+
# Off session payment requires capture event definition.
|
6
|
+
class V2OffSessionPaymentRequiresCaptureEvent < Stripe::V2::Event
|
7
|
+
def self.lookup_type
|
8
|
+
"v2.off_session_payment.requires_capture"
|
9
|
+
end
|
10
|
+
|
11
|
+
# Retrieves the related object from the API. Make an API request on every call.
|
12
|
+
def fetch_related_object
|
13
|
+
_request(
|
14
|
+
method: :get,
|
15
|
+
path: related_object.url,
|
16
|
+
base_address: :api,
|
17
|
+
opts: { stripe_account: context }
|
18
|
+
)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# File generated from our OpenAPI spec
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
module Stripe
|
5
|
+
# Off session payment authorization attempt failed event definition.
|
6
|
+
class V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent < Stripe::V2::Event
|
7
|
+
def self.lookup_type
|
8
|
+
"v2.payments.off_session_payment.authorization_attempt_failed"
|
9
|
+
end
|
10
|
+
|
11
|
+
# Retrieves the related object from the API. Make an API request on every call.
|
12
|
+
def fetch_related_object
|
13
|
+
_request(
|
14
|
+
method: :get,
|
15
|
+
path: related_object.url,
|
16
|
+
base_address: :api,
|
17
|
+
opts: { stripe_account: context }
|
18
|
+
)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# File generated from our OpenAPI spec
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
module Stripe
|
5
|
+
# Off session payment authorization attempt started event definition.
|
6
|
+
class V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent < Stripe::V2::Event
|
7
|
+
def self.lookup_type
|
8
|
+
"v2.payments.off_session_payment.authorization_attempt_started"
|
9
|
+
end
|
10
|
+
|
11
|
+
# Retrieves the related object from the API. Make an API request on every call.
|
12
|
+
def fetch_related_object
|
13
|
+
_request(
|
14
|
+
method: :get,
|
15
|
+
path: related_object.url,
|
16
|
+
base_address: :api,
|
17
|
+
opts: { stripe_account: context }
|
18
|
+
)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# File generated from our OpenAPI spec
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
module Stripe
|
5
|
+
# Off session payment canceled event definition.
|
6
|
+
class V2PaymentsOffSessionPaymentCanceledEvent < Stripe::V2::Event
|
7
|
+
def self.lookup_type
|
8
|
+
"v2.payments.off_session_payment.canceled"
|
9
|
+
end
|
10
|
+
|
11
|
+
# Retrieves the related object from the API. Make an API request on every call.
|
12
|
+
def fetch_related_object
|
13
|
+
_request(
|
14
|
+
method: :get,
|
15
|
+
path: related_object.url,
|
16
|
+
base_address: :api,
|
17
|
+
opts: { stripe_account: context }
|
18
|
+
)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# File generated from our OpenAPI spec
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
module Stripe
|
5
|
+
# Off session payment created event definition.
|
6
|
+
class V2PaymentsOffSessionPaymentCreatedEvent < Stripe::V2::Event
|
7
|
+
def self.lookup_type
|
8
|
+
"v2.payments.off_session_payment.created"
|
9
|
+
end
|
10
|
+
|
11
|
+
# Retrieves the related object from the API. Make an API request on every call.
|
12
|
+
def fetch_related_object
|
13
|
+
_request(
|
14
|
+
method: :get,
|
15
|
+
path: related_object.url,
|
16
|
+
base_address: :api,
|
17
|
+
opts: { stripe_account: context }
|
18
|
+
)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# File generated from our OpenAPI spec
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
module Stripe
|
5
|
+
# Off session payment failed event definition.
|
6
|
+
class V2PaymentsOffSessionPaymentFailedEvent < Stripe::V2::Event
|
7
|
+
def self.lookup_type
|
8
|
+
"v2.payments.off_session_payment.failed"
|
9
|
+
end
|
10
|
+
|
11
|
+
# Retrieves the related object from the API. Make an API request on every call.
|
12
|
+
def fetch_related_object
|
13
|
+
_request(
|
14
|
+
method: :get,
|
15
|
+
path: related_object.url,
|
16
|
+
base_address: :api,
|
17
|
+
opts: { stripe_account: context }
|
18
|
+
)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# File generated from our OpenAPI spec
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
module Stripe
|
5
|
+
# Off session payment succeeded event definition.
|
6
|
+
class V2PaymentsOffSessionPaymentSucceededEvent < Stripe::V2::Event
|
7
|
+
def self.lookup_type
|
8
|
+
"v2.payments.off_session_payment.succeeded"
|
9
|
+
end
|
10
|
+
|
11
|
+
# Retrieves the related object from the API. Make an API request on every call.
|
12
|
+
def fetch_related_object
|
13
|
+
_request(
|
14
|
+
method: :get,
|
15
|
+
path: related_object.url,
|
16
|
+
base_address: :api,
|
17
|
+
opts: { stripe_account: context }
|
18
|
+
)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
data/lib/stripe/object_types.rb
CHANGED
@@ -31,7 +31,6 @@ module Stripe
|
|
31
31
|
Billing::CreditBalanceTransaction.object_name => Billing::CreditBalanceTransaction,
|
32
32
|
Billing::CreditGrant.object_name => Billing::CreditGrant,
|
33
33
|
Billing::Meter.object_name => Billing::Meter,
|
34
|
-
Billing::MeterErrorReport.object_name => Billing::MeterErrorReport,
|
35
34
|
Billing::MeterEvent.object_name => Billing::MeterEvent,
|
36
35
|
Billing::MeterEventAdjustment.object_name => Billing::MeterEventAdjustment,
|
37
36
|
Billing::MeterEventSummary.object_name => Billing::MeterEventSummary,
|
@@ -79,8 +78,6 @@ module Stripe
|
|
79
78
|
Forwarding::Request.object_name => Forwarding::Request,
|
80
79
|
FundingInstructions.object_name => FundingInstructions,
|
81
80
|
FxQuote.object_name => FxQuote,
|
82
|
-
GiftCards::Card.object_name => GiftCards::Card,
|
83
|
-
GiftCards::Transaction.object_name => GiftCards::Transaction,
|
84
81
|
Identity::VerificationReport.object_name => Identity::VerificationReport,
|
85
82
|
Identity::VerificationSession.object_name => Identity::VerificationSession,
|
86
83
|
Invoice.object_name => Invoice,
|
@@ -215,6 +212,7 @@ module Stripe
|
|
215
212
|
V2::MoneyManagement::ReceivedDebit.object_name => V2::MoneyManagement::ReceivedDebit,
|
216
213
|
V2::MoneyManagement::Transaction.object_name => V2::MoneyManagement::Transaction,
|
217
214
|
V2::MoneyManagement::TransactionEntry.object_name => V2::MoneyManagement::TransactionEntry,
|
215
|
+
V2::Payments::OffSessionPayment.object_name => V2::Payments::OffSessionPayment,
|
218
216
|
# v2 object classes: The end of the section generated from our OpenAPI spec
|
219
217
|
}
|
220
218
|
end
|