public decimal GetPriceEach(PricingModelObject SelectedPricingModel) { if (SelectedPricingModel == null) { return(SellingPrice - (Discount / Quantity)); } else { return(SelectedPricingModel.GetSalePrice(SellingPrice, WholeSalePrice + AdditionalOverhead, 0) - (Discount / Quantity)); } }
public decimal GetPriceEach(PricingModelObject SelectedPricingModel) { if (SelectedPricingModel == null) { return SellingPrice - (Discount / Quantity); } else { return SelectedPricingModel.GetSalePrice(SellingPrice, WholeSalePrice + AdditionalOverhead, 0) - (Discount / Quantity); } }
public decimal GetTotalPrice(PricingModelObject SelectedPricingModel) { if (SelectedPricingModel == null) { return(SellingPrice * Quantity - Discount); } else { return(SelectedPricingModel.GetSalePrice(SellingPrice, WholeSalePrice + AdditionalOverhead, 0) * Quantity - Discount); } }
public decimal GetTotalPrice(PricingModelObject SelectedPricingModel) { if (SelectedPricingModel == null) { return SellingPrice * Quantity - Discount; } else { return SelectedPricingModel.GetSalePrice(SellingPrice, WholeSalePrice + AdditionalOverhead, 0) * Quantity - Discount; } }