web / UseAggregatedCountries
Interface: UseAggregatedCountries ​
Defined in: composables/useAggregatedCountries/types.ts:20
Properties ​
billingCountries ​
billingCountries:
ComputedRef<(ActiveShippingCountry|GeoRegulatedCountry)[]>
Defined in: composables/useAggregatedCountries/types.ts:27
default ​
default:
Readonly<Ref<UseAggregatedCountriesState["default"]>>
Defined in: composables/useAggregatedCountries/types.ts:21
fetchAggregatedCountries ​
fetchAggregatedCountries:
FetchAggregatedCountries
Defined in: composables/useAggregatedCountries/types.ts:24
geoRegulated ​
geoRegulated:
Readonly<Ref<UseAggregatedCountriesState["geoRegulated"]>>
Defined in: composables/useAggregatedCountries/types.ts:22
getCountryIsoCode ​
getCountryIsoCode: (
countryId) =>string
Defined in: composables/useAggregatedCountries/types.ts:31
Parameters ​
countryId ​
string
Returns ​
string
getCountryZipCodeRegex ​
getCountryZipCodeRegex: (
countryId,type) =>RegExp|null
Defined in: composables/useAggregatedCountries/types.ts:29
Parameters ​
countryId ​
number
type ​
AddressType
Returns ​
RegExp | null
loading ​
loading:
Readonly<Ref<boolean>>
Defined in: composables/useAggregatedCountries/types.ts:23
localeCountryName ​
localeCountryName: (
countryId) =>string
Defined in: composables/useAggregatedCountries/types.ts:28
Parameters ​
countryId ​
string
Returns ​
string
setCountries ​
setCountries:
SetCountries
Defined in: composables/useAggregatedCountries/types.ts:25
useGeoRegulatedCountries ​
useGeoRegulatedCountries:
boolean
Defined in: composables/useAggregatedCountries/types.ts:26
Methods ​
parseZipCodeRegex() ​
parseZipCodeRegex(
country):RegExp|null
Defined in: composables/useAggregatedCountries/types.ts:30
Parameters ​
country ​
ActiveShippingCountry | GeoRegulatedCountry
Returns ​
RegExp | null