src/Entity/System/SynchronisedShopConfiguration.php line 17

Open in your IDE?
  1. <?php
  2. namespace App\Entity\System;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * SubscriptionLine.
  6. *
  7. * @ORM\Table(name="ps_syncronised_shop_configuration", indexes={
  8. *
  9. * @ORM\Index(name="fk_ps_syncronised_shop_configuration_order", columns={"id_order"})
  10. * })
  11. *
  12. * @ORM\Entity(repositoryClass="App\Repository\System\SynchronisedShopConfigurationRepository")
  13. */
  14. class SynchronisedShopConfiguration
  15. {
  16. public const SHOP_CATALOG_NAMES_INDEXED_BY_SHOP_CATALOG_ID = [
  17. ShopTopic::COMPLETE_CATALOGUE_ID => 'complete',
  18. ShopTopic::PERFUME_CATALOGUE_ID => 'perfume',
  19. ShopTopic::ELECTRONICS_CATALOGUE_ID => 'electronics',
  20. ShopTopic::SEXSHOP_CATALOGUE_ID => 'sexshop',
  21. ShopTopic::WATCHES_CATALOGUE_ID => 'watches-and-complements',
  22. ShopTopic::KITCHEN_CATALOGUE_ID => 'kitchen',
  23. ShopTopic::COSTUMES_CATALOGUE_ID => 'costumes',
  24. ShopTopic::COMPUTERS_CATALOGUE_ID => 'computers',
  25. ShopTopic::LICENSES_CATALOGUE_ID => 'licenses',
  26. ShopTopic::PETS_CATALOGUE_ID => 'pets',
  27. ShopTopic::HOME_DECOR_CATALOGUE_ID => 'home-and-decor',
  28. ];
  29. public const SHOP_MIP_COMPLETE_CATALOGUE_ID = 1;
  30. public const SHOP_MIP_ELECTRONICS_CATALOGUE_ID = 2;
  31. public const SHOP_MIP_PERFUME_CATALOGUE_ID = 3;
  32. public const SHOP_MIP_WATCHES_CATALOGUE_ID = 4;
  33. public const SHOP_MIP_KITCHEN_CATALOGUE_ID = 5;
  34. public const SHOP_MIP_SEXSHOP_CATALOGUE_ID = 6;
  35. public const SHOP_MIP_COSTUMES_CATALOGUE_ID = 7;
  36. public const SHOP_MIP_COMPUTERS_CATALOGUE_ID = 8;
  37. public const SHOP_MIP_LICENSES_CATALOGUE_ID = 9;
  38. public const SHOP_TOPIC_MAPPED_SHOP_MIP_ID = [
  39. ShopTopic::COMPLETE_CATALOGUE_ID => self::SHOP_MIP_COMPLETE_CATALOGUE_ID,
  40. ShopTopic::PERFUME_CATALOGUE_ID => self::SHOP_MIP_PERFUME_CATALOGUE_ID,
  41. ShopTopic::ELECTRONICS_CATALOGUE_ID => self::SHOP_MIP_ELECTRONICS_CATALOGUE_ID,
  42. ShopTopic::SEXSHOP_CATALOGUE_ID => self::SHOP_MIP_SEXSHOP_CATALOGUE_ID,
  43. ShopTopic::WATCHES_CATALOGUE_ID => self::SHOP_MIP_WATCHES_CATALOGUE_ID,
  44. ShopTopic::KITCHEN_CATALOGUE_ID => self::SHOP_MIP_KITCHEN_CATALOGUE_ID,
  45. ShopTopic::COSTUMES_CATALOGUE_ID => self::SHOP_MIP_COSTUMES_CATALOGUE_ID,
  46. ShopTopic::COMPUTERS_CATALOGUE_ID => self::SHOP_MIP_COMPUTERS_CATALOGUE_ID,
  47. ShopTopic::LICENSES_CATALOGUE_ID => self::SHOP_MIP_LICENSES_CATALOGUE_ID,
  48. ShopTopic::PETS_CATALOGUE_ID => self::SHOP_MIP_COMPLETE_CATALOGUE_ID,
  49. ShopTopic::HOME_DECOR_CATALOGUE_ID => self::SHOP_MIP_COMPLETE_CATALOGUE_ID,
  50. ];
  51. /** @deprecated Versiones desactualizadas. Borrar usos. */
  52. public const PRESTA_VERSION = '1.7.6.9';
  53. /** @deprecated Versiones desactualizadas. Borrar usos. */
  54. public const SYNCRO_VERSION = 'BigConnector.1.0';
  55. /**
  56. * @var int
  57. *
  58. * @ORM\Id
  59. *
  60. * @ORM\GeneratedValue(strategy="AUTO")
  61. *
  62. * @ORM\Column(type="integer", name="id_sincronate_shop_configuration",length=10)
  63. */
  64. private $id;
  65. /**
  66. * @var Customer|null
  67. *
  68. * @ORM\ManyToOne(targetEntity="App\Entity\System\Customer", inversedBy="syncronisedShopConfiguration")
  69. *
  70. * @ORM\JoinColumn(name="id_customer", referencedColumnName="id_customer")
  71. */
  72. private $customer;
  73. /**
  74. * @var Order|null
  75. *
  76. * @ORM\ManyToOne(targetEntity="App\Entity\System\Order")
  77. *
  78. * @ORM\JoinColumn(name="id_order", referencedColumnName="id_order", nullable=true)
  79. */
  80. private $order;
  81. /**
  82. * @var int|null
  83. *
  84. * @ORM\Column(type="integer", name="id_order_detail",length=10, nullable=true)
  85. */
  86. private $orderDetailId;
  87. /**
  88. * @var string|null
  89. *
  90. * @ORM\Column(type="string", name="domain",length=200, nullable=true)
  91. */
  92. private $domain;
  93. /**
  94. * @var string|null
  95. *
  96. * @ORM\Column(type="string", length=32, nullable=true)
  97. */
  98. private $name;
  99. /**
  100. * @var string|null
  101. *
  102. * @ORM\Column(type="string", length=32, nullable=true)
  103. */
  104. private $vatNumber;
  105. /**
  106. * @var string|null
  107. *
  108. * @ORM\Column(type="string", length=128, nullable=true)
  109. */
  110. private $address;
  111. /**
  112. * @var string|null
  113. *
  114. * @ORM\Column(type="string", length=12, nullable=true)
  115. */
  116. private $postcode;
  117. /**
  118. * @var string|null
  119. *
  120. * @ORM\Column(type="string", length=64, nullable=true)
  121. */
  122. private $city;
  123. /**
  124. * @var string|null
  125. *
  126. * @ORM\Column(type="string", length=128, nullable=true)
  127. */
  128. private $email;
  129. /**
  130. * @var string|null
  131. *
  132. * @ORM\Column(type="string", length=32, nullable=true)
  133. */
  134. private $phone;
  135. /**
  136. * @var string|null
  137. *
  138. * @ORM\Column(type="string", length=100, nullable=true)
  139. */
  140. private $hostSsh;
  141. /**
  142. * @var string|null
  143. *
  144. * @ORM\Column(type="string", length=100, nullable=true)
  145. */
  146. private $portSsh;
  147. /**
  148. * @var string|null
  149. *
  150. * @ORM\Column(type="string", length=100, nullable=true)
  151. */
  152. private $userSsh;
  153. /**
  154. * @var string|null
  155. *
  156. * @ORM\Column(type="string", length=100, nullable=true)
  157. */
  158. private $passwordSsh;
  159. /**
  160. * @var string|null
  161. *
  162. * @ORM\Column(type="string", length=100, nullable=true)
  163. */
  164. private $passwordSshRoot;
  165. /**
  166. * @var string|null
  167. *
  168. * @ORM\Column(type="string", length=100, nullable=true)
  169. */
  170. private $pleskHost;
  171. /**
  172. * @var string|null
  173. *
  174. * @ORM\Column(type="string", length=100, nullable=true)
  175. */
  176. private $pleskUser;
  177. /**
  178. * @var string|null
  179. *
  180. * @ORM\Column(type="string", length=100, nullable=true)
  181. */
  182. private $pleskPassword;
  183. /**
  184. * @var string|null
  185. *
  186. * @ORM\Column(type="string", length=100, nullable=true)
  187. */
  188. private $bdHost;
  189. /**
  190. * @var string|null
  191. *
  192. * @ORM\Column(type="string", length=100, nullable=true)
  193. */
  194. private $bdName;
  195. /**
  196. * @var string|null
  197. *
  198. * @ORM\Column(type="string", length=100, nullable=true)
  199. */
  200. private $bdUser;
  201. /**
  202. * @var string|null
  203. *
  204. * @ORM\Column(type="string", length=100, nullable=true)
  205. */
  206. private $bdUserShow;
  207. /**
  208. * @var string|null
  209. *
  210. * @ORM\Column(type="string", length=100, nullable=true)
  211. */
  212. private $bdPassword;
  213. /**
  214. * @var string|null
  215. *
  216. * @ORM\Column(type="string", length=100, nullable=true)
  217. */
  218. private $bdPasswordShow;
  219. /**
  220. * @var string|null
  221. *
  222. * @ORM\Column(type="string", length=100, nullable=true)
  223. */
  224. private $ftpHost;
  225. /**
  226. * @var string|null
  227. *
  228. * @ORM\Column(type="string", length=100, nullable=true)
  229. */
  230. private $ftpUser;
  231. /**
  232. * @var string|null
  233. *
  234. * @ORM\Column(type="string", length=100, nullable=true)
  235. */
  236. private $ftpPassword;
  237. /**
  238. * @var string|null
  239. *
  240. * @ORM\Column(type="string", length=100, nullable=true)
  241. */
  242. private $ftpPasswordRoot;
  243. /**
  244. * @var string|null
  245. *
  246. * @ORM\Column(type="string", length=100, nullable=true)
  247. */
  248. private $ftpRoot;
  249. /**
  250. * @var string|null
  251. *
  252. * @ORM\Column(type="string", length=100, nullable=true)
  253. */
  254. private $logo;
  255. /**
  256. * @var string|null
  257. *
  258. * @ORM\Column(type="string", length=100, nullable=true)
  259. */
  260. private $favicon;
  261. /**
  262. * @var string|null
  263. *
  264. * @ORM\Column(type="text", name="cms_quienes", nullable=true)
  265. */
  266. private $cmsWho;
  267. /**
  268. * @var string|null
  269. *
  270. * @ORM\Column(type="text", name="cms_privacidad", nullable=true)
  271. */
  272. private $cmsPrivacy;
  273. /**
  274. * @var string|null
  275. *
  276. * @ORM\Column(type="text", name="cms_contacta", nullable=true)
  277. */
  278. private $cmsContact;
  279. /**
  280. * @var SynchronisedShopStatus
  281. *
  282. * @ORM\ManyToOne(targetEntity="App\Entity\System\SynchronisedShopStatus")
  283. *
  284. * @ORM\JoinColumn(name="state", referencedColumnName="id_sincronate_shop_status", nullable=false)
  285. */
  286. private SynchronisedShopStatus $state;
  287. /**
  288. * @var string|null
  289. *
  290. * @ORM\Column(type="text", nullable=true)
  291. */
  292. private $langs;
  293. /**
  294. * @ORM\ManyToOne(targetEntity="App\Entity\System\Language")
  295. *
  296. * @ORM\JoinColumn(name="main_language", referencedColumnName="id_lang", nullable=true)
  297. */
  298. private ?Language $mainLanguage;
  299. /**
  300. * @var int|null
  301. *
  302. * @ORM\Column(type="integer", length=11, nullable=true)
  303. */
  304. private $countryVat;
  305. /**
  306. * @var string|null
  307. *
  308. * @ORM\Column(type="string", length=100, options={"default" : "['EUR']"}, nullable=true)
  309. */
  310. private $currency;
  311. /**
  312. * @var string|null
  313. *
  314. * @ORM\Column(type="text", nullable=true)
  315. */
  316. private $extratext;
  317. /**
  318. * @var string|null
  319. *
  320. * @ORM\Column(type="text", nullable=true)
  321. */
  322. private $extraconf;
  323. /**
  324. * @var string|null
  325. *
  326. * @ORM\Column(type="text", nullable=true)
  327. */
  328. private $info;
  329. /**
  330. * @var string|null
  331. *
  332. * @ORM\Column(type="string", length=100, nullable=true)
  333. */
  334. private $syncroHost;
  335. /**
  336. * @var string|null
  337. *
  338. * @ORM\Column(type="string", length=100, nullable=true)
  339. */
  340. private $syncroUser;
  341. /**
  342. * @var string|null
  343. *
  344. * @ORM\Column(type="string", length=100, nullable=true)
  345. */
  346. private $syncroPassword;
  347. /**
  348. * @var string|null
  349. *
  350. * @ORM\Column(type="string", length=100, nullable=true)
  351. */
  352. private $syncroIp;
  353. /**
  354. * @var string|null
  355. *
  356. * @ORM\Column(type="string", length=100, nullable=true)
  357. */
  358. private $controlpanelUrl;
  359. /**
  360. * @var string|null
  361. *
  362. * @ORM\Column(type="string", length=100, nullable=true)
  363. */
  364. private $controlpanelUser;
  365. /**
  366. * @var string|null
  367. *
  368. * @ORM\Column(type="string", length=100, nullable=true)
  369. */
  370. private $controlpanelPassword;
  371. /**
  372. * @var string|null
  373. *
  374. * @ORM\Column(type="string", length=100, nullable=true)
  375. */
  376. private $webmailUrl;
  377. /**
  378. * @var string|null
  379. *
  380. * @ORM\Column(type="string", length=100, nullable=true)
  381. */
  382. private $webmailEmail;
  383. /**
  384. * @var string|null
  385. *
  386. * @ORM\Column(type="string", length=100, nullable=true)
  387. */
  388. private $webmailPassword;
  389. /**
  390. * @var bool
  391. *
  392. * @ORM\Column(type="boolean", options={"default" : 0})
  393. */
  394. private $difficulty;
  395. /**
  396. * @var \DateTime|null
  397. *
  398. * @ORM\Column(type="datetime", nullable=true)
  399. */
  400. private $estimatedDate;
  401. /**
  402. * @var \DateTime|null
  403. *
  404. * @ORM\Column(type="datetime", nullable=true)
  405. */
  406. private $manipDate;
  407. /**
  408. * @var \DateTime|null
  409. *
  410. * @ORM\Column(type="datetime")
  411. */
  412. private $pleskChanged;
  413. /**
  414. * @var string
  415. *
  416. * @ORM\Column(type="string", length=10, options={"default" : "1.7.3.3"})
  417. */
  418. private $prestaVersion;
  419. /**
  420. * @var string
  421. *
  422. * @ORM\Column(type="string", length=20, options={"default" : "BigConnector.1.0"})
  423. */
  424. private $syncroVersion;
  425. /**
  426. * @var bool
  427. *
  428. * @ORM\Column(type="boolean", name="exclude_passwords_restriction", options={"default" : 0})
  429. */
  430. private $excludePasswordRestriction;
  431. /**
  432. * @var string|null
  433. *
  434. * @ORM\Column(type="string", length=40, nullable=true)
  435. */
  436. private $hostingProvider;
  437. /**
  438. * @var Employee|null
  439. *
  440. * @ORM\ManyToOne(targetEntity="App\Entity\System\Employee", inversedBy="syncronisedShopConfiguration")
  441. *
  442. * @ORM\JoinColumn(name="employee", referencedColumnName="id_employee")
  443. */
  444. private $employee;
  445. /**
  446. * @var int|null
  447. *
  448. * @ORM\Column(type="integer", length=11, nullable=true)
  449. */
  450. private $idShopProduct;
  451. /**
  452. * @var string|null
  453. *
  454. * @ORM\Column(type="string", length=100, nullable=true)
  455. */
  456. private $template;
  457. /**
  458. * @var string|null
  459. *
  460. * @ORM\Column(type="string", length=100, nullable=true)
  461. */
  462. private $topic;
  463. /**
  464. * @var string|null
  465. *
  466. * @ORM\Column(type="string", length=150, nullable=true)
  467. */
  468. private $blogHost;
  469. /**
  470. * @var string|null
  471. *
  472. * @ORM\Column(type="string", length=150, nullable=true)
  473. */
  474. private $blogUser;
  475. /**
  476. * @var string|null
  477. *
  478. * @ORM\Column(type="string", length=150, nullable=true)
  479. */
  480. private $blogPassword;
  481. /**
  482. * @var bool|null
  483. *
  484. * @ORM\Column(type="boolean", nullable=true, options={"default" : 0})
  485. */
  486. private $facebookModule;
  487. /**
  488. * @var bool|null
  489. *
  490. * @ORM\Column(type="boolean", nullable=true, options={"default" : 0})
  491. */
  492. private $mailchimp;
  493. /**
  494. * @var string|null
  495. *
  496. * @ORM\Column(type="text", nullable=true)
  497. */
  498. private $mailchimpCode;
  499. /**
  500. * @var string|null
  501. *
  502. * @ORM\Column(type="text", nullable=true)
  503. */
  504. private $taxes;
  505. /**
  506. * @var string|null
  507. *
  508. * @ORM\Column(type="string", length=100, nullable=true)
  509. */
  510. private $domainHost;
  511. /**
  512. * @var string|null
  513. *
  514. * @ORM\Column(type="string", length=100, nullable=true)
  515. */
  516. private $domainUser;
  517. /**
  518. * @var string|null
  519. *
  520. * @ORM\Column(type="string", length=100, nullable=true)
  521. */
  522. private $domainPassword;
  523. /**
  524. * @var string|null
  525. *
  526. * @ORM\Column(type="string", length=100, nullable=true)
  527. */
  528. private $domainRegistered;
  529. /**
  530. * @var string|null
  531. *
  532. * @ORM\Column(type="string", length=100, nullable=true)
  533. */
  534. private $backupHost;
  535. /**
  536. * @var string|null
  537. *
  538. * @ORM\Column(type="string", length=100, nullable=true)
  539. */
  540. private $backupUser;
  541. /**
  542. * @var string|null
  543. *
  544. * @ORM\Column(type="string", length=100, nullable=true)
  545. */
  546. private $backupPassword;
  547. /**
  548. * @var string|null
  549. *
  550. * @ORM\Column(type="string", length=100, nullable=true)
  551. */
  552. private $bdBlogHost;
  553. /**
  554. * @var string|null
  555. *
  556. * @ORM\Column(type="string", length=100, nullable=true)
  557. */
  558. private $bdBlogName;
  559. /**
  560. * @var string|null
  561. *
  562. * @ORM\Column(type="string", length=100, nullable=true)
  563. */
  564. private $bdBlogUser;
  565. /**
  566. * @var string|null
  567. *
  568. * @ORM\Column(type="string", length=100, nullable=true)
  569. */
  570. private $bdBlogUserShow;
  571. /**
  572. * @var string|null
  573. *
  574. * @ORM\Column(type="string", length=100, nullable=true)
  575. */
  576. private $bdBlogPassword;
  577. /**
  578. * @var string|null
  579. *
  580. * @ORM\Column(type="string", length=100, nullable=true)
  581. */
  582. private $bdBlogPasswordShow;
  583. /**
  584. * @var string|null
  585. *
  586. * @ORM\Column(type="string", name="dominio_shopify", length=100, nullable=true)
  587. */
  588. private $domainShopify;
  589. /**
  590. * @var string|null
  591. *
  592. * @ORM\Column(type="string", length=100, nullable=true)
  593. */
  594. private $emailShopify;
  595. /**
  596. * @var string|null
  597. *
  598. * @ORM\Column(type="string", length=100, nullable=true)
  599. */
  600. private $passwordShopify;
  601. /**
  602. * @ORM\ManyToOne(targetEntity="App\Entity\System\Country", inversedBy="shopifyShops")
  603. *
  604. * @ORM\JoinColumn(referencedColumnName="id_country", name="country_shopify", nullable=true)
  605. */
  606. private ?Country $countryShopify;
  607. /**
  608. * @var string|null
  609. *
  610. * @ORM\Column(type="string", name="estado_provincia_shopify", length=100, nullable=true)
  611. */
  612. private $stateProvinceShopify;
  613. /**
  614. * @var string|null
  615. *
  616. * @ORM\Column(type="string", name="direccion_shopify", length=100, nullable=true)
  617. */
  618. private $addressShopify;
  619. /**
  620. * @var string|null
  621. *
  622. * @ORM\Column(type="string", name="poblacion_ciudad_shopify", length=100, nullable=true)
  623. */
  624. private $populationCityShopify;
  625. /**
  626. * @var string|null
  627. *
  628. * @ORM\Column(type="string", name="codigo_postal_shopify", length=100, nullable=true)
  629. */
  630. private $postalCodeShopify;
  631. /**
  632. * @var int|null
  633. *
  634. * @ORM\Column(type="integer", length=11, nullable=true)
  635. */
  636. private $mipSellingChannelId;
  637. /**
  638. * @var bool
  639. *
  640. * @ORM\Column(type="boolean", options={"default" : 0}, nullable=false)
  641. */
  642. private $customizedLogo;
  643. public function __construct()
  644. {
  645. $this->difficulty = false;
  646. $this->pleskChanged = new \DateTime();
  647. $this->excludePasswordRestriction = false;
  648. $this->customizedLogo = false;
  649. $this->prestaVersion = SynchronisedShopConfiguration::PRESTA_VERSION;
  650. $this->syncroVersion = SynchronisedShopConfiguration::SYNCRO_VERSION;
  651. }
  652. public function getId(): int
  653. {
  654. return $this->id;
  655. }
  656. public function setId(int $id): self
  657. {
  658. $this->id = $id;
  659. return $this;
  660. }
  661. public function getCustomer(): ?Customer
  662. {
  663. return $this->customer;
  664. }
  665. public function setCustomer(?Customer $customer): self
  666. {
  667. $this->customer = $customer;
  668. return $this;
  669. }
  670. public function getOrder(): ?Order
  671. {
  672. return $this->order;
  673. }
  674. public function setOrder(Order $order): self
  675. {
  676. $this->order = $order;
  677. return $this;
  678. }
  679. public function getOrderDetailId(): ?int
  680. {
  681. return $this->orderDetailId;
  682. }
  683. public function setOrderDetailId(?int $orderDetailId): void
  684. {
  685. $this->orderDetailId = $orderDetailId;
  686. }
  687. public function getDomain(): ?string
  688. {
  689. return $this->domain;
  690. }
  691. public function setDomain(?string $domain): self
  692. {
  693. $this->domain = $domain;
  694. return $this;
  695. }
  696. public function getName(): ?string
  697. {
  698. return $this->name;
  699. }
  700. public function setName(?string $name): self
  701. {
  702. $this->name = $name;
  703. return $this;
  704. }
  705. public function getVatNumber(): ?string
  706. {
  707. return $this->vatNumber;
  708. }
  709. public function setVatNumber(?string $vatNumber): self
  710. {
  711. $this->vatNumber = $vatNumber;
  712. return $this;
  713. }
  714. public function getAddress(): ?string
  715. {
  716. return $this->address;
  717. }
  718. public function setAddress(?string $address): self
  719. {
  720. $this->address = $address;
  721. return $this;
  722. }
  723. public function getPostcode(): ?string
  724. {
  725. return $this->postcode;
  726. }
  727. public function setPostcode(?string $postcode): self
  728. {
  729. $this->postcode = $postcode;
  730. return $this;
  731. }
  732. public function getCity(): ?string
  733. {
  734. return $this->city;
  735. }
  736. public function setCity(?string $city): self
  737. {
  738. $this->city = $city;
  739. return $this;
  740. }
  741. public function getEmail(): ?string
  742. {
  743. return $this->email;
  744. }
  745. public function setEmail(?string $email): self
  746. {
  747. $this->email = $email;
  748. return $this;
  749. }
  750. public function getPhone(): ?string
  751. {
  752. return $this->phone;
  753. }
  754. public function setPhone(?string $phone): self
  755. {
  756. $this->phone = $phone;
  757. return $this;
  758. }
  759. public function getHostSsh(): ?string
  760. {
  761. return $this->hostSsh;
  762. }
  763. public function setHostSsh(?string $hostSsh): self
  764. {
  765. $this->hostSsh = $hostSsh;
  766. return $this;
  767. }
  768. public function getPortSsh(): ?string
  769. {
  770. return $this->portSsh;
  771. }
  772. public function setPortSsh(?string $portSsh): self
  773. {
  774. $this->portSsh = $portSsh;
  775. return $this;
  776. }
  777. public function getUserSsh(): ?string
  778. {
  779. return $this->userSsh;
  780. }
  781. public function setUserSsh(?string $userSsh): self
  782. {
  783. $this->userSsh = $userSsh;
  784. return $this;
  785. }
  786. public function getPasswordSsh(): ?string
  787. {
  788. return $this->passwordSsh;
  789. }
  790. public function setPasswordSsh(?string $passwordSsh): self
  791. {
  792. $this->passwordSsh = $passwordSsh;
  793. return $this;
  794. }
  795. public function getPasswordSshRoot(): ?string
  796. {
  797. return $this->passwordSshRoot;
  798. }
  799. public function setPasswordSshRoot(?string $passwordSshRoot): self
  800. {
  801. $this->passwordSshRoot = $passwordSshRoot;
  802. return $this;
  803. }
  804. public function getPleskHost(): ?string
  805. {
  806. return $this->pleskHost;
  807. }
  808. public function setPleskHost(?string $pleskHost): self
  809. {
  810. $this->pleskHost = $pleskHost;
  811. return $this;
  812. }
  813. public function getPleskUser(): ?string
  814. {
  815. return $this->pleskUser;
  816. }
  817. public function setPleskUser(?string $pleskUser): self
  818. {
  819. $this->pleskUser = $pleskUser;
  820. return $this;
  821. }
  822. public function getPleskPassword(): ?string
  823. {
  824. return $this->pleskPassword;
  825. }
  826. public function setPleskPassword(?string $pleskPassword): self
  827. {
  828. $this->pleskPassword = $pleskPassword;
  829. return $this;
  830. }
  831. public function getBdHost(): ?string
  832. {
  833. return $this->bdHost;
  834. }
  835. public function setBdHost(?string $bdHost): self
  836. {
  837. $this->bdHost = $bdHost;
  838. return $this;
  839. }
  840. public function getBdName(): ?string
  841. {
  842. return $this->bdName;
  843. }
  844. public function setBdName(?string $bdName): self
  845. {
  846. $this->bdName = $bdName;
  847. return $this;
  848. }
  849. public function getBdUser(): ?string
  850. {
  851. return $this->bdUser;
  852. }
  853. public function setBdUser(?string $bdUser): self
  854. {
  855. $this->bdUser = $bdUser;
  856. return $this;
  857. }
  858. public function getBdUserShow(): ?string
  859. {
  860. return $this->bdUserShow;
  861. }
  862. public function setBdUserShow(?string $bdUserShow): self
  863. {
  864. $this->bdUserShow = $bdUserShow;
  865. return $this;
  866. }
  867. public function getBdPassword(): ?string
  868. {
  869. return $this->bdPassword;
  870. }
  871. public function setBdPassword(?string $bdPassword): self
  872. {
  873. $this->bdPassword = $bdPassword;
  874. return $this;
  875. }
  876. public function getBdPasswordShow(): ?string
  877. {
  878. return $this->bdPasswordShow;
  879. }
  880. public function setBdPasswordShow(?string $bdPasswordShow): self
  881. {
  882. $this->bdPasswordShow = $bdPasswordShow;
  883. return $this;
  884. }
  885. public function getFtpHost(): ?string
  886. {
  887. return $this->ftpHost;
  888. }
  889. public function setFtpHost(?string $ftpHost): self
  890. {
  891. $this->ftpHost = $ftpHost;
  892. return $this;
  893. }
  894. public function getFtpUser(): ?string
  895. {
  896. return $this->ftpUser;
  897. }
  898. public function setFtpUser(?string $ftpUser): self
  899. {
  900. $this->ftpUser = $ftpUser;
  901. return $this;
  902. }
  903. public function getFtpPassword(): ?string
  904. {
  905. return $this->ftpPassword;
  906. }
  907. public function setFtpPassword(?string $ftpPassword): self
  908. {
  909. $this->ftpPassword = $ftpPassword;
  910. return $this;
  911. }
  912. public function getFtpPasswordRoot(): ?string
  913. {
  914. return $this->ftpPasswordRoot;
  915. }
  916. public function setFtpPasswordRoot(?string $ftpPasswordRoot): self
  917. {
  918. $this->ftpPasswordRoot = $ftpPasswordRoot;
  919. return $this;
  920. }
  921. public function getFtpRoot(): ?string
  922. {
  923. return $this->ftpRoot;
  924. }
  925. public function setFtpRoot(?string $ftpRoot): self
  926. {
  927. $this->ftpRoot = $ftpRoot;
  928. return $this;
  929. }
  930. public function getLogo(): ?string
  931. {
  932. return $this->logo;
  933. }
  934. public function setLogo(?string $logo): self
  935. {
  936. $this->logo = $logo;
  937. return $this;
  938. }
  939. public function getFavicon(): ?string
  940. {
  941. return $this->favicon;
  942. }
  943. public function setFavicon(?string $favicon): self
  944. {
  945. $this->favicon = $favicon;
  946. return $this;
  947. }
  948. public function getCmsWho(): ?string
  949. {
  950. return $this->cmsWho;
  951. }
  952. public function setCmsWho(?string $cmsWho): self
  953. {
  954. $this->cmsWho = $cmsWho;
  955. return $this;
  956. }
  957. public function getCmsPrivacy(): ?string
  958. {
  959. return $this->cmsPrivacy;
  960. }
  961. public function setCmsPrivacy(?string $cmsPrivacy): self
  962. {
  963. $this->cmsPrivacy = $cmsPrivacy;
  964. return $this;
  965. }
  966. public function getCmsContact(): ?string
  967. {
  968. return $this->cmsContact;
  969. }
  970. public function setCmsContact(?string $cmsContact): self
  971. {
  972. $this->cmsContact = $cmsContact;
  973. return $this;
  974. }
  975. public function getState(): SynchronisedShopStatus
  976. {
  977. return $this->state;
  978. }
  979. public function setState(SynchronisedShopStatus $state): self
  980. {
  981. $this->state = $state;
  982. return $this;
  983. }
  984. public function getLangs(): ?string
  985. {
  986. return $this->langs;
  987. }
  988. public function setLangs(?string $langs): self
  989. {
  990. $this->langs = $langs;
  991. return $this;
  992. }
  993. public function getMainLanguage(): ?Language
  994. {
  995. return $this->mainLanguage;
  996. }
  997. public function setMainLanguage(?Language $mainLanguage): self
  998. {
  999. $this->mainLanguage = $mainLanguage;
  1000. return $this;
  1001. }
  1002. public function getCountryVat(): ?int
  1003. {
  1004. return $this->countryVat;
  1005. }
  1006. public function setCountryVat(?int $countryVat): self
  1007. {
  1008. $this->countryVat = $countryVat;
  1009. return $this;
  1010. }
  1011. public function getCurrency(): ?string
  1012. {
  1013. return $this->currency;
  1014. }
  1015. public function setCurrency(?string $currency): self
  1016. {
  1017. $this->currency = $currency;
  1018. return $this;
  1019. }
  1020. public function getExtratext(): ?string
  1021. {
  1022. return $this->extratext;
  1023. }
  1024. public function setExtratext(?string $extratext): self
  1025. {
  1026. $this->extratext = $extratext;
  1027. return $this;
  1028. }
  1029. public function getExtraconf(): ?string
  1030. {
  1031. return $this->extraconf;
  1032. }
  1033. public function setExtraconf(?string $extraconf): self
  1034. {
  1035. $this->extraconf = $extraconf;
  1036. return $this;
  1037. }
  1038. public function getInfo(): ?string
  1039. {
  1040. return $this->info;
  1041. }
  1042. public function setInfo(?string $info): self
  1043. {
  1044. $this->info = $info;
  1045. return $this;
  1046. }
  1047. public function getSyncroHost(): ?string
  1048. {
  1049. return $this->syncroHost;
  1050. }
  1051. public function setSyncroHost(?string $syncroHost): self
  1052. {
  1053. $this->syncroHost = $syncroHost;
  1054. return $this;
  1055. }
  1056. public function getSyncroUser(): ?string
  1057. {
  1058. return $this->syncroUser;
  1059. }
  1060. public function setSyncroUser(?string $syncroUser): self
  1061. {
  1062. $this->syncroUser = $syncroUser;
  1063. return $this;
  1064. }
  1065. public function getSyncroPassword(): ?string
  1066. {
  1067. return $this->syncroPassword;
  1068. }
  1069. public function setSyncroPassword(?string $syncroPassword): self
  1070. {
  1071. $this->syncroPassword = $syncroPassword;
  1072. return $this;
  1073. }
  1074. public function getSyncroIp(): ?string
  1075. {
  1076. return $this->syncroIp;
  1077. }
  1078. public function setSyncroIp(?string $syncroIp): self
  1079. {
  1080. $this->syncroIp = $syncroIp;
  1081. return $this;
  1082. }
  1083. public function getControlpanelUrl(): ?string
  1084. {
  1085. return $this->controlpanelUrl;
  1086. }
  1087. public function setControlpanelUrl(?string $controlpanelUrl): self
  1088. {
  1089. $this->controlpanelUrl = $controlpanelUrl;
  1090. return $this;
  1091. }
  1092. public function getControlpanelUser(): ?string
  1093. {
  1094. return $this->controlpanelUser;
  1095. }
  1096. public function setControlpanelUser(?string $controlpanelUser): self
  1097. {
  1098. $this->controlpanelUser = $controlpanelUser;
  1099. return $this;
  1100. }
  1101. public function getControlpanelPassword(): ?string
  1102. {
  1103. return $this->controlpanelPassword;
  1104. }
  1105. public function setControlpanelPassword(?string $controlpanelPassword): self
  1106. {
  1107. $this->controlpanelPassword = $controlpanelPassword;
  1108. return $this;
  1109. }
  1110. public function getWebmailUrl(): ?string
  1111. {
  1112. return $this->webmailUrl;
  1113. }
  1114. public function setWebmailUrl(?string $webmailUrl): self
  1115. {
  1116. $this->webmailUrl = $webmailUrl;
  1117. return $this;
  1118. }
  1119. public function getWebmailEmail(): ?string
  1120. {
  1121. return $this->webmailEmail;
  1122. }
  1123. public function setWebmailEmail(?string $webmailEmail): self
  1124. {
  1125. $this->webmailEmail = $webmailEmail;
  1126. return $this;
  1127. }
  1128. public function getWebmailPassword(): ?string
  1129. {
  1130. return $this->webmailPassword;
  1131. }
  1132. public function setWebmailPassword(?string $webmailPassword): self
  1133. {
  1134. $this->webmailPassword = $webmailPassword;
  1135. return $this;
  1136. }
  1137. public function isDifficulty(): bool
  1138. {
  1139. return $this->difficulty;
  1140. }
  1141. public function setDifficulty(bool $difficulty): self
  1142. {
  1143. $this->difficulty = $difficulty;
  1144. return $this;
  1145. }
  1146. public function getEstimatedDate(): ?\DateTime
  1147. {
  1148. return $this->estimatedDate;
  1149. }
  1150. public function setEstimatedDate(?\DateTime $estimatedDate): self
  1151. {
  1152. $this->estimatedDate = $estimatedDate;
  1153. return $this;
  1154. }
  1155. public function getManipDate(): ?\DateTime
  1156. {
  1157. return $this->manipDate;
  1158. }
  1159. public function setManipDate(?\DateTime $manipDate): self
  1160. {
  1161. $this->manipDate = $manipDate;
  1162. return $this;
  1163. }
  1164. public function getPleskChanged(): \DateTime
  1165. {
  1166. return $this->pleskChanged;
  1167. }
  1168. public function setPleskChanged(\DateTime $pleskChanged): self
  1169. {
  1170. $this->pleskChanged = $pleskChanged;
  1171. return $this;
  1172. }
  1173. public function getPrestaVersion(): ?string
  1174. {
  1175. return $this->prestaVersion;
  1176. }
  1177. /**
  1178. * @deprecated
  1179. *
  1180. * @param string|null $prestaVersion
  1181. */
  1182. public function setPrestaVersion(string $prestaVersion): self
  1183. {
  1184. $this->prestaVersion = $prestaVersion;
  1185. return $this;
  1186. }
  1187. public function getSyncroVersion(): string
  1188. {
  1189. return $this->syncroVersion;
  1190. }
  1191. /**
  1192. * @deprecated
  1193. */
  1194. public function setSyncroVersion(string $syncroVersion): self
  1195. {
  1196. $this->syncroVersion = $syncroVersion;
  1197. return $this;
  1198. }
  1199. public function isExcludePasswordRestriction(): bool
  1200. {
  1201. return $this->excludePasswordRestriction;
  1202. }
  1203. public function setExcludePasswordRestriction(bool $excludePasswordRestriction): self
  1204. {
  1205. $this->excludePasswordRestriction = $excludePasswordRestriction;
  1206. return $this;
  1207. }
  1208. public function getHostingProvider(): ?string
  1209. {
  1210. return $this->hostingProvider;
  1211. }
  1212. public function setHostingProvider(?string $hostingProvider): self
  1213. {
  1214. $this->hostingProvider = $hostingProvider;
  1215. return $this;
  1216. }
  1217. public function getEmployee(): ?Employee
  1218. {
  1219. return $this->employee;
  1220. }
  1221. public function setEmployee(?Employee $employee): self
  1222. {
  1223. $this->employee = $employee;
  1224. return $this;
  1225. }
  1226. public function getIdShopProduct(): ?int
  1227. {
  1228. return $this->idShopProduct;
  1229. }
  1230. public function setIdShopProduct(?int $idShopProduct): self
  1231. {
  1232. $this->idShopProduct = $idShopProduct;
  1233. return $this;
  1234. }
  1235. public function getTemplate(): ?string
  1236. {
  1237. return $this->template;
  1238. }
  1239. public function setTemplate(?string $template): self
  1240. {
  1241. $this->template = $template;
  1242. return $this;
  1243. }
  1244. public function getTopic(): ?string
  1245. {
  1246. return $this->topic;
  1247. }
  1248. public function setTopic(?string $topic): self
  1249. {
  1250. $this->topic = $topic;
  1251. return $this;
  1252. }
  1253. public function getBlogHost(): ?string
  1254. {
  1255. return $this->blogHost;
  1256. }
  1257. public function setBlogHost(?string $blogHost): self
  1258. {
  1259. $this->blogHost = $blogHost;
  1260. return $this;
  1261. }
  1262. public function getBlogUser(): ?string
  1263. {
  1264. return $this->blogUser;
  1265. }
  1266. public function setBlogUser(?string $blogUser): self
  1267. {
  1268. $this->blogUser = $blogUser;
  1269. return $this;
  1270. }
  1271. public function getBlogPassword(): ?string
  1272. {
  1273. return $this->blogPassword;
  1274. }
  1275. public function setBlogPassword(?string $blogPassword): self
  1276. {
  1277. $this->blogPassword = $blogPassword;
  1278. return $this;
  1279. }
  1280. public function getFacebookModule(): ?bool
  1281. {
  1282. return $this->facebookModule;
  1283. }
  1284. public function setFacebookModule(?bool $facebookModule): self
  1285. {
  1286. $this->facebookModule = $facebookModule;
  1287. return $this;
  1288. }
  1289. public function getMailchimp(): ?bool
  1290. {
  1291. return $this->mailchimp;
  1292. }
  1293. public function setMailchimp(?bool $mailchimp): self
  1294. {
  1295. $this->mailchimp = $mailchimp;
  1296. return $this;
  1297. }
  1298. public function getMailchimpCode(): ?string
  1299. {
  1300. return $this->mailchimpCode;
  1301. }
  1302. public function setMailchimpCode(?string $mailchimpCode): self
  1303. {
  1304. $this->mailchimpCode = $mailchimpCode;
  1305. return $this;
  1306. }
  1307. public function getTaxes(): ?string
  1308. {
  1309. return $this->taxes;
  1310. }
  1311. public function setTaxes(?string $taxes): self
  1312. {
  1313. $this->taxes = $taxes;
  1314. return $this;
  1315. }
  1316. public function getDomainHost(): ?string
  1317. {
  1318. return $this->domainHost;
  1319. }
  1320. public function setDomainHost(?string $domainHost): self
  1321. {
  1322. $this->domainHost = $domainHost;
  1323. return $this;
  1324. }
  1325. public function getDomainUser(): ?string
  1326. {
  1327. return $this->domainUser;
  1328. }
  1329. public function setDomainUser(?string $domainUser): self
  1330. {
  1331. $this->domainUser = $domainUser;
  1332. return $this;
  1333. }
  1334. public function getDomainPassword(): ?string
  1335. {
  1336. return $this->domainPassword;
  1337. }
  1338. public function setDomainPassword(?string $domainPassword): self
  1339. {
  1340. $this->domainPassword = $domainPassword;
  1341. return $this;
  1342. }
  1343. public function getDomainRegistered(): ?string
  1344. {
  1345. return $this->domainRegistered;
  1346. }
  1347. public function setDomainRegistered(?string $domainRegistered): self
  1348. {
  1349. $this->domainRegistered = $domainRegistered;
  1350. return $this;
  1351. }
  1352. public function getBackupHost(): ?string
  1353. {
  1354. return $this->backupHost;
  1355. }
  1356. public function setBackupHost(?string $backupHost): self
  1357. {
  1358. $this->backupHost = $backupHost;
  1359. return $this;
  1360. }
  1361. public function getBackupUser(): ?string
  1362. {
  1363. return $this->backupUser;
  1364. }
  1365. public function setBackupUser(?string $backupUser): self
  1366. {
  1367. $this->backupUser = $backupUser;
  1368. return $this;
  1369. }
  1370. public function getBackupPassword(): ?string
  1371. {
  1372. return $this->backupPassword;
  1373. }
  1374. public function setBackupPassword(?string $backupPassword): self
  1375. {
  1376. $this->backupPassword = $backupPassword;
  1377. return $this;
  1378. }
  1379. public function getBdBlogHost(): ?string
  1380. {
  1381. return $this->bdBlogHost;
  1382. }
  1383. public function setBdBlogHost(?string $bdBlogHost): self
  1384. {
  1385. $this->bdBlogHost = $bdBlogHost;
  1386. return $this;
  1387. }
  1388. public function getBdBlogName(): ?string
  1389. {
  1390. return $this->bdBlogName;
  1391. }
  1392. public function setBdBlogName(?string $bdBlogName): self
  1393. {
  1394. $this->bdBlogName = $bdBlogName;
  1395. return $this;
  1396. }
  1397. public function getBdBlogUser(): ?string
  1398. {
  1399. return $this->bdBlogUser;
  1400. }
  1401. public function setBdBlogUser(?string $bdBlogUser): self
  1402. {
  1403. $this->bdBlogUser = $bdBlogUser;
  1404. return $this;
  1405. }
  1406. public function getBdBlogUserShow(): ?string
  1407. {
  1408. return $this->bdBlogUserShow;
  1409. }
  1410. public function setBdBlogUserShow(?string $bdBlogUserShow): self
  1411. {
  1412. $this->bdBlogUserShow = $bdBlogUserShow;
  1413. return $this;
  1414. }
  1415. public function getBdBlogPassword(): ?string
  1416. {
  1417. return $this->bdBlogPassword;
  1418. }
  1419. public function setBdBlogPassword(?string $bdBlogPassword): self
  1420. {
  1421. $this->bdBlogPassword = $bdBlogPassword;
  1422. return $this;
  1423. }
  1424. public function getBdBlogPasswordShow(): ?string
  1425. {
  1426. return $this->bdBlogPasswordShow;
  1427. }
  1428. public function setBdBlogPasswordShow(?string $bdBlogPasswordShow): self
  1429. {
  1430. $this->bdBlogPasswordShow = $bdBlogPasswordShow;
  1431. return $this;
  1432. }
  1433. public function getDomainShopify(): ?string
  1434. {
  1435. return $this->domainShopify;
  1436. }
  1437. public function setDomainShopify(?string $domainShopify): self
  1438. {
  1439. $this->domainShopify = $domainShopify;
  1440. return $this;
  1441. }
  1442. public function getEmailShopify(): ?string
  1443. {
  1444. return $this->emailShopify;
  1445. }
  1446. public function setEmailShopify(?string $emailShopify): self
  1447. {
  1448. $this->emailShopify = $emailShopify;
  1449. return $this;
  1450. }
  1451. public function getPasswordShopify(): ?string
  1452. {
  1453. return $this->passwordShopify;
  1454. }
  1455. public function setPasswordShopify(?string $passwordShopify): self
  1456. {
  1457. $this->passwordShopify = $passwordShopify;
  1458. return $this;
  1459. }
  1460. public function getCountryShopify(): ?Country
  1461. {
  1462. return $this->countryShopify;
  1463. }
  1464. public function setCountryShopify(?Country $countryShopify): self
  1465. {
  1466. $this->countryShopify = $countryShopify;
  1467. return $this;
  1468. }
  1469. public function getStateProvinceShopify(): ?string
  1470. {
  1471. return $this->stateProvinceShopify;
  1472. }
  1473. public function setStateProvinceShopify(?string $stateProvinceShopify): self
  1474. {
  1475. $this->stateProvinceShopify = $stateProvinceShopify;
  1476. return $this;
  1477. }
  1478. public function getAddressShopify(): ?string
  1479. {
  1480. return $this->addressShopify;
  1481. }
  1482. public function setAddressShopify(?string $addressShopify): self
  1483. {
  1484. $this->addressShopify = $addressShopify;
  1485. return $this;
  1486. }
  1487. public function getPopulationCityShopify(): ?string
  1488. {
  1489. return $this->populationCityShopify;
  1490. }
  1491. public function setPopulationCityShopify(?string $populationCityShopify): self
  1492. {
  1493. $this->populationCityShopify = $populationCityShopify;
  1494. return $this;
  1495. }
  1496. public function getPostalCodeShopify(): ?string
  1497. {
  1498. return $this->postalCodeShopify;
  1499. }
  1500. public function setPostalCodeShopify(?string $postalCodeShopify): self
  1501. {
  1502. $this->postalCodeShopify = $postalCodeShopify;
  1503. return $this;
  1504. }
  1505. public function getMipSellingChannelId(): ?int
  1506. {
  1507. return $this->mipSellingChannelId;
  1508. }
  1509. public function setMipSellingChannelId(?int $mipSellingChannelId): self
  1510. {
  1511. $this->mipSellingChannelId = $mipSellingChannelId;
  1512. return $this;
  1513. }
  1514. public function isCustomizedLogo(): bool
  1515. {
  1516. return $this->customizedLogo;
  1517. }
  1518. public function setCustomizedLogo(bool $customizedLogo): void
  1519. {
  1520. $this->customizedLogo = $customizedLogo;
  1521. }
  1522. public function updateFavicon(?string $favicon): void
  1523. {
  1524. if ($favicon) {
  1525. $this->favicon = $favicon;
  1526. }
  1527. }
  1528. public function updateLogo(?string $logo): void
  1529. {
  1530. if ($logo) {
  1531. $this->logo = $logo;
  1532. }
  1533. }
  1534. }