GitHub

DaffInMemoryGeographyService

import { DaffInMemoryGeographyService } from '@daffodil/geography/driver/in-memory'
@Injectable()
class DaffInMemoryGeographyService extends DaffInMemoryDriverBase implements DaffGeographyServiceInterface<DaffCountry> {
  get(countryId: string): Observable<DaffCountry>
  list(): Observable<DaffCountry[]>
}

Properties

Name Type Description
get Observable<DaffCountry>

Retrieve precise information about a specific country.

list Observable<DaffCountry[]>

Retrieves the list of countries available to the given store.