GitHub

DaffGeographyServiceInterface

Type

import { DaffGeographyServiceInterface } from '@daffodil/geography/driver'

interface DaffGeographyServiceInterface<T extends DaffCountry = DaffCountry> {
  list(): any
  get(id: T["id"]): any
}

() Methods

list
any

Retrieves the list of countries available to the given store.

get
any

Retrieve precise information about a specific country.

Parameters
Parameterid: T["id"]
Description