示例#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));
 }