├── .gitignore ├── Api ├── Data │ ├── SourceType.php │ └── ZipCodeInterface.php ├── ZipCodeRepositoryInterface.php ├── ZipCodeServiceApiInterface.php └── ZipCodeServiceInterface.php ├── Block └── Adminhtml │ └── Form │ └── Field │ ├── ServiceColumn.php │ └── ServicesSortOrder.php ├── Gateway ├── AbstractRequest.php ├── AbstractZipCodeService.php └── Services │ ├── CacheService.php │ ├── Correios.php │ ├── ViaCep.php │ └── ZipCodeServiceApi.php ├── Helper └── Config.php ├── LICENSE ├── Model ├── Cache │ └── Type │ │ └── ApiSearchType.php ├── Config │ ├── Converter.php │ ├── Data.php │ ├── DataInterface.php │ ├── Reader.php │ └── SchemaLocator.php ├── ResourceModel │ └── ZipCode.php ├── SearchProcessor.php ├── ZipCode.php └── ZipCodeRepository.php ├── README.md ├── Setup └── InstallSchema.php ├── composer.json ├── etc ├── acl.xml ├── adminhtml │ └── system.xml ├── brazil_zipcode_services.xml ├── brazil_zipcode_services.xsd ├── cache.xml ├── config.xml ├── di.xml ├── module.xml └── webapi.xml ├── i18n └── pt_BR.csv └── registration.php /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /Api/Data/SourceType.php: -------------------------------------------------------------------------------- 1 | element 19 | * 20 | * @param string $value 21 | * @return $this 22 | */ 23 | public function setInputName($value) 24 | { 25 | return $this->setName($value); 26 | } 27 | 28 | /** 29 | * Set "id" for