Ejemplo n.º 1
0
        public void TestRenameBankAccount()
        {
            var m = _merchantService.GetMerchant();
            var a = m.AchAccounts[0];

            Assert.IsTrue(a != null);
            var updated = _merchantService.UpdateAchAccount(a.Id, new AchAccountOptions()
            {
                Name    = "the new bank account name",
                Primary = a.Primary,
                RequiredPaymentFields = a.RequiredPaymentFields
            });

            Assert.IsTrue(updated.Name == "the new bank account name");
        }