Ejemplo n.º 1
0
 public static DebitRequest CreateDebitRequest(string pPath, string pAPIKey, DebitRequest pDebitRequest)
 {
     try {
         return(ApiRestServices.CreateObject <DebitRequest>(pPath + "/debit-request", pAPIKey, "debit_request", pDebitRequest));
     }
     catch (ApplicationException ae)
     {
         throw new ApplicationException(ae.Message);
     }
 }
Ejemplo n.º 2
0
 public static PaymentRequest CreatePaymentRequest(string pPath, string pAPIKey, string?pConnectAccount, PaymentRequest pPaymentRequest)
 {
     try {
         return(ApiRestServices.CreateObject <PaymentRequest>(pPath + "/payment-request", pAPIKey, pConnectAccount, "payment_request", pPaymentRequest));
     }
     catch (ApplicationException ae)
     {
         throw new ApplicationException(ae.Message);
     }
 }
Ejemplo n.º 3
0
 public static Adhesion CreateAdhesion(string pPath, string pAPIKey, Adhesion pAdhesion, bool pAutoSign)
 {
     try {
         string autoSign = "";
         return(ApiRestServices.CreateObject <Adhesion>(pPath + "/adhesion" + autoSign, pAPIKey, "adhesion", pAdhesion));
     }
     catch (ApplicationException ae)
     {
         throw new ApplicationException(ae.Message);
     }
 }
Ejemplo n.º 4
0
 public static PaymentRequest CreatePaymentRequest(string pPath, string pAPIKey, PaymentRequest pPaymentRequest)
 {
     return(ApiRestServices.CreateObject <PaymentRequest>(pPath + "/payment-request", pAPIKey, "payment_request", pPaymentRequest));
 }
Ejemplo n.º 5
0
        public static Adhesion CreateAdhesion(string pPath, string pAPIKey, Adhesion pAdhesion, bool pAutoSign)
        {
            string autoSign = "";

            return(ApiRestServices.CreateObject <Adhesion>(pPath + "/adhesion" + autoSign, pAPIKey, "adhesion", pAdhesion));
        }
Ejemplo n.º 6
0
 public static CardDebitRequest CreateDebitRequest(string pPath, string pAPIKey, CardDebitRequest pDebitRequest)
 {
     return(ApiRestServices.CreateObject <CardDebitRequest>(pPath + "/card-debit-request", pAPIKey, "card_debit_request", pDebitRequest));
 }
Ejemplo n.º 7
0
 public static DebitRequest CreateDebitRequest(string pPath, string pAPIKey, DebitRequest pDebitRequest)
 {
     return(ApiRestServices.CreateObject <DebitRequest>(pPath + "/debit-request", pAPIKey, "debit_request", pDebitRequest));
 }