示例#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);
     }
 }
示例#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);
     }
 }
示例#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);
     }
 }
示例#4
0
 public static PaymentRequest CreatePaymentRequest(string pPath, string pAPIKey, PaymentRequest pPaymentRequest)
 {
     return(ApiRestServices.CreateObject <PaymentRequest>(pPath + "/payment-request", pAPIKey, "payment_request", pPaymentRequest));
 }
示例#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));
        }
 public static CardDebitRequest CreateDebitRequest(string pPath, string pAPIKey, CardDebitRequest pDebitRequest)
 {
     return(ApiRestServices.CreateObject <CardDebitRequest>(pPath + "/card-debit-request", pAPIKey, "card_debit_request", pDebitRequest));
 }
示例#7
0
 public static DebitRequest CreateDebitRequest(string pPath, string pAPIKey, DebitRequest pDebitRequest)
 {
     return(ApiRestServices.CreateObject <DebitRequest>(pPath + "/debit-request", pAPIKey, "debit_request", pDebitRequest));
 }