update Dispute
suspend fun updateDispute(disputeId: String, request: DisputeRequests.UpdateDisputeRequest): Pair<Dispute?, NetworkingError?>
Updates an existing dispute with the supplied evidence details.
Return
A Pair containing the updated Dispute on success, or a NetworkingError on failure.
Parameters
dispute Id
The unique identifier of the dispute to update.
request
The evidence and supporting details to submit for the dispute.
fun updateDispute(disputeId: String, request: DisputeRequests.UpdateDisputeRequest, completionHandler: (Dispute?, NetworkingError?) -> Unit)
Updates an existing dispute with the supplied evidence details and delivers the result via a callback.
Parameters
dispute Id
The unique identifier of the dispute to update.
request
The evidence and supporting details to submit for the dispute.
completion Handler
Callback invoked with the updated Dispute on success, or a NetworkingError on failure.