SetupAttempt class final
PaymentFlowsSetupIntentSetupAttempt
A SetupAttempt describes one attempted confirmation of a SetupIntent, whether that confirmation is successful or unsuccessful. You can use SetupAttempts to inspect details of a specific attempt at setting up a payment method using a SetupIntent.
- Implemented types
Constructors
-
SetupAttempt({ApplicationOrId? application, bool? attachToSelf, required DateTime created, BankAccountCustomerOrId? customer, List<
SetupAttemptFlowDirectionsItem> ? flowDirections, required String id, required bool livemode, AccountOrId? onBehalfOf, required PaymentMethodOrId paymentMethod, required SetupAttemptPaymentMethodDetails paymentMethodDetails, ApiErrors? setupError, required SetupIntentOrId setupIntent, required String status, required String usage}) -
PaymentFlowsSetupIntentSetupAttempt
const
- SetupAttempt.fromJson(Object? json)
-
factory
Properties
- application → ApplicationOrId?
-
final
- attachToSelf → bool?
-
final
- created → DateTime
-
final
- customer → BankAccountCustomerOrId?
-
final
-
flowDirections
→ List<
SetupAttemptFlowDirectionsItem> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The ID of the SetupAttempt.
final
- livemode → bool
-
final
- object → String
-
The resource's type.
final
- onBehalfOf → AccountOrId?
-
final
- paymentMethod → PaymentMethodOrId
-
final
- paymentMethodDetails → SetupAttemptPaymentMethodDetails
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setupError → ApiErrors?
-
final
- setupIntent → SetupIntentOrId
-
final
- status → String
-
final
- usage → String
-
final
Methods
-
encodeWith<
V> (Encoder< V> encoder) → V -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
encode<
V> (SetupAttempt instance, Encoder< V> encoder) → V -
override