PaymentIntent constructor

PaymentIntent({
  1. String? id,
  2. String? object,
  3. int? amount,
  4. int? amountCapturable,
  5. int? amountReceived,
  6. dynamic application,
  7. dynamic applicationFeeAmount,
  8. dynamic canceledAt,
  9. dynamic cancellationReason,
  10. String? captureMethod,
  11. dynamic charges,
  12. String? clientSecret,
  13. String? confirmationMethod,
  14. int? created,
  15. String? currency,
  16. dynamic customer,
  17. String? description,
  18. dynamic invoice,
  19. dynamic lastPaymentError,
  20. bool? livemode,
  21. Map<String, dynamic>? metadata,
  22. IntentAction? nextAction,
  23. dynamic onBehalfOf,
  24. dynamic paymentMethod,
  25. PaymentMethodData? paymentMethodOptions,
  26. List<String>? paymentMethodTypes,
  27. String? receiptEmail,
  28. dynamic review,
  29. SetupFutureUsage? setupFutureUsage,
  30. Shipping? shipping,
  31. dynamic statementDescriptor,
  32. dynamic statementDescriptorSuffix,
  33. PaymentIntentStatus? status,
  34. Transfer? transferData,
  35. String? transferGroup,
})

Implementation

PaymentIntent({
  this.id,
  this.object,
  this.amount,
  this.amountCapturable,
  this.amountReceived,
  this.application,
  this.applicationFeeAmount,
  this.canceledAt,
  this.cancellationReason,
  this.captureMethod,
  this.charges,
  this.clientSecret,
  this.confirmationMethod,
  this.created,
  this.currency,
  this.customer,
  this.description,
  this.invoice,
  this.lastPaymentError,
  this.livemode,
  this.metadata,
  this.nextAction,
  this.onBehalfOf,
  this.paymentMethod,
  this.paymentMethodOptions,
  this.paymentMethodTypes,
  this.receiptEmail,
  this.review,
  this.setupFutureUsage,
  this.shipping,
  this.statementDescriptor,
  this.statementDescriptorSuffix,
  this.status,
  this.transferData,
  this.transferGroup,
});