update Charge Intent
suspend fun updateChargeIntent(intentId: String, request: ChargeIntentsRequests.UpdateChargeIntentRequest): Pair<ChargeIntent?, NetworkingError?>
Updates mutable fields on an existing charge intent.
Return
A Pair containing the updated ChargeIntent on success, or a NetworkingError on failure.
Parameters
intent Id
The ID of the charge intent to update.
request
The fields to update on the charge intent.
fun updateChargeIntent(intentId: String, request: ChargeIntentsRequests.UpdateChargeIntentRequest, completionHandler: (ChargeIntent?, NetworkingError?) -> Unit)
Updates mutable fields on an existing charge intent.
Parameters
intent Id
The ID of the charge intent to update.
request
The fields to update on the charge intent.
completion Handler
Called with the updated ChargeIntent on success, or a NetworkingError on failure.