Exemple #1
0
        }                                               //end ContractServiceAdjustment()

        public ContractServiceAdjustment(net.autotask.webservices.ContractServiceAdjustment entity) : base(entity)
        {
            this.EffectiveDate      = DateTime.Parse(entity.EffectiveDate.ToString());
            this.UnitChange         = entity.UnitChange == null ? default(int?) : int.Parse(entity.UnitChange.ToString());
            this.AdjustedUnitCost   = double.Parse(entity.AdjustedUnitCost.ToString());
            this.AdjustedUnitPrice  = double.Parse(entity.AdjustedUnitPrice.ToString());
            this.AllowRepeatService = entity.AllowRepeatService == null ? default(bool?) : bool.Parse(entity.AllowRepeatService.ToString());
            this.ContractID         = entity.ContractID == null ? default(int?) : int.Parse(entity.ContractID.ToString());
            this.ContractServiceID  = entity.ContractServiceID == null ? default(int?) : int.Parse(entity.ContractServiceID.ToString());
            this.QuoteItemID        = entity.QuoteItemID == null ? default(int?) : int.Parse(entity.QuoteItemID.ToString());
            this.ServiceID          = entity.ServiceID == null ? default(int?) : int.Parse(entity.ServiceID.ToString());
        } //end ContractServiceAdjustment(net.autotask.webservices.ContractServiceAdjustment entity)
        }                                               //end ContractServiceAdjustment()

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