Package com.softlayer.api.service.locale
Interface Country.Service
-
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Country
@ApiService("SoftLayer_Locale_Country") public static interface Country.Service extends Service
This service provides methods to retrieve country locale information.- See Also:
- SoftLayer_Locale_Country
-
-
Method Summary
Modifier and Type Method Description Country.ServiceAsync
asAsync()
Get an async version of this serviceList<VatCountryCodeAndFormat>
getAllVatCountryCodesAndVatIdRegexes()
This method is to get the collection of VAT country codes and VAT ID Regexes.List<Country>
getAvailableCountries()
Use this method to retrieve a list of countries and locale information available to the current user.List<Country>
getCountries()
Use this method to retrieve a list of countries and locale information such as country code and state/provinces.List<CountryCode>
getCountriesAndStates(Boolean usFirstFlag)
Country
getObject()
List<StateProvince>
getStates()
States that belong to this country.Boolean
isEuropeanUnionCountry(String iso2CountryCode)
void
setMask(Country.Mask mask)
Country.Mask
withMask()
Use the existing mask on this service or create it if not presentCountry.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
asAsync
Country.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service
-
withNewMask
Country.Mask withNewMask()
Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Country.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present
-
setMask
void setMask(Country.Mask mask)
-
getAllVatCountryCodesAndVatIdRegexes
@ApiMethod List<VatCountryCodeAndFormat> getAllVatCountryCodesAndVatIdRegexes()
This method is to get the collection of VAT country codes and VAT ID Regexes.
-
getAvailableCountries
@ApiMethod List<Country> getAvailableCountries()
Use this method to retrieve a list of countries and locale information available to the current user.
-
getCountries
@ApiMethod List<Country> getCountries()
Use this method to retrieve a list of countries and locale information such as country code and state/provinces.- See Also:
- SoftLayer_Locale_Country::getCountries
-
getCountriesAndStates
@ApiMethod List<CountryCode> getCountriesAndStates(Boolean usFirstFlag)
-
getObject
@ApiMethod(instanceRequired=true) Country getObject()
- See Also:
- SoftLayer_Locale_Country::getObject
-
isEuropeanUnionCountry
@ApiMethod Boolean isEuropeanUnionCountry(String iso2CountryCode)
-
getStates
@ApiMethod(instanceRequired=true) List<StateProvince> getStates()
States that belong to this country.- See Also:
- SoftLayer_Locale_Country::getStates
-
-