コード例 #1
0
ファイル: Address.php プロジェクト: pradeep-wagento/magento2
 /**
  * @param \Magento\Framework\Model\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Api\ExtensionAttributesFactory $extensionFactory
  * @param \Magento\Framework\Api\AttributeValueFactory $customAttributeFactory
  * @param \Magento\Directory\Helper\Data $directoryData
  * @param \Magento\Eav\Model\Config $eavConfig
  * @param Address\Config $addressConfig
  * @param \Magento\Directory\Model\RegionFactory $regionFactory
  * @param \Magento\Directory\Model\CountryFactory $countryFactory
  * @param AddressMetadataInterface $metadataService
  * @param AddressInterfaceFactory $addressDataFactory
  * @param RegionInterfaceFactory $regionDataFactory
  * @param \Magento\Framework\Api\DataObjectHelper $dataObjectHelper
  * @param CustomerFactory $customerFactory
  * @param \Magento\Framework\Reflection\DataObjectProcessor $dataProcessor
  * @param \Magento\Framework\Indexer\IndexerRegistry $indexerRegistry
  * @param \Magento\Framework\Model\ResourceModel\AbstractResource|null $resource
  * @param \Magento\Framework\Data\Collection\AbstractDb|null $resourceCollection
  * @param array $data
  *
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(\Magento\Framework\Model\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Api\ExtensionAttributesFactory $extensionFactory, \Magento\Framework\Api\AttributeValueFactory $customAttributeFactory, \Magento\Directory\Helper\Data $directoryData, \Magento\Eav\Model\Config $eavConfig, \Magento\Customer\Model\Address\Config $addressConfig, \Magento\Directory\Model\RegionFactory $regionFactory, \Magento\Directory\Model\CountryFactory $countryFactory, AddressMetadataInterface $metadataService, AddressInterfaceFactory $addressDataFactory, RegionInterfaceFactory $regionDataFactory, \Magento\Framework\Api\DataObjectHelper $dataObjectHelper, CustomerFactory $customerFactory, \Magento\Framework\Reflection\DataObjectProcessor $dataProcessor, \Magento\Framework\Indexer\IndexerRegistry $indexerRegistry, \Magento\Framework\Model\ResourceModel\AbstractResource $resource = null, \Magento\Framework\Data\Collection\AbstractDb $resourceCollection = null, array $data = [])
 {
     $this->dataProcessor = $dataProcessor;
     $this->_customerFactory = $customerFactory;
     $this->indexerRegistry = $indexerRegistry;
     parent::__construct($context, $registry, $extensionFactory, $customAttributeFactory, $directoryData, $eavConfig, $addressConfig, $regionFactory, $countryFactory, $metadataService, $addressDataFactory, $regionDataFactory, $dataObjectHelper, $resource, $resourceCollection, $data);
 }
コード例 #2
0
ファイル: Address.php プロジェクト: nja78/magento2
 /**
  * @param \Magento\Framework\Model\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Api\ExtensionAttributesFactory $extensionFactory
  * @param \Magento\Framework\Api\AttributeValueFactory $customAttributeFactory
  * @param \Magento\Directory\Helper\Data $directoryData
  * @param \Magento\Eav\Model\Config $eavConfig
  * @param \Magento\Customer\Model\Address\Config $addressConfig
  * @param \Magento\Directory\Model\RegionFactory $regionFactory
  * @param \Magento\Directory\Model\CountryFactory $countryFactory
  * @param AddressMetadataInterface $metadataService
  * @param AddressInterfaceFactory $addressDataFactory
  * @param RegionInterfaceFactory $regionDataFactory
  * @param \Magento\Framework\Api\DataObjectHelper $dataObjectHelper
  * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
  * @param Address\ItemFactory $addressItemFactory
  * @param \Magento\Quote\Model\Resource\Quote\Address\Item\CollectionFactory $itemCollectionFactory
  * @param Address\RateFactory $addressRateFactory
  * @param Address\RateCollectorInterfaceFactory $rateCollector
  * @param \Magento\Quote\Model\Resource\Quote\Address\Rate\CollectionFactory $rateCollectionFactory
  * @param Address\RateRequestFactory $rateRequestFactory
  * @param \Magento\Quote\Model\Quote\Address\Total\CollectorFactory $totalCollectorFactory
  * @param Address\TotalFactory $addressTotalFactory
  * @param \Magento\Framework\Object\Copy $objectCopyService
  * @param \Magento\Shipping\Model\CarrierFactoryInterface $carrierFactory
  * @param Address\Validator $validator
  * @param \Magento\Customer\Model\Address\Mapper $addressMapper
  * @param \Magento\Framework\Model\Resource\AbstractResource $resource
  * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection
  * @param Address\CustomAttributeListInterface $attributeList
  * @param array $data
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(\Magento\Framework\Model\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Api\ExtensionAttributesFactory $extensionFactory, \Magento\Framework\Api\AttributeValueFactory $customAttributeFactory, \Magento\Directory\Helper\Data $directoryData, \Magento\Eav\Model\Config $eavConfig, \Magento\Customer\Model\Address\Config $addressConfig, \Magento\Directory\Model\RegionFactory $regionFactory, \Magento\Directory\Model\CountryFactory $countryFactory, AddressMetadataInterface $metadataService, AddressInterfaceFactory $addressDataFactory, RegionInterfaceFactory $regionDataFactory, \Magento\Framework\Api\DataObjectHelper $dataObjectHelper, \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, \Magento\Quote\Model\Quote\Address\ItemFactory $addressItemFactory, \Magento\Quote\Model\Resource\Quote\Address\Item\CollectionFactory $itemCollectionFactory, \Magento\Quote\Model\Quote\Address\RateFactory $addressRateFactory, \Magento\Quote\Model\Quote\Address\RateCollectorInterfaceFactory $rateCollector, \Magento\Quote\Model\Resource\Quote\Address\Rate\CollectionFactory $rateCollectionFactory, \Magento\Quote\Model\Quote\Address\RateRequestFactory $rateRequestFactory, \Magento\Quote\Model\Quote\Address\Total\CollectorFactory $totalCollectorFactory, \Magento\Quote\Model\Quote\Address\TotalFactory $addressTotalFactory, \Magento\Framework\Object\Copy $objectCopyService, \Magento\Shipping\Model\CarrierFactoryInterface $carrierFactory, Address\Validator $validator, \Magento\Customer\Model\Address\Mapper $addressMapper, Address\CustomAttributeListInterface $attributeList, \Magento\Framework\Model\Resource\AbstractResource $resource = null, \Magento\Framework\Data\Collection\AbstractDb $resourceCollection = null, array $data = [])
 {
     $this->_scopeConfig = $scopeConfig;
     $this->_addressItemFactory = $addressItemFactory;
     $this->_itemCollectionFactory = $itemCollectionFactory;
     $this->_addressRateFactory = $addressRateFactory;
     $this->_rateCollector = $rateCollector;
     $this->_rateCollectionFactory = $rateCollectionFactory;
     $this->_rateRequestFactory = $rateRequestFactory;
     $this->_totalCollectorFactory = $totalCollectorFactory;
     $this->_addressTotalFactory = $addressTotalFactory;
     $this->_objectCopyService = $objectCopyService;
     $this->_carrierFactory = $carrierFactory;
     $this->addressDataFactory = $addressDataFactory;
     $this->validator = $validator;
     $this->addressMapper = $addressMapper;
     $this->attributeList = $attributeList;
     parent::__construct($context, $registry, $extensionFactory, $customAttributeFactory, $directoryData, $eavConfig, $addressConfig, $regionFactory, $countryFactory, $metadataService, $addressDataFactory, $regionDataFactory, $dataObjectHelper, $resource, $resourceCollection, $data);
 }
コード例 #3
0
ファイル: Address.php プロジェクト: aiesh/magento2
 /**
  * @param \Magento\Framework\Model\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Directory\Helper\Data $directoryData
  * @param \Magento\Eav\Model\Config $eavConfig
  * @param \Magento\Customer\Model\Address\Config $addressConfig
  * @param \Magento\Directory\Model\RegionFactory $regionFactory
  * @param \Magento\Directory\Model\CountryFactory $countryFactory
  * @param \Magento\Sales\Model\OrderFactory $orderFactory
  * @param \Magento\Framework\Model\Resource\AbstractResource $resource
  * @param \Magento\Framework\Data\Collection\Db $resourceCollection
  * @param array $data
  */
 public function __construct(\Magento\Framework\Model\Context $context, \Magento\Framework\Registry $registry, \Magento\Directory\Helper\Data $directoryData, \Magento\Eav\Model\Config $eavConfig, \Magento\Customer\Model\Address\Config $addressConfig, \Magento\Directory\Model\RegionFactory $regionFactory, \Magento\Directory\Model\CountryFactory $countryFactory, \Magento\Sales\Model\OrderFactory $orderFactory, \Magento\Framework\Model\Resource\AbstractResource $resource = null, \Magento\Framework\Data\Collection\Db $resourceCollection = null, array $data = array())
 {
     parent::__construct($context, $registry, $directoryData, $eavConfig, $addressConfig, $regionFactory, $countryFactory, $resource, $resourceCollection, $data);
     $this->_orderFactory = $orderFactory;
 }
コード例 #4
0
ファイル: Address.php プロジェクト: aiesh/magento2
 /**
  * @param \Magento\Framework\Model\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Directory\Helper\Data $directoryData
  * @param \Magento\Eav\Model\Config $eavConfig
  * @param \Magento\Customer\Model\Address\Config $addressConfig
  * @param \Magento\Directory\Model\RegionFactory $regionFactory
  * @param \Magento\Directory\Model\CountryFactory $countryFactory
  * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
  * @param Address\ItemFactory $addressItemFactory
  * @param \Magento\Sales\Model\Resource\Quote\Address\Item\CollectionFactory $itemCollectionFactory
  * @param Address\RateFactory $addressRateFactory
  * @param Address\RateCollectorInterfaceFactory $rateCollector
  * @param \Magento\Sales\Model\Resource\Quote\Address\Rate\CollectionFactory $rateCollectionFactory
  * @param Address\RateRequestFactory $rateRequestFactory
  * @param Address\Total\CollectorFactory $totalCollectorFactory
  * @param Address\TotalFactory $addressTotalFactory
  * @param \Magento\Framework\Object\Copy $objectCopyService
  * @param Address\CarrierFactoryInterface $carrierFactory
  * @param CustomerAddressBuilder $customerAddressBuilder
  * @param CustomerAddressServiceInterface $customerAddressService
  * @param Address\Validator $validator
  * @param \Magento\Framework\Model\Resource\AbstractResource $resource
  * @param \Magento\Framework\Data\Collection\Db $resourceCollection
  * @param array $data
  */
 public function __construct(\Magento\Framework\Model\Context $context, \Magento\Framework\Registry $registry, \Magento\Directory\Helper\Data $directoryData, \Magento\Eav\Model\Config $eavConfig, \Magento\Customer\Model\Address\Config $addressConfig, \Magento\Directory\Model\RegionFactory $regionFactory, \Magento\Directory\Model\CountryFactory $countryFactory, \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, \Magento\Sales\Model\Quote\Address\ItemFactory $addressItemFactory, \Magento\Sales\Model\Resource\Quote\Address\Item\CollectionFactory $itemCollectionFactory, \Magento\Sales\Model\Quote\Address\RateFactory $addressRateFactory, \Magento\Sales\Model\Quote\Address\RateCollectorInterfaceFactory $rateCollector, \Magento\Sales\Model\Resource\Quote\Address\Rate\CollectionFactory $rateCollectionFactory, \Magento\Sales\Model\Quote\Address\RateRequestFactory $rateRequestFactory, \Magento\Sales\Model\Quote\Address\Total\CollectorFactory $totalCollectorFactory, \Magento\Sales\Model\Quote\Address\TotalFactory $addressTotalFactory, \Magento\Framework\Object\Copy $objectCopyService, \Magento\Sales\Model\Quote\Address\CarrierFactoryInterface $carrierFactory, CustomerAddressBuilder $customerAddressBuilder, CustomerAddressServiceInterface $customerAddressService, Address\Validator $validator, \Magento\Framework\Model\Resource\AbstractResource $resource = null, \Magento\Framework\Data\Collection\Db $resourceCollection = null, array $data = array())
 {
     $this->_scopeConfig = $scopeConfig;
     $this->_addressItemFactory = $addressItemFactory;
     $this->_itemCollectionFactory = $itemCollectionFactory;
     $this->_addressRateFactory = $addressRateFactory;
     $this->_rateCollector = $rateCollector;
     $this->_rateCollectionFactory = $rateCollectionFactory;
     $this->_rateRequestFactory = $rateRequestFactory;
     $this->_totalCollectorFactory = $totalCollectorFactory;
     $this->_addressTotalFactory = $addressTotalFactory;
     $this->_objectCopyService = $objectCopyService;
     $this->_carrierFactory = $carrierFactory;
     $this->_customerAddressBuilder = $customerAddressBuilder;
     $this->_customerAdressService = $customerAddressService;
     $this->validator = $validator;
     parent::__construct($context, $registry, $directoryData, $eavConfig, $addressConfig, $regionFactory, $countryFactory, $resource, $resourceCollection, $data);
 }