public function setCountry($country)
    {
        $this->set('country', $country);

        $vat = $this->getService('repos:subscriptions.vat')->find(array('country' => $country));

        if ($vat) {
            $this->setVat($vat);
        }

        return $this;
    }
public function setCountry($country)
    {
        $this->set('country', $country);

        $vat = $this->getService('repos:subscriptions.vat')->find(array('country' => $country));

        if ($vat) {
            $this->setVat($vat);
        }

        return $this;
    }
public function setCountry ( $ country ) { $ this -> set ( 'country' , $ country ) ; $ vat = $ this -> getService ( 'repos:subscriptions.vat' ) -> find ( array ( 'country' => $ country ) ) ; if ( $ vat ) { $ this -> setVat ( $ vat ) ; } return $ this ; }
Set the country.

@param string $country The country code
Set the country .