Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function removeRate(TaxRateInterface $rate) {
   unset($this->rates[array_search($rate->getId(), $this->rates)]);
   return $this;
 }
Ejemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function setRate(TaxRateInterface $rate) {
   $this->rate = $rate->getId();
   return $this;
 }