PHP Class Smalot\Magento\Directory\Directory

Inheritance: extends Smalot\Magento\MagentoModuleAbstract
Exibir arquivo Open project: smalot/magento-client

Public Methods

Method Description
getCountryList ( ) : Smalot\Magento\ActionInterface Retrieve the list of countries from Magento.
getRegionList ( string $country ) : Smalot\Magento\ActionInterface Retrieve the list of regions in the specified country.

Method Details

getCountryList() public method

Retrieve the list of countries from Magento.
public getCountryList ( ) : Smalot\Magento\ActionInterface
return Smalot\Magento\ActionInterface

getRegionList() public method

Retrieve the list of regions in the specified country.
public getRegionList ( string $country ) : Smalot\Magento\ActionInterface
$country string
return Smalot\Magento\ActionInterface