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); } }
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); } }
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); } }
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); } }
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); } }
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); } }
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); } }
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); } }
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); } }
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); } }
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); } }
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 CancelDebitRequest(string pPath, string pAPIKey, int pId) { return(ApiRestServices.CancelObject <CardDebitRequest>(pPath + "/card-debit-request", pAPIKey, pId)); }
public static PaginationResult <Adhesion> ListAdhesions(string pPath, string pParam, string pAPIKey) { return(ApiRestServices.ListObjects <Adhesion>(pPath + "/adhesion" + pParam, pAPIKey)); }
public static PaginationResult <CardDebitRequest> ListDebitRequests(string pPath, string pAPIKey, string pExternalReference) { return(ApiRestServices.ListObjects <CardDebitRequest>(pPath + "/card-debit-request?external_reference=" + pExternalReference, pAPIKey)); }
public static CardDebitRequest CreateDebitRequest(string pPath, string pAPIKey, CardDebitRequest pDebitRequest) { return(ApiRestServices.CreateObject <CardDebitRequest>(pPath + "/card-debit-request", pAPIKey, "card_debit_request", pDebitRequest)); }
public static PaginationResult <CardDebitRequest> ListDebitRequests(string pPath, string pAPIKey) { return(ApiRestServices.ListObjects <CardDebitRequest>(pPath + "/card-debit-request", pAPIKey)); }
public static string GetNextBusinessDay(string pPath, string pAPIKey, BusinessDay pDebitRequest) { return(ApiRestServices.GetFirstDudeDate <BusinessDay>(pPath + "/validator/next-business-day", pAPIKey, "next_business_day", pDebitRequest)); }
public static DebitRequest GetDebitRequest(string pPath, string pAPIKey, int pId) { return(ApiRestServices.GetObject <DebitRequest>(pPath + "/debit-request", pAPIKey, pId)); }
public static Adhesion CancelAdhesion(string pPath, string pAPIKey, int pId) { return(ApiRestServices.CancelObject <Adhesion>(pPath + "/adhesion", pAPIKey, pId)); }
public static PaymentRequest GetPaymentRequest(string pPath, string pAPIKey, int pPaymentId) { return(ApiRestServices.GetObject <PaymentRequest>(pPath + "/payment-request", pAPIKey, pPaymentId)); }
public static PaymentRequest CreatePaymentRequest(string pPath, string pAPIKey, PaymentRequest pPaymentRequest) { return(ApiRestServices.CreateObject <PaymentRequest>(pPath + "/payment-request", pAPIKey, "payment_request", pPaymentRequest)); }
public static DebitRequest CreateDebitRequest(string pPath, string pAPIKey, DebitRequest pDebitRequest) { return(ApiRestServices.CreateObject <DebitRequest>(pPath + "/debit-request", pAPIKey, "debit_request", pDebitRequest)); }
public static PaginationResult <PaymentRequest> ListPaymentRequests(string pPath, string pAPIKey) { return(ApiRestServices.ListObjects <PaymentRequest>(pPath + "/payment-request", pAPIKey)); }
public static CardAdhesion GetAdhesion(string pPath, string pAPIKey, int pId) { return(ApiRestServices.GetObject <CardAdhesion>(pPath + "/card-adhesion", pAPIKey, pId)); }