/// <summary> /// Get details for all payment profiles /// </summary> /// <returns>List of payment profile info</returns> public static PAYNLSDK.API.PaymentProfile.GetAll.Response GetAll() { PaymentProfileGetAll request = new PaymentProfileGetAll(); Client c = new Client("", ""); c.PerformRequest(request); return request.Response; }
/// <summary> /// Get details for all payment profiles /// </summary> /// <returns>List of payment profile info</returns> public PAYNLSDK.API.PaymentProfile.GetAll.Response GetAll() { PaymentProfileGetAll request = new PaymentProfileGetAll(); _webClient.PerformRequest(request); return(request.Response); }
/// <summary> /// Get details for all payment profiles /// </summary> /// <returns>List of payment profile info</returns> public async Task <API.PaymentProfile.GetAll.Response> GetAllAsync() { var request = new PaymentProfileGetAll(); await ClientService.PerformPostRequestAsync(request); return(request.Response); }
/// <summary> /// Get details for all payment profiles /// </summary> /// <returns>List of payment profile info</returns> static public PAYNLSDK.API.PaymentProfile.GetAll.Response GetAll() { PaymentProfileGetAll request = new PaymentProfileGetAll(); Client c = new Client("", ""); c.PerformRequest(request); return(request.Response); }
/// <summary> /// Get details for all payment profiles /// </summary> /// <returns>List of payment profile info</returns> static public API.PaymentProfile.GetAll.Response GetAll(IClient client) { var request = new PaymentProfileGetAll(); client.PerformRequest(request); return(request.Response); }
/// <summary> /// Get details for all payment profiles /// </summary> /// <returns>List of payment profile info</returns> static public PAYNLSDK.API.PaymentProfile.GetAll.Response GetAll(string apiToken = null, string serviceId = null) { PaymentProfileGetAll request = new PaymentProfileGetAll(); request.SetApiToken(apiToken); request.SetServiceId(serviceId); Client c = new Client("", ""); c.PerformRequest(request); return(request.Response); }
private void paymentProfilesToolStripMenuItem_Click(object sender, EventArgs e) { try { ClearDebug(); PAYNLSDK.API.PaymentProfile.GetAll.Request fixture = new PAYNLSDK.API.PaymentProfile.GetAll.Request(); InitRequestDebug(fixture); DumpNvc(fixture.GetParameters()); MyStaticPayNlClient.Client.PerformRequest(fixture); DebugRawResponse(fixture); tbMain.Text = fixture.Response.ToString(); } catch (PayNlException ee) { AddDebug("~~EXCEPTION~~"); AddDebug(ee.Message); } }
private async void PaymentProfilesToolStripMenuItem_Click(object sender, EventArgs e) { try { ClearDebug(); var fixture = new PAYNLSDK.API.PaymentProfile.GetAll.Request(); InitRequestDebug(fixture); DumpNvc(fixture.GetParameters()); await ClientService.PerformPostRequestAsync(fixture); DebugRawResponse(fixture); tbMain.Text = fixture.Response.ToString(); } catch (ErrorException ee) { AddDebug("~~EXCEPTION~~"); AddDebug(ee.Message); } }
private void paymentProfilesToolStripMenuItem_Click(object sender, EventArgs e) { try { APISettings.InitAPI(); ClearDebug(); PAYNLSDK.API.PaymentProfile.GetAll.Request fixture = new PAYNLSDK.API.PaymentProfile.GetAll.Request(); InitRequestDebug(fixture); DumpNvc(fixture.GetParameters()); APISettings.Client.PerformRequest(fixture); DebugRawResponse(fixture); tbMain.Text = fixture.Response.ToString(); } catch (ErrorException ee) { AddDebug("~~EXCEPTION~~"); AddDebug(ee.Message); } }