コード例 #1
0
        public async Task ItCanGetPredefinedAccounts()
        {
            var request  = new PredefinedAccountListRequest(connectionSettings.AccessToken, connectionSettings.ClientSecret);
            var response = await PredefinedAccountsService.GetPredefinedAccountsAsync(request);

            Assert.IsNotNull(response);
            Assert.IsNotNull(response.Data);
        }
コード例 #2
0
        private async Task <List <PredefinedAccounts> > GetPredefinedAccounts()
        {
            var request = new PredefinedAccountListRequest(connectionSettings.AccessToken, connectionSettings.ClientSecret);

            return((await PredefinedAccountsService.GetPredefinedAccountsAsync(request)).Data.ToList());
        }