PaymentIntent constructor

PaymentIntent({
  1. required String id,
  2. required int amount,
  3. Map<String, dynamic>? automatic_payment_methods,
  4. required Map<String, dynamic> charges,
  5. required String client_secret,
  6. required String currency,
  7. required String? customer,
  8. required String? description,
  9. Map<String, dynamic>? last_payment_error,
  10. Map<String, dynamic>? metadata,
  11. required String? payment_method,
  12. Map<String, dynamic>? next_action,
  13. required List<String> payment_method_types,
  14. required String? receipt_email,
  15. String? setup_future_usage,
  16. Map<String, dynamic>? shipping,
  17. String? statement_descriptor,
  18. String? statement_descriptor_suffix,
  19. 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,
});