GitHub

DaffGeographyMagentoService

A service for making Magento GraphQL queries for carts.

import { DaffGeographyMagentoService } from '@daffodil/geography/driver/magento'
@Injectable()
class DaffGeographyMagentoService implements DaffGeographyServiceInterface<DaffCountry> {
  countryTransformer: DaffMagentoCountryTransformer
  list(): Observable<DaffCountry[]>
  get(countryId: string): Observable<DaffCountry>
}

Properties

Name Type Description
countryTransformer DaffMagentoCountryTransformer
list Observable<DaffCountry[]>

Retrieves the list of countries available to the given store.

get Observable<DaffCountry>

Retrieve precise information about a specific country.