Example #1
0
 /// <summary>
 /// Get information for all payment methods.
 /// </summary>
 /// <returns>Response containing a list of information for all payment methods</returns>
 public static PAYNLSDK.API.PaymentMethod.GetAll.Response GetAll()
 {
     PaymentMethodGetAll request = new PaymentMethodGetAll();
     Client c = new Client("", "");
     c.PerformRequest(request);
     return request.Response;
 }
Example #2
0
        /// <summary>
        /// Get information for all payment methods.
        /// </summary>
        /// <returns>Response containing a list of information for all payment methods</returns>
        public async Task <API.PaymentMethod.GetAll.Response> GetAllAsync()
        {
            var request = new PaymentMethodGetAll();
            await ClientService.PerformPostRequestAsync(request);

            return(request.Response);
        }
Example #3
0
        /// <summary>
        /// Get information for all payment methods.
        /// </summary>
        /// <returns>Response containing a list of information for all payment methods</returns>
        public PAYNLSDK.API.PaymentMethod.GetAll.Response GetAll()
        {
            var request = new PaymentMethodGetAll();

            _webClient.PerformRequest(request);
            return(request.Response);
        }
Example #4
0
        /// <summary>
        /// Get information for all payment methods.
        /// </summary>
        /// <returns>Response containing a list of information for all payment methods</returns>
        static public PAYNLSDK.API.PaymentMethod.GetAll.Response GetAll()
        {
            PaymentMethodGetAll request = new PaymentMethodGetAll();
            Client c = new Client("", "");

            c.PerformRequest(request);
            return(request.Response);
        }
Example #5
0
        /// <summary>
        /// Get information for all payment methods.
        /// </summary>
        /// <returns>Response containing a list of information for all payment methods</returns>
        static public API.PaymentMethod.GetAll.Response GetAll(IClient client)
        {
            var request = new PaymentMethodGetAll();

            client.PerformRequest(request);

            return(request.Response);
        }
Example #6
0
 public void dumpPaymentmethods()
 {
     ClearDebug();
     PAYNLSDK.API.PaymentMethod.GetAll.Request request = new PAYNLSDK.API.PaymentMethod.GetAll.Request();
     InitRequestDebug(request);
     APISettings.Client.PerformRequest(request);
     DebugRawResponse(request);
     tbMain.Text = request.Response.ToString();
 }
Example #7
0
 private void dumpPaymentmethodsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     APISettings.InitAPI();
     ClearDebug();
     PAYNLSDK.API.PaymentMethod.GetAll.Request request = new PAYNLSDK.API.PaymentMethod.GetAll.Request();
     InitRequestDebug(request);
     APISettings.Client.PerformRequest(request);
     DebugRawResponse(request);
     tbMain.Text = request.Response.ToString();
 }
Example #8
0
        public async Task DumpPaymentmethodsAsync()
        {
            ClearDebug();
            var request = new PAYNLSDK.API.PaymentMethod.GetAll.Request();

            InitRequestDebug(request);
            await ClientService.PerformPostRequestAsync(request);

            DebugRawResponse(request);
            tbMain.Text = request.Response.ToString();
        }
Example #9
0
        /// <summary>
        /// Get information for all payment methods.
        /// </summary>
        /// <returns>Response containing a list of information for all payment methods</returns>
        static public PAYNLSDK.API.PaymentMethod.GetAll.Response GetAll(string apiToken = null, string serviceId = null)
        {
            PaymentMethodGetAll request = new PaymentMethodGetAll();

            request.SetApiToken(apiToken);
            request.SetServiceId(serviceId);
            Client c = new Client("", "");

            c.PerformRequest(request);
            return(request.Response);
        }