} //end ContractRetainer() public ContractRetainer(net.autotask.webservices.ContractRetainer entity) : base(entity) { this.Amount = double.Parse(entity.Amount.ToString()); this.ContractID = int.Parse(entity.ContractID.ToString()); this.DatePurchased = DateTime.Parse(entity.DatePurchased.ToString()); this.EndDate = DateTime.Parse(entity.EndDate.ToString()); this.StartDate = DateTime.Parse(entity.StartDate.ToString()); this.Status = int.Parse(entity.Status.ToString()); this.AmountApproved = double.Parse(entity.AmountApproved.ToString()); this.InternalCurrencyAmount = double.Parse(entity.InternalCurrencyAmount.ToString()); this.InternalCurrencyAmountApproved = double.Parse(entity.InternalCurrencyAmountApproved.ToString()); this.InvoiceNumber = entity.InvoiceNumber == null ? default(string) : entity.InvoiceNumber.ToString(); this.IsPaid = entity.IsPaid == null ? default(int?) : int.Parse(entity.IsPaid.ToString()); this.paymentID = entity.paymentID == null ? default(int?) : int.Parse(entity.paymentID.ToString()); this.PaymentNumber = entity.PaymentNumber == null ? default(string) : entity.PaymentNumber.ToString(); } //end Account(net.autotask.webservices.Account entity)
} //end ContractRetainer() public ContractRetainer(net.autotask.webservices.ContractRetainer entity) : base(entity) { } //end Account(net.autotask.webservices.Account entity)