support-internationalisation
support-internationalisation
com.gu.i18n
Country
Country
CountryGroup
CountryGroup
Currency
Currency
AUD
CAD
EUR
GBP
NZD
USD
OtherCurrency
PostCode
PostalCode
Title
Title
ZipCode
support-internationalisation
/
com.gu.i18n
/
CountryGroup
CountryGroup
object
CountryGroup
Companion:
class
Graph
Supertypes
Self type
trait
Product
trait
Mirror
class
Object
trait
Matchable
class
Any
CountryGroup
.type
Type members
Value members
Type members
Inherited types
type
MirroredElemLabels
<:
Tuple
The names of the product elements
The names of the product elements
Inherited from:
Mirror
type
MirroredLabel
<:
String
The name of the type
The name of the type
Inherited from:
Mirror
Value members
Concrete methods
def
availableCurrency
(
currencies:
Set
[
Currency
])(
country:
Country
):
Option
[
Currency
]
def
byCountryCode
(
c:
String
):
Option
[
CountryGroup
]
def
byCountryNameOrCode
(
str:
String
):
Option
[
CountryGroup
]
def
byFastlyCountryCode
(
c:
String
):
Option
[
CountryGroup
]
def
byId
(
id:
String
):
Option
[
CountryGroup
]
def
byName
(
name:
String
):
Option
[
CountryGroup
]
def
byOptimisticCountryNameOrCode
(
str:
String
):
Option
[
Country
]
def
countryByCode
(
str:
String
):
Option
[
Country
]
def
countryByName
(
str:
String
):
Option
[
Country
]
def
countryByNameOrCode
(
str:
String
):
Option
[
Country
]
Concrete fields
val
Australia
:
CountryGroup
val
C
:
Country
.type
val
Canada
:
CountryGroup
val
Europe
:
CountryGroup
val
NewZealand
:
CountryGroup
val
RestOfTheWorld
:
CountryGroup
val
UK
:
CountryGroup
val
US
:
CountryGroup
val
allGroups
:
List
[
CountryGroup
]
val
countries
:
List
[
Country
]
val
countriesByISO2
:
Map
[
String
,
Country
]
val
countriesByISO3
:
Map
[
String
,
Country
]