GitHub

DaffGeographyMagentoService

import { DaffGeographyMagentoService } from '@daffodil/geography/driver/magento'

A service for making Magento GraphQL queries for carts.

@Injectable()
class DaffGeographyMagentoService implements DaffGeographyServiceInterface<DaffCountry> {
  countryTransformer: DaffMagentoCountryTransformer

  list(): Observable<DaffCountry[]>
  get(countryId: string): Observable<DaffCountry>
}

() Methods

list
Observable<DaffCountry[]>

Retrieves the list of countries available to the given store.

get
Observable<DaffCountry>

Retrieve precise information about a specific country.

Parameters
ParametercountryId: string
Description