diff --git a/packages/stripe_js/lib/src/api/elements/card_element_change_event.freezed.dart b/packages/stripe_js/lib/src/api/elements/card_element_change_event.freezed.dart index 2ee50e417..00ca4f680 100644 --- a/packages/stripe_js/lib/src/api/elements/card_element_change_event.freezed.dart +++ b/packages/stripe_js/lib/src/api/elements/card_element_change_event.freezed.dart @@ -12,7 +12,7 @@ part of 'card_element_change_event.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); CardElementChangeEvent _$CardElementChangeEventFromJson( Map json) { @@ -231,7 +231,7 @@ class _$CardElementChangeEventImpl implements _CardElementChangeEvent { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$CardElementChangeEventImpl && @@ -401,7 +401,7 @@ class _$CardElementChangeEventValueImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$CardElementChangeEventValueImpl && diff --git a/packages/stripe_js/lib/src/api/payment_intents/confirm_alipay_payment_data.freezed.dart b/packages/stripe_js/lib/src/api/payment_intents/confirm_alipay_payment_data.freezed.dart index 70fa2f314..30fc07777 100644 --- a/packages/stripe_js/lib/src/api/payment_intents/confirm_alipay_payment_data.freezed.dart +++ b/packages/stripe_js/lib/src/api/payment_intents/confirm_alipay_payment_data.freezed.dart @@ -12,7 +12,7 @@ part of 'confirm_alipay_payment_data.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); ConfirmAlipayPaymentData _$ConfirmAlipayPaymentDataFromJson( Map json) { @@ -149,7 +149,7 @@ class _$ConfirmAlipayPaymentDataImpl implements _ConfirmAlipayPaymentData { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ConfirmAlipayPaymentDataImpl && diff --git a/packages/stripe_js/lib/src/api/payment_intents/confirm_alipay_payment_options.freezed.dart b/packages/stripe_js/lib/src/api/payment_intents/confirm_alipay_payment_options.freezed.dart index b29b5daa4..2ec05406f 100644 --- a/packages/stripe_js/lib/src/api/payment_intents/confirm_alipay_payment_options.freezed.dart +++ b/packages/stripe_js/lib/src/api/payment_intents/confirm_alipay_payment_options.freezed.dart @@ -12,7 +12,7 @@ part of 'confirm_alipay_payment_options.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); ConfirmAlipayPaymentOptions _$ConfirmAlipayPaymentOptionsFromJson( Map json) { @@ -125,7 +125,7 @@ class _$ConfirmAlipayPaymentOptionsImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ConfirmAlipayPaymentOptionsImpl && diff --git a/packages/stripe_js/lib/src/api/payment_intents/confirm_card_payment_data.freezed.dart b/packages/stripe_js/lib/src/api/payment_intents/confirm_card_payment_data.freezed.dart index f1c2d2a2c..b9c746b2d 100644 --- a/packages/stripe_js/lib/src/api/payment_intents/confirm_card_payment_data.freezed.dart +++ b/packages/stripe_js/lib/src/api/payment_intents/confirm_card_payment_data.freezed.dart @@ -12,7 +12,7 @@ part of 'confirm_card_payment_data.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); ConfirmCardPaymentData _$ConfirmCardPaymentDataFromJson( Map json) { @@ -304,7 +304,7 @@ class _$ConfirmCardPaymentDataImpl implements _ConfirmCardPaymentData { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ConfirmCardPaymentDataImpl && diff --git a/packages/stripe_js/lib/src/api/payment_intents/confirm_card_payment_options.freezed.dart b/packages/stripe_js/lib/src/api/payment_intents/confirm_card_payment_options.freezed.dart index 50cbe01c8..ffe838752 100644 --- a/packages/stripe_js/lib/src/api/payment_intents/confirm_card_payment_options.freezed.dart +++ b/packages/stripe_js/lib/src/api/payment_intents/confirm_card_payment_options.freezed.dart @@ -12,7 +12,7 @@ part of 'confirm_card_payment_options.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); ConfirmCardPaymentOptions _$ConfirmCardPaymentOptionsFromJson( Map json) { @@ -123,7 +123,7 @@ class _$ConfirmCardPaymentOptionsImpl implements _ConfirmCardPaymentOptions { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ConfirmCardPaymentOptionsImpl && diff --git a/packages/stripe_js/lib/src/api/payment_intents/confirm_ideal_payment_data.freezed.dart b/packages/stripe_js/lib/src/api/payment_intents/confirm_ideal_payment_data.freezed.dart index 6e19d6cd8..5e149f778 100644 --- a/packages/stripe_js/lib/src/api/payment_intents/confirm_ideal_payment_data.freezed.dart +++ b/packages/stripe_js/lib/src/api/payment_intents/confirm_ideal_payment_data.freezed.dart @@ -12,7 +12,7 @@ part of 'confirm_ideal_payment_data.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); ConfirmIdealPaymentData _$ConfirmIdealPaymentDataFromJson( Map json) { @@ -201,7 +201,7 @@ class _$ConfirmIdealPaymentDataImpl implements _ConfirmIdealPaymentData { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ConfirmIdealPaymentDataImpl && diff --git a/packages/stripe_js/lib/src/api/payment_intents/confirm_ideal_payment_options.freezed.dart b/packages/stripe_js/lib/src/api/payment_intents/confirm_ideal_payment_options.freezed.dart index e38df77b8..964dd47b7 100644 --- a/packages/stripe_js/lib/src/api/payment_intents/confirm_ideal_payment_options.freezed.dart +++ b/packages/stripe_js/lib/src/api/payment_intents/confirm_ideal_payment_options.freezed.dart @@ -12,7 +12,7 @@ part of 'confirm_ideal_payment_options.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); ConfirmIdealPaymentOptions _$ConfirmIdealPaymentOptionsFromJson( Map json) { @@ -123,7 +123,7 @@ class _$ConfirmIdealPaymentOptionsImpl implements _ConfirmIdealPaymentOptions { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ConfirmIdealPaymentOptionsImpl && diff --git a/packages/stripe_js/lib/src/api/payment_intents/confirm_payment_options.freezed.dart b/packages/stripe_js/lib/src/api/payment_intents/confirm_payment_options.freezed.dart index a9b355b56..6f11f938b 100644 --- a/packages/stripe_js/lib/src/api/payment_intents/confirm_payment_options.freezed.dart +++ b/packages/stripe_js/lib/src/api/payment_intents/confirm_payment_options.freezed.dart @@ -12,7 +12,7 @@ part of 'confirm_payment_options.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); ConfirmPaymentOptions _$ConfirmPaymentOptionsFromJson( Map json) { @@ -196,7 +196,7 @@ class _$ConfirmPaymentOptionsImpl implements _ConfirmPaymentOptions { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ConfirmPaymentOptionsImpl && @@ -367,7 +367,7 @@ class _$ConfirmPaymentParamsImpl implements _ConfirmPaymentParams { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ConfirmPaymentParamsImpl && diff --git a/packages/stripe_js/lib/src/api/payment_intents/confirm_sepa_debit_payment_data.freezed.dart b/packages/stripe_js/lib/src/api/payment_intents/confirm_sepa_debit_payment_data.freezed.dart index 021895e37..d80d048f4 100644 --- a/packages/stripe_js/lib/src/api/payment_intents/confirm_sepa_debit_payment_data.freezed.dart +++ b/packages/stripe_js/lib/src/api/payment_intents/confirm_sepa_debit_payment_data.freezed.dart @@ -12,7 +12,7 @@ part of 'confirm_sepa_debit_payment_data.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); ConfirmSepaDebitPaymentData _$ConfirmSepaDebitPaymentDataFromJson( Map json) { @@ -183,7 +183,7 @@ class _$ConfirmSepaDebitPaymentDataImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ConfirmSepaDebitPaymentDataImpl && @@ -417,7 +417,7 @@ class _$IdSepaDebitPaymentMethodDetailsImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$IdSepaDebitPaymentMethodDetailsImpl && @@ -641,7 +641,7 @@ class _$SepaDebitPaymentMethodDetailsImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SepaDebitPaymentMethodDetailsImpl && @@ -888,7 +888,7 @@ class _$SepaDebitPaymentMethodDetailsWithIbanImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SepaDebitPaymentMethodDetailsWithIbanImpl && @@ -1135,7 +1135,7 @@ class _$SepaDebitIbanDataImpl implements _SepaDebitIbanData { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SepaDebitIbanDataImpl && @@ -1348,7 +1348,7 @@ class _$SepaBillingDetailsImpl implements _SepaBillingDetails { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SepaBillingDetailsImpl && diff --git a/packages/stripe_js/lib/src/api/payment_intents/payment_intent.dart b/packages/stripe_js/lib/src/api/payment_intents/payment_intent.dart index 563d8a38e..626b0dfc1 100644 --- a/packages/stripe_js/lib/src/api/payment_intents/payment_intent.dart +++ b/packages/stripe_js/lib/src/api/payment_intents/payment_intent.dart @@ -1,6 +1,5 @@ -import 'package:stripe_js/stripe_api.dart'; - import 'package:freezed_annotation/freezed_annotation.dart'; +import 'package:stripe_js/stripe_api.dart'; part 'payment_intent.freezed.dart'; part 'payment_intent.g.dart'; @@ -26,6 +25,12 @@ enum PaymentIntentCaptureMethod { /// customer authorizes the payment. automatic, + /// Asynchronously capture funds when the customer authorizes the payment. + /// Note: Recommended over [automatic] due to improved latency, but may require additional integration changes. + /// Seealso: https://stripe.com/docs/payments/payment-intents/asynchronous-capture-automatic-async + @JsonValue('automatic_async') + automaticAsync, + /// Place a hold on the funds when the customer authorizes the payment, /// but don’t capture the funds until later. /// (Not all payment methods support this.) diff --git a/packages/stripe_js/lib/src/api/payment_intents/payment_intent.freezed.dart b/packages/stripe_js/lib/src/api/payment_intents/payment_intent.freezed.dart index b69f97233..0b4e33118 100644 --- a/packages/stripe_js/lib/src/api/payment_intents/payment_intent.freezed.dart +++ b/packages/stripe_js/lib/src/api/payment_intents/payment_intent.freezed.dart @@ -12,7 +12,7 @@ part of 'payment_intent.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); PaymentIntent _$PaymentIntentFromJson(Map json) { return _PaymentIntent.fromJson(json); @@ -1178,7 +1178,7 @@ class _$PaymentIntentImpl implements _PaymentIntent { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentIntentImpl && @@ -1742,7 +1742,7 @@ class _$PaymentIntentAmountDetailsImpl implements _PaymentIntentAmountDetails { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentIntentAmountDetailsImpl && @@ -1885,7 +1885,7 @@ class _$PaymentIntentTipImpl implements _PaymentIntentTip { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentIntentTipImpl && @@ -2036,7 +2036,7 @@ class _$PaymentIntentAutomaticPaymentMethodsImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentIntentAutomaticPaymentMethodsImpl && diff --git a/packages/stripe_js/lib/src/api/payment_intents/payment_intent.g.dart b/packages/stripe_js/lib/src/api/payment_intents/payment_intent.g.dart index 91f9bbe0a..2c53088bc 100644 --- a/packages/stripe_js/lib/src/api/payment_intents/payment_intent.g.dart +++ b/packages/stripe_js/lib/src/api/payment_intents/payment_intent.g.dart @@ -147,6 +147,7 @@ const _$PaymentIntentCancellationReasonEnumMap = { const _$PaymentIntentCaptureMethodEnumMap = { PaymentIntentCaptureMethod.automatic: 'automatic', + PaymentIntentCaptureMethod.automaticAsync: 'automatic_async', PaymentIntentCaptureMethod.manual: 'manual', }; diff --git a/packages/stripe_js/lib/src/api/payment_intents/payment_intent_response.freezed.dart b/packages/stripe_js/lib/src/api/payment_intents/payment_intent_response.freezed.dart index 494bd87f7..fede51fbd 100644 --- a/packages/stripe_js/lib/src/api/payment_intents/payment_intent_response.freezed.dart +++ b/packages/stripe_js/lib/src/api/payment_intents/payment_intent_response.freezed.dart @@ -12,7 +12,7 @@ part of 'payment_intent_response.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); PaymentIntentResponse _$PaymentIntentResponseFromJson( Map json) { @@ -166,7 +166,7 @@ class _$PaymentIntentResponseImpl implements _PaymentIntentResponse { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentIntentResponseImpl && diff --git a/packages/stripe_js/lib/src/api/payment_methods/create_payment_method_data.freezed.dart b/packages/stripe_js/lib/src/api/payment_methods/create_payment_method_data.freezed.dart index e99969754..4da139562 100644 --- a/packages/stripe_js/lib/src/api/payment_methods/create_payment_method_data.freezed.dart +++ b/packages/stripe_js/lib/src/api/payment_methods/create_payment_method_data.freezed.dart @@ -12,7 +12,7 @@ part of 'create_payment_method_data.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); CreatePaymentMethodData _$CreatePaymentMethodDataFromJson( Map json) { @@ -384,7 +384,7 @@ class _$CreatePaymentMethodDataImpl implements _CreatePaymentMethodData { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$CreatePaymentMethodDataImpl && diff --git a/packages/stripe_js/lib/src/api/payment_methods/payment_method.freezed.dart b/packages/stripe_js/lib/src/api/payment_methods/payment_method.freezed.dart index 566d4b61e..e56d101bd 100644 --- a/packages/stripe_js/lib/src/api/payment_methods/payment_method.freezed.dart +++ b/packages/stripe_js/lib/src/api/payment_methods/payment_method.freezed.dart @@ -12,7 +12,7 @@ part of 'payment_method.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); PaymentMethod _$PaymentMethodFromJson(Map json) { return _PaymentMethod.fromJson(json); @@ -620,7 +620,7 @@ class _$PaymentMethodImpl implements _PaymentMethod { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodImpl && @@ -926,7 +926,7 @@ class _$AuBecsDebitImpl implements _AuBecsDebit { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$AuBecsDebitImpl && @@ -1115,7 +1115,7 @@ class _$BacsDebitImpl implements _BacsDebit { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$BacsDebitImpl && @@ -1425,7 +1425,7 @@ class _$CardPaymentMethodImpl implements _CardPaymentMethod { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$CardPaymentMethodImpl && @@ -1632,7 +1632,7 @@ class _$FpxImpl implements _Fpx { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$FpxImpl && @@ -1793,7 +1793,7 @@ class _$IdealImpl implements _Ideal { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$IdealImpl && @@ -1993,7 +1993,7 @@ class _$SepaDebitImpl implements _SepaDebit { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SepaDebitImpl && @@ -2153,7 +2153,7 @@ class _$SofortImpl implements _Sofort { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SofortImpl && @@ -2286,7 +2286,7 @@ class _$UpiImpl implements _Upi { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$UpiImpl && @@ -2612,7 +2612,7 @@ class _$UsBankAccountImpl implements _UsBankAccount { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$UsBankAccountImpl && diff --git a/packages/stripe_js/lib/src/api/payment_methods/payment_method_details.freezed.dart b/packages/stripe_js/lib/src/api/payment_methods/payment_method_details.freezed.dart index 54f88f823..48b286d24 100644 --- a/packages/stripe_js/lib/src/api/payment_methods/payment_method_details.freezed.dart +++ b/packages/stripe_js/lib/src/api/payment_methods/payment_method_details.freezed.dart @@ -12,7 +12,7 @@ part of 'payment_method_details.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); CardPaymentMethodDetails _$CardPaymentMethodDetailsFromJson( Map json) { @@ -163,7 +163,7 @@ class _$CardPaymentMethodRefImpl implements _CardPaymentMethodRef { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$CardPaymentMethodRefImpl && @@ -370,7 +370,7 @@ class _$CardPaymentMethodDefaultImpl implements _CardPaymentMethodDefault { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$CardPaymentMethodDefaultImpl && @@ -595,7 +595,7 @@ class _$CardPaymentMethodDetailsTokenImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$CardPaymentMethodDetailsTokenImpl && @@ -881,7 +881,7 @@ class _$IdIdealPaymentMethodDetailsImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$IdIdealPaymentMethodDetailsImpl && @@ -1088,7 +1088,7 @@ class _$IdealPaymentMethodDetailsImpl implements _IdealPaymentMethodDetails { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$IdealPaymentMethodDetailsImpl && @@ -1314,7 +1314,7 @@ class _$IdealPaymentMethodDetailsSelfCollectImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$IdealPaymentMethodDetailsSelfCollectImpl && @@ -1547,7 +1547,7 @@ class _$IdealBankDataImpl implements _IdealBankData { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$IdealBankDataImpl && @@ -1691,7 +1691,7 @@ class _$CardTokenPaymentMethodImpl implements _CardTokenPaymentMethod { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$CardTokenPaymentMethodImpl && diff --git a/packages/stripe_js/lib/src/api/payment_methods/payment_method_params.freezed.dart b/packages/stripe_js/lib/src/api/payment_methods/payment_method_params.freezed.dart index 21df25de0..353507f6e 100644 --- a/packages/stripe_js/lib/src/api/payment_methods/payment_method_params.freezed.dart +++ b/packages/stripe_js/lib/src/api/payment_methods/payment_method_params.freezed.dart @@ -12,7 +12,7 @@ part of 'payment_method_params.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); PaymentMethodParams _$PaymentMethodParamsFromJson(Map json) { switch (json['paymentMethodType']) { @@ -324,7 +324,7 @@ class _$PaymentMethodParamsCardImpl implements _PaymentMethodParamsCard { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodParamsCardImpl && @@ -628,7 +628,7 @@ class _$PaymentMethodParamsCardWithTokenImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodParamsCardWithTokenImpl && @@ -936,7 +936,7 @@ class _$PaymentMethodParamsCardWithMethodIdImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodParamsCardWithMethodIdImpl && @@ -1241,7 +1241,7 @@ class _$PaymentMethodParamsAlipayImpl implements _PaymentMethodParamsAlipay { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodParamsAlipayImpl && @@ -1543,7 +1543,7 @@ class _$PaymentMethodParamsIdealImpl implements _PaymentMethodParamsIdeal { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodParamsIdealImpl && @@ -1845,7 +1845,7 @@ class _$PaymentMethodParamsAubecsImpl implements _PaymentMethodParamsAubecs { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodParamsAubecsImpl && @@ -2148,7 +2148,7 @@ class _$PaymentMethodParamsBankContactImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodParamsBankContactImpl && @@ -2452,7 +2452,7 @@ class _$PaymentMethodParamsGiroPayImpl implements _PaymentMethodParamsGiroPay { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodParamsGiroPayImpl && @@ -2753,7 +2753,7 @@ class _$PaymentMethodParamsEpsImpl implements _PaymentMethodParamsEps { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodParamsEpsImpl && @@ -3054,7 +3054,7 @@ class _$PaymentMethodParamsAffirmImpl implements _PaymentMethodParamsAffirm { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodParamsAffirmImpl && @@ -3355,7 +3355,7 @@ class _$PaymentMethodParamsPayImpl implements _PaymentMethodParamsPay { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodParamsPayImpl && @@ -3656,7 +3656,7 @@ class _$PaymentMethodParamsP24Impl implements _PaymentMethodParamsP24 { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodParamsP24Impl && @@ -3958,7 +3958,7 @@ class _$PaymentMethodParamsFpxImpl implements _PaymentMethodParamsFpx { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodParamsFpxImpl && @@ -4262,7 +4262,7 @@ class _$PaymentMethodParamsSepaDebitImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodParamsSepaDebitImpl && @@ -4565,7 +4565,7 @@ class _$PaymentMethodParamsSofortImpl implements _PaymentMethodParamsSofort { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodParamsSofortImpl && @@ -4866,7 +4866,7 @@ class _$PaymentMethodParamsAfterpayClearpayImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodParamsAfterpayClearpayImpl && @@ -5169,7 +5169,7 @@ class _$PaymentMethodParamsOxxoImpl implements _PaymentMethodParamsOxxo { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodParamsOxxoImpl && @@ -5473,7 +5473,7 @@ class _$PaymentMethodParamsKlarnaImpl implements _PaymentMethodParamsKlarna { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodParamsKlarnaImpl && @@ -5780,7 +5780,7 @@ class _$PaymentMethodParamsPayPalImpl implements _PaymentMethodParamsPayPal { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodParamsPayPalImpl && @@ -6087,7 +6087,7 @@ class _$PaymentMethodParamsUsBankAccountImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodParamsUsBankAccountImpl && @@ -6473,7 +6473,7 @@ class _$PaymentMethodDataImpl implements _PaymentMethodData { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodDataImpl && @@ -6706,7 +6706,7 @@ class _$PaymentMethodDataCardFromTokenImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodDataCardFromTokenImpl && @@ -6972,7 +6972,7 @@ class _$PaymentMethodDataCardFromMethodImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodDataCardFromMethodImpl && @@ -7219,7 +7219,7 @@ class _$PaymentMethodDataIdealImpl implements _PaymentMethodDataIdeal { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodDataIdealImpl && @@ -7456,7 +7456,7 @@ class _$PaymentMethodDataAubecsImpl implements _PaymentMethodDataAubecs { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodDataAubecsImpl && @@ -7695,7 +7695,7 @@ class _$PaymentMethodDataFpxImpl implements _PaymentMethodDataFpx { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodDataFpxImpl && @@ -7933,7 +7933,7 @@ class _$PaymentMethodDataSofortImpl implements _PaymentMethodDataSofort { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodDataSofortImpl && @@ -8168,7 +8168,7 @@ class _$PaymentMethodDataSepaImpl implements _PaymentMethodDataSepa { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodDataSepaImpl && @@ -8377,7 +8377,7 @@ class _$PaymentMethodDataAfterPayImpl implements _PaymentMethodDataAfterPay { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodDataAfterPayImpl && @@ -8672,7 +8672,7 @@ class _$PaymentMethodDataUsBankImpl implements _PaymentMethodDataUsBank { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodDataUsBankImpl && diff --git a/packages/stripe_js/lib/src/api/payment_methods/payment_method_response.freezed.dart b/packages/stripe_js/lib/src/api/payment_methods/payment_method_response.freezed.dart index 144e158f3..25940ffb5 100644 --- a/packages/stripe_js/lib/src/api/payment_methods/payment_method_response.freezed.dart +++ b/packages/stripe_js/lib/src/api/payment_methods/payment_method_response.freezed.dart @@ -12,7 +12,7 @@ part of 'payment_method_response.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); PaymentMethodResponse _$PaymentMethodResponseFromJson( Map json) { @@ -166,7 +166,7 @@ class _$PaymentMethodResponseImpl implements _PaymentMethodResponse { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentMethodResponseImpl && diff --git a/packages/stripe_js/lib/src/api/setup_intents/confirm_card_setup_data.freezed.dart b/packages/stripe_js/lib/src/api/setup_intents/confirm_card_setup_data.freezed.dart index b37843950..4d171462c 100644 --- a/packages/stripe_js/lib/src/api/setup_intents/confirm_card_setup_data.freezed.dart +++ b/packages/stripe_js/lib/src/api/setup_intents/confirm_card_setup_data.freezed.dart @@ -12,7 +12,7 @@ part of 'confirm_card_setup_data.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); ConfirmCardSetupData _$ConfirmCardSetupDataFromJson(Map json) { return _ConfirmCardSetupData.fromJson(json); @@ -168,7 +168,7 @@ class _$ConfirmCardSetupDataImpl implements _ConfirmCardSetupData { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ConfirmCardSetupDataImpl && diff --git a/packages/stripe_js/lib/src/api/setup_intents/setup_intent.freezed.dart b/packages/stripe_js/lib/src/api/setup_intents/setup_intent.freezed.dart index b21653141..e9aee4ea2 100644 --- a/packages/stripe_js/lib/src/api/setup_intents/setup_intent.freezed.dart +++ b/packages/stripe_js/lib/src/api/setup_intents/setup_intent.freezed.dart @@ -12,7 +12,7 @@ part of 'setup_intent.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); SetupIntent _$SetupIntentFromJson(Map json) { return _SetupIntent.fromJson(json); @@ -702,7 +702,7 @@ class _$SetupIntentImpl implements _SetupIntent { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SetupIntentImpl && diff --git a/packages/stripe_js/lib/src/api/setup_intents/setup_intent_response.freezed.dart b/packages/stripe_js/lib/src/api/setup_intents/setup_intent_response.freezed.dart index a2772cbbe..18dcc9ca5 100644 --- a/packages/stripe_js/lib/src/api/setup_intents/setup_intent_response.freezed.dart +++ b/packages/stripe_js/lib/src/api/setup_intents/setup_intent_response.freezed.dart @@ -12,7 +12,7 @@ part of 'setup_intent_response.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); SetupIntentResponse _$SetupIntentResponseFromJson(Map json) { return _SetupIntentResponse.fromJson(json); @@ -162,7 +162,7 @@ class _$SetupIntentResponseImpl implements _SetupIntentResponse { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SetupIntentResponseImpl && diff --git a/packages/stripe_js/lib/src/api/tokens/create_token_bank_account_data.freezed.dart b/packages/stripe_js/lib/src/api/tokens/create_token_bank_account_data.freezed.dart index 7aeb311b5..140330703 100644 --- a/packages/stripe_js/lib/src/api/tokens/create_token_bank_account_data.freezed.dart +++ b/packages/stripe_js/lib/src/api/tokens/create_token_bank_account_data.freezed.dart @@ -12,7 +12,7 @@ part of 'create_token_bank_account_data.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); CreateTokenBankAccountData _$CreateTokenBankAccountDataFromJson( Map json) { @@ -234,7 +234,7 @@ class _$CreateTokenBankAccountDataImpl implements _CreateTokenBankAccountData { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$CreateTokenBankAccountDataImpl && diff --git a/packages/stripe_js/lib/src/api/tokens/token_response.freezed.dart b/packages/stripe_js/lib/src/api/tokens/token_response.freezed.dart index 38e858945..c609f8738 100644 --- a/packages/stripe_js/lib/src/api/tokens/token_response.freezed.dart +++ b/packages/stripe_js/lib/src/api/tokens/token_response.freezed.dart @@ -12,7 +12,7 @@ part of 'token_response.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); TokenResponse _$TokenResponseFromJson(Map json) { return _TokenResponse.fromJson(json); @@ -164,7 +164,7 @@ class _$TokenResponseImpl implements _TokenResponse { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TokenResponseImpl && diff --git a/packages/stripe_web/lib/src/parser/payment_intent.dart b/packages/stripe_web/lib/src/parser/payment_intent.dart index 0df15a414..d15ec1611 100644 --- a/packages/stripe_web/lib/src/parser/payment_intent.dart +++ b/packages/stripe_web/lib/src/parser/payment_intent.dart @@ -1,5 +1,5 @@ -import 'package:stripe_platform_interface/stripe_platform_interface.dart'; import 'package:stripe_js/stripe_api.dart' as js; +import 'package:stripe_platform_interface/stripe_platform_interface.dart'; extension PaymentIntentExtension on js.PaymentIntent { PaymentIntent parse() { @@ -74,6 +74,9 @@ extension CaptureMethodExtension on CaptureMethod { case 'Automatic': case 'automatic': return CaptureMethod.Automatic; + case 'AutomaticAsync': + case 'automatic_async': + return CaptureMethod.AutomaticAsync; case 'Manual': case 'manual': return CaptureMethod.Manual;