Update() public method

Update an existing account in Recurly
public Update ( ) : void
return void
コード例 #1
0
        public void UpdateAccount()
        {
            Account acct = new Account(Factories.GetMockAccountName());
            acct.Create();

            acct.LastName = "UpdateTest123";
            acct.Update();

            Account getAcct = Account.Get(acct.AccountCode);
            Assert.AreEqual(acct.LastName, getAcct.LastName);
        }