setAllowedPaymentMethodTypes
fun setAllowedPaymentMethodTypes(allowedPaymentMethodTypes: List<PaymentMethodType>): SetupIntentParameters.Builder
Deprecated
Use setPaymentMethodTypes instead
Replace with
setPaymentMethodTypes(allowedPaymentMethodTypes)
Content copied to clipboard
The list of payment method types (e.g. card_present) that this SetupIntent is allowed to set up. The default value for this is PaymentMethodType.CARD_PRESENT.