src/Entity/MarketPlace/ArticleMarketPlace.php line 32

Open in your IDE?
  1. <?php
  2. namespace App\Entity\MarketPlace;
  3. use App\Entity\Articles\Article;
  4. use App\Entity\Articles\ArticleCategorie;
  5. use App\Entity\Articles\Ean;
  6. use App\Entity\Taxes\RegleTaxe;
  7. use App\Entity\Traductions\Langue;
  8. use App\Entity\Traductions\Traduction;
  9. use App\Entity\Utilisateur\Utilisateur;
  10. use DateTime;
  11. use Doctrine\Common\Collections\ArrayCollection;
  12. use Doctrine\Common\Collections\Collection;
  13. use Doctrine\ORM\Mapping as ORM;
  14. use Gedmo\Mapping\Annotation as Gedmo;
  15. use Symfony\Component\Validator\Constraints as Assert;
  16. use Doctrine\ORM\Mapping\Index;
  17. use App\Annotations\SecuredEntity;
  18. /**
  19.  * ArticleMarketPlace
  20.  *
  21.  * @ORM\Table("market_place__article",indexes={
  22.  *    @ORM\Index(name="sku", columns={"sku"}),
  23.  *    @ORM\Index(name="ean", columns={"ean"}),
  24.  *  @ORM\Index(name="id_import", columns={"idImport"})
  25.  * })
  26.  * @ORM\Entity(repositoryClass="App\Repository\MarketPlace\ArticleMarketPlaceRepository")
  27.  * @SecuredEntity(name="Annonces MarketPlace", group="VENTES")
  28.  */
  29. class ArticleMarketPlace
  30. {
  31.     /**
  32.      * @ORM\Column(name="id", type="integer")
  33.      * @ORM\Id
  34.      * @ORM\GeneratedValue(strategy="AUTO")
  35.      */
  36.     private $id;
  37.     /**
  38.      * @ORM\Column(name="ecotaxe", type="float", nullable=true)
  39.      */
  40.     private $ecotaxe;
  41.     /**
  42.      * @ORM\ManyToOne(targetEntity="App\Entity\Traductions\Langue", cascade={"persist"})
  43.      */
  44.     private $langue;
  45.     /**
  46.      * @ORM\Column(name="provenance", type="string", nullable=true)
  47.      */
  48.     private $provenance;
  49.     /**
  50.      * @ORM\ManyToOne(targetEntity="App\Entity\Articles\Article" ,cascade={"persist"}, inversedBy="articleMarketPlace")
  51.      */
  52.     private $article;
  53.     /**
  54.      * @ORM\ManyToOne(targetEntity="App\Entity\MarketPlace\Timbre" ,cascade={"persist"})
  55.      */
  56.     private $timbre;
  57.     /**
  58.      * @ORM\ManyToOne(targetEntity="App\Entity\MarketPlace\StatutArticle", cascade={"persist"})
  59.      */
  60.     private $statutArticleMarketPlace;
  61.     /**
  62.      * @ORM\ManyToOne(targetEntity="App\Entity\Articles\Article", cascade={"persist"})
  63.      */
  64.     private $articleOrigine;
  65.     /**
  66.      * @ORM\ManyToOne(targetEntity="App\Entity\MarketPlace\CompteMarketPlace", cascade={"persist"})
  67.      */
  68.     private $compteMarketPlace;
  69.     /**
  70.      * @ORM\ManyToOne(targetEntity="App\Entity\MarketPlace\Etat", cascade={"persist"})
  71.      */
  72.     private $etat;
  73.     /**
  74.      * @ORM\ManyToOne(targetEntity="App\Entity\MarketPlace\ArticleMarketPlace", cascade={"persist"})
  75.      */
  76.     private $articleMarketPlaceParent;
  77.     /**
  78.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\ArticleCategorie", cascade={"persist"}, mappedBy="articleMarketPlace")
  79.      */
  80.     private $articleCategorie;
  81.     /**
  82.      * @ORM\OneToMany(targetEntity="App\Entity\MarketPlace\ArticleMarketPlaceMot", cascade={"persist"}, mappedBy="articleMarketPlace")
  83.      */
  84.     private $articleMarketPlaceMot;
  85.     /**
  86.      * @ORM\Column(name="existe_amazon", type="boolean", nullable=true)
  87.      */
  88.     private $existeAmazon;
  89.     /**
  90.      * @ORM\Column(name="nb_vendus", type="integer", nullable=true)
  91.      */
  92.     private $nbVendus;
  93.     /**
  94.      * @ORM\Column(name="nb_vus", type="integer", nullable=true)
  95.      */
  96.     private $nbVus;
  97.     /**
  98.      * @ORM\Column(name="frais_livraison", type="string", length=255, nullable=true)
  99.      */
  100.     private $fraisLivraison;
  101.     /**
  102.      * @ORM\Column(name="condition_livraison", type="string", length=255, nullable=true)
  103.      */
  104.     private $conditionLivraison;
  105.     /**
  106.      * @ORM\Column(name="libelle", type="string", length=255, nullable=true)
  107.      */
  108.     private $libelle;
  109.     /**
  110.      * @ORM\Column(name="siteMarketPlace", type="string", length=255, nullable=true)
  111.      */
  112.     private $siteMarketPlace;
  113.     /**
  114.      * @ORM\Column(name="ean", type="string", length=255, nullable=true)
  115.      */
  116.     private $ean;
  117.     /**
  118.      * @ORM\Column(name="date_mise_en_ligne", type="datetime", nullable=true)
  119.      */
  120.     private $dateMiseEnLigne;
  121.     /**
  122.      * @ORM\Column(name="date", type="datetime", nullable=true)
  123.      */
  124.     private $date;
  125.     /**
  126.      * @ORM\Column(name="date_supression", type="datetime", nullable=true)
  127.      */
  128.     private $dateSuppression;
  129.     /**
  130.      * @ORM\Column(name="date_scan_reference_interne", type="datetime", nullable=true)
  131.      */
  132.     private $dateScanReferenceInterne;
  133.     /**
  134.      * @ORM\ManyToOne(targetEntity="App\Entity\Utilisateur\Utilisateur")
  135.      * @ORM\JoinColumn(nullable=true)
  136.      */
  137.     private $utilisateurScanReferenceInterne;
  138.     /**
  139.      * @ORM\Column(name="date_demande_publication_market_place", type="datetime", nullable=true)
  140.      */
  141.     private $dateDemandePublicationMarketPlace;
  142.     /**
  143.      * @ORM\Column(name="date_publication_market_place", type="datetime", nullable=true)
  144.      */
  145.     private $datePublicationMarketPlace;
  146.     /**
  147.      * @ORM\Column(name="start_time", type="datetime", nullable=true)
  148.      */
  149.     private $startTime;
  150.     /**
  151.      * @ORM\Column(name="end_time", type="datetime", nullable=true)
  152.      */
  153.     private $endTime;
  154.     /**
  155.      * @ORM\Column(name="productID_PriceMinister", type="string", length=255, nullable=true)
  156.      */
  157.     private $productIDPriceMinister;
  158.     /**
  159.      * @ORM\Column(name="advertID_PriceMinister", type="string", length=255, nullable=true)
  160.      */
  161.     private $advertIDPriceMinister;
  162.     /**
  163.      * @ORM\Column(name="sku", type="string", length=255, nullable=true)
  164.      */
  165.     private $sku;
  166.     /**
  167.      * @ORM\Column(name="asin", type="string", length=255, nullable=true)
  168.      */
  169.     private $asin;
  170.     /**
  171.      * @ORM\Column(name="asin_parent", type="string", length=255, nullable=true)
  172.      */
  173.     private $asinParent;
  174.     /**
  175.      * @ORM\Column(name="ref_fournisseur", type="string", length=255, nullable=true)
  176.      */
  177.     private $refFournisseur;
  178.     /**
  179.      * @ORM\Column(name="idImport", type="string", length=255, nullable=true)
  180.      */
  181.     private $idImport;
  182.     /**
  183.      * @ORM\Column(name="idVariationWp", type="string", length=255, nullable=true)
  184.      */
  185.     private $idVariationWp;
  186.     /**
  187.      * @ORM\Column(name="seller_product_id", type="string", nullable=true)
  188.      */
  189.     private $seller_product_id;
  190.     /**
  191.      * @ORM\Column(name="stock", type="float", nullable=true)
  192.      */
  193.     private $stock;
  194.     /**
  195.      * @ORM\Column(name="prixVente", type="float", nullable=true)
  196.      */
  197.     private $prixVente;
  198.     /**
  199.      * @ORM\Column(name="dateMaj", type="datetime", nullable=true)
  200.      * @Gedmo\Timestampable(on="update")
  201.      */
  202.     private $dateMaj;
  203.     /**
  204.      * @ORM\Column(name="titre_description", type="text", nullable=true)
  205.      */
  206.     private $titreDescription;
  207.     /**
  208.      * @ORM\Column(name="description", type="text", nullable=true)
  209.      */
  210.     private $description;
  211.     /**
  212.      * @ORM\Column(name="resume", type="text", nullable=true)
  213.      */
  214.     private $resume;
  215.     /**
  216.      * @ORM\Column(name="titre_seo", type="string", length=255, nullable=true)
  217.      */
  218.     private $titreSeo;
  219.     /**
  220.      * @ORM\Column(name="alt_img", type="string", length=255, nullable=true)
  221.      */
  222.     private $altImg;
  223.     /**
  224.      * @ORM\Column(name="meta_description", type="text", nullable=true)
  225.      */
  226.     private $metaDescription;
  227.     /**
  228.      * @ORM\Column(name="url_rewriting", type="string", length=255, nullable=true)
  229.      */
  230.     private $urlRewriting;
  231.     /**
  232.      * @ORM\Column(name="commentaire", type="text", nullable=true)
  233.      */
  234.     private $commentaire;
  235.     /**
  236.      * @ORM\Column(name="statut", type="boolean", nullable=true)
  237.      */
  238.     private $statut;
  239.     /**
  240.      * @ORM\Column(name="arret", type="boolean", nullable=true)
  241.      */
  242.     private $arret;
  243.     /**
  244.      * @ORM\Column(name="envoyer_image_amazon", type="boolean", nullable=true, options={"default"=0})
  245.      */
  246.     private $envoyerImageAmazon;
  247.     /**
  248.      * @ORM\Column(name="envoyer_uniquement_stock", type="boolean", nullable=true, options={"default"=0})
  249.      */
  250.     private $envoyerUniquementStock;
  251.     /**
  252.      * @ORM\Column(name="renouvellement_auto", type="boolean", nullable=true, options={"default"=1})
  253.      */
  254.     private $renouvellementAuto;
  255.     /**
  256.      * @ORM\Column(name="annonce_supprime", type="boolean", nullable=true)
  257.      */
  258.     private $annonceSupprime;
  259.     /**
  260.      * @ORM\Column(name="visible", type="boolean", nullable=true)
  261.      */
  262.     private $visible;
  263.     /**
  264.      * @ORM\Column(name="tmp_maj", type="boolean", nullable=true)
  265.      */
  266.     private $tmpMaj;
  267.     /**
  268.      * @ORM\Column(name="PointageAmazon", type="boolean", nullable=true)
  269.      */
  270.     private $PointageAmazon;
  271.     /**
  272.      * @ORM\Column(name="datepointage", type="datetime", nullable=true)
  273.      *
  274.      */
  275.     private $datePointage;
  276.     /**
  277.      * @ORM\ManyToOne(targetEntity="App\Entity\Articles\Ean", cascade={"persist"},inversedBy="articleMarketPlace")
  278.      * @ORM\JoinColumn(nullable=true)
  279.      */
  280.     private $eanObjet;
  281.     /**
  282.      * @ORM\ManyToOne(targetEntity="App\Entity\MarketPlace\ArticleMarketPlace", cascade={"persist"})
  283.      * @ORM\JoinColumn(nullable=true)
  284.      */
  285.     private $articleMarketPlaceNouvelleAnnonce;
  286.     /**
  287.      * @ORM\ManyToOne(targetEntity="App\Entity\Taxes\RegleTaxe")
  288.      */
  289.     private $regleTaxe;
  290.     /**
  291.      * @ORM\OneToMany(targetEntity="App\Entity\Traductions\Traduction", cascade={"persist"},mappedBy="articleMarketPlace")
  292.      */
  293.     private $traductions;
  294.     /**
  295.      * @ORM\Column(name="stock_market_place", type="float", nullable=true)
  296.      */
  297.     private $stockMarketPlace;
  298.     public function __construct()
  299.     {
  300.         $this->date                     = new Datetime();
  301.         $this->statut                   true;
  302.         $this->renouvellement_auto      true;
  303.         $this->annonceSupprime          false;
  304.         $this->visible                  false;
  305.         $this->envoyerImageAmazon       false;
  306.         $this->articleMarketPlaceMot    = new ArrayCollection();
  307.         $this->traductions              = new ArrayCollection();
  308.         $this->articleCategorie         = new ArrayCollection();
  309.     }
  310.     public function getId(): int
  311.     {
  312.         return $this->id;
  313.     }
  314.     public function setLibelle(?string $libelle): ArticleMarketPlace
  315.     {
  316.         $this->libelle $libelle;
  317.         return $this;
  318.     }
  319.     public function getLibelle(): ?string
  320.     {
  321.         return $this->libelle;
  322.     }
  323.     public function setDate(?DateTime $date): ArticleMarketPlace
  324.     {
  325.         $this->date $date;
  326.         return $this;
  327.     }
  328.     public function getDate(): ?DateTime
  329.     {
  330.         return $this->date;
  331.     }
  332.     public function setIdImport(?string $idImport): ArticleMarketPlace
  333.     {
  334.         $this->idImport $idImport;
  335.         return $this;
  336.     }
  337.     public function getIdImport(): ?string
  338.     {
  339.         return $this->idImport;
  340.     }
  341.     public function setPrixVente(?float $prixVente): ArticleMarketPlace
  342.     {
  343.         $this->prixVente $prixVente;
  344.         return $this;
  345.     }
  346.     public function getPrixVente(): ?float
  347.     {
  348.         return $this->prixVente;
  349.     }
  350.     public function setDateMaj(?DateTime $dateMaj): ArticleMarketPlace
  351.     {
  352.         $this->dateMaj $dateMaj;
  353.         return $this;
  354.     }
  355.     public function getDateMaj(): ?DateTime
  356.     {
  357.         return $this->dateMaj;
  358.     }
  359.     public function setDescription(?string $description): ArticleMarketPlace
  360.     {
  361.         $this->description $description;
  362.         return $this;
  363.     }
  364.     public function getDescription(): ?string
  365.     {
  366.         return $this->description;
  367.     }
  368.     public function setStatut(?bool $statut): ArticleMarketPlace
  369.     {
  370.         $this->statut $statut;
  371.         return $this;
  372.     }
  373.     public function getStatut(): ?bool
  374.     {
  375.         return $this->statut;
  376.     }
  377.     public function setArticle(?Article $article): ArticleMarketPlace
  378.     {
  379.         $this->article $article;
  380.         return $this;
  381.     }
  382.     public function getArticle(): ?Article
  383.     {
  384.         return $this->article;
  385.     }
  386.     public function setCompteMarketPlace(?CompteMarketPlace $compteMarketPlace): ArticleMarketPlace
  387.     {
  388.         $this->compteMarketPlace $compteMarketPlace;
  389.         return $this;
  390.     }
  391.     public function getCompteMarketPlace(): ?CompteMarketPlace
  392.     {
  393.         return $this->compteMarketPlace;
  394.     }
  395.     public function addArticleCategorie(ArticleCategorie $articleCategorie): ArticleMarketPlace
  396.     {
  397.         $this->articleCategorie[] = $articleCategorie;
  398.         return $this;
  399.     }
  400.     public function removeArticleCategorie(ArticleCategorie $articleCategorie)
  401.     {
  402.         $this->articleCategorie->removeElement($articleCategorie);
  403.     }
  404.     public function getArticleCategorie(): Collection
  405.     {
  406.         return $this->articleCategorie;
  407.     }
  408.     public function setSku(?string $sku): ArticleMarketPlace
  409.     {
  410.         $this->sku $sku;
  411.         return $this;
  412.     }
  413.     public function getSku(): ?string
  414.     {
  415.         return $this->sku;
  416.     }
  417.     public function setProductIDPriceMinister(?string $productIDPriceMinister): ArticleMarketPlace
  418.     {
  419.         $this->productIDPriceMinister $productIDPriceMinister;
  420.         return $this;
  421.     }
  422.     public function getProductIDPriceMinister(): ?string
  423.     {
  424.         return $this->productIDPriceMinister;
  425.     }
  426.     public function setAdvertIDPriceMinister(?string $advertIDPriceMinister): ArticleMarketPlace
  427.     {
  428.         $this->advertIDPriceMinister $advertIDPriceMinister;
  429.         return $this;
  430.     }
  431.     public function getAdvertIDPriceMinister(): ?string
  432.     {
  433.         return $this->advertIDPriceMinister;
  434.     }
  435.     public function setSellerProductId(?string $sellerProductId): ArticleMarketPlace
  436.     {
  437.         $this->seller_product_id $sellerProductId;
  438.         return $this;
  439.     }
  440.     public function getSellerProductId(): ?string
  441.     {
  442.         return $this->seller_product_id;
  443.     }
  444.     public function setArticleOrigine(?Article $articleOrigine): ArticleMarketPlace
  445.     {
  446.         $this->articleOrigine $articleOrigine;
  447.         return $this;
  448.     }
  449.     public function getArticleOrigine(): ?Article
  450.     {
  451.         return $this->articleOrigine;
  452.     }
  453.     public function setArticleMarketPlaceParent(?ArticleMarketPlace $articleMarketPlaceParent): ArticleMarketPlace
  454.     {
  455.         $this->articleMarketPlaceParent $articleMarketPlaceParent;
  456.         return $this;
  457.     }
  458.     public function getArticleMarketPlaceParent(): ?ArticleMarketPlace
  459.     {
  460.         return $this->articleMarketPlaceParent;
  461.     }
  462.     public function setStatutArticleMarketPlace(?StatutArticle $statutArticleMarketPlace): ArticleMarketPlace
  463.     {
  464.         if(is_object($statutArticleMarketPlace) && $statutArticleMarketPlace->getId() == && is_object($this->getEndTime()) && $this->getEndTime() < (new Datetime)) $statutArticleMarketPlace null;
  465.         $this->statutArticleMarketPlace $statutArticleMarketPlace;
  466.         return $this;
  467.     }
  468.     public function getStatutArticleMarketPlace(): ?StatutArticle
  469.     {
  470.         return $this->statutArticleMarketPlace;
  471.     }
  472.     public function setDatePublicationMarketPlace(?DateTime $datePublicationMarketPlace): ArticleMarketPlace
  473.     {
  474.         $this->datePublicationMarketPlace $datePublicationMarketPlace;
  475.         return $this;
  476.     }
  477.     public function getDatePublicationMarketPlace(): ?DateTime
  478.     {
  479.         return $this->datePublicationMarketPlace;
  480.     }
  481.     public function setStock(?float $stock): ArticleMarketPlace
  482.     {
  483.         $this->stock $stock;
  484.         return $this;
  485.     }
  486.     public function getStock(): ?float
  487.     {
  488.         return $this->stock;
  489.     }
  490.     public function setDateDemandePublicationMarketPlace(?DateTime $dateDemandePublicationMarketPlace): ArticleMarketPlace
  491.     {
  492.         $this->dateDemandePublicationMarketPlace $dateDemandePublicationMarketPlace;
  493.         return $this;
  494.     }
  495.     public function getDateDemandePublicationMarketPlace(): ?DateTime
  496.     {
  497.         return $this->dateDemandePublicationMarketPlace;
  498.     }
  499.     public function setStartTime(?DateTime $startTime): ArticleMarketPlace
  500.     {
  501.         $this->startTime $startTime;
  502.         return $this;
  503.     }
  504.     public function getStartTime(): ?DateTime
  505.     {
  506.         return $this->startTime;
  507.     }
  508.     public function setEndTime(?DateTime $endTime): ArticleMarketPlace
  509.     {
  510.         $this->endTime $endTime;
  511.         return $this;
  512.     }
  513.     public function getEndTime(): ?DateTime
  514.     {
  515.         return $this->endTime;
  516.     }
  517.     public function setTitreDescription(?string $titreDescription): ArticleMarketPlace
  518.     {
  519.         $this->titreDescription $titreDescription;
  520.         return $this;
  521.     }
  522.     public function getTitreDescription(): ?string
  523.     {
  524.         return $this->titreDescription;
  525.     }
  526.     public function setRenouvellementAuto(?bool $renouvellementAuto): ArticleMarketPlace
  527.     {
  528.         $this->renouvellementAuto $renouvellementAuto;
  529.         return $this;
  530.     }
  531.     public function getRenouvellementAuto(): ?bool
  532.     {
  533.         return $this->renouvellementAuto;
  534.     }
  535.     public function setAnnonceSupprime(?bool $annonceSupprime): ArticleMarketPlace
  536.     {
  537.         $this->annonceSupprime $annonceSupprime;
  538.         return $this;
  539.     }
  540.     public function getAnnonceSupprime(): ?bool
  541.     {
  542.         return $this->annonceSupprime;
  543.     }
  544.     public function setVisible(?bool $visible): ArticleMarketPlace
  545.     {
  546.         $this->visible $visible;
  547.         return $this;
  548.     }
  549.     public function getVisible(): ?bool
  550.     {
  551.         return $this->visible;
  552.     }
  553.     public function setTmpMaj(?bool $tmpMaj): ArticleMarketPlace
  554.     {
  555.         $this->tmpMaj $tmpMaj;
  556.         return $this;
  557.     }
  558.     public function getTmpMaj(): ?bool
  559.     {
  560.         return $this->tmpMaj;
  561.     }
  562.     public function setPointageAmazon(?bool $PointageAmazon): ArticleMarketPlace
  563.     {
  564.         $this->PointageAmazon $PointageAmazon;
  565.         return $this;
  566.     }
  567.     public function getPointageAmazon(): ?bool
  568.     {
  569.         return $this->PointageAmazon;
  570.     }
  571.     public function setDatePointage(?DateTime $datePointage): ArticleMarketPlace
  572.     {
  573.         $this->datePointage $datePointage;
  574.         return $this;
  575.     }
  576.     public function getDatePointage(): ?DateTime
  577.     {
  578.         return $this->datePointage;
  579.     }
  580.     public function setDateScanReferenceInterne(?DateTime $dateScanReferenceInterne): ArticleMarketPlace
  581.     {
  582.         $this->dateScanReferenceInterne $dateScanReferenceInterne;
  583.         return $this;
  584.     }
  585.     public function getDateScanReferenceInterne(): ?DateTime
  586.     {
  587.         return $this->dateScanReferenceInterne;
  588.     }
  589.     public function setUtilisateurScanReferenceInterne(?Utilisateur $utilisateurScanReferenceInterne): ArticleMarketPlace
  590.     {
  591.         $this->utilisateurScanReferenceInterne $utilisateurScanReferenceInterne;
  592.         return $this;
  593.     }
  594.     public function getUtilisateurScanReferenceInterne(): ?Utilisateur
  595.     {
  596.         return $this->utilisateurScanReferenceInterne;
  597.     }
  598.     public function setRefFournisseur(?string $refFournisseur): ArticleMarketPlace
  599.     {
  600.         $this->refFournisseur $refFournisseur;
  601.         return $this;
  602.     }
  603.     public function getRefFournisseur(): ?string
  604.     {
  605.         return $this->refFournisseur;
  606.     }
  607.     public function setEnvoyerImageAmazon(?bool $envoyerImageAmazon): ArticleMarketPlace
  608.     {
  609.         $this->envoyerImageAmazon $envoyerImageAmazon;
  610.         return $this;
  611.     }
  612.     public function getEnvoyerImageAmazon(): ?bool
  613.     {
  614.         return $this->envoyerImageAmazon;
  615.     }
  616.     public function setEan(?string $ean): ArticleMarketPlace
  617.     {
  618.         $this->ean $ean;
  619.         return $this;
  620.     }
  621.     public function getEan(): ?string
  622.     {
  623.         return $this->ean;
  624.     }
  625.     public function setEanObjet(?Ean $eanObjet): ArticleMarketPlace
  626.     {
  627.         $this->eanObjet $eanObjet;
  628.         if(is_object($eanObjet)){
  629.             $eanObjet->setLibre(false);
  630.         }
  631.         return $this;
  632.     }
  633.     public function getEanObjet(): ?Ean
  634.     {
  635.         return $this->eanObjet;
  636.     }
  637.     public function setCommentaire(?string $commentaire): ArticleMarketPlace
  638.     {
  639.         $this->commentaire $commentaire;
  640.         return $this;
  641.     }
  642.     public function getCommentaire(): ?string
  643.     {
  644.         return $this->commentaire;
  645.     }
  646.     public function setEnvoyerUniquementStock(?bool $envoyerUniquementStock): ArticleMarketPlace
  647.     {
  648.         $this->envoyerUniquementStock $envoyerUniquementStock;
  649.         return $this;
  650.     }
  651.     public function getEnvoyerUniquementStock(): ?bool
  652.     {
  653.         return $this->envoyerUniquementStock;
  654.     }
  655.     public function setArticleMarketPlaceNouvelleAnnonce(?ArticleMarketPlace $articleMarketPlaceNouvelleAnnonce): ArticleMarketPlace
  656.     {
  657.         $this->articleMarketPlaceNouvelleAnnonce $articleMarketPlaceNouvelleAnnonce;
  658.         return $this;
  659.     }
  660.     public function getArticleMarketPlaceNouvelleAnnonce(): ?ArticleMarketPlace
  661.     {
  662.         return $this->articleMarketPlaceNouvelleAnnonce;
  663.     }
  664.     public function setArret(?bool $arret): ArticleMarketPlace
  665.     {
  666.         $this->arret $arret;
  667.         return $this;
  668.     }
  669.     public function getArret(): ?bool
  670.     {
  671.         return $this->arret;
  672.     }
  673.     public function setExisteAmazon(?bool $existeAmazon): ArticleMarketPlace
  674.     {
  675.         $this->existeAmazon $existeAmazon;
  676.         return $this;
  677.     }
  678.     public function getExisteAmazon(): ?bool
  679.     {
  680.         return $this->existeAmazon;
  681.     }
  682.     public function setDateSuppression(?DateTime $dateSuppression): ArticleMarketPlace
  683.     {
  684.         $this->dateSuppression $dateSuppression;
  685.         return $this;
  686.     }
  687.     public function getDateSuppression(): ?DateTime
  688.     {
  689.         return $this->dateSuppression;
  690.     }
  691.     public function setTimbre(?Timbre $timbre): ArticleMarketPlace
  692.     {
  693.         $this->timbre $timbre;
  694.         return $this;
  695.     }
  696.     public function getTimbre(): ?Timbre
  697.     {
  698.         return $this->timbre;
  699.     }
  700.     public function setTitreSeo(?string $titreSeo): ArticleMarketPlace
  701.     {
  702.         $this->titreSeo $titreSeo;
  703.         return $this;
  704.     }
  705.     public function getTitreSeo(): ?string
  706.     {
  707.         return $this->titreSeo;
  708.     }
  709.     public function setAltImg(?string $altImg): ArticleMarketPlace
  710.     {
  711.         $this->altImg $altImg;
  712.         return $this;
  713.     }
  714.     public function getAltImg(): ?string
  715.     {
  716.         return $this->altImg;
  717.     }
  718.     public function setMetaDescription(?string $metaDescription): ArticleMarketPlace
  719.     {
  720.         $this->metaDescription $metaDescription;
  721.         return $this;
  722.     }
  723.     public function getMetaDescription(): ?string
  724.     {
  725.         return $this->metaDescription;
  726.     }
  727.     public function setUrlRewriting(?string $urlRewriting): ArticleMarketPlace
  728.     {
  729.         $this->urlRewriting $urlRewriting;
  730.         return $this;
  731.     }
  732.     public function getUrlRewriting(): ?string
  733.     {
  734.         return $this->urlRewriting;
  735.     }
  736.     public function setRegleTaxe(?RegleTaxe $regleTaxe): ArticleMarketPlace
  737.     {
  738.         $this->regleTaxe $regleTaxe;
  739.         return $this;
  740.     }
  741.     public function getRegleTaxe(): ?RegleTaxe
  742.     {
  743.         return $this->regleTaxe;
  744.     }
  745.     public function setEtat(?Etat $etat): ArticleMarketPlace
  746.     {
  747.         $this->etat $etat;
  748.         return $this;
  749.     }
  750.     public function getEtat(): ?Etat
  751.     {
  752.         return $this->etat;
  753.     }
  754.     public function addTraduction(Traduction $traduction): ArticleMarketPlace
  755.     {
  756.         $this->traductions[] = $traduction;
  757.         return $this;
  758.     }
  759.     public function removeTraduction(Traduction $traduction)
  760.     {
  761.         $this->traductions->removeElement($traduction);
  762.     }
  763.     public function getTraductions(): Collection
  764.     {
  765.         return $this->traductions;
  766.     }
  767.     public function setResume(?string $resume): ArticleMarketPlace
  768.     {
  769.         $this->resume $resume;
  770.         return $this;
  771.     }
  772.     public function getResume(): ?string
  773.     {
  774.         return $this->resume;
  775.     }
  776.     public function addArticleMarketPlaceMot(ArticleMarketPlaceMot $articleMarketPlaceMot): ArticleMarketPlace
  777.     {
  778.         $this->articleMarketPlaceMot[] = $articleMarketPlaceMot;
  779.         return $this;
  780.     }
  781.     public function removeArticleMarketPlaceMot(ArticleMarketPlaceMot $articleMarketPlaceMot)
  782.     {
  783.         $this->articleMarketPlaceMot->removeElement($articleMarketPlaceMot);
  784.     }
  785.     public function getArticleMarketPlaceMot(): Collection
  786.     {
  787.         return $this->articleMarketPlaceMot;
  788.     }
  789.     public function setIdVariationWp(?string $idVariationWp): ArticleMarketPlace
  790.     {
  791.         $this->idVariationWp $idVariationWp;
  792.         return $this;
  793.     }
  794.     public function getIdVariationWp(): ?string
  795.     {
  796.         return $this->idVariationWp;
  797.     }
  798.     public function setAsin(?string $asin): ArticleMarketPlace
  799.     {
  800.         $this->asin $asin;
  801.         return $this;
  802.     }
  803.     public function getAsin(): ?string
  804.     {
  805.         return $this->asin;
  806.     }
  807.     public function setProvenance(?string $provenance): ArticleMarketPlace
  808.     {
  809.         $this->provenance $provenance;
  810.         return $this;
  811.     }
  812.     public function getProvenance(): ?string
  813.     {
  814.         return $this->provenance;
  815.     }
  816.     public function setAsinParent(?string $asinParent): ArticleMarketPlace
  817.     {
  818.         $this->asinParent $asinParent;
  819.         return $this;
  820.     }
  821.     public function getAsinParent(): ?string
  822.     {
  823.         return $this->asinParent;
  824.     }
  825.     public function setEcotaxe(?float $ecotaxe): ArticleMarketPlace
  826.     {
  827.         $this->ecotaxe $ecotaxe;
  828.         return $this;
  829.     }
  830.     public function getEcotaxe(): ?float
  831.     {
  832.         return $this->ecotaxe;
  833.     }
  834.     public function setLangue(?Langue $langue): ArticleMarketPlace
  835.     {
  836.         $this->langue $langue;
  837.         return $this;
  838.     }
  839.     public function getLangue(): ?Langue
  840.     {
  841.         return $this->langue;
  842.     }
  843.     public function setNbVendus(?int $nbVendus): ArticleMarketPlace
  844.     {
  845.         $this->nbVendus $nbVendus;
  846.         return $this;
  847.     }
  848.     public function getNbVendus(): ?int
  849.     {
  850.         return $this->nbVendus;
  851.     }
  852.     public function setNbVus(?int $nbVus): ArticleMarketPlace
  853.     {
  854.         $this->nbVus $nbVus;
  855.         return $this;
  856.     }
  857.     public function getNbVus(): ?int
  858.     {
  859.         return $this->nbVus;
  860.     }
  861.     public function setFraisLivraison(?string $fraisLivraison): ArticleMarketPlace
  862.     {
  863.         $this->fraisLivraison $fraisLivraison;
  864.         return $this;
  865.     }
  866.     public function getFraisLivraison(): ?string
  867.     {
  868.         return $this->fraisLivraison;
  869.     }
  870.     public function setConditionLivraison(?string $conditionLivraison): ArticleMarketPlace
  871.     {
  872.         $this->conditionLivraison $conditionLivraison;
  873.         return $this;
  874.     }
  875.     public function getConditionLivraison(): ?string
  876.     {
  877.         return $this->conditionLivraison;
  878.     }
  879.     public function setDateMiseEnLigne(?DateTime $dateMiseEnLigne): ArticleMarketPlace
  880.     {
  881.         $this->dateMiseEnLigne $dateMiseEnLigne;
  882.         return $this;
  883.     }
  884.     public function getDateMiseEnLigne(): ?DateTime
  885.     {
  886.         return $this->dateMiseEnLigne;
  887.     }
  888.     public function setSiteMarketPlace(?string $siteMarketPlace): ArticleMarketPlace
  889.     {
  890.         $this->siteMarketPlace $siteMarketPlace;
  891.         return $this;
  892.     }
  893.     public function getSiteMarketPlace(): ?string
  894.     {
  895.         return $this->siteMarketPlace;
  896.     }
  897.     public function setStockMarketPlace(?float $stockMarketPlace): ArticleMarketPlace
  898.     {
  899.         $this->stockMarketPlace $stockMarketPlace;
  900.         return $this;
  901.     }
  902.     public function getStockMarketPlace(): ?float
  903.     {
  904.         return $this->stockMarketPlace;
  905.     }
  906. }