SetupAttempt constructor
const
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
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.
Implementation
const SetupAttempt({
this.application,
this.attachToSelf,
required this.created,
this.customer,
this.flowDirections,
required this.id,
required this.livemode,
this.onBehalfOf,
required this.paymentMethod,
required this.paymentMethodDetails,
this.setupError,
required this.setupIntent,
required this.status,
required this.usage,
});