SetupIntentFactory

Functions

Link copied to clipboard
fun create(paymentMethod: PaymentMethod? = createCardPaymentMethod(), paymentMethodTypes: List<String> = listOf("card"), status: StripeIntent.Status = StripeIntent.Status.RequiresConfirmation, paymentMethodOptionsJsonString: String? = null, linkFundingSources: List<String> = emptyList(), countryCode: String? = null, cancellationReason: SetupIntent.CancellationReason? = null, usage: StripeIntent.Usage? = null): SetupIntent