Sharekhan.domain.SellTransaction.CalculateTotalPrice C# (CSharp) Метод

CalculateTotalPrice() приватный Метод

private CalculateTotalPrice ( Price unitPrice, int quantity ) : double
unitPrice Price
quantity int
Результат double
        private double CalculateTotalPrice(Price unitPrice, int quantity)
        {
            return unitPrice.Value*quantity;
        }