src/ClearSaleID/Entity/Request/Address.php
public function setZipCode( $zipCode )
    {
        $zipCode = preg_replace( '/\D/', '', $zipCode );

        if (empty( $zipCode )) {
            throw new InvalidArgumentException( 'ZipCode is empty!' );
        }

        $this->zipCode = $zipCode;

        return $this;
    }
public function setZipCode( $zipCode )
    {
        $zipCode = preg_replace( '/\D/', '', $zipCode );

        if (empty( $zipCode )) {
            throw new InvalidArgumentException( 'ZipCode is empty!' );
        }

        $this->zipCode = $zipCode;

        return $this;
    }
public function setZipCode ( $ zipCode ) { $ zipCode = preg_replace ( '/\D/' , '' , $ zipCode ) ; if ( empty ( $ zipCode ) ) { throw new InvalidArgumentException ( 'ZipCode is empty!' ) ; } $ this -> zipCode = $ zipCode ; return $ this ; }
@param  string $zipCode

@return $this
@param string $zipCode