# Mage2 Module XlentParts PartsTech

    ``xlentparts/module-partstech``

 - [Main Functionalities](#markdown-header-main-functionalities)
 - [Installation](#markdown-header-installation)
 - [Configuration](#markdown-header-configuration)
 - [Specifications](#markdown-header-specifications)
 - [Attributes](#markdown-header-attributes)


## Main Functionalities
XLENT PARTS PartsTech

## Installation
\* = in production please use the `--keep-generated` option

### Type 1: Zip file

 - Unzip the zip file in `app/code/XlentParts`
 - Enable the module by running `php bin/magento module:enable XlentParts_PartsTech`
 - Apply database updates by running `php bin/magento setup:upgrade`\*
 - Flush the cache by running `php bin/magento cache:flush`

### Type 2: Composer

 - Make the module available in a composer repository for example:
    - private repository `repo.magento.com`
    - public repository `packagist.org`
    - public github repository as vcs
 - Add the composer repository to the configuration by running `composer config repositories.repo.magento.com composer https://repo.magento.com/`
 - Install the module composer by running `composer require xlentparts/module-partstech`
 - enable the module by running `php bin/magento module:enable XlentParts_PartsTech`
 - apply database updates by running `php bin/magento setup:upgrade`\*
 - Flush the cache by running `php bin/magento cache:flush`


## Configuration

 - Service URL (parts_tech/general/service_url)

 - Username (parts_tech/general/username)

 - Password (parts_tech/general/password)


## Specifications

 - Console Command
	- ImportProductInterchange

 - Helper
	- XlentParts\PartsTech\Helper\HttpClient

 - Helper
	- XlentParts\PartsTech\Helper\GuzzleLoggerMiddleware

 - Model
	- PartsTechData

 - Observer
	- OnPartsAuthorityProductCreated > XlentParts\PartsTech\Observer\OnPartsAuthorityProductCreated


## Attributes

 - Product - Parts Tech Data (parts_tech_data)

