PaymentIntent constructor
PaymentIntent({
- required _PaymentIntentObject object,
- required String id,
- required int amount,
- required int amountReceived,
- required String clientSecret,
- required String currency,
- required String status,
- AutomaticPaymentMethods automaticPaymentMethods = const AutomaticPaymentMethods(),
- DateTime? canceledAt,
- DateTime? created,
- String? customer,
- String? description,
- String? latestCharge,
- Map<
String, String> ? metadata, - String? paymentMethod,
- Set<
PaymentMethodType> ? paymentMethodTypes, - String? receiptEmail,
- SetupFutureUsage? setupFutureUsage,
- ShippingSpecification? shipping,
- String? statementDescriptor,
- String? statementDescriptorSuffix,
Implementation
PaymentIntent({
required this.object,
required this.id,
required this.amount,
required this.amountReceived,
required this.clientSecret,
required this.currency,
required this.status,
this.automaticPaymentMethods = const AutomaticPaymentMethods(),
this.canceledAt,
this.created,
this.customer,
this.description,
this.latestCharge,
this.metadata,
this.paymentMethod,
this.paymentMethodTypes,
this.receiptEmail,
this.setupFutureUsage,
this.shipping,
this.statementDescriptor,
this.statementDescriptorSuffix,
});