src/Genesis/API/Traits/Request/Financial/PproAttributes.php
public function setNationalId($value)
    {
        if (strlen($value) > $this->getNationalIdLen()) {
            throw new ErrorParameter("National Identifier can be max {$this->getNationalIdLen()} characters.");
        }

        $this->national_id = $value;

        return $this;
    }
public function setNationalId($value)
    {
        if (strlen($value) > $this->getNationalIdLen()) {
            throw new ErrorParameter("National Identifier can be max {$this->getNationalIdLen()} characters.");
        }

        $this->national_id = $value;

        return $this;
    }
public function setNationalId ( $ value ) { if ( strlen ( $ value ) > $ this -> getNationalIdLen ( ) ) { throw new ErrorParameter ( "National Identifier can be max {$this->getNationalIdLen()} characters." ) ; } $ this -> national_id = $ value ; return $ this ; }
National Identifier number of the customer

@param string $value

@return $this
@throws ErrorParameter
National Identifier number of the customer