PaymentIntentFactory

Functions

Link copied to clipboard
fun create(paymentMethod: PaymentMethod? = createCardPaymentMethod(), paymentMethodTypes: List<String> = listOf("card"), setupFutureUsage: StripeIntent.Usage? = null, confirmationMethod: PaymentIntent.ConfirmationMethod = PaymentIntent.ConfirmationMethod.Automatic, status: StripeIntent.Status = StripeIntent.Status.RequiresConfirmation, paymentMethodOptionsJsonString: String? = null, linkFundingSources: List<String> = emptyList(), countryCode: String? = null): PaymentIntent