public function getPrice(PricingInterface $pricing) { return $pricing->getPrice($this->product, $this->quantity); }
public function getPrice(PricingInterface $pricing, $quantity = 1) { return $pricing->getPrice($this, $quantity); }