updateFactor

Updates a Factor from a UpdateFactorPayload

Parameters

error
Block to be called when the operation fails with the cause of failure
success
Block to be called when the operation succeeds, returns the updated Factor
updateFactorPayload
Describes the information needed to update a factor
abstract fun updateFactor(updateFactorPayload: UpdateFactorPayload, success: (Factor) -> Unit, error: (TwilioVerifyException) -> Unit)