Inheritance: QuickPayRestClient
        public void GetsAgreements()
        {
            var sut = new MerchantExample(QpConfig.ApiKey);
            var result = sut.Agreements(null, new SortingParameters{SortDirection = SortDirection.asc, SortBy = "id"});

            Assert.AreNotEqual (0, result.Count);
        }
        public void GetsActivity()
        {
            var sut = new MerchantExample(QpConfig.Username, QpConfig.Password);
            var result = sut.Activity();

            Assert.AreNotEqual (0, result.Count);
        }
        public void GetsAcquirerOperationalStatus()
        {
            var sut = new MerchantExample(QpConfig.Username, QpConfig.Password);
            var result = sut.AcquirerOperationalStatus();

            Assert.AreNotEqual (0, result.Count);
        }
 public void CanGetAclResources()
 {
     var sut = new MerchantExample(QpConfig.Username, QpConfig.Password);
     var result = sut.AclResources(AccountType.Merchant, new PageParameters{Page = 1, PageSize = 20});
     Assert.AreNotEqual(0, result.Count);
     Assert.NotNull(result[0].Description);
 }
        public void GetsPayments()
        {
            var sut = new MerchantExample(QpConfig.ApiKey);
            var result = sut.Payments();

            Assert.AreNotEqual (0, result.Count);
        }
 public void CanGetAccountInformation()
 {
     var sut = new MerchantExample(QpConfig.ApiKey);
     var result = sut.Account();
     Assert.AreNotEqual(null, result);
 }