Ejemplo n.º 1
0
        internal static DisbursementRefund Create(long advancedPaymentId, long disbursementId, decimal?amount, RequestOptions requestOptions)
        {
            Dictionary <string, string> pathParams = new Dictionary <string, string>
            {
                { "advanced_payment_id", advancedPaymentId.ToString() },
                { "disbursement_id", disbursementId.ToString() }
            };

            DisbursementRefund disbursementRefund = new DisbursementRefund
            {
                Amount = amount
            };

            return(ProcessMethod(typeof(DisbursementRefund), disbursementRefund, "Create", pathParams, WITHOUT_CACHE, requestOptions));
        }
Ejemplo n.º 2
0
 public static DisbursementRefund Refund(long advancedPaymentId, long disbursementId, decimal?amount, RequestOptions requestOptions)
 {
     return(DisbursementRefund.Create(advancedPaymentId, disbursementId, amount, requestOptions));
 }
Ejemplo n.º 3
0
 public static List <DisbursementRefund> RefundAll(long advancedPaymentId, RequestOptions requestOptions)
 {
     return(DisbursementRefund.CreateAll(advancedPaymentId, requestOptions));
 }