def METHOD_NAME(self, length: int = 13, prefixes: PrefixType = ()) -> str:
    """Generate an EAN barcode of the specified ``length``.
    The value of ``length`` can only be ``8`` or ``13`` (default) which will
    create an EAN-8 or an EAN-13 barcode respectively.
    If a value for ``prefixes`` is specified, the result will begin with one
    of the sequences in ``prefixes``.
    :sample: length=13
    :sample: length=8
    :sample: prefixes=('00',)
    :sample: prefixes=('45', '49')
    """
    return self._ean(length, prefixes=prefixes)