PaymentIntent constructor

PaymentIntent({
  1. required String id,
  2. required int amount,
  3. required String currency,
  4. required PaymentIntentStatus status,
  5. String? clientSecret,
  6. String? phoneNumber,
  7. String? description,
  8. Map<String, dynamic>? metadata,
  9. DateTime? createdAt,
  10. DateTime? updatedAt,
  11. String? errorMessage,
  12. String? providerReference,
})

Implementation

PaymentIntent({
  required this.id,
  required this.amount,
  required this.currency,
  required this.status,
  this.clientSecret,
  this.phoneNumber,
  this.description,
  this.metadata,
  this.createdAt,
  this.updatedAt,
  this.errorMessage,
  this.providerReference,
});