//[02-02-09] Start Changes for Q-matic public CustomerAccountLogEntry(eCustomerAccountActivityType customerAccountActivityType, string phoneNumber10, string streetNumber) { _customerAccountActivityType = customerAccountActivityType; _phoneNumber = phoneNumber10; _streetNumber = streetNumber; }
//[04-02-09] Start Changes for Q-matic /// <summary> /// Constructor taking all information except Error Parameters. /// The thought it that you will probably never set the Error /// Information unless you have a problem and this will occur /// after construction. /// </summary> /// <param name="CustomerAccountActivityType"></param> public CustomerAccountLogEntry( eCustomerAccountActivityType customerAccountActivityType, int siteId ) : base() { _customerAccountActivityType = customerAccountActivityType; _siteId = siteId; }
/// <summary> /// Constructor taking all information except Error Parameters. /// The thought it that you will probably never set the Error /// Information unless you have a problem and this will occur /// after construction. /// </summary> /// <param name="customerAccountActivityType"></param> /// <param name="PhoneNumber"></param> public CustomerAccountLogEntry( eCustomerAccountActivityType customerAccountActivityType, string phoneNumber10) : base() { _customerAccountActivityType = customerAccountActivityType; _phoneNumber = phoneNumber10; }
/// <summary> /// Constructor taking all information except Error Parameters. /// The thought it that you will probably never set the Error /// Information unless you have a problem and this will occur /// after construction. /// </summary> /// <param name="customerAccountActivityType"></param> /// <param name="siteID"></param> /// <param name="accountNumber9"></param> public CustomerAccountLogEntry( eCustomerAccountActivityType customerAccountActivityType, int siteId, string accountNumber9) : base() { _customerAccountActivityType = customerAccountActivityType; _siteId=siteId; _customerAccountNumber = accountNumber9; }
/// <summary> /// Converts a string to the underlying activityType /// </summary> /// <param name="str"></param> /// <returns></returns> public new eCustomerAccountActivityType ConvertFromString( string str ) { eCustomerAccountActivityType _eat = eCustomerAccountActivityType.Unknown; try { _eat = (eCustomerAccountActivityType) base.ConvertFromString( str ); } catch{/*None necessary*/} return _eat; }
/// <summary> /// Constructor taking a string that evaluates to an underlying activityType /// </summary> /// <param name="str"></param> public CustomerAccountActivityTypeConverter( string str ) : base( typeof( eCustomerAccountActivityType ) ) { _eat = ConvertFromString( str ); }