Esempio n. 1
0
        internal static bool UpdateReleaseDate(long advancedPaymentId, long disbursementId, DateTime releaseDate, RequestOptions requestOptions)
        {
            Dictionary <string, string> pathParams = new Dictionary <string, string>
            {
                { "advanced_payment_id", advancedPaymentId.ToString() },
                { "disbursement_id", disbursementId.ToString() }
            };

            Disbursement 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, RequestOptions requestOptions)
 {
     return(Disbursement.UpdateReleaseDate(advancedPaymentId, disbursementId, releaseDate, requestOptions));
 }