onRemoveStoredPaymentMethod
Only applicable to removing stored payment methods. Use DropInConfiguration.Builder.setEnableRemovingStoredPaymentMethods to enable this feature.
In this method you should make the network call to tell your server to make a call to the DELETE /storedPaymentMethods endpoint. This method is called when the user initiates removing a stored payment method using the remove button.
We provide storedPaymentMethod that contains the id of the stored payment method to be removed in the field StoredPaymentMethod.id.
Asynchronous handling: since this method runs on the main thread, you should make sure the DELETE /storedPaymentMethods call and any other long running operation is made on a background thread.
Use sendRecurringResult to send the final result of this call back to the Drop-in.
Note that not overriding this method while enabling this feature will cause a MethodNotImplementedException to be thrown.
See https://docs.adyen.com/api-explorer/ for more information on the API documentation.