web / UseAggregatedCountries
Interface: UseAggregatedCountries ​
Defined in: apps/web/composables/useAggregatedCountries/types.ts:16
Properties ​
billingCountries ​
billingCountries:
ComputedRef
<(ActiveShippingCountry
|GeoRegulatedCountry
)[]>
Defined in: apps/web/composables/useAggregatedCountries/types.ts:22
default ​
default:
Readonly
<Ref
<ActiveShippingCountry
[],ActiveShippingCountry
[]>>
Defined in: apps/web/composables/useAggregatedCountries/types.ts:17
fetchAggregatedCountries ​
fetchAggregatedCountries:
FetchAggregatedCountries
Defined in: apps/web/composables/useAggregatedCountries/types.ts:20
geoRegulated ​
geoRegulated:
Readonly
<Ref
<GeoRegulatedCountry
[],GeoRegulatedCountry
[]>>
Defined in: apps/web/composables/useAggregatedCountries/types.ts:18
getCountryZipCodeRegex() ​
getCountryZipCodeRegex: (
countryId
,type
) =>null
|RegExp
Defined in: apps/web/composables/useAggregatedCountries/types.ts:24
Parameters ​
countryId ​
number
type ​
AddressType
Returns ​
null
| RegExp
loading ​
loading:
Readonly
<Ref
<boolean
,boolean
>>
Defined in: apps/web/composables/useAggregatedCountries/types.ts:19
localeCountryName() ​
localeCountryName: (
countryId
) =>string
Defined in: apps/web/composables/useAggregatedCountries/types.ts:23
Parameters ​
countryId ​
string
Returns ​
string
useGeoRegulatedCountries ​
useGeoRegulatedCountries:
boolean
Defined in: apps/web/composables/useAggregatedCountries/types.ts:21
Methods ​
parseZipCodeRegex() ​
parseZipCodeRegex(
country
):null
|RegExp
Defined in: apps/web/composables/useAggregatedCountries/types.ts:25
Parameters ​
country ​
ActiveShippingCountry
| GeoRegulatedCountry
Returns ​
null
| RegExp