/// <summary> /// Chargeback update /// </summary> /// <param name="claimId">Claim id</param> /// <param name="chargebackRequest">chargeback data</param> /// <returns>chargebackId</returns> public String Update(long refKey, ChargebackRequest chargebackRequest, ChargebackFillRequest chargebackFillRequest) { String restUrl = String.Format("claims/{0}/chargebacks/{1}", chargebackRequest.claimId, chargebackRequest.chargebackId); var result = _apiController.Update <ChargebackResponse>(refKey, restUrl, null, chargebackFillRequest); return(result.chargebackId); }
public List <RetrievalResponse> RetrievalFullfilmentStatus(long refKey, List <RetrievalRequest> retrievalRequestList) { var result = _apiController.Update <RetrievalResponseList>(refKey, "retrievalrequests/status", null, new RetrievalRequestList() { RetrievalRequest = retrievalRequestList }); return(result.RetrievalResponse); }
public String UpdateClaim(long refKey, String claimId, ClaimUpdateRequest claimUpdateRequest) { return _apiController.Update<ClaimResponse>(refKey, String.Format("claims/{0}", claimId), null, claimUpdateRequest).claimId; }
/// <summary> /// updates a Case Filing record /// </summary> /// <param name="caseId">Case Filing Id. max length...9</param> /// <param name="caseDetail">Action to be performed on case. The following values are valid - ACCEPT, REJECT, REBUT, ESCALATE, WITHDRAW. Note : ESCALATE is applicable on pre compliance and pre arbitration cases.</param> /// <returns>The case filing id</returns> public CaseIdRequestResponse UpdateCase(long refKey, String caseId, CaseDetailRequest caseDetail) { return(_apiController.Update <CaseIdRequestResponse>(refKey, String.Format("cases/{0}", caseId), null, caseDetail)); }