public interface

MagentoDirectoryClient

org.mule.module.magento.api.directory.MagentoDirectoryClient<ExceptionType extends java.lang.Exception>
Known Indirect Subclasses

Class Overview

Facade for the Magento Directory API

Summary

Public Methods
abstract List<DirectoryCountryEntity> listDirectoryCountries()
Answers the list of countries
abstract List<DirectoryRegionEntity> listDirectoryRegions(String countryId)
Answers a list of regions for the given county

Public Methods

public abstract List<DirectoryCountryEntity> listDirectoryCountries ()

Answers the list of countries

Returns
  • a collection of countries attributes
Throws
Exception

public abstract List<DirectoryRegionEntity> listDirectoryRegions (String countryId)

Answers a list of regions for the given county

Parameters
countryId The country code, in ISO2 or ISO3 format
Returns
  • the collection of regions attributes
Throws
Exception