}                                               //end ContractServiceBundleUnit()

        public ContractServiceBundleUnit(net.autotask.webservices.ContractServiceBundleUnit entity) : base(entity)
        {
            this.ContractID              = int.Parse(entity.ContractID.ToString());
            this.EndDate                 = DateTime.Parse(entity.EndDate.ToString());
            this.ServiceBundleID         = int.Parse(entity.ServiceBundleID.ToString());
            this.StartDate               = DateTime.Parse(entity.StartDate.ToString());
            this.Units                   = int.Parse(entity.Units.ToString());
            this.ApproveAndPostDate      = entity.ApproveAndPostDate == null ? default(DateTime?) : DateTime.Parse(entity.ApproveAndPostDate.ToString());
            this.ContractServiceBundleID = entity.ContractServiceBundleID == null ? default(int?) : int.Parse(entity.ContractServiceBundleID.ToString());
            this.Cost = double.Parse(entity.Cost.ToString());
            this.InternalCurrencyPrice = double.Parse(entity.InternalCurrencyPrice.ToString());
            this.Price = double.Parse(entity.Price.ToString());
        } //end ContractServiceBundleUnit(net.autotask.webservices.ContractServiceBundleUnit entity)
        }                                               //end ContractServiceBundleUnit()

        public ContractServiceBundleUnit(net.autotask.webservices.ContractServiceBundleUnit entity) : base(entity)
        {
        } //end ContractServiceBundleUnit(net.autotask.webservices.ContractServiceBundleUnit entity)