public function setFederalTax(array $taxes)
    {
        $meta = clone $this->meta;

        $taxes = new AnConfig($taxes);
        $values = array();

        foreach ($taxes as $tax) {
            if ($tax->value != 0) {
                $value = $tax->value;
                $name = $tax->name;

                if ($value > 1) {
                    $value = $value / 100;
                }

                $values[strtolower($name)] = array('name' => $name, 'value' => min(max(0, $value), 1));
            }
        }

        $meta['federal_taxes'] = $values;

        $this->meta = $meta;
    }