internal static DisbursementRefund Create(long advancedPaymentId, long disbursementId, decimal?amount, MPRequestOptions requestOptions) { var pathParams = new Dictionary <string, string>(); pathParams.Add("advanced_payment_id", advancedPaymentId.ToString()); pathParams.Add("disbursement_id", disbursementId.ToString()); var disbursementRefund = new DisbursementRefund { Amount = amount }; return(ProcessMethod(typeof(DisbursementRefund), disbursementRefund, "Create", pathParams, WITHOUT_CACHE, requestOptions)); }
public static DisbursementRefund Refund(long advancedPaymentId, long disbursementId, decimal?amount, MPRequestOptions requestOptions) { return(DisbursementRefund.Create(advancedPaymentId, disbursementId, amount, requestOptions)); }
public static List <DisbursementRefund> RefundAll(long advancedPaymentId, MPRequestOptions requestOptions) { return(DisbursementRefund.CreateAll(advancedPaymentId, requestOptions)); }