Esempio n. 1
0
        internal static bool UpdateReleaseDate(long advancedPaymentId, long disbursementId, DateTime releaseDate, MPRequestOptions requestOptions)
        {
            var pathParams = new Dictionary <string, string>();

            pathParams.Add("advanced_payment_id", advancedPaymentId.ToString());
            pathParams.Add("disbursement_id", disbursementId.ToString());

            var disbursement = new Disbursement
            {
                MoneyReleaseDate = releaseDate
            };

            return(disbursement.ProcessMethodBool <Disbursement>("UpdateReleaseDate", WITHOUT_CACHE, pathParams, requestOptions));
        }
Esempio n. 2
0
 /// <summary>
 /// Update money release date for the sellers
 /// </summary>
 /// <param name="advancedPaymentId">Advanced payment ID</param>
 /// <param name="disbursementId">Disbursement ID</param>
 /// <param name="releaseDate">Release date</param>
 /// <param name="requestOptions">Request options</param>
 /// <returns><see langword="true"/> if updated with success, otherwise <see langword="false"/></returns>
 public static bool UpdateReleaseDate(long advancedPaymentId, long disbursementId, DateTime releaseDate, MPRequestOptions requestOptions)
 {
     return(Disbursement.UpdateReleaseDate(advancedPaymentId, disbursementId, releaseDate, requestOptions));
 }