Exemplo n.º 1
0
 public String CreateClaim(long refKey, ClaimRequest claimRequest)
 {
     return _apiController.Create<ClaimResponse>(refKey, "claims", claimRequest).claimId;
 }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 public TransactionSearchResponse Search(long refKey, TransactionSearchRequest transactionSearchRequest)
 {
     return(_apiController.Create <TransactionSearchResponse>(refKey, "transactions/search", transactionSearchRequest));
 }
Exemplo n.º 3
0
 /// <summary>
 /// generate a new Case Filing
 /// </summary>
 /// <param name="caseDetail"></param>
 /// <returns>The case filing id</returns>
 public CaseIdRequestResponse CreateCase(long refKey, CaseDetailRequest caseDetail)
 {
     return(_apiController.Create <CaseIdRequestResponse>(refKey, "cases", caseDetail));
 }
Exemplo n.º 4
0
 public String CreateFee(long refKey, String claimId, FeeDetail feeDetail)
 {
     return(_apiController.Create <FeeDetail>(refKey, String.Format("claims/{0}/fee", claimId), feeDetail).feeId);
 }
Exemplo n.º 5
0
        /// <summary>
        /// Chargeback create
        /// </summary>
        /// <param name="claimId">Claim id</param>
        /// <param name="chargebackRequest">chargeback data</param>
        /// <returns>chargebackId</returns>
        public String Create(long refKey, String claimId, ChargebackFillRequest chargebackRequest)
        {
            var result = _apiController.Create <ChargebackResponse>(refKey, String.Format("claims/{0}/chargebacks", claimId), chargebackRequest);

            return(result.chargebackId);
        }
Exemplo n.º 6
0
        public string CreateRetrieval(long refKey, string claimId, RetrievalCreateRequest retrievalCreateRequest)
        {
            var result = _apiController.Create <RetrievalResponse>(refKey, String.Format("claims/{0}/retrievalrequests", claimId), retrievalCreateRequest);

            return(result.requestId);
        }
Exemplo n.º 7
0
 public string CreateForMasterCard(long refKey, string claimId, FraudRequest fraudRequest)
 {
     return(_apiController.Create <FraudResponse>(refKey, String.Format("claims/{0}/fraud/mastercard", claimId), fraudRequest).fraudId);
 }