Пример #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 DebitRequest CancelDebitRequest(string pPath, string pAPIKey, int pId)
 {
     try {
         return(ApiRestServices.CancelObject <DebitRequest>(pPath + "/debit-request", pAPIKey, pId));
     }
     catch (ApplicationException ae)
     {
         throw new ApplicationException(ae.Message);
     }
 }
Пример #3
0
 public static CardDebitRequest GetCardDebitRequest(string pPath, string pAPIKey, int pId)
 {
     try {
         return(ApiRestServices.GetObject <CardDebitRequest>(pPath + "/card-debit-request", pAPIKey, pId));
     }
     catch (ApplicationException ae)
     {
         throw new ApplicationException(ae.Message);
     }
 }
Пример #4
0
 public static PaginationResult <DebitRequest> ListDebitRequests(string pPath, string pAPIKey, string pExternalReference)
 {
     try {
         return(ApiRestServices.ListObjects <DebitRequest>(pPath + "/debit-request?external_reference=" + pExternalReference, pAPIKey));
     }
     catch (ApplicationException ae)
     {
         throw new ApplicationException(ae.Message);
     }
 }
Пример #5
0
 public static PaginationResult <CardDebitRequest> ListDebitRequests(string pPath, string pAPIKey)
 {
     try {
         return(ApiRestServices.ListObjects <CardDebitRequest>(pPath + "/card-debit-request", pAPIKey));
     }
     catch (ApplicationException ae)
     {
         throw new ApplicationException(ae.Message);
     }
 }
Пример #6
0
 public static PaymentRequest GetPaymentRequest(string pPath, string pAPIKey, int pPaymentId)
 {
     try {
         return(ApiRestServices.GetObject <PaymentRequest>(pPath + "/payment-request", pAPIKey, pPaymentId));
     }
     catch (ApplicationException ae)
     {
         throw new ApplicationException(ae.Message);
     }
 }
Пример #7
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);
     }
 }
Пример #8
0
 public static CardAdhesion CancelAdhesion(string pPath, string pAPIKey, int pId)
 {
     try {
         return(ApiRestServices.CancelObject <CardAdhesion>(pPath + "/card-adhesion", pAPIKey, pId));
     }
     catch (ApplicationException ae)
     {
         throw new ApplicationException(ae.Message);
     }
 }
Пример #9
0
 public static Adhesion GetAdhesion(string pPath, string pAPIKey, int pId)
 {
     try {
         return(ApiRestServices.GetObject <Adhesion>(pPath + "/adhesion", pAPIKey, pId));
     }
     catch (ApplicationException ae)
     {
         throw new ApplicationException(ae.Message);
     }
 }
Пример #10
0
 public static PaginationResult <Adhesion> ListAdhesions(string pPath, string pParam, string pAPIKey)
 {
     try
     {
         return(ApiRestServices.ListObjects <Adhesion>(pPath + "/adhesion" + pParam, pAPIKey));
     }
     catch (ApplicationException ae)
     {
         throw new ApplicationException(ae.Message);
     }
 }
Пример #11
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);
     }
 }
Пример #12
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));
        }
Пример #13
0
 public static CardDebitRequest CancelDebitRequest(string pPath, string pAPIKey, int pId)
 {
     return(ApiRestServices.CancelObject <CardDebitRequest>(pPath + "/card-debit-request", pAPIKey, pId));
 }
Пример #14
0
 public static PaginationResult <Adhesion> ListAdhesions(string pPath, string pParam, string pAPIKey)
 {
     return(ApiRestServices.ListObjects <Adhesion>(pPath + "/adhesion" + pParam, pAPIKey));
 }
Пример #15
0
 public static PaginationResult <CardDebitRequest> ListDebitRequests(string pPath, string pAPIKey, string pExternalReference)
 {
     return(ApiRestServices.ListObjects <CardDebitRequest>(pPath + "/card-debit-request?external_reference=" + pExternalReference, pAPIKey));
 }
Пример #16
0
 public static CardDebitRequest CreateDebitRequest(string pPath, string pAPIKey, CardDebitRequest pDebitRequest)
 {
     return(ApiRestServices.CreateObject <CardDebitRequest>(pPath + "/card-debit-request", pAPIKey, "card_debit_request", pDebitRequest));
 }
Пример #17
0
 public static PaginationResult <CardDebitRequest> ListDebitRequests(string pPath, string pAPIKey)
 {
     return(ApiRestServices.ListObjects <CardDebitRequest>(pPath + "/card-debit-request", pAPIKey));
 }
Пример #18
0
 public static string GetNextBusinessDay(string pPath, string pAPIKey, BusinessDay pDebitRequest)
 {
     return(ApiRestServices.GetFirstDudeDate <BusinessDay>(pPath + "/validator/next-business-day", pAPIKey, "next_business_day", pDebitRequest));
 }
Пример #19
0
 public static DebitRequest GetDebitRequest(string pPath, string pAPIKey, int pId)
 {
     return(ApiRestServices.GetObject <DebitRequest>(pPath + "/debit-request", pAPIKey, pId));
 }
Пример #20
0
 public static Adhesion CancelAdhesion(string pPath, string pAPIKey, int pId)
 {
     return(ApiRestServices.CancelObject <Adhesion>(pPath + "/adhesion", pAPIKey, pId));
 }
Пример #21
0
 public static PaymentRequest GetPaymentRequest(string pPath, string pAPIKey, int pPaymentId)
 {
     return(ApiRestServices.GetObject <PaymentRequest>(pPath + "/payment-request", pAPIKey, pPaymentId));
 }
Пример #22
0
 public static PaymentRequest CreatePaymentRequest(string pPath, string pAPIKey, PaymentRequest pPaymentRequest)
 {
     return(ApiRestServices.CreateObject <PaymentRequest>(pPath + "/payment-request", pAPIKey, "payment_request", pPaymentRequest));
 }
Пример #23
0
 public static DebitRequest CreateDebitRequest(string pPath, string pAPIKey, DebitRequest pDebitRequest)
 {
     return(ApiRestServices.CreateObject <DebitRequest>(pPath + "/debit-request", pAPIKey, "debit_request", pDebitRequest));
 }
Пример #24
0
 public static PaginationResult <PaymentRequest> ListPaymentRequests(string pPath, string pAPIKey)
 {
     return(ApiRestServices.ListObjects <PaymentRequest>(pPath + "/payment-request", pAPIKey));
 }
Пример #25
0
 public static CardAdhesion GetAdhesion(string pPath, string pAPIKey, int pId)
 {
     return(ApiRestServices.GetObject <CardAdhesion>(pPath + "/card-adhesion", pAPIKey, pId));
 }