public async Task TestPostWebHookRegistrations_Create() { var f = new BlueBank.BlueBankAccounts(); var webhook = new WebHookRegister(); List <string> filters = new List <string>(); filters.Add("*"); webhook.filters = filters.ToArray(); webhook.webHookUri = "http://example.io"; var r = await f.PostWebHookRegistrations_Create(ocp, auth, webhook); }
public DataTypes.Transactions.Transactions GetTransactionsByAccountId(string ocp, string auth, string accountid) { try { var f = new BlueBankAccounts().GetTransactions(ocp, auth, accountid).Result; return(f); } catch (Exception ex) { throw; } }
public String GetAccountByAccountIdAsync(string ocp, string auth, string accountid) { try { var f = new BlueBankAccounts().GetAccountsByAccountIdAsync(ocp, auth, accountid).Result; return(f); } catch (Exception ex) { throw; } }
public DataTypes.Payment.PaymentResult[] GetPaymentsForAllCustomers(string ocp, string auth) { try { var f = new BlueBankAccounts().GetPaymentsForAllCustomers(ocp, auth).Result; return(f); } catch (Exception ex) { throw; } }
public DataTypes.Account.Account GetCustomersAccounts(string ocp, string auth, string customerid) { try { var f = new BlueBankAccounts().GetCustomersAccounts(ocp, auth, customerid).Result; return(f); } catch (Exception ex) { throw; } }
public System.Net.Http.HttpResponseMessage PostWebHookRegistrations_Create(string ocp, string auth, DataTypes.WebHooks.WebHookRegister Webhook) { try { var f = new BlueBankAccounts().PostWebHookRegistrations_Create(ocp, auth, Webhook).Result; return(f); } catch (Exception ex) { throw; } }
public DataTypes.WebHooks.WebHookRegister GetWebHookRegistrations_GetByWebhookId(string ocp, string auth, string webhookid) { try { var f = new BlueBankAccounts().GetWebHookRegistrations_GetByWebhookId(ocp, auth, webhookid).Result; return(f); } catch (Exception ex) { throw; } }
public DataTypes.WebHooks.ClassWebHookFilter[] GetWebHookFilters_GetAll(string ocp, string auth) { try { var f = new BlueBankAccounts().GetWebHookFilters_GetAll(ocp, auth).Result; return(f); } catch (Exception ex) { throw; } }
public DataTypes.WebHooks.WebHookRegister[] GetWebHookRegistrations_GetAllForCustomers(string ocp, string auth) { try { var f = new BlueBankAccounts().GetWebHookRegistrations_GetAllForCustomers(ocp, auth).Result; return(f); } catch (Exception ex) { throw; } }
public DataTypes.Customer.Customer GetCustomersAsync(string ocp, string auth) { try { var f = new BlueBankAccounts().GetCustomersAsync(ocp, auth).Result; return(f); } catch (Exception ex) { throw; } }
public async Task TestMethodPostPayment() { var f = new BlueBank.BlueBankAccounts(); var payment = new BlueBank.DataTypes.Payment.Payment(); payment.paymentType = "XFR"; payment.fromAccountId = accountid; payment.toSortCode = "839999"; //839999 10002283 payment.toAccountNumber = "10002283"; payment.paymentReference = "College Fund"; payment.paymentAmount = 600.1F; payment.paymentCurrency = "GBP"; var r = await f.PaymentCreate(ocp, auth, payment); }
public async System.Threading.Tasks.Task TestMethodGetPaymentByIdAllCustomersAsync() { var f = new BlueBank.BlueBankAccounts(); await f.GetPaymentByIdForAllCustomers(ocp, auth, "812d2c17-5f69-49ac-9f15-36616b1a154f"); }
public async System.Threading.Tasks.Task TestMethodGetPaymentsForAllCustomersAsync() { var f = new BlueBank.BlueBankAccounts(); await f.GetPaymentsForAllCustomers(ocp, auth); }
public async System.Threading.Tasks.Task TestMethodGeTransactionsAsync() { var f = new BlueBank.BlueBankAccounts(); await f.GetTransactions(ocp, auth, accountid); }
public async System.Threading.Tasks.Task TestMethodGetAccountsAsync() { var f = new BlueBank.BlueBankAccounts(); await f.GetCustomersAccounts(ocp, auth, "a265a9b9-b4ee-4a1c-9ff4-e90724eba1b9"); }
public async Task GetWebHookRegistrations_GetAllForCustomer() { var f = new BlueBank.BlueBankAccounts(); var r = await f.GetWebHookRegistrations_GetAllForCustomers(ocp, auth); }
public async Task TestWebHookFilters_GetAll() { var f = new BlueBank.BlueBankAccounts(); var r = await f.GetWebHookFilters_GetAll(ocp, auth); }