public function total(Product $product)
    {
        $tax      = $this->tax($product);
        $subtotal = $this->subtotal($product);
        $total    = $subtotal->add($tax);

        return $total;
    }
public function total(Product $product)
    {
        $tax      = $this->tax($product);
        $subtotal = $this->subtotal($product);
        $total    = $subtotal->add($tax);

        return $total;
    }
public function total ( Product $ product ) { $ tax = $ this -> tax ( $ product ) ; $ subtotal = $ this -> subtotal ( $ product ) ; $ total = $ subtotal -> add ( $ tax ) ; return $ total ; }
Return the total of the Product

@param Product $product
@return Money
Return the total of the Product