public function setTaxes($value)
    {
        if (is_array($value)) {
            $bag = new Bag();
            foreach ($value as $taxParameters) {
                $bag->add(new Tax($taxParameters));
            }
            $value = $bag;
        }

        return $this->setParameter('taxes', $value);
    }