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