/// <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; }
/// <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); }
/// <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); }
/// <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); }
/// <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); }
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(); }
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(); }
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(); }
/// <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); }