Exemple #1
0
        private async Task <List <SupplierInvoiceFileConnections> > GetConnections()
        {
            var request = new SupplierInvoiceFileConnectionListRequest(
                connectionSettings.AccessToken,
                connectionSettings.ClientSecret
                );

            return((await SupplierInvoiceFileConnectionService.GetSupplierInvoiceFileConnectionsAsync(request)).Data?.ToList());
        }
Exemple #2
0
        public async Task ItCanGetConnections()
        {
            var request = new SupplierInvoiceFileConnectionListRequest(
                connectionSettings.AccessToken,
                connectionSettings.ClientSecret
                );
            var response = await SupplierInvoiceFileConnectionService.GetSupplierInvoiceFileConnectionsAsync(request);

            Assert.IsNotNull(response);
            Assert.IsNotNull(response.Data);
        }