PaymentIntent constructor
PaymentIntent({
- required String id,
- required int amount,
- Map<
String, dynamic> ? automatic_payment_methods, - required Map<
String, dynamic> charges, - required String client_secret,
- required String currency,
- required String? customer,
- required String? description,
- Map<
String, dynamic> ? last_payment_error, - Map<
String, dynamic> ? metadata, - required String? payment_method,
- Map<
String, dynamic> ? next_action, - required List<
String> payment_method_types, - required String? receipt_email,
- String? setup_future_usage,
- Map<
String, dynamic> ? shipping, - String? statement_descriptor,
- String? statement_descriptor_suffix,
- required String status,
Implementation
PaymentIntent({
required this.id,
required this.amount,
this.automatic_payment_methods,
required this.charges,
required this.client_secret,
required this.currency,
required this.customer,
required this.description,
this.last_payment_error,
this.metadata,
required this.payment_method,
this.next_action,
required this.payment_method_types,
required this.receipt_email,
this.setup_future_usage,
this.shipping,
this.statement_descriptor,
this.statement_descriptor_suffix,
required this.status,
});