DaffMagentoCountryTransformer
Transforms magento carts into an object usable by daffodil.
import { DaffMagentoCountryTransformer } from '@daffodil/geography/driver/magento'
@Injectable()
class DaffMagentoCountryTransformer {
subdivisionTransformer: DaffMagentoSubdivisionTransformer
transform(country: MagentoCountry): DaffCountry
}
Properties
Name | Type | Description |
---|---|---|
subdivisionTransformer | DaffMagentoSubdivisionTransformer | |
transform | DaffCountry | Transforms the MagentoCountry from the magento country query into a DaffCountry. |