src/main/python/bktools/framework/money/currency.py
def code(cls, code: str) -> Optional[Currency]:
        """
        Retrieve the Currency object by its code.
        e.g. BRL, USD

        Parameters:
            code: The currency code. e.g. BRL

        Returns:
            the Currency object
        """
        code = code.upper()

        for entry in cls().__entries:
            if entry.code == code:
                return entry

        return None

        Retrieve the Currency object by its code.
        e.g. BRL, USD

        Parameters:
            code: The currency code. e.g. BRL

        Returns:
            the Currency object
        
Retrieve the Currency object by its code.
Retrieve the Currency object by its code .
def code(cls, code: str) -> Optional[Currency]:
        code = code.upper()
        for entry in cls().__entries:
            if entry.code == code:
                return entry
        return None
def code ( cls , code : str ) -> Optional [ Currency ] : code = code . upper ( ) for entry in cls ( ) . __entries : if entry . code == code : return entry return None
Retrieve the Currency object by its code.
Retrieve the Currency object by its code .
"""
        Retrieve the Currency object by its code.
        e.g. BRL, USD

        Parameters:
            code: The currency code. e.g. BRL

        Returns:
            the Currency object
        """
the Currency object
the Currency object
cls
code
str
The currency code. e.g. BRL
The currency code . e . g . BRL