src/Vat/VatNumber.php
protected function setVatNumber(string $vatNumber): void
    {
        if ( ! is_string($vatNumber)) {
            throw new \InvalidArgumentException(
                sprintf('The VAT Number MUST be a string. "%s" passed.', gettype($vatNumber))
            );
        }
        $this->vatNumber = $vatNumber;
    }
protected function setVatNumber(string $vatNumber): void
    {
        if ( ! is_string($vatNumber)) {
            throw new \InvalidArgumentException(
                sprintf('The VAT Number MUST be a string. "%s" passed.', gettype($vatNumber))
            );
        }
        $this->vatNumber = $vatNumber;
    }
protected function setVatNumber ( string $ vatNumber ) : void { if ( ! is_string ( $ vatNumber ) ) { throw new \ InvalidArgumentException ( sprintf ( 'The VAT Number MUST be a string. "%s" passed.' , gettype ( $ vatNumber ) ) ) ; } $ this -> vatNumber = $ vatNumber ; }
Method to set the full VAT Number.

@param string $vatNumber The full VAT number, with country ISO code
Method to set the full VAT Number .