PaymentIntent constructor

PaymentIntent({
  1. required _PaymentIntentObject object,
  2. required String id,
  3. required int amount,
  4. required int amountReceived,
  5. required String clientSecret,
  6. required String currency,
  7. required String status,
  8. AutomaticPaymentMethods automaticPaymentMethods = const AutomaticPaymentMethods(),
  9. DateTime? canceledAt,
  10. DateTime? created,
  11. String? customer,
  12. String? description,
  13. String? latestCharge,
  14. Map<String, String>? metadata,
  15. String? paymentMethod,
  16. Set<PaymentMethodType>? paymentMethodTypes,
  17. String? receiptEmail,
  18. SetupFutureUsage? setupFutureUsage,
  19. ShippingSpecification? shipping,
  20. String? statementDescriptor,
  21. 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,
});