public void UpdateBillingInfo()
        {
            RecurlyAccount acct = Factories.NewAccount("Update Billing Info");

            acct.Create();

            RecurlyBillingInfo billingInfo = Factories.NewBillingInfo(acct);

            billingInfo.Update();
        }
        public void ClearBillingInfo()
        {
            RecurlyAccount newAcct = Factories.NewAccount("Clear Billing Info");

            newAcct.Create();

            RecurlyBillingInfo billingInfo = Factories.NewBillingInfo(newAcct);

            billingInfo.Update();

            billingInfo.ClearBillingInfo();
        }
        public void LookupBillingInfo()
        {
            RecurlyAccount newAcct = Factories.NewAccount("Lookup Billing Info");

            newAcct.Create();

            RecurlyBillingInfo billingInfo = Factories.NewBillingInfo(newAcct);

            billingInfo.Update();

            RecurlyBillingInfo lookupBilling = RecurlyBillingInfo.Get(newAcct.AccountCode);

            Assert.AreEqual(billingInfo.Address1, lookupBilling.Address1);
            Assert.AreEqual(billingInfo.PostalCode, lookupBilling.PostalCode);
            Assert.IsNotNullOrEmpty(billingInfo.CreditCard.CreditCardType);
        }