CreatePaymentIntentRequest constructor
CreatePaymentIntentRequest({
- required int amount,
- required String currency,
- AutomaticPaymentMethods? automaticPaymentMethods,
- bool? confirm,
- String? customer,
- String? description,
- Map<
String, String> ? metadata, - bool? offSession,
- String? paymentMethod,
- Set<
PaymentMethodType> ? paymentMethodTypes, - String? receiptEmail,
- SetupFutureUsage? setupFutureUsage,
- ShippingSpecification? shipping,
- String? statementDescriptor,
- 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,
});