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[]>
}

() Methods

get
Observable<DaffCountry>

Retrieve precise information about a specific country.

Parameters
ParametercountryId: string
Description
list
Observable<DaffCountry[]>

Retrieves the list of countries available to the given store.