Пример #1
0
        /// <summary>Contests dispute.</summary>
        /// <param name="contestedFunds">Contested funds.</param>
        /// <param name="disputeId">Dispute identifier.</param>
        /// <returns>Dispute instance returned from API.</returns>
        public DisputeDTO ContestDispute(Money contestedFunds, String disputeId)
        {
            DisputeContestPutDTO disputeContest = new DisputeContestPutDTO();
            disputeContest.ContestedFunds = contestedFunds;

            return this.UpdateObject<DisputeDTO, DisputeContestPutDTO>(MethodKey.DisputesSaveContestFunds, disputeContest, disputeId);
        }
Пример #2
0
 /// <summary>Resubmits dispute.</summary>
 /// <param name="disputeId">Dispute identifier.</param>
 /// <returns>Dispute instance returned from API.</returns>
 public DisputeDTO ResubmitDispute(String disputeId)
 {
     DisputeContestPutDTO dispute = new DisputeContestPutDTO();
     return this.UpdateObject<DisputeDTO, DisputeContestPutDTO>(MethodKey.DisputesSaveContestFunds, dispute, disputeId);
 }