deactivatePaymentMean

abstract suspend fun deactivatePaymentMean(paymentMeanId: UUID, onDeactivationSuccess: () -> Unit)

Deactivate an active payment means, calling this func will ask the server to deactivate the payment means. It will also delete all payment tokens for the payment mean.

Parameters

paymentMeanId

id of PaymentMean object to be de-activated

onDeactivationSuccess

Emits a notification upon success after the deactivation process completes

Throws