/// <summary> /// Create a new CarrierInvoiceProfileFeeSchedule object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="carrierInvoiceProfileID">Initial value of the CarrierInvoiceProfileID property.</param> /// <param name="rangeAmountFrom">Initial value of the RangeAmountFrom property.</param> /// <param name="rangeAmountTo">Initial value of the RangeAmountTo property.</param> /// <param name="flatFee">Initial value of the FlatFee property.</param> /// <param name="percentFee">Initial value of the PercentFee property.</param> /// <param name="minimumFee">Initial value of the MinimumFee property.</param> public static CarrierInvoiceProfileFeeSchedule CreateCarrierInvoiceProfileFeeSchedule(global::System.Int32 id, global::System.Int32 carrierInvoiceProfileID, global::System.Decimal rangeAmountFrom, global::System.Decimal rangeAmountTo, global::System.Decimal flatFee, global::System.Decimal percentFee, global::System.Decimal minimumFee) { CarrierInvoiceProfileFeeSchedule carrierInvoiceProfileFeeSchedule = new CarrierInvoiceProfileFeeSchedule(); carrierInvoiceProfileFeeSchedule.ID = id; carrierInvoiceProfileFeeSchedule.CarrierInvoiceProfileID = carrierInvoiceProfileID; carrierInvoiceProfileFeeSchedule.RangeAmountFrom = rangeAmountFrom; carrierInvoiceProfileFeeSchedule.RangeAmountTo = rangeAmountTo; carrierInvoiceProfileFeeSchedule.FlatFee = flatFee; carrierInvoiceProfileFeeSchedule.PercentFee = percentFee; carrierInvoiceProfileFeeSchedule.MinimumFee = minimumFee; return carrierInvoiceProfileFeeSchedule; }
/// <summary> /// Deprecated Method for adding a new object to the CarrierInvoiceProfileFeeSchedules EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCarrierInvoiceProfileFeeSchedules(CarrierInvoiceProfileFeeSchedule carrierInvoiceProfileFeeSchedule) { base.AddObject("CarrierInvoiceProfileFeeSchedules", carrierInvoiceProfileFeeSchedule); }