CreatePaymentIntentRequest constructor

CreatePaymentIntentRequest({
  1. required int amount,
  2. required String currency,
  3. AutomaticPaymentMethods? automaticPaymentMethods,
  4. bool? confirm,
  5. String? customer,
  6. String? description,
  7. Map<String, String>? metadata,
  8. bool? offSession,
  9. String? paymentMethod,
  10. Set<PaymentMethodType>? paymentMethodTypes,
  11. String? receiptEmail,
  12. SetupFutureUsage? setupFutureUsage,
  13. ShippingSpecification? shipping,
  14. String? statementDescriptor,
  15. String? statementDescriptorSuffix,
})

Implementation

CreatePaymentIntentRequest({
  required this.amount,
  required this.currency,
  this.automaticPaymentMethods,
  this.confirm,
  this.customer,
  this.description,
  this.metadata,
  this.offSession,
  this.paymentMethod,
  this.paymentMethodTypes,
  this.receiptEmail,
  this.setupFutureUsage,
  this.shipping,
  this.statementDescriptor,
  this.statementDescriptorSuffix,
});