PaymentIntentCreateOptions constructor

const PaymentIntentCreateOptions({
  1. required int amount,
  2. int? applicationFeeAmount,
  3. PaymentFlowsAutomaticPaymentMethodsPaymentIntent? automaticPaymentMethods,
  4. PaymentIntentCaptureMethod? captureMethod,
  5. bool? confirm,
  6. CustomerBalanceCustomerBalanceSettingsReconciliationMode? confirmationMethod,
  7. String? confirmationToken,
  8. required String currency,
  9. String? customer,
  10. String? description,
  11. bool? errorOnRequiresAction,
  12. List<String>? expand,
  13. String? mandate,
  14. PaymentIntentMandateData? mandateData,
  15. Map<String, String>? metadata,
  16. PaymentIntentOffSession? offSession,
  17. String? onBehalfOf,
  18. String? paymentMethod,
  19. String? paymentMethodConfiguration,
  20. PaymentIntentPaymentMethodData? paymentMethodData,
  21. PaymentIntentCreateOptionsPaymentMethodOptions? paymentMethodOptions,
  22. List<String>? paymentMethodTypes,
  23. RadarRadarOptions? radarOptions,
  24. String? receiptEmail,
  25. String? returnUrl,
  26. SessionSetupFutureUsage? setupFutureUsage,
  27. ChargeCreateOptionsShipping? shipping,
  28. String? statementDescriptor,
  29. String? statementDescriptorSuffix,
  30. ChargeCreateOptionsTransferData? transferData,
  31. String? transferGroup,
  32. bool? useStripeSdk,
})

Implementation

const PaymentIntentCreateOptions({
  required this.amount,
  this.applicationFeeAmount,
  this.automaticPaymentMethods,
  this.captureMethod,
  this.confirm,
  this.confirmationMethod,
  this.confirmationToken,
  required this.currency,
  this.customer,
  this.description,
  this.errorOnRequiresAction,
  this.expand,
  this.mandate,
  this.mandateData,
  this.metadata,
  this.offSession,
  this.onBehalfOf,
  this.paymentMethod,
  this.paymentMethodConfiguration,
  this.paymentMethodData,
  this.paymentMethodOptions,
  this.paymentMethodTypes,
  this.radarOptions,
  this.receiptEmail,
  this.returnUrl,
  this.setupFutureUsage,
  this.shipping,
  this.statementDescriptor,
  this.statementDescriptorSuffix,
  this.transferData,
  this.transferGroup,
  this.useStripeSdk,
});