overridePaymentMethodName
Provide a custom name to be shown in Drop-in for payment methods with a type matching paymentMethodType. For paymentMethodType you can pass PaymentMethodTypes or any other custom value.
This function can be called multiple times to set custom names for payment methods with different types.
Parameters
paymentMethodType
The type of the payment method.
name
The name to be displayed.