コード例 #1
0
        public void ModifyCustomerAccountByAccountNumberAndSiteId(
            string accountNumber, int siteID, string dateOfBirth,
            string driverLicenseNumber, string businessName,
            string title, string firstName,
            string lastName, string middleInitial, string homeTelephone,
            string businessTelephone, string otherTelephone,
            string socialSecurityNumber, string pin, string emailAddress,
            string comments, BlockPaymentSetting paymentSetting)
        {
            try
            {
#if (!STUBS)
                CustomerAccountManager customerAccountManager = new CustomerAccountManager(this.userName, siteID);

                customerAccountManager.ModifyCustomerAccountByAccountNumberAndSiteId(
                    accountNumber, siteID, dateOfBirth, driverLicenseNumber,
                    businessName,
                    title, firstName, lastName, middleInitial,
                    homeTelephone, businessTelephone, otherTelephone,
                    socialSecurityNumber, pin, emailAddress,
                    comments, paymentSetting);
#endif
            } // try
            catch (Exception exc)
            {
                ExceptionManager.Publish(exc);
                throw CoxSoapException.Create(exc);
            } // catch( Exception exc )
        }     // ModifyCustomerAccountByHouseNumberAndSiteId()
コード例 #2
0
        public string CreateRoommateAccountByAccountNumberAndSiteId(string accountNumber9
                                                                    , int siteId
                                                                    , string firstName
                                                                    , string lastName
                                                                    , string middleInitial
                                                                    , string title
                                                                    , string dateOfBirth
                                                                    , string driverLicenseNumber
                                                                    , string socialSecurityNumber
                                                                    , string businessName
                                                                    , string homeTelephone
                                                                    , string businessTelephone
                                                                    , string otherTelephone
                                                                    , string pin
                                                                    , string emailAddress
                                                                    , string comments
                                                                    , string complex
                                                                    , AuditCheckCode auditCheckCode
                                                                    , CableServiceStatus cableServiceStatus)
        {
            //account number to be returned
            string accountNumber = string.Empty;

            try
            {
#if (!STUBS)
                CustomerAccountManager customerAccountManager = new CustomerAccountManager(this.userName, siteId);

                accountNumber = customerAccountManager.CreateRoommateAccountByAccountNumberAndSiteId(accountNumber9
                                                                                                     , siteId
                                                                                                     , firstName
                                                                                                     , lastName
                                                                                                     , middleInitial
                                                                                                     , title
                                                                                                     , dateOfBirth
                                                                                                     , driverLicenseNumber
                                                                                                     , socialSecurityNumber
                                                                                                     , businessName
                                                                                                     , homeTelephone
                                                                                                     , businessTelephone
                                                                                                     , otherTelephone
                                                                                                     , pin
                                                                                                     , emailAddress
                                                                                                     , comments
                                                                                                     , complex
                                                                                                     , auditCheckCode
                                                                                                     , cableServiceStatus);
#endif
            }//try
            catch (Exception exc)
            {
                ExceptionManager.Publish(exc);
                throw CoxSoapException.Create(exc);
            } // catch( Exception exc )

            return(accountNumber);
        }//CreateRoommateAccountByAccountNumberAndSiteId()
 public CustomerAccountProfile GetCustomerAccountByAccountNumber(string accountNumber13)
 {
     try
     {
         Cox.BusinessLogic.CustomerAccount.CustomerAccountInquire customerAccountInquire = new Cox.BusinessLogic.CustomerAccount.CustomerAccountInquire(this.userName);
         return(customerAccountInquire.GetCustomerAccountByAccountNumber(accountNumber13));
     }
     catch (Exception e)
     {
         ExceptionManager.Publish(e);
         throw CoxSoapException.Create(e);
     }
 }
 public CustomerAccountProfile GetCustomerAccountByPhoneNbrAndStreetNbr(string phoneNumber10, string streetNumber)
 {
     try
     {
         Cox.BusinessLogic.CustomerAccount.CustomerAccountInquire customerAccountInquire = new Cox.BusinessLogic.CustomerAccount.CustomerAccountInquire(this.userName);
         return(customerAccountInquire.GetCustomerAccountByPhoneNbrAndStreetNbr(phoneNumber10, streetNumber));
     }
     catch (Exception e)
     {
         ExceptionManager.Publish(e);
         throw CoxSoapException.Create(e);
     }
 }
        public CustomerContactInformation[] GetAccountByPhoneNumber(
            [XmlElement(IsNullable = true)] string phoneNumber10,
            bool getNeverAndFormerAsWell, [XmlIgnore()] bool getNeverAndFormerAsWellSpecified)
        {
            try
            {
                Cox.BusinessLogic.CustomerAccount.CustomerAccountInquire customerAccountInquire = new Cox.BusinessLogic.CustomerAccount.CustomerAccountInquire(this.userName);
                return(customerAccountInquire.getAccountAddressesbyPhoneNumber(phoneNumber10, getNeverAndFormerAsWell).ToArray());
            }

            catch (Exception e)
            {
                ExceptionManager.Publish(e);
                throw CoxSoapException.Create(e);
            }
        }