toggle menu
stripe-android
androidJvm
switch theme
search in API
stripe-core
/
com.stripe.android.core.model
/
CountryUtils
Country
Utils
object
CountryUtils
Members
Properties
supported
Billing
Countries
Link copied to clipboard
val
supportedBillingCountries
:
Set
<
String
>
Functions
does
Country
Use
Postal
Code
Link copied to clipboard
fun
doesCountryUsePostalCode
(
countryCode
:
CountryCode
)
:
Boolean
fun
doesCountryUsePostalCode
(
countryCode
:
String
)
:
Boolean
get
Country
By
Code
Link copied to clipboard
fun
getCountryByCode
(
countryCode
:
CountryCode
?
,
currentLocale
:
Locale
)
:
Country
?
get
Country
Code
By
Name
Link copied to clipboard
fun
getCountryCodeByName
(
countryName
:
String
,
currentLocale
:
Locale
)
:
CountryCode
?
get
Display
Country
Link copied to clipboard
fun
getDisplayCountry
(
countryCode
:
CountryCode
,
currentLocale
:
Locale
)
:
String
get
Ordered
Countries
Link copied to clipboard
fun
getOrderedCountries
(
currentLocale
:
Locale
)
:
List
<
Country
>
Show user's current locale first, followed by countries alphabetized by display name