GitHub

DaffTestingGeographyService

import { DaffTestingGeographyService } from '@daffodil/geography/driver/testing'

@Injectable()
class DaffTestingGeographyService 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.