src/main/java/seedu/address/logic/parser/ParserUtil.java
public static ID parseFinanceid(String financeid) throws ParseException {
        requireNonNull(financeid);
        String timmedFinanceid = financeid.trim();
        if (!ID.isValidId(timmedFinanceid)) {
            throw new ParseException(ID.MESSAGE_CONSTRAINTS);
        }
        return new ID(timmedFinanceid);
    }
/**
     * Parses a {@code String financeid} into a {@code Financeid}. Leading and trailing whitespaces will be
     * trimmed.
     *
     * @throws ParseException if the given {@code financeid} is invalid.
     */
Parses a  String financeid into a  Financeid. Leading and trailing whitespaces will be
trimmed.

@throws ParseException if the given  financeid is invalid.
Parses a String financeid into a Financeid . Leading and trailing whitespaces will be trimmed . @throws ParseException if the given financeid is invalid .
public static ID parseFinanceid(String financeid) throws ParseException {
        requireNonNull(financeid);
        String timmedFinanceid = financeid.trim();
        if (!ID.isValidId(timmedFinanceid)) {
            throw new ParseException(ID.MESSAGE_CONSTRAINTS);
        }
        return new ID(timmedFinanceid);
    }
public static ID parseFinanceid ( String financeid ) throws ParseException { requireNonNull ( financeid ) ; String timmedFinanceid = financeid . trim ( ) ; if ( ! ID . isValidId ( timmedFinanceid ) ) { throw new ParseException ( ID . MESSAGE_CONSTRAINTS ) ; } return new ID ( timmedFinanceid ) ; }
Parses a {@code String financeid} into a {@code Financeid}.
Parses a { @code String financeid } into a { @code Financeid } .