<?php
/**
 * 2007-2023 PrestaShop
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to http://www.prestashop.com for more information.
 *
 *  @author    PrestaShop SA <contact@prestashop.com>
 *  @copyright 2007-2023 PrestaShop SA
 *  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 *  International Registered Trademark & Property of PrestaShop SA
 */
declare(strict_types=1);

namespace PrestaShop\Module\AgileMultisellerPro\Entity;

use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM;

if (!defined('_PS_VERSION_')) {
    exit;
}

/**
 * Sellerinfo
 *
 * @ORM\Table()
 * @ORM\Entity(repositoryClass="PrestaShop\Module\AgileMultisellerPro\Repository\SellerInfoRepository")
 * @ORM\HasLifecycleCallbacks
 */
class Sellerinfo
{
    /**
     * @var int
     *
     * @ORM\Id
     * @ORM\Column(name="id_sellerinfo", type="bigint", nullable=false)
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $idSellerinfo;

    /**
     * @ORM\OneToMany(targetEntity="PrestaShop\Module\AgileMultisellerPro\Entity\SellerinfoLang", cascade={"persist", "remove"}, mappedBy="sellerInfo")
     */
    private $sellerLangs;

    /**
     * @var int
     *
     * @ORM\Column(name="id_country", type="integer", nullable=false, options={"unsigned"=true})
     */
    private $idCountry;

    /**
     * @var int|null
     *
     * @ORM\Column(name="id_state", type="integer", nullable=true, options={"unsigned"=true})
     */
    private $idState;

    /**
     * @var string|null
     *
     * @ORM\Column(name="postcode", type="string", length=12, nullable=true)
     */
    private $postcode;

    /**
     * @var string|null
     *
     * @ORM\Column(name="phone", type="string", length=16, nullable=true)
     */
    private $phone;

    /**
     * @var string|null
     *
     * @ORM\Column(name="fax", type="string", length=16, nullable=true)
     */
    private $fax;

    /**
     * @var float|null
     *
     * @ORM\Column(name="latitude", type="float", precision=10, scale=0, nullable=true)
     */
    private $latitude;

    /**
     * @var float|null
     *
     * @ORM\Column(name="longitude", type="float", precision=10, scale=0, nullable=true)
     */
    private $longitude;

    /**
     * @var bool
     *
     * @ORM\Column(name="active", type="integer", nullable=false)
     */
    private $active = false;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="date_add", type="datetime", nullable=false)
     */
    private $dateAdd;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="date_upd", type="datetime", nullable=false)
     */
    private $dateUpd;

    /**
     * @var int|null
     *
     * @ORM\Column(name="id_customer", type="bigint", nullable=true)
     */
    private $idCustomer;

    /**
     * @var int|null
     *
     * @ORM\Column(name="id_manufacturer", type="bigint", nullable=true)
     */
    private $idManufacturer;

    /**
     * @var int|null
     *
     * @ORM\Column(name="id_supplier", type="bigint", nullable=true)
     */
    private $idSupplier;

    /**
     * @var string|null
     *
     * @ORM\Column(name="theme_name", type="string", length=255, nullable=true)
     */
    private $themeName;

    /**
     * @var bool|null
     *
     * @ORM\Column(name="payment_collection", type="boolean", nullable=true)
     */
    private $paymentCollection = false;

    /**
     * @var string|null
     *
     * @ORM\Column(name="service_zipcodes", type="string", length=2000, nullable=true)
     */
    private $serviceZipcodes;

    /**
     * @var float|null
     *
     * @ORM\Column(name="service_distance", type="float", precision=10, scale=0, nullable=true)
     */
    private $serviceDistance;

    /**
     * @var string|null
     *
     * @ORM\Column(name="dni", type="string", length=128, nullable=true)
     */
    private $dni;

    /**
     * @var int|null
     *
     * @ORM\Column(name="id_shop", type="bigint", nullable=true)
     */
    private $idShop;

    /**
     * @var int|null
     *
     * @ORM\Column(name="id_category_default", type="bigint", nullable=true)
     */
    private $idCategoryDefault;

    /**
     * @var int|null
     *
     * @ORM\Column(name="id_sellertype1", type="bigint", nullable=true)
     */
    private $idSellertype1;

    /**
     * @var int|null
     *
     * @ORM\Column(name="id_sellertype2", type="bigint", nullable=true)
     */
    private $idSellertype2;

    /**
     * @var float|null
     *
     * @ORM\Column(name="ams_custom_number1", type="float", precision=10, scale=0, nullable=true)
     */
    private $amsCustomNumber1;

    /**
     * @var float|null
     *
     * @ORM\Column(name="ams_custom_number2", type="float", precision=10, scale=0, nullable=true)
     */
    private $amsCustomNumber2;

    /**
     * @var float|null
     *
     * @ORM\Column(name="ams_custom_number3", type="float", precision=10, scale=0, nullable=true)
     */
    private $amsCustomNumber3;

    /**
     * @var float|null
     *
     * @ORM\Column(name="ams_custom_number4", type="float", precision=10, scale=0, nullable=true)
     */
    private $amsCustomNumber4;

    /**
     * @var float|null
     *
     * @ORM\Column(name="ams_custom_number5", type="float", precision=10, scale=0, nullable=true)
     */
    private $amsCustomNumber5;

    /**
     * @var float|null
     *
     * @ORM\Column(name="ams_custom_number6", type="float", precision=10, scale=0, nullable=true)
     */
    private $amsCustomNumber6;

    /**
     * @var float|null
     *
     * @ORM\Column(name="ams_custom_number7", type="float", precision=10, scale=0, nullable=true)
     */
    private $amsCustomNumber7;

    /**
     * @var float|null
     *
     * @ORM\Column(name="ams_custom_number8", type="float", precision=10, scale=0, nullable=true)
     */
    private $amsCustomNumber8;

    /**
     * @var float|null
     *
     * @ORM\Column(name="ams_custom_number9", type="float", precision=10, scale=0, nullable=true)
     */
    private $amsCustomNumber9;

    /**
     * @var float|null
     *
     * @ORM\Column(name="ams_custom_number10", type="float", precision=10, scale=0, nullable=true)
     */
    private $amsCustomNumber10;

    /**
     * @var \DateTime|null
     *
     * @ORM\Column(name="ams_custom_date1", type="date", nullable=true)
     */
    private $amsCustomDate1;

    /**
     * @var \DateTime|null
     *
     * @ORM\Column(name="ams_custom_date2", type="date", nullable=true)
     */
    private $amsCustomDate2;

    /**
     * @var \DateTime|null
     *
     * @ORM\Column(name="ams_custom_date3", type="date", nullable=true)
     */
    private $amsCustomDate3;

    /**
     * @var \DateTime|null
     *
     * @ORM\Column(name="ams_custom_date4", type="date", nullable=true)
     */
    private $amsCustomDate4;

    /**
     * @var \DateTime|null
     *
     * @ORM\Column(name="ams_custom_date5", type="date", nullable=true)
     */
    private $amsCustomDate5;

    /**
     * @var string|null
     *
     * @ORM\Column(name="ams_custom_string1", type="string", length=255, nullable=true)
     */
    private $amsCustomString1;

    /**
     * @var string|null
     *
     * @ORM\Column(name="ams_custom_string2", type="string", length=255, nullable=true)
     */
    private $amsCustomString2;

    /**
     * @var string|null
     *
     * @ORM\Column(name="ams_custom_string3", type="string", length=255, nullable=true)
     */
    private $amsCustomString3;

    /**
     * @var string|null
     *
     * @ORM\Column(name="ams_custom_string4", type="string", length=255, nullable=true)
     */
    private $amsCustomString4;

    /**
     * @var string|null
     *
     * @ORM\Column(name="ams_custom_string5", type="string", length=255, nullable=true)
     */
    private $amsCustomString5;

    /**
     * @var string|null
     *
     * @ORM\Column(name="ams_custom_string6", type="string", length=255, nullable=true)
     */
    private $amsCustomString6;

    /**
     * @var string|null
     *
     * @ORM\Column(name="ams_custom_string7", type="string", length=255, nullable=true)
     */
    private $amsCustomString7;

    /**
     * @var string|null
     *
     * @ORM\Column(name="ams_custom_string8", type="string", length=255, nullable=true)
     */
    private $amsCustomString8;

    /**
     * @var string|null
     *
     * @ORM\Column(name="ams_custom_string9", type="string", length=255, nullable=true)
     */
    private $amsCustomString9;

    /**
     * @var string|null
     *
     * @ORM\Column(name="ams_custom_string10", type="string", length=255, nullable=true)
     */
    private $amsCustomString10;

    /**
     * @var string|null
     *
     * @ORM\Column(name="ams_custom_string11", type="string", length=255, nullable=true)
     */
    private $amsCustomString11;

    /**
     * @var string|null
     *
     * @ORM\Column(name="ams_custom_string12", type="string", length=255, nullable=true)
     */
    private $amsCustomString12;

    /**
     * @var string|null
     *
     * @ORM\Column(name="ams_custom_string13", type="string", length=255, nullable=true)
     */
    private $amsCustomString13;

    /**
     * @var string|null
     *
     * @ORM\Column(name="ams_custom_string14", type="string", length=255, nullable=true)
     */
    private $amsCustomString14;

    /**
     * @var string|null
     *
     * @ORM\Column(name="ams_custom_string15", type="string", length=255, nullable=true)
     */
    private $amsCustomString15;

    public function __construct()
    {
        $this->sellerLangs = new ArrayCollection();
    }

    public function getIdSellerinfo(): ?int
    {
        if (!empty($this->idSellerinfo)) {
            return (int) $this->idSellerinfo;
        } else {
            return $this->idSellerinfo;
        }
    }

    /**
     * @return ArrayCollection
     */
    public function getLangs()
    {
        return $this->sellerLangs;
    }

    /**
     * @param int $langId
     *
     * @return SellerinfoLang|null
     */
    public function getLangByLangId(int $langId): ?SellerinfoLang
    {
        foreach ($this->sellerLangs as $sellerLang) {
            if ($langId === $sellerLang->getLang()->getId()) {
                return $sellerLang;
            }
        }

        return null;
    }

    /**
     * @param SellerinfoLang $sellerLang
     *
     * @return $this
     */
    public function addSellerLang(SellerinfoLang $sellerLang): self
    {
        $sellerLang->setSellerinfo($this);
        $this->sellerLangs->add($sellerLang);

        return $this;
    }

    public function getCompany(): ?string
    {
        if ($this->sellerLangs->count() <= 0) {
            return '';
        }

        $sellerLang = $this->sellerLangs->first();

        return $sellerLang->getCompany();
    }

    public function getIdCountry(): ?int
    {
        return $this->idCountry;
    }

    public function setIdCountry(int $idCountry): self
    {
        $this->idCountry = $idCountry;

        return $this;
    }

    public function getIdState(): ?int
    {
        return $this->idState;
    }

    public function setIdState(?int $idState): self
    {
        $this->idState = $idState;

        return $this;
    }

    public function getAddress1(): ?string
    {
        if ($this->sellerLangs->count() <= 0) {
            return '';
        }

        $sellerLang = $this->sellerLangs->first();

        return $sellerLang->getAddress1();
    }

    public function getAddress2(): ?string
    {
        if ($this->sellerLangs->count() <= 0) {
            return '';
        }

        $sellerLang = $this->sellerLangs->first();

        return $sellerLang->getAddress2();
    }

    public function getPostcode(): ?string
    {
        return $this->postcode;
    }

    public function setPostcode(?string $postcode): self
    {
        $this->postcode = $postcode;

        return $this;
    }

    public function getCity(): ?string
    {
        if ($this->sellerLangs->count() <= 0) {
            return '';
        }

        $sellerLang = $this->sellerLangs->first();

        return $sellerLang->getCity();
    }

    public function getDescription(): ?string
    {
        if ($this->sellerLangs->count() <= 0) {
            return '';
        }

        $sellerLang = $this->sellerLangs->first();

        return $sellerLang->getDescription();
    }

    public function getPhone(): ?string
    {
        return $this->phone;
    }

    public function setPhone(?string $phone): self
    {
        $this->phone = $phone;

        return $this;
    }

    public function getFax(): ?string
    {
        return $this->fax;
    }

    public function setFax(?string $fax): self
    {
        $this->fax = $fax;

        return $this;
    }

    public function getLatitude(): ?float
    {
        return $this->latitude;
    }

    public function setLatitude(?float $latitude): self
    {
        $this->latitude = $latitude;

        return $this;
    }

    public function getLongitude(): ?float
    {
        return $this->longitude;
    }

    public function setLongitude(?float $longitude): self
    {
        $this->longitude = $longitude;

        return $this;
    }

    public function isActive(): bool
    {
        return (bool) $this->active;
    }

    public function setActive(bool $active): self
    {
        $this->active = $active;

        return $this;
    }

    public function getDateAdd(): ?\DateTimeInterface
    {
        return $this->dateAdd;
    }

    public function setDateAdd(\DateTimeInterface $dateAdd): self
    {
        $this->dateAdd = $dateAdd;

        return $this;
    }

    public function getDateUpd(): ?\DateTimeInterface
    {
        return $this->dateUpd;
    }

    public function setDateUpd(\DateTimeInterface $dateUpd): self
    {
        $this->dateUpd = $dateUpd;

        return $this;
    }

    public function getIdCustomer(): int
    {
        return (int) $this->idCustomer;
    }

    public function setIdCustomer(?string $idCustomer): self
    {
        $this->idCustomer = $idCustomer;

        return $this;
    }

    public function getIdManufacturer(): int
    {
        return (int) $this->idManufacturer;
    }

    public function setIdManufacturer(?int $idManufacturer): self
    {
        $this->idManufacturer = $idManufacturer;

        return $this;
    }

    public function getIdSupplier(): ?int
    {
        return (int) $this->idSupplier;
    }

    public function setIdSupplier(?int $idSupplier): self
    {
        $this->idSupplier = $idSupplier;

        return $this;
    }

    public function getThemeName(): ?string
    {
        return $this->themeName;
    }

    public function setThemeName(?string $themeName): self
    {
        $this->themeName = $themeName;

        return $this;
    }

    public function isPaymentCollection(): ?bool
    {
        return $this->paymentCollection;
    }

    public function setPaymentCollection(?bool $paymentCollection): self
    {
        $this->paymentCollection = $paymentCollection;

        return $this;
    }

    public function getServiceZipcodes(): ?string
    {
        return $this->serviceZipcodes;
    }

    public function setServiceZipcodes(?string $serviceZipcodes): self
    {
        $this->serviceZipcodes = $serviceZipcodes;

        return $this;
    }

    public function getServiceDistance(): ?float
    {
        return $this->serviceDistance;
    }

    public function setServiceDistance(?float $serviceDistance): self
    {
        $this->serviceDistance = $serviceDistance;

        return $this;
    }

    public function getDni(): ?string
    {
        return $this->dni;
    }

    public function setDni(?string $dni): self
    {
        $this->dni = $dni;

        return $this;
    }

    public function getIdShop(): int
    {
        return (int) $this->idShop;
    }

    public function setIdShop(?int $idShop): self
    {
        $this->idShop = $idShop;

        return $this;
    }

    public function getIdCategoryDefault(): ?string
    {
        return $this->idCategoryDefault;
    }

    public function setIdCategoryDefault(?int $idCategoryDefault): self
    {
        $this->idCategoryDefault = $idCategoryDefault;

        return $this;
    }

    public function getIdSellertype1(): int
    {
        return (int) $this->idSellertype1;
    }

    public function setIdSellertype1(?int $idSellertype1): self
    {
        $this->idSellertype1 = $idSellertype1;

        return $this;
    }

    public function getIdSellertype2(): int
    {
        return (int) $this->idSellertype2;
    }

    public function setIdSellertype2(?int $idSellertype2): self
    {
        $this->idSellertype2 = $idSellertype2;

        return $this;
    }

    public function getAmsCustomNumber1(): ?float
    {
        return $this->amsCustomNumber1;
    }

    public function setAmsCustomNumber1(?float $amsCustomNumber1): self
    {
        $this->amsCustomNumber1 = $amsCustomNumber1;

        return $this;
    }

    public function getAmsCustomNumber2(): ?float
    {
        return $this->amsCustomNumber2;
    }

    public function setAmsCustomNumber2(?float $amsCustomNumber2): self
    {
        $this->amsCustomNumber2 = $amsCustomNumber2;

        return $this;
    }

    public function getAmsCustomNumber3(): ?float
    {
        return $this->amsCustomNumber3;
    }

    public function setAmsCustomNumber3(?float $amsCustomNumber3): self
    {
        $this->amsCustomNumber3 = $amsCustomNumber3;

        return $this;
    }

    public function getAmsCustomNumber4(): ?float
    {
        return $this->amsCustomNumber4;
    }

    public function setAmsCustomNumber4(?float $amsCustomNumber4): self
    {
        $this->amsCustomNumber4 = $amsCustomNumber4;

        return $this;
    }

    public function getAmsCustomNumber5(): ?float
    {
        return $this->amsCustomNumber5;
    }

    public function setAmsCustomNumber5(?float $amsCustomNumber5): self
    {
        $this->amsCustomNumber5 = $amsCustomNumber5;

        return $this;
    }

    public function getAmsCustomNumber6(): ?float
    {
        return $this->amsCustomNumber6;
    }

    public function setAmsCustomNumber6(?float $amsCustomNumber6): self
    {
        $this->amsCustomNumber6 = $amsCustomNumber6;

        return $this;
    }

    public function getAmsCustomNumber7(): ?float
    {
        return $this->amsCustomNumber7;
    }

    public function setAmsCustomNumber7(?float $amsCustomNumber7): self
    {
        $this->amsCustomNumber7 = $amsCustomNumber7;

        return $this;
    }

    public function getAmsCustomNumber8(): ?float
    {
        return $this->amsCustomNumber8;
    }

    public function setAmsCustomNumber8(?float $amsCustomNumber8): self
    {
        $this->amsCustomNumber8 = $amsCustomNumber8;

        return $this;
    }

    public function getAmsCustomNumber9(): ?float
    {
        return $this->amsCustomNumber9;
    }

    public function setAmsCustomNumber9(?float $amsCustomNumber9): self
    {
        $this->amsCustomNumber9 = $amsCustomNumber9;

        return $this;
    }

    public function getAmsCustomNumber10(): ?float
    {
        return $this->amsCustomNumber10;
    }

    public function setAmsCustomNumber10(?float $amsCustomNumber10): self
    {
        $this->amsCustomNumber10 = $amsCustomNumber10;

        return $this;
    }

    public function getAmsCustomDate1(): ?\DateTimeInterface
    {
        return $this->amsCustomDate1;
    }

    public function setAmsCustomDate1(?\DateTimeInterface $amsCustomDate1): self
    {
        $this->amsCustomDate1 = $amsCustomDate1;

        return $this;
    }

    public function getAmsCustomDate2(): ?\DateTimeInterface
    {
        return $this->amsCustomDate2;
    }

    public function setAmsCustomDate2(?\DateTimeInterface $amsCustomDate2): self
    {
        $this->amsCustomDate2 = $amsCustomDate2;

        return $this;
    }

    public function getAmsCustomDate3(): ?\DateTimeInterface
    {
        return $this->amsCustomDate3;
    }

    public function setAmsCustomDate3(?\DateTimeInterface $amsCustomDate3): self
    {
        $this->amsCustomDate3 = $amsCustomDate3;

        return $this;
    }

    public function getAmsCustomDate4(): ?\DateTimeInterface
    {
        return $this->amsCustomDate4;
    }

    public function setAmsCustomDate4(?\DateTimeInterface $amsCustomDate4): self
    {
        $this->amsCustomDate4 = $amsCustomDate4;

        return $this;
    }

    public function getAmsCustomDate5(): ?\DateTimeInterface
    {
        return $this->amsCustomDate5;
    }

    public function setAmsCustomDate5(?\DateTimeInterface $amsCustomDate5): self
    {
        $this->amsCustomDate5 = $amsCustomDate5;

        return $this;
    }

    public function getAmsCustomString1(): ?string
    {
        return $this->amsCustomString1;
    }

    public function setAmsCustomString1(?string $amsCustomString1): self
    {
        $this->amsCustomString1 = $amsCustomString1;

        return $this;
    }

    public function getAmsCustomString2(): ?string
    {
        return $this->amsCustomString2;
    }

    public function setAmsCustomString2(?string $amsCustomString2): self
    {
        $this->amsCustomString2 = $amsCustomString2;

        return $this;
    }

    public function getAmsCustomString3(): ?string
    {
        return $this->amsCustomString3;
    }

    public function setAmsCustomString3(?string $amsCustomString3): self
    {
        $this->amsCustomString3 = $amsCustomString3;

        return $this;
    }

    public function getAmsCustomString4(): ?string
    {
        return $this->amsCustomString4;
    }

    public function setAmsCustomString4(?string $amsCustomString4): self
    {
        $this->amsCustomString4 = $amsCustomString4;

        return $this;
    }

    public function getAmsCustomString5(): ?string
    {
        return $this->amsCustomString5;
    }

    public function setAmsCustomString5(?string $amsCustomString5): self
    {
        $this->amsCustomString5 = $amsCustomString5;

        return $this;
    }

    public function getAmsCustomString6(): ?string
    {
        return $this->amsCustomString6;
    }

    public function setAmsCustomString6(?string $amsCustomString6): self
    {
        $this->amsCustomString6 = $amsCustomString6;

        return $this;
    }

    public function getAmsCustomString7(): ?string
    {
        return $this->amsCustomString7;
    }

    public function setAmsCustomString7(?string $amsCustomString7): self
    {
        $this->amsCustomString7 = $amsCustomString7;

        return $this;
    }

    public function getAmsCustomString8(): ?string
    {
        return $this->amsCustomString8;
    }

    public function setAmsCustomString8(?string $amsCustomString8): self
    {
        $this->amsCustomString8 = $amsCustomString8;

        return $this;
    }

    public function getAmsCustomString9(): ?string
    {
        return $this->amsCustomString9;
    }

    public function setAmsCustomString9(?string $amsCustomString9): self
    {
        $this->amsCustomString9 = $amsCustomString9;

        return $this;
    }

    public function getAmsCustomString10(): ?string
    {
        return $this->amsCustomString10;
    }

    public function setAmsCustomString10(?string $amsCustomString10): self
    {
        $this->amsCustomString10 = $amsCustomString10;

        return $this;
    }

    public function getAmsCustomString11(): ?string
    {
        return $this->amsCustomString11;
    }

    public function setAmsCustomString11(?string $amsCustomString11): self
    {
        $this->amsCustomString11 = $amsCustomString11;

        return $this;
    }

    public function getAmsCustomString12(): ?string
    {
        return $this->amsCustomString12;
    }

    public function setAmsCustomString12(?string $amsCustomString12): self
    {
        $this->amsCustomString12 = $amsCustomString12;

        return $this;
    }

    public function getAmsCustomString13(): ?string
    {
        return $this->amsCustomString13;
    }

    public function setAmsCustomString13(?string $amsCustomString13): self
    {
        $this->amsCustomString13 = $amsCustomString13;

        return $this;
    }

    public function getAmsCustomString14(): ?string
    {
        return $this->amsCustomString14;
    }

    public function setAmsCustomString14(?string $amsCustomString14): self
    {
        $this->amsCustomString14 = $amsCustomString14;

        return $this;
    }

    public function getAmsCustomString15(): ?string
    {
        return $this->amsCustomString15;
    }

    public function setAmsCustomString15(?string $amsCustomString15): self
    {
        $this->amsCustomString15 = $amsCustomString15;

        return $this;
    }

    public function getAmsCustomText1(): ?string
    {
        if ($this->sellerLangs->count() <= 0) {
            return '';
        }

        $sellerLang = $this->sellerLangs->first();

        return $sellerLang->getAmsCustomText1();
    }

    public function getAmsCustomText2(): ?string
    {
        if ($this->sellerLangs->count() <= 0) {
            return '';
        }

        $sellerLang = $this->sellerLangs->first();

        return $sellerLang->getAmsCustomText2();
    }

    public function getAmsCustomText3(): ?string
    {
        if ($this->sellerLangs->count() <= 0) {
            return '';
        }

        $sellerLang = $this->sellerLangs->first();

        return $sellerLang->getAmsCustomText3();
    }

    public function getAmsCustomText4(): ?string
    {
        if ($this->sellerLangs->count() <= 0) {
            return '';
        }

        $sellerLang = $this->sellerLangs->first();

        return $sellerLang->getAmsCustomText4();
    }

    public function getAmsCustomText5(): ?string
    {
        if ($this->sellerLangs->count() <= 0) {
            return '';
        }

        $sellerLang = $this->sellerLangs->first();

        return $sellerLang->getAmsCustomText5();
    }

    public function getAmsCustomText6(): ?string
    {
        if ($this->sellerLangs->count() <= 0) {
            return '';
        }

        $sellerLang = $this->sellerLangs->first();

        return $sellerLang->getAmsCustomText6();
    }

    public function getAmsCustomText7(): ?string
    {
        if ($this->sellerLangs->count() <= 0) {
            return '';
        }

        $sellerLang = $this->sellerLangs->first();

        return $sellerLang->getAmsCustomText7();
    }

    public function getAmsCustomText8(): ?string
    {
        if ($this->sellerLangs->count() <= 0) {
            return '';
        }

        $sellerLang = $this->sellerLangs->first();

        return $sellerLang->getAmsCustomText8();
    }

    public function getAmsCustomText9(): ?string
    {
        if ($this->sellerLangs->count() <= 0) {
            return '';
        }

        $sellerLang = $this->sellerLangs->first();

        return $sellerLang->getAmsCustomText9();
    }

    public function getAmsCustomText10(): ?string
    {
        if ($this->sellerLangs->count() <= 0) {
            return '';
        }

        $sellerLang = $this->sellerLangs->first();

        return $sellerLang->getAmsCustomText10();
    }

    public function getAmsCustomHtml1(): ?string
    {
        if ($this->sellerLangs->count() <= 0) {
            return '';
        }

        $sellerLang = $this->sellerLangs->first();

        return $sellerLang->getAmsCustomHtml1();
    }

    public function getAmsCustomHtml2(): ?string
    {
        if ($this->sellerLangs->count() <= 0) {
            return '';
        }

        $sellerLang = $this->sellerLangs->first();

        return $sellerLang->getAmsCustomHtml2();
    }

    /**
     * @ORM\PrePersist
     * @ORM\PreUpdate
     */
    public function updatedTimestamps(): void
    {
        $this->setDateUpd(new \DateTime());

        if ($this->getDateAdd() == null) {
            $this->setDateAdd(new \DateTime());
        }
    }
}
