deletePaymentMethod method
Delete a payment method for a customer.
Implementation
@override
Future<void> deletePaymentMethod({
required String customerId,
required String paymentMethodId,
String? idempotencyKey,
}) async {
try {
await methodChannel.invokeMethod(
'deletePaymentMethod',
{
'customerId': customerId,
'paymentMethodId': paymentMethodId,
'idempotencyKey': idempotencyKey,
},
);
} on PlatformException {
rethrow;
}
}