var/classes/DataObject/Partner.php line 89

Open in your IDE?
  1. <?php
  2. /**
  3.  * Inheritance: no
  4.  * Variants: no
  5.  *
  6.  * Fields Summary:
  7.  * - companyName [input]
  8.  * - companyName2 [input]
  9.  * - address [table]
  10.  * - phone [input]
  11.  * - fax [input]
  12.  * - email [email]
  13.  * - website [input]
  14.  * - showWebsite [checkbox]
  15.  * - street [input]
  16.  * - zip [input]
  17.  * - city [input]
  18.  * - country [country]
  19.  * - location [geopoint]
  20.  * - mapstext [calculatedValue]
  21.  * - mapHash [input]
  22.  * - customerNumber [input]
  23.  * - customerGroup [input]
  24.  * - typeFieldAWD [checkbox]
  25.  * - typeFieldKEI [checkbox]
  26.  * - typeFieldLCR [checkbox]
  27.  * - typeFieldRP [checkbox]
  28.  * - typeFieldSI [checkbox]
  29.  * - typeFieldSTC [checkbox]
  30.  * - typeFieldSTP [checkbox]
  31.  * - typeFieldSUB [checkbox]
  32.  * - typeFieldWM [checkbox]
  33.  * - typeFieldCOBOT [checkbox]
  34.  * - typeFieldSERVICE [checkbox]
  35.  * - typeFieldLEIT [checkbox]
  36.  * - typeFieldSER [checkbox]
  37.  * - typeFieldANW_ZENTRUM [checkbox]
  38.  * - partnerType [input]
  39.  * - partnerTypeList [calculatedValue]
  40.  * - image [image]
  41.  * - evaID [input]
  42.  * - lorchID [input]
  43.  * - googleLocationOverride [input]
  44.  */
  45. namespace Pimcore\Model\DataObject;
  46. use Pimcore\Model\DataObject\Exception\InheritanceParentNotFoundException;
  47. use Pimcore\Model\DataObject\PreGetValueHookInterface;
  48. /**
  49. * @method static \Pimcore\Model\DataObject\Partner\Listing getList(array $config = [])
  50. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByCompanyName($value, $limit = 0, $offset = 0, $objectTypes = null)
  51. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByCompanyName2($value, $limit = 0, $offset = 0, $objectTypes = null)
  52. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByPhone($value, $limit = 0, $offset = 0, $objectTypes = null)
  53. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByFax($value, $limit = 0, $offset = 0, $objectTypes = null)
  54. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByEmail($value, $limit = 0, $offset = 0, $objectTypes = null)
  55. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByWebsite($value, $limit = 0, $offset = 0, $objectTypes = null)
  56. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByShowWebsite($value, $limit = 0, $offset = 0, $objectTypes = null)
  57. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByStreet($value, $limit = 0, $offset = 0, $objectTypes = null)
  58. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByZip($value, $limit = 0, $offset = 0, $objectTypes = null)
  59. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByCity($value, $limit = 0, $offset = 0, $objectTypes = null)
  60. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByCountry($value, $limit = 0, $offset = 0, $objectTypes = null)
  61. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByMapHash($value, $limit = 0, $offset = 0, $objectTypes = null)
  62. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByCustomerNumber($value, $limit = 0, $offset = 0, $objectTypes = null)
  63. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByCustomerGroup($value, $limit = 0, $offset = 0, $objectTypes = null)
  64. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldAWD($value, $limit = 0, $offset = 0, $objectTypes = null)
  65. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldKEI($value, $limit = 0, $offset = 0, $objectTypes = null)
  66. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldLCR($value, $limit = 0, $offset = 0, $objectTypes = null)
  67. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldRP($value, $limit = 0, $offset = 0, $objectTypes = null)
  68. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldSI($value, $limit = 0, $offset = 0, $objectTypes = null)
  69. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldSTC($value, $limit = 0, $offset = 0, $objectTypes = null)
  70. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldSTP($value, $limit = 0, $offset = 0, $objectTypes = null)
  71. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldSUB($value, $limit = 0, $offset = 0, $objectTypes = null)
  72. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldWM($value, $limit = 0, $offset = 0, $objectTypes = null)
  73. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldCOBOT($value, $limit = 0, $offset = 0, $objectTypes = null)
  74. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldSERVICE($value, $limit = 0, $offset = 0, $objectTypes = null)
  75. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldLEIT($value, $limit = 0, $offset = 0, $objectTypes = null)
  76. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldSER($value, $limit = 0, $offset = 0, $objectTypes = null)
  77. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldANW_ZENTRUM($value, $limit = 0, $offset = 0, $objectTypes = null)
  78. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByPartnerType($value, $limit = 0, $offset = 0, $objectTypes = null)
  79. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByImage($value, $limit = 0, $offset = 0, $objectTypes = null)
  80. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByEvaID($value, $limit = 0, $offset = 0, $objectTypes = null)
  81. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByLorchID($value, $limit = 0, $offset = 0, $objectTypes = null)
  82. * @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByGoogleLocationOverride($value, $limit = 0, $offset = 0, $objectTypes = null)
  83. */
  84. class Partner extends Concrete
  85. {
  86. protected $o_classId "3";
  87. protected $o_className "Partner";
  88. protected $companyName;
  89. protected $companyName2;
  90. protected $address;
  91. protected $phone;
  92. protected $fax;
  93. protected $email;
  94. protected $website;
  95. protected $showWebsite;
  96. protected $street;
  97. protected $zip;
  98. protected $city;
  99. protected $country;
  100. protected $location;
  101. protected $mapHash;
  102. protected $customerNumber;
  103. protected $customerGroup;
  104. protected $typeFieldAWD;
  105. protected $typeFieldKEI;
  106. protected $typeFieldLCR;
  107. protected $typeFieldRP;
  108. protected $typeFieldSI;
  109. protected $typeFieldSTC;
  110. protected $typeFieldSTP;
  111. protected $typeFieldSUB;
  112. protected $typeFieldWM;
  113. protected $typeFieldCOBOT;
  114. protected $typeFieldSERVICE;
  115. protected $typeFieldLEIT;
  116. protected $typeFieldSER;
  117. protected $typeFieldANW_ZENTRUM;
  118. protected $partnerType;
  119. protected $image;
  120. protected $evaID;
  121. protected $lorchID;
  122. protected $googleLocationOverride;
  123. /**
  124. * @param array $values
  125. * @return \Pimcore\Model\DataObject\Partner
  126. */
  127. public static function create($values = array()) {
  128.     $object = new static();
  129.     $object->setValues($values);
  130.     return $object;
  131. }
  132. /**
  133. * Get companyName - Company name
  134. * @return string|null
  135. */
  136. public function getCompanyName()
  137. {
  138.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  139.         $preValue $this->preGetValue("companyName");
  140.         if ($preValue !== null) {
  141.             return $preValue;
  142.         }
  143.     }
  144.     $data $this->companyName;
  145.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  146.         return $data->getPlain();
  147.     }
  148.     return $data;
  149. }
  150. /**
  151. * Set companyName - Company name
  152. * @param string|null $companyName
  153. * @return \Pimcore\Model\DataObject\Partner
  154. */
  155. public function setCompanyName($companyName)
  156. {
  157.     $this->companyName $companyName;
  158.     return $this;
  159. }
  160. /**
  161. * Get companyName2 - Company name 2
  162. * @return string|null
  163. */
  164. public function getCompanyName2()
  165. {
  166.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  167.         $preValue $this->preGetValue("companyName2");
  168.         if ($preValue !== null) {
  169.             return $preValue;
  170.         }
  171.     }
  172.     $data $this->companyName2;
  173.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  174.         return $data->getPlain();
  175.     }
  176.     return $data;
  177. }
  178. /**
  179. * Set companyName2 - Company name 2
  180. * @param string|null $companyName2
  181. * @return \Pimcore\Model\DataObject\Partner
  182. */
  183. public function setCompanyName2($companyName2)
  184. {
  185.     $this->companyName2 $companyName2;
  186.     return $this;
  187. }
  188. /**
  189. * Get address - Address (multiple lines)
  190. * @return array
  191. */
  192. public function getAddress()
  193. {
  194.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  195.         $preValue $this->preGetValue("address");
  196.         if ($preValue !== null) {
  197.             return $preValue;
  198.         }
  199.     }
  200.     $data $this->address;
  201.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  202.         return $data->getPlain() ?? [];
  203.     }
  204.     return $data ?? [];
  205. }
  206. /**
  207. * Set address - Address (multiple lines)
  208. * @param array|null $address
  209. * @return \Pimcore\Model\DataObject\Partner
  210. */
  211. public function setAddress($address)
  212. {
  213.     $this->address $address;
  214.     return $this;
  215. }
  216. /**
  217. * Get phone - Phone
  218. * @return string|null
  219. */
  220. public function getPhone()
  221. {
  222.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  223.         $preValue $this->preGetValue("phone");
  224.         if ($preValue !== null) {
  225.             return $preValue;
  226.         }
  227.     }
  228.     $data $this->phone;
  229.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  230.         return $data->getPlain();
  231.     }
  232.     return $data;
  233. }
  234. /**
  235. * Set phone - Phone
  236. * @param string|null $phone
  237. * @return \Pimcore\Model\DataObject\Partner
  238. */
  239. public function setPhone($phone)
  240. {
  241.     $this->phone $phone;
  242.     return $this;
  243. }
  244. /**
  245. * Get fax - Fax
  246. * @return string|null
  247. */
  248. public function getFax()
  249. {
  250.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  251.         $preValue $this->preGetValue("fax");
  252.         if ($preValue !== null) {
  253.             return $preValue;
  254.         }
  255.     }
  256.     $data $this->fax;
  257.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  258.         return $data->getPlain();
  259.     }
  260.     return $data;
  261. }
  262. /**
  263. * Set fax - Fax
  264. * @param string|null $fax
  265. * @return \Pimcore\Model\DataObject\Partner
  266. */
  267. public function setFax($fax)
  268. {
  269.     $this->fax $fax;
  270.     return $this;
  271. }
  272. /**
  273. * Get email - E-Mail
  274. * @return string|null
  275. */
  276. public function getEmail()
  277. {
  278.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  279.         $preValue $this->preGetValue("email");
  280.         if ($preValue !== null) {
  281.             return $preValue;
  282.         }
  283.     }
  284.     $data $this->email;
  285.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  286.         return $data->getPlain();
  287.     }
  288.     return $data;
  289. }
  290. /**
  291. * Set email - E-Mail
  292. * @param string|null $email
  293. * @return \Pimcore\Model\DataObject\Partner
  294. */
  295. public function setEmail($email)
  296. {
  297.     $this->email $email;
  298.     return $this;
  299. }
  300. /**
  301. * Get website - Website
  302. * @return string|null
  303. */
  304. public function getWebsite()
  305. {
  306.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  307.         $preValue $this->preGetValue("website");
  308.         if ($preValue !== null) {
  309.             return $preValue;
  310.         }
  311.     }
  312.     $data $this->website;
  313.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  314.         return $data->getPlain();
  315.     }
  316.     return $data;
  317. }
  318. /**
  319. * Set website - Website
  320. * @param string|null $website
  321. * @return \Pimcore\Model\DataObject\Partner
  322. */
  323. public function setWebsite($website)
  324. {
  325.     $this->website $website;
  326.     return $this;
  327. }
  328. /**
  329. * Get showWebsite - showWebsite
  330. * @return bool|null
  331. */
  332. public function getShowWebsite()
  333. {
  334.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  335.         $preValue $this->preGetValue("showWebsite");
  336.         if ($preValue !== null) {
  337.             return $preValue;
  338.         }
  339.     }
  340.     $data $this->showWebsite;
  341.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  342.         return $data->getPlain();
  343.     }
  344.     return $data;
  345. }
  346. /**
  347. * Set showWebsite - showWebsite
  348. * @param bool|null $showWebsite
  349. * @return \Pimcore\Model\DataObject\Partner
  350. */
  351. public function setShowWebsite($showWebsite)
  352. {
  353.     $this->showWebsite $showWebsite;
  354.     return $this;
  355. }
  356. /**
  357. * Get street - street
  358. * @return string|null
  359. */
  360. public function getStreet()
  361. {
  362.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  363.         $preValue $this->preGetValue("street");
  364.         if ($preValue !== null) {
  365.             return $preValue;
  366.         }
  367.     }
  368.     $data $this->street;
  369.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  370.         return $data->getPlain();
  371.     }
  372.     return $data;
  373. }
  374. /**
  375. * Set street - street
  376. * @param string|null $street
  377. * @return \Pimcore\Model\DataObject\Partner
  378. */
  379. public function setStreet($street)
  380. {
  381.     $this->street $street;
  382.     return $this;
  383. }
  384. /**
  385. * Get zip - zip
  386. * @return string|null
  387. */
  388. public function getZip()
  389. {
  390.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  391.         $preValue $this->preGetValue("zip");
  392.         if ($preValue !== null) {
  393.             return $preValue;
  394.         }
  395.     }
  396.     $data $this->zip;
  397.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  398.         return $data->getPlain();
  399.     }
  400.     return $data;
  401. }
  402. /**
  403. * Set zip - zip
  404. * @param string|null $zip
  405. * @return \Pimcore\Model\DataObject\Partner
  406. */
  407. public function setZip($zip)
  408. {
  409.     $this->zip $zip;
  410.     return $this;
  411. }
  412. /**
  413. * Get city - city
  414. * @return string|null
  415. */
  416. public function getCity()
  417. {
  418.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  419.         $preValue $this->preGetValue("city");
  420.         if ($preValue !== null) {
  421.             return $preValue;
  422.         }
  423.     }
  424.     $data $this->city;
  425.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  426.         return $data->getPlain();
  427.     }
  428.     return $data;
  429. }
  430. /**
  431. * Set city - city
  432. * @param string|null $city
  433. * @return \Pimcore\Model\DataObject\Partner
  434. */
  435. public function setCity($city)
  436. {
  437.     $this->city $city;
  438.     return $this;
  439. }
  440. /**
  441. * Get country - country
  442. * @return string|null
  443. */
  444. public function getCountry()
  445. {
  446.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  447.         $preValue $this->preGetValue("country");
  448.         if ($preValue !== null) {
  449.             return $preValue;
  450.         }
  451.     }
  452.     $data $this->country;
  453.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  454.         return $data->getPlain();
  455.     }
  456.     return $data;
  457. }
  458. /**
  459. * Set country - country
  460. * @param string|null $country
  461. * @return \Pimcore\Model\DataObject\Partner
  462. */
  463. public function setCountry($country)
  464. {
  465.     $this->country $country;
  466.     return $this;
  467. }
  468. /**
  469. * Get location - Location
  470. * @return \Pimcore\Model\DataObject\Data\GeoCoordinates|null
  471. */
  472. public function getLocation()
  473. {
  474.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  475.         $preValue $this->preGetValue("location");
  476.         if ($preValue !== null) {
  477.             return $preValue;
  478.         }
  479.     }
  480.     $data $this->location;
  481.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  482.         return $data->getPlain();
  483.     }
  484.     return $data;
  485. }
  486. /**
  487. * Set location - Location
  488. * @param \Pimcore\Model\DataObject\Data\GeoCoordinates|null $location
  489. * @return \Pimcore\Model\DataObject\Partner
  490. */
  491. public function setLocation($location)
  492. {
  493.     $this->location $location;
  494.     return $this;
  495. }
  496. /**
  497. * Get mapstext - mapstext
  498. * @return \Pimcore\Model\DataObject\Data\CalculatedValue|null
  499. */
  500. public function getMapstext()
  501. {
  502.     $data = new \Pimcore\Model\DataObject\Data\CalculatedValue('mapstext');
  503.     $data->setContextualData("object"nullnullnull);
  504.     $object $this;
  505.     $data \Pimcore\Model\DataObject\Service::getCalculatedFieldValue($object$data);
  506.     return $data;
  507. }
  508. /**
  509. * Set mapstext - mapstext
  510. * @param \Pimcore\Model\DataObject\Data\CalculatedValue|null $mapstext
  511. * @return \Pimcore\Model\DataObject\Partner
  512. */
  513. public function setMapstext($mapstext)
  514. {
  515.     return $this;
  516. }
  517. /**
  518. * Get mapHash - mapHash
  519. * @return string|null
  520. */
  521. public function getMapHash()
  522. {
  523.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  524.         $preValue $this->preGetValue("mapHash");
  525.         if ($preValue !== null) {
  526.             return $preValue;
  527.         }
  528.     }
  529.     $data $this->mapHash;
  530.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  531.         return $data->getPlain();
  532.     }
  533.     return $data;
  534. }
  535. /**
  536. * Set mapHash - mapHash
  537. * @param string|null $mapHash
  538. * @return \Pimcore\Model\DataObject\Partner
  539. */
  540. public function setMapHash($mapHash)
  541. {
  542.     $this->mapHash $mapHash;
  543.     return $this;
  544. }
  545. /**
  546. * Get customerNumber - customerNumber
  547. * @return string|null
  548. */
  549. public function getCustomerNumber()
  550. {
  551.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  552.         $preValue $this->preGetValue("customerNumber");
  553.         if ($preValue !== null) {
  554.             return $preValue;
  555.         }
  556.     }
  557.     $data $this->customerNumber;
  558.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  559.         return $data->getPlain();
  560.     }
  561.     return $data;
  562. }
  563. /**
  564. * Set customerNumber - customerNumber
  565. * @param string|null $customerNumber
  566. * @return \Pimcore\Model\DataObject\Partner
  567. */
  568. public function setCustomerNumber($customerNumber)
  569. {
  570.     $this->customerNumber $customerNumber;
  571.     return $this;
  572. }
  573. /**
  574. * Get customerGroup - customerGroup
  575. * @return string|null
  576. */
  577. public function getCustomerGroup()
  578. {
  579.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  580.         $preValue $this->preGetValue("customerGroup");
  581.         if ($preValue !== null) {
  582.             return $preValue;
  583.         }
  584.     }
  585.     $data $this->customerGroup;
  586.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  587.         return $data->getPlain();
  588.     }
  589.     return $data;
  590. }
  591. /**
  592. * Set customerGroup - customerGroup
  593. * @param string|null $customerGroup
  594. * @return \Pimcore\Model\DataObject\Partner
  595. */
  596. public function setCustomerGroup($customerGroup)
  597. {
  598.     $this->customerGroup $customerGroup;
  599.     return $this;
  600. }
  601. /**
  602. * Get typeFieldAWD - AWD
  603. * @return bool|null
  604. */
  605. public function getTypeFieldAWD()
  606. {
  607.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  608.         $preValue $this->preGetValue("typeFieldAWD");
  609.         if ($preValue !== null) {
  610.             return $preValue;
  611.         }
  612.     }
  613.     $data $this->typeFieldAWD;
  614.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  615.         return $data->getPlain();
  616.     }
  617.     return $data;
  618. }
  619. /**
  620. * Set typeFieldAWD - AWD
  621. * @param bool|null $typeFieldAWD
  622. * @return \Pimcore\Model\DataObject\Partner
  623. */
  624. public function setTypeFieldAWD($typeFieldAWD)
  625. {
  626.     $this->typeFieldAWD $typeFieldAWD;
  627.     return $this;
  628. }
  629. /**
  630. * Get typeFieldKEI - KEI
  631. * @return bool|null
  632. */
  633. public function getTypeFieldKEI()
  634. {
  635.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  636.         $preValue $this->preGetValue("typeFieldKEI");
  637.         if ($preValue !== null) {
  638.             return $preValue;
  639.         }
  640.     }
  641.     $data $this->typeFieldKEI;
  642.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  643.         return $data->getPlain();
  644.     }
  645.     return $data;
  646. }
  647. /**
  648. * Set typeFieldKEI - KEI
  649. * @param bool|null $typeFieldKEI
  650. * @return \Pimcore\Model\DataObject\Partner
  651. */
  652. public function setTypeFieldKEI($typeFieldKEI)
  653. {
  654.     $this->typeFieldKEI $typeFieldKEI;
  655.     return $this;
  656. }
  657. /**
  658. * Get typeFieldLCR - LCR
  659. * @return bool|null
  660. */
  661. public function getTypeFieldLCR()
  662. {
  663.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  664.         $preValue $this->preGetValue("typeFieldLCR");
  665.         if ($preValue !== null) {
  666.             return $preValue;
  667.         }
  668.     }
  669.     $data $this->typeFieldLCR;
  670.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  671.         return $data->getPlain();
  672.     }
  673.     return $data;
  674. }
  675. /**
  676. * Set typeFieldLCR - LCR
  677. * @param bool|null $typeFieldLCR
  678. * @return \Pimcore\Model\DataObject\Partner
  679. */
  680. public function setTypeFieldLCR($typeFieldLCR)
  681. {
  682.     $this->typeFieldLCR $typeFieldLCR;
  683.     return $this;
  684. }
  685. /**
  686. * Get typeFieldRP - RP
  687. * @return bool|null
  688. */
  689. public function getTypeFieldRP()
  690. {
  691.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  692.         $preValue $this->preGetValue("typeFieldRP");
  693.         if ($preValue !== null) {
  694.             return $preValue;
  695.         }
  696.     }
  697.     $data $this->typeFieldRP;
  698.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  699.         return $data->getPlain();
  700.     }
  701.     return $data;
  702. }
  703. /**
  704. * Set typeFieldRP - RP
  705. * @param bool|null $typeFieldRP
  706. * @return \Pimcore\Model\DataObject\Partner
  707. */
  708. public function setTypeFieldRP($typeFieldRP)
  709. {
  710.     $this->typeFieldRP $typeFieldRP;
  711.     return $this;
  712. }
  713. /**
  714. * Get typeFieldSI - SI
  715. * @return bool|null
  716. */
  717. public function getTypeFieldSI()
  718. {
  719.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  720.         $preValue $this->preGetValue("typeFieldSI");
  721.         if ($preValue !== null) {
  722.             return $preValue;
  723.         }
  724.     }
  725.     $data $this->typeFieldSI;
  726.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  727.         return $data->getPlain();
  728.     }
  729.     return $data;
  730. }
  731. /**
  732. * Set typeFieldSI - SI
  733. * @param bool|null $typeFieldSI
  734. * @return \Pimcore\Model\DataObject\Partner
  735. */
  736. public function setTypeFieldSI($typeFieldSI)
  737. {
  738.     $this->typeFieldSI $typeFieldSI;
  739.     return $this;
  740. }
  741. /**
  742. * Get typeFieldSTC - STC
  743. * @return bool|null
  744. */
  745. public function getTypeFieldSTC()
  746. {
  747.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  748.         $preValue $this->preGetValue("typeFieldSTC");
  749.         if ($preValue !== null) {
  750.             return $preValue;
  751.         }
  752.     }
  753.     $data $this->typeFieldSTC;
  754.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  755.         return $data->getPlain();
  756.     }
  757.     return $data;
  758. }
  759. /**
  760. * Set typeFieldSTC - STC
  761. * @param bool|null $typeFieldSTC
  762. * @return \Pimcore\Model\DataObject\Partner
  763. */
  764. public function setTypeFieldSTC($typeFieldSTC)
  765. {
  766.     $this->typeFieldSTC $typeFieldSTC;
  767.     return $this;
  768. }
  769. /**
  770. * Get typeFieldSTP - STP
  771. * @return bool|null
  772. */
  773. public function getTypeFieldSTP()
  774. {
  775.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  776.         $preValue $this->preGetValue("typeFieldSTP");
  777.         if ($preValue !== null) {
  778.             return $preValue;
  779.         }
  780.     }
  781.     $data $this->typeFieldSTP;
  782.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  783.         return $data->getPlain();
  784.     }
  785.     return $data;
  786. }
  787. /**
  788. * Set typeFieldSTP - STP
  789. * @param bool|null $typeFieldSTP
  790. * @return \Pimcore\Model\DataObject\Partner
  791. */
  792. public function setTypeFieldSTP($typeFieldSTP)
  793. {
  794.     $this->typeFieldSTP $typeFieldSTP;
  795.     return $this;
  796. }
  797. /**
  798. * Get typeFieldSUB - SUB
  799. * @return bool|null
  800. */
  801. public function getTypeFieldSUB()
  802. {
  803.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  804.         $preValue $this->preGetValue("typeFieldSUB");
  805.         if ($preValue !== null) {
  806.             return $preValue;
  807.         }
  808.     }
  809.     $data $this->typeFieldSUB;
  810.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  811.         return $data->getPlain();
  812.     }
  813.     return $data;
  814. }
  815. /**
  816. * Set typeFieldSUB - SUB
  817. * @param bool|null $typeFieldSUB
  818. * @return \Pimcore\Model\DataObject\Partner
  819. */
  820. public function setTypeFieldSUB($typeFieldSUB)
  821. {
  822.     $this->typeFieldSUB $typeFieldSUB;
  823.     return $this;
  824. }
  825. /**
  826. * Get typeFieldWM - WM
  827. * @return bool|null
  828. */
  829. public function getTypeFieldWM()
  830. {
  831.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  832.         $preValue $this->preGetValue("typeFieldWM");
  833.         if ($preValue !== null) {
  834.             return $preValue;
  835.         }
  836.     }
  837.     $data $this->typeFieldWM;
  838.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  839.         return $data->getPlain();
  840.     }
  841.     return $data;
  842. }
  843. /**
  844. * Set typeFieldWM - WM
  845. * @param bool|null $typeFieldWM
  846. * @return \Pimcore\Model\DataObject\Partner
  847. */
  848. public function setTypeFieldWM($typeFieldWM)
  849. {
  850.     $this->typeFieldWM $typeFieldWM;
  851.     return $this;
  852. }
  853. /**
  854. * Get typeFieldCOBOT - Cobot Partner
  855. * @return bool|null
  856. */
  857. public function getTypeFieldCOBOT()
  858. {
  859.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  860.         $preValue $this->preGetValue("typeFieldCOBOT");
  861.         if ($preValue !== null) {
  862.             return $preValue;
  863.         }
  864.     }
  865.     $data $this->typeFieldCOBOT;
  866.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  867.         return $data->getPlain();
  868.     }
  869.     return $data;
  870. }
  871. /**
  872. * Set typeFieldCOBOT - Cobot Partner
  873. * @param bool|null $typeFieldCOBOT
  874. * @return \Pimcore\Model\DataObject\Partner
  875. */
  876. public function setTypeFieldCOBOT($typeFieldCOBOT)
  877. {
  878.     $this->typeFieldCOBOT $typeFieldCOBOT;
  879.     return $this;
  880. }
  881. /**
  882. * Get typeFieldSERVICE - SERVICE
  883. * @return bool|null
  884. */
  885. public function getTypeFieldSERVICE()
  886. {
  887.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  888.         $preValue $this->preGetValue("typeFieldSERVICE");
  889.         if ($preValue !== null) {
  890.             return $preValue;
  891.         }
  892.     }
  893.     $data $this->typeFieldSERVICE;
  894.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  895.         return $data->getPlain();
  896.     }
  897.     return $data;
  898. }
  899. /**
  900. * Set typeFieldSERVICE - SERVICE
  901. * @param bool|null $typeFieldSERVICE
  902. * @return \Pimcore\Model\DataObject\Partner
  903. */
  904. public function setTypeFieldSERVICE($typeFieldSERVICE)
  905. {
  906.     $this->typeFieldSERVICE $typeFieldSERVICE;
  907.     return $this;
  908. }
  909. /**
  910. * Get typeFieldLEIT - LEIT
  911. * @return bool|null
  912. */
  913. public function getTypeFieldLEIT()
  914. {
  915.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  916.         $preValue $this->preGetValue("typeFieldLEIT");
  917.         if ($preValue !== null) {
  918.             return $preValue;
  919.         }
  920.     }
  921.     $data $this->typeFieldLEIT;
  922.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  923.         return $data->getPlain();
  924.     }
  925.     return $data;
  926. }
  927. /**
  928. * Set typeFieldLEIT - LEIT
  929. * @param bool|null $typeFieldLEIT
  930. * @return \Pimcore\Model\DataObject\Partner
  931. */
  932. public function setTypeFieldLEIT($typeFieldLEIT)
  933. {
  934.     $this->typeFieldLEIT $typeFieldLEIT;
  935.     return $this;
  936. }
  937. /**
  938. * Get typeFieldSER - SER
  939. * @return bool|null
  940. */
  941. public function getTypeFieldSER()
  942. {
  943.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  944.         $preValue $this->preGetValue("typeFieldSER");
  945.         if ($preValue !== null) {
  946.             return $preValue;
  947.         }
  948.     }
  949.     $data $this->typeFieldSER;
  950.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  951.         return $data->getPlain();
  952.     }
  953.     return $data;
  954. }
  955. /**
  956. * Set typeFieldSER - SER
  957. * @param bool|null $typeFieldSER
  958. * @return \Pimcore\Model\DataObject\Partner
  959. */
  960. public function setTypeFieldSER($typeFieldSER)
  961. {
  962.     $this->typeFieldSER $typeFieldSER;
  963.     return $this;
  964. }
  965. /**
  966. * Get typeFieldANW_ZENTRUM - ANW_ZENTRUM
  967. * @return bool|null
  968. */
  969. public function getTypeFieldANW_ZENTRUM()
  970. {
  971.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  972.         $preValue $this->preGetValue("typeFieldANW_ZENTRUM");
  973.         if ($preValue !== null) {
  974.             return $preValue;
  975.         }
  976.     }
  977.     $data $this->typeFieldANW_ZENTRUM;
  978.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  979.         return $data->getPlain();
  980.     }
  981.     return $data;
  982. }
  983. /**
  984. * Set typeFieldANW_ZENTRUM - ANW_ZENTRUM
  985. * @param bool|null $typeFieldANW_ZENTRUM
  986. * @return \Pimcore\Model\DataObject\Partner
  987. */
  988. public function setTypeFieldANW_ZENTRUM($typeFieldANW_ZENTRUM)
  989. {
  990.     $this->typeFieldANW_ZENTRUM $typeFieldANW_ZENTRUM;
  991.     return $this;
  992. }
  993. /**
  994. * Get partnerType - Partner Type
  995. * @return string|null
  996. */
  997. public function getPartnerType()
  998. {
  999.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1000.         $preValue $this->preGetValue("partnerType");
  1001.         if ($preValue !== null) {
  1002.             return $preValue;
  1003.         }
  1004.     }
  1005.     $data $this->partnerType;
  1006.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1007.         return $data->getPlain();
  1008.     }
  1009.     return $data;
  1010. }
  1011. /**
  1012. * Set partnerType - Partner Type
  1013. * @param string|null $partnerType
  1014. * @return \Pimcore\Model\DataObject\Partner
  1015. */
  1016. public function setPartnerType($partnerType)
  1017. {
  1018.     $this->partnerType $partnerType;
  1019.     return $this;
  1020. }
  1021. /**
  1022. * Get partnerTypeList - Type List
  1023. * @return \Pimcore\Model\DataObject\Data\CalculatedValue|null
  1024. */
  1025. public function getPartnerTypeList()
  1026. {
  1027.     $data = new \Pimcore\Model\DataObject\Data\CalculatedValue('partnerTypeList');
  1028.     $data->setContextualData("object"nullnullnull);
  1029.     $object $this;
  1030.     $data \Pimcore\Model\DataObject\Service::getCalculatedFieldValue($object$data);
  1031.     return $data;
  1032. }
  1033. /**
  1034. * Set partnerTypeList - Type List
  1035. * @param \Pimcore\Model\DataObject\Data\CalculatedValue|null $partnerTypeList
  1036. * @return \Pimcore\Model\DataObject\Partner
  1037. */
  1038. public function setPartnerTypeList($partnerTypeList)
  1039. {
  1040.     return $this;
  1041. }
  1042. /**
  1043. * Get image - Image
  1044. * @return \Pimcore\Model\Asset\Image|null
  1045. */
  1046. public function getImage()
  1047. {
  1048.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1049.         $preValue $this->preGetValue("image");
  1050.         if ($preValue !== null) {
  1051.             return $preValue;
  1052.         }
  1053.     }
  1054.     $data $this->image;
  1055.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1056.         return $data->getPlain();
  1057.     }
  1058.     return $data;
  1059. }
  1060. /**
  1061. * Set image - Image
  1062. * @param \Pimcore\Model\Asset\Image|null $image
  1063. * @return \Pimcore\Model\DataObject\Partner
  1064. */
  1065. public function setImage($image)
  1066. {
  1067.     $this->image $image;
  1068.     return $this;
  1069. }
  1070. /**
  1071. * Get evaID - evaID
  1072. * @return string|null
  1073. */
  1074. public function getEvaID()
  1075. {
  1076.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1077.         $preValue $this->preGetValue("evaID");
  1078.         if ($preValue !== null) {
  1079.             return $preValue;
  1080.         }
  1081.     }
  1082.     $data $this->evaID;
  1083.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1084.         return $data->getPlain();
  1085.     }
  1086.     return $data;
  1087. }
  1088. /**
  1089. * Set evaID - evaID
  1090. * @param string|null $evaID
  1091. * @return \Pimcore\Model\DataObject\Partner
  1092. */
  1093. public function setEvaID($evaID)
  1094. {
  1095.     $this->evaID $evaID;
  1096.     return $this;
  1097. }
  1098. /**
  1099. * Get lorchID - lorchID
  1100. * @return string|null
  1101. */
  1102. public function getLorchID()
  1103. {
  1104.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1105.         $preValue $this->preGetValue("lorchID");
  1106.         if ($preValue !== null) {
  1107.             return $preValue;
  1108.         }
  1109.     }
  1110.     $data $this->lorchID;
  1111.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1112.         return $data->getPlain();
  1113.     }
  1114.     return $data;
  1115. }
  1116. /**
  1117. * Set lorchID - lorchID
  1118. * @param string|null $lorchID
  1119. * @return \Pimcore\Model\DataObject\Partner
  1120. */
  1121. public function setLorchID($lorchID)
  1122. {
  1123.     $this->lorchID $lorchID;
  1124.     return $this;
  1125. }
  1126. /**
  1127. * Get googleLocationOverride - google location override
  1128. * @return string|null
  1129. */
  1130. public function getGoogleLocationOverride()
  1131. {
  1132.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1133.         $preValue $this->preGetValue("googleLocationOverride");
  1134.         if ($preValue !== null) {
  1135.             return $preValue;
  1136.         }
  1137.     }
  1138.     $data $this->googleLocationOverride;
  1139.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1140.         return $data->getPlain();
  1141.     }
  1142.     return $data;
  1143. }
  1144. /**
  1145. * Set googleLocationOverride - google location override
  1146. * @param string|null $googleLocationOverride
  1147. * @return \Pimcore\Model\DataObject\Partner
  1148. */
  1149. public function setGoogleLocationOverride($googleLocationOverride)
  1150. {
  1151.     $this->googleLocationOverride $googleLocationOverride;
  1152.     return $this;
  1153. }
  1154. }