Companion

object Companion

Functions

Link copied to clipboard
fun parse(languageCode: String): Currency

Parses the given language code and returns the corresponding Currency enum constant. If the code does not match any currency, USD is returned as the default.