src/Entity/Gos/GoogleMerchantFeed.php line 18

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Gos;
  3. use Doctrine\Common\Collections\ArrayCollection;
  4. use Doctrine\Common\Collections\Collection;
  5. use Doctrine\ORM\Mapping as ORM;
  6. use Symfony\Component\HttpFoundation\File\File;
  7. use Vich\UploaderBundle\Mapping\Annotation as Vich;
  8. /**
  9.  * GoogleMerchantFeed
  10.  *
  11.  * @ORM\Table(name="google_merchant_feed")
  12.  * @ORM\Entity(repositoryClass="App\Repository\GoogleMerchantFeedRepository")
  13.  * @Vich\Uploadable
  14.  */
  15. class GoogleMerchantFeed
  16. {
  17.     /**
  18.      * @var int
  19.      *
  20.      * @ORM\Column(name="id", type="integer")
  21.      * @ORM\Id
  22.      * @ORM\GeneratedValue(strategy="AUTO")
  23.      */
  24.     private $id;
  25.     /**
  26.      * @var string
  27.      *
  28.      * @ORM\Column(name="title", type="string", length=150, nullable=true)
  29.      */
  30.     private $title;
  31.     /**
  32.      * @var string
  33.      *
  34.      * @ORM\Column(name="title_sm", type="string", length=150, nullable=true)
  35.      */
  36.     private $titleSM;
  37.     /**
  38.      * @var string
  39.      *
  40.      * @ORM\Column(name="description", type="text", nullable=true)
  41.      */
  42.     private $description;
  43.     /**
  44.      * @var string
  45.      *
  46.      * @ORM\Column(name="description_sm", type="text", nullable=true)
  47.      */
  48.     private $descriptionSM;
  49.     /**
  50.      * @var string
  51.      *
  52.      * @ORM\Column(name="parameters_sm", type="string", length=255, nullable=true)
  53.      */
  54.     private $parametersSM;
  55.     /**
  56.      * @var string
  57.      *
  58.      * @ORM\Column(name="link", type="string", length=255, nullable=true)
  59.      */
  60.     private $link;
  61.     /**
  62.      * @var string
  63.      *
  64.      * @ORM\Column(name="link_gm", type="string", length=255, nullable=true)
  65.      */
  66.     private $linkGM;
  67.     /**
  68.      * @var string
  69.      *
  70.      * @ORM\Column(name="parameters_fb", type="string", length=255, nullable=true)
  71.      */
  72.     private $parametersFB;
  73.     /**
  74.      * @var string
  75.      *
  76.      * @ORM\Column(name="image", type="string", length=255, nullable=true)
  77.      */
  78.     private $image;
  79.     /**
  80.      * @var File
  81.      *
  82.      * @Vich\UploadableField(mapping="product_images", fileNameProperty="image")
  83.      */
  84.     private $imageFile;
  85.     /**
  86.      * @var string
  87.      *
  88.      * @ORM\Column(name="additional_image", type="string", length=255, nullable=true)
  89.      */
  90.     private $additionalImage;
  91.     /**
  92.      * @var File
  93.      *
  94.      * @Vich\UploadableField(mapping="product_images", fileNameProperty="additionalImage")
  95.      */
  96.     private $additionalImageFile;
  97.     /**
  98.      * @var string
  99.      *
  100.      * @ORM\Column(name="mobile_image", type="string", length=255, nullable=true)
  101.      */
  102.     private $mobileImage;
  103.     /**
  104.      * @var File
  105.      *
  106.      * @Vich\UploadableField(mapping="product_images", fileNameProperty="mobileImage")
  107.      */
  108.     private $mobileImageFile;
  109.     /**
  110.      * @var string
  111.      *
  112.      * @ORM\Column(name="brand", type="string", length=255, nullable=true)
  113.      */
  114.     private $brand;
  115.     /**
  116.      * @var string
  117.      *
  118.      * @ORM\Column(name="brand_sm", type="string", length=255, nullable=true)
  119.      */
  120.     private $brandSM;
  121.     /**
  122.      * @var string
  123.      *
  124.      * @ORM\Column(name="product_condition", type="string", length=25, nullable=true)
  125.      */
  126.     private $productCondition;
  127.     /**
  128.      * @var bool
  129.      *
  130.      * @ORM\Column(name="adult", type="boolean", nullable=true)
  131.      */
  132.     private $adult;
  133.     /**
  134.      * @var string
  135.      *
  136.      * @ORM\Column(name="excluded_destination", type="string", length=25, nullable=true)
  137.      */
  138.     private $excludedDestination;
  139.     /**
  140.      * @var string
  141.      *
  142.      * @ORM\Column(name="included_destination", type="string", length=25, nullable=true)
  143.      */
  144.     private $includedDestination;
  145.     /**
  146.      * @ORM\ManyToOne(targetEntity="App\Entity\Gos\GoogleMerchantTag", inversedBy="customLabels0")
  147.      */
  148.     private $customLabel0;
  149.     /**
  150.      * @ORM\ManyToOne(targetEntity="App\Entity\Gos\GoogleMerchantTag", inversedBy="customLabels1")
  151.      */
  152.     private $customLabel1;
  153.     /**
  154.      * @ORM\ManyToOne(targetEntity="App\Entity\Gos\GoogleMerchantTag", inversedBy="customLabels2")
  155.      */
  156.     private $customLabel2;
  157.     /**
  158.      * @ORM\ManyToOne(targetEntity="App\Entity\Gos\GoogleMerchantTag", inversedBy="customLabels3")
  159.      */
  160.     private $customLabel3;
  161.     /**
  162.      * @ORM\ManyToOne(targetEntity="App\Entity\Gos\GoogleMerchantTag", inversedBy="customLabels4")
  163.      */
  164.     private $customLabel4;
  165.     /**
  166.      * @var string
  167.      *
  168.      * @ORM\Column(name="promotion_id", type="string", length=50, nullable=true)
  169.      */
  170.     private $promotionId;
  171.     /**
  172.      * @var string
  173.      *
  174.      * @ORM\Column(name="gtin", type="string", length=50, nullable=true)
  175.      */
  176.     private $gtin;
  177.     /**
  178.      * @ORM\Column(type="datetime", nullable=true)
  179.      */
  180.     private $updatedAt;
  181.     /**
  182.      * @var boolean
  183.      *
  184.      * @ORM\Column(name="isActive", type="boolean")
  185.      */
  186.     private $isActive;
  187.     /**
  188.      * @ORM\OneToOne(targetEntity="App\Entity\Gos\Product", inversedBy="googleMerchantFeed")
  189.      */
  190.     private $product;
  191.     /**
  192.      * @ORM\ManyToOne(
  193.      *     targetEntity="App\Entity\Gos\GoogleMerchantCategory",
  194.      *     inversedBy="googleMerchantFeed",
  195.      *     cascade={"persist"})
  196.      * @ORM\JoinColumn(nullable=true)
  197.      */
  198.     private $googleMerchantCategory;
  199.     /**
  200.      * @var string
  201.      *
  202.      * @ORM\Column(name="google_merchant_category_sm", type="string", length=255, nullable=true)
  203.      */
  204.     private $googleMerchantCategorySM;
  205.     /**
  206.      * @var string
  207.      *
  208.      * @ORM\Column(name="google_merchant_subcategory_sm", type="string", length=512, nullable=true)
  209.      */
  210.     private $googleMerchantSubcategorySM;
  211.     /**
  212.      * @ORM\ManyToOne(
  213.      *     targetEntity="App\Entity\Gos\GoogleMerchantProductType",
  214.      *     inversedBy="googleMerchantFeed",
  215.      *     cascade={"persist"})
  216.      */
  217.     private $googleMerchantProductType;
  218.     /**
  219.      * @var boolean
  220.      *
  221.      * @ORM\Column(name="is_uniqskills", type="boolean", nullable=true, options={"default": 0})
  222.      */
  223.     private $isUniqskills;
  224.     /**
  225.      * @var boolean
  226.      *
  227.      * @ORM\Column(name="is_latino", type="boolean", nullable=true, options={"default": 0})
  228.      */
  229.     private $isLatino;
  230.     /**
  231.      * @var int
  232.      *
  233.      * @ORM\Column(name="uniqskills_id", type="integer", nullable=true, options={"default": null})
  234.      */
  235.     private $uniqskillsId;
  236.     /**
  237.      * @var string
  238.      *
  239.      * @ORM\Column(name="productURL", type="string", length=512, nullable=true)
  240.      */
  241.     private $productURL;
  242.     /**
  243.      * @var string
  244.      *
  245.      * @ORM\Column(name="graphicsURL", type="string", length=512, nullable=true)
  246.      */
  247.     private $graphicsURL;
  248.     /**
  249.      * @var string
  250.      *
  251.      * @ORM\Column(name="categoryURL", type="string", length=512, nullable=true)
  252.      */
  253.     private $categoryURL;
  254.     /**
  255.      * @ORM\OneToMany(targetEntity="App\Entity\Gos\ProductVariant", mappedBy="googleMerchantFeed")
  256.      */
  257.     private $associatedVariants;
  258.     public function __construct()
  259.     {
  260.         $this->associatedVariants = new ArrayCollection();
  261.     }
  262.     /**
  263.      * Get id
  264.      *
  265.      * @return int
  266.      */
  267.     public function getId()
  268.     {
  269.         return $this->id;
  270.     }
  271.     /**
  272.      * Set title
  273.      *
  274.      * @param string $title
  275.      *
  276.      * @return GoogleMerchantFeed
  277.      */
  278.     public function setTitle($title)
  279.     {
  280.         $this->title $title;
  281.         return $this;
  282.     }
  283.     /**
  284.      * Get title
  285.      *
  286.      * @return string
  287.      */
  288.     public function getTitle()
  289.     {
  290.         return $this->title;
  291.     }
  292.     /**
  293.      * Set titleSM
  294.      *
  295.      * @param string $titleSM
  296.      *
  297.      * @return GoogleMerchantFeed
  298.      */
  299.     public function setTitleSM($titleSM)
  300.     {
  301.         $this->titleSM $titleSM;
  302.         return $this;
  303.     }
  304.     /**
  305.      * Get titleSM
  306.      *
  307.      * @return string
  308.      */
  309.     public function getTitleSM()
  310.     {
  311.         return $this->titleSM;
  312.     }
  313.     /**
  314.      * Set description
  315.      *
  316.      * @param string $description
  317.      *
  318.      * @return GoogleMerchantFeed
  319.      */
  320.     public function setDescription($description)
  321.     {
  322.         $this->description $description;
  323.         return $this;
  324.     }
  325.     /**
  326.      * Get description
  327.      *
  328.      * @return string
  329.      */
  330.     public function getDescription()
  331.     {
  332.         return $this->description;
  333.     }
  334.     /**
  335.      * Set descriptionSM
  336.      *
  337.      * @param string $descriptionSM
  338.      *
  339.      * @return GoogleMerchantFeed
  340.      */
  341.     public function setDescriptionSM($descriptionSM)
  342.     {
  343.         $this->descriptionSM $descriptionSM;
  344.         return $this;
  345.     }
  346.     /**
  347.      * Get descriptionSM
  348.      *
  349.      * @return string
  350.      */
  351.     public function getDescriptionSM()
  352.     {
  353.         return $this->descriptionSM;
  354.     }
  355.     /**
  356.      * Set parametersSM
  357.      *
  358.      * @param string $parametersSM
  359.      *
  360.      * @return GoogleMerchantFeed
  361.      */
  362.     public function setParametersSM($parametersSM)
  363.     {
  364.         $this->parametersSM $parametersSM;
  365.         return $this;
  366.     }
  367.     /**
  368.      * Get parametersSM
  369.      *
  370.      * @return string
  371.      */
  372.     public function getParametersSM()
  373.     {
  374.         return $this->parametersSM;
  375.     }
  376.     /**
  377.      * Set link
  378.      *
  379.      * @param string $link
  380.      *
  381.      * @return GoogleMerchantFeed
  382.      */
  383.     public function setLink($link)
  384.     {
  385.         $this->link $link;
  386.         return $this;
  387.     }
  388.     /**
  389.      * Get link
  390.      *
  391.      * @return string
  392.      */
  393.     public function getLink()
  394.     {
  395.         return $this->link;
  396.     }
  397.     /**
  398.      * Set linkGM
  399.      *
  400.      * @param string $linkGM
  401.      *
  402.      * @return GoogleMerchantFeed
  403.      */
  404.     public function setLinkGM($linkGM)
  405.     {
  406.         $this->linkGM $linkGM;
  407.         return $this;
  408.     }
  409.     /**
  410.      * Get linkGM
  411.      *
  412.      * @return string
  413.      */
  414.     public function getLinkGM()
  415.     {
  416.         return $this->linkGM;
  417.     }
  418.     /**
  419.      * Set parametersFB
  420.      *
  421.      * @param string $parametersFB
  422.      *
  423.      * @return GoogleMerchantFeed
  424.      */
  425.     public function setParametersFB($parametersFB)
  426.     {
  427.         $this->parametersFB $parametersFB;
  428.         return $this;
  429.     }
  430.     /**
  431.      * Get parametersFB
  432.      *
  433.      * @return string
  434.      */
  435.     public function getParametersFB()
  436.     {
  437.         return $this->parametersFB;
  438.     }
  439.     /**
  440.      * Set image
  441.      *
  442.      * @param string $image
  443.      *
  444.      * @return GoogleMerchantFeed
  445.      */
  446.     public function setImage($image)
  447.     {
  448.         $this->image $image;
  449.         return $this;
  450.     }
  451.     /**
  452.      * Get image
  453.      *
  454.      * @return string
  455.      */
  456.     public function getImage()
  457.     {
  458.         return $this->image;
  459.     }
  460.     public function setImageFile(File $image null)
  461.     {
  462.         $this->imageFile $image;
  463.         // VERY IMPORTANT:
  464.         // It is required that at least one field changes if you are using Doctrine,
  465.         // otherwise the event listeners won't be called and the file is lost
  466.         if ($image)
  467.         {
  468.             // if 'updatedAt' is not defined in your entity, use another property
  469.             $this->updatedAt = new \DateTime('now');
  470.         }
  471.     }
  472.     public function getImageFile()
  473.     {
  474.         return $this->imageFile;
  475.     }
  476.     /**
  477.      * Set additionalImage
  478.      *
  479.      * @param string $additionalImage
  480.      *
  481.      * @return GoogleMerchantFeed
  482.      */
  483.     public function setAdditionalImage($additionalImage)
  484.     {
  485.         $this->additionalImage $additionalImage;
  486.         return $this;
  487.     }
  488.     /**
  489.      * Get additionalImage
  490.      *
  491.      * @return string
  492.      */
  493.     public function getAdditionalImage()
  494.     {
  495.         return $this->additionalImage;
  496.     }
  497.     public function setAdditionalImageFile(File $image null)
  498.     {
  499.         $this->additionalImageFile $image;
  500.         // VERY IMPORTANT:
  501.         // It is required that at least one field changes if you are using Doctrine,
  502.         // otherwise the event listeners won't be called and the file is lost
  503.         if ($image)
  504.         {
  505.             // if 'updatedAt' is not defined in your entity, use another property
  506.             $this->updatedAt = new \DateTime('now');
  507.         }
  508.     }
  509.     public function getAdditionalImageFile()
  510.     {
  511.         return $this->additionalImageFile;
  512.     }
  513.     /**
  514.      * Set mobileImage
  515.      *
  516.      * @param string $mobileImage
  517.      *
  518.      * @return GoogleMerchantFeed
  519.      */
  520.     public function setMobileImage($mobileImage)
  521.     {
  522.         $this->mobileImage $mobileImage;
  523.         return $this;
  524.     }
  525.     /**
  526.      * Get mobileImage
  527.      *
  528.      * @return string
  529.      */
  530.     public function getMobileImage()
  531.     {
  532.         return $this->mobileImage;
  533.     }
  534.     public function setMobileImageFile(File $image null)
  535.     {
  536.         $this->mobileImageFile $image;
  537.         // VERY IMPORTANT:
  538.         // It is required that at least one field changes if you are using Doctrine,
  539.         // otherwise the event listeners won't be called and the file is lost
  540.         if ($image)
  541.         {
  542.             // if 'updatedAt' is not defined in your entity, use another property
  543.             $this->updatedAt = new \DateTime('now');
  544.         }
  545.     }
  546.     public function getMobileImageFile()
  547.     {
  548.         return $this->mobileImageFile;
  549.     }
  550.     /**
  551.      * Set brand
  552.      *
  553.      * @param string $brand
  554.      *
  555.      * @return GoogleMerchantFeed
  556.      */
  557.     public function setBrand($brand)
  558.     {
  559.         $this->brand $brand;
  560.         return $this;
  561.     }
  562.     /**
  563.      * Get brand
  564.      *
  565.      * @return string
  566.      */
  567.     public function getBrand()
  568.     {
  569.         return $this->brand;
  570.     }
  571.     /**
  572.      * Set brandSM
  573.      *
  574.      * @param string $brandSM
  575.      *
  576.      * @return GoogleMerchantFeed
  577.      */
  578.     public function setBrandSM($brandSM)
  579.     {
  580.         $this->brandSM $brandSM;
  581.         return $this;
  582.     }
  583.     /**
  584.      * Get brandSM
  585.      *
  586.      * @return string
  587.      */
  588.     public function getBrandSM()
  589.     {
  590.         return $this->brandSM;
  591.     }
  592.     /**
  593.      * Set productCondition
  594.      *
  595.      * @param string $productCondition
  596.      *
  597.      * @return GoogleMerchantFeed
  598.      */
  599.     public function setProductCondition($productCondition)
  600.     {
  601.         $this->productCondition $productCondition;
  602.         return $this;
  603.     }
  604.     /**
  605.      * Get productCondition
  606.      *
  607.      * @return string
  608.      */
  609.     public function getProductCondition()
  610.     {
  611.         return $this->productCondition;
  612.     }
  613.     /**
  614.      * Set adult
  615.      *
  616.      * @param boolean $adult
  617.      *
  618.      * @return GoogleMerchantFeed
  619.      */
  620.     public function setAdult($adult)
  621.     {
  622.         $this->adult $adult;
  623.         return $this;
  624.     }
  625.     /**
  626.      * Get adult
  627.      *
  628.      * @return bool
  629.      */
  630.     public function getAdult()
  631.     {
  632.         return $this->adult;
  633.     }
  634.     /**
  635.      * Set excludedDestination
  636.      *
  637.      * @param string $excludedDestination
  638.      *
  639.      * @return GoogleMerchantFeed
  640.      */
  641.     public function setExcludedDestination($excludedDestination)
  642.     {
  643.         $this->excludedDestination $excludedDestination;
  644.         return $this;
  645.     }
  646.     /**
  647.      * Get excludedDestination
  648.      *
  649.      * @return string
  650.      */
  651.     public function getExcludedDestination()
  652.     {
  653.         return $this->excludedDestination;
  654.     }
  655.     /**
  656.      * Set includedDestination
  657.      *
  658.      * @param string $includedDestination
  659.      *
  660.      * @return GoogleMerchantFeed
  661.      */
  662.     public function setIncludedDestination($includedDestination)
  663.     {
  664.         $this->includedDestination $includedDestination;
  665.         return $this;
  666.     }
  667.     /**
  668.      * Get includedDestination
  669.      *
  670.      * @return string
  671.      */
  672.     public function getIncludedDestination()
  673.     {
  674.         return $this->includedDestination;
  675.     }
  676.     /**
  677.      * Set customLabel0
  678.      *
  679.      * @param \App\Entity\Gos\GoogleMerchantTag $googleMerchantTag
  680.      *
  681.      * @return GoogleMerchantFeed
  682.      */
  683.     public function setCustomLabel0(\App\Entity\Gos\GoogleMerchantTag $googleMerchantTag null)
  684.     {
  685.         $this->customLabel0 $googleMerchantTag;
  686.         return $this;
  687.     }
  688.     /**
  689.      * Get customLabel0
  690.      *
  691.      * @return \App\Entity\Gos\GoogleMerchantTag
  692.      */
  693.     public function getCustomLabel0()
  694.     {
  695.         return $this->customLabel0;
  696.     }
  697.     /**
  698.      * Set customLabel1
  699.      *
  700.      * @param \App\Entity\Gos\GoogleMerchantTag $googleMerchantTag
  701.      *
  702.      * @return GoogleMerchantFeed
  703.      */
  704.     public function setCustomLabel1(\App\Entity\Gos\GoogleMerchantTag $googleMerchantTag null)
  705.     {
  706.         $this->customLabel1 $googleMerchantTag;
  707.         return $this;
  708.     }
  709.     /**
  710.      * Get customLabel0
  711.      *
  712.      * @return \App\Entity\Gos\GoogleMerchantTag
  713.      */
  714.     public function getCustomLabel1()
  715.     {
  716.         return $this->customLabel1;
  717.     }
  718.     /**
  719.      * Set customLabel2
  720.      *
  721.      * @param \App\Entity\Gos\GoogleMerchantTag $googleMerchantTag
  722.      *
  723.      * @return GoogleMerchantFeed
  724.      */
  725.     public function setCustomLabel2(\App\Entity\Gos\GoogleMerchantTag $googleMerchantTag null)
  726.     {
  727.         $this->customLabel2 $googleMerchantTag;
  728.         return $this;
  729.     }
  730.     /**
  731.      * Get customLabel0
  732.      *
  733.      * @return \App\Entity\Gos\GoogleMerchantTag
  734.      */
  735.     public function getCustomLabel2()
  736.     {
  737.         return $this->customLabel2;
  738.     }
  739.     /**
  740.      * Set customLabel3
  741.      *
  742.      * @param \App\Entity\Gos\GoogleMerchantTag $googleMerchantTag
  743.      *
  744.      * @return GoogleMerchantFeed
  745.      */
  746.     public function setCustomLabel3(\App\Entity\Gos\GoogleMerchantTag $googleMerchantTag null)
  747.     {
  748.         $this->customLabel3 $googleMerchantTag;
  749.         return $this;
  750.     }
  751.     /**
  752.      * Get customLabel3
  753.      *
  754.      * @return \App\Entity\Gos\GoogleMerchantTag
  755.      */
  756.     public function getCustomLabel3()
  757.     {
  758.         return $this->customLabel3;
  759.     }
  760.     /**
  761.      * Set customLabel4
  762.      *
  763.      * @param \App\Entity\Gos\GoogleMerchantTag $googleMerchantTag
  764.      *
  765.      * @return GoogleMerchantFeed
  766.      */
  767.     public function setCustomLabel4(\App\Entity\Gos\GoogleMerchantTag $googleMerchantTag null)
  768.     {
  769.         $this->customLabel4 $googleMerchantTag;
  770.         return $this;
  771.     }
  772.     /**
  773.      * Get customLabel4
  774.      *
  775.      * @return \App\Entity\Gos\GoogleMerchantTag
  776.      */
  777.     public function getCustomLabel4()
  778.     {
  779.         return $this->customLabel4;
  780.     }
  781.     /**
  782.      * Set promotionId
  783.      *
  784.      * @param string $promotionId
  785.      *
  786.      * @return GoogleMerchantFeed
  787.      */
  788.     public function setPromotionId($promotionId)
  789.     {
  790.         $this->promotionId $promotionId;
  791.         return $this;
  792.     }
  793.     /**
  794.      * Get promotionId
  795.      *
  796.      * @return string
  797.      */
  798.     public function getPromotionId()
  799.     {
  800.         return $this->promotionId;
  801.     }
  802.     /**
  803.      * Set gtin
  804.      *
  805.      * @param string $gtin
  806.      *
  807.      * @return GoogleMerchantFeed
  808.      */
  809.     public function setGtin($gtin)
  810.     {
  811.         $this->gtin $gtin;
  812.         return $this;
  813.     }
  814.     /**
  815.      * Get gtin
  816.      *
  817.      * @return string
  818.      */
  819.     public function getGtin()
  820.     {
  821.         return $this->gtin;
  822.     }
  823.     /**
  824.      * Set updatedAt
  825.      *
  826.      * @param \DateTime $updatedAt
  827.      *
  828.      * @return GoogleMerchantFeed
  829.      */
  830.     public function setUpdatedAt($updatedAt)
  831.     {
  832.         $this->updatedAt $updatedAt;
  833.         return $this;
  834.     }
  835.     /**
  836.      * Get updatedAt
  837.      *
  838.      * @return \DateTime
  839.      */
  840.     public function getUpdatedAt()
  841.     {
  842.         return $this->updatedAt;
  843.     }
  844.     /**
  845.      * Set isActive
  846.      *
  847.      * @param boolean $isActive
  848.      *
  849.      * @return GoogleMerchantFeed
  850.      */
  851.     public function setIsActive($isActive)
  852.     {
  853.         $this->isActive $isActive;
  854.         return $this;
  855.     }
  856.     /**
  857.      * Get isActive
  858.      *
  859.      * @return boolean
  860.      */
  861.     public function getIsActive()
  862.     {
  863.         return $this->isActive;
  864.     }
  865.     /**
  866.      * Set product
  867.      *
  868.      * @param \App\Entity\Gos\Product $product
  869.      *
  870.      * @return GoogleMerchantFeed
  871.      */
  872.     public function setProduct(\App\Entity\Gos\Product $product null)
  873.     {
  874.         $this->product $product;
  875.         return $this;
  876.     }
  877.     /**
  878.      * Get product
  879.      *
  880.      * @return \App\Entity\Gos\Product
  881.      */
  882.     public function getProduct()
  883.     {
  884.         return $this->product;
  885.     }
  886.     /**
  887.      * Set googleMerchantCategory
  888.      *
  889.      * @param \App\Entity\Gos\GoogleMerchantCategory $googleMerchantCategory
  890.      *
  891.      * @return GoogleMerchantFeed
  892.      */
  893.     public function setGoogleMerchantCategory(\App\Entity\Gos\GoogleMerchantCategory $googleMerchantCategory null)
  894.     {
  895.         $this->googleMerchantCategory $googleMerchantCategory;
  896.         return $this;
  897.     }
  898.     /**
  899.      * Get googleMerchantCategory
  900.      *
  901.      * @return \App\Entity\Gos\GoogleMerchantCategory
  902.      */
  903.     public function getGoogleMerchantCategory()
  904.     {
  905.         return $this->googleMerchantCategory;
  906.     }
  907.     /**
  908.      * Set googleMerchantCategorySM
  909.      *
  910.      * @param string $googleMerchantCategorySM
  911.      *
  912.      * @return GoogleMerchantFeed
  913.      */
  914.     public function setGoogleMerchantCategorySM($googleMerchantCategorySM)
  915.     {
  916.         $this->googleMerchantCategorySM $googleMerchantCategorySM;
  917.         return $this;
  918.     }
  919.     /**
  920.      * Get googleMerchantCategorySM
  921.      *
  922.      * @return string
  923.      */
  924.     public function getGoogleMerchantCategorySM()
  925.     {
  926.         return $this->googleMerchantCategorySM;
  927.     }
  928.     /**
  929.      * Set googleMerchantSubcategorySM
  930.      *
  931.      * @param string $googleMerchantSubcategorySM
  932.      *
  933.      * @return GoogleMerchantFeed
  934.      */
  935.     public function setGoogleMerchantSubcategorySM(string $googleMerchantSubcategorySM): void
  936.     {
  937.         $this->googleMerchantSubcategorySM $googleMerchantSubcategorySM;
  938.     }
  939.     /**
  940.      * Get googleMerchantSubcategorySM
  941.      *
  942.      * @return string || null
  943.      */
  944.     public function getGoogleMerchantSubcategorySM()
  945.     {
  946.         return $this->googleMerchantSubcategorySM;
  947.     }
  948.     /**
  949.      * Set productURL
  950.      *
  951.      * @param string $productURL
  952.      *
  953.      * @return string
  954.      */
  955.     public function setProductURL(string $productURL): void
  956.     {
  957.         $this->productURL $productURL;
  958.     }
  959.     /**
  960.      * Get productURL
  961.      *
  962.      * @return string || null
  963.      */
  964.     public function getProductURL()
  965.     {
  966.         return $this->productURL;
  967.     }
  968.     /**
  969.      * Set graphicsURL
  970.      *
  971.      * @param string $graphicsURL
  972.      *
  973.      * @return string || null
  974.      */
  975.     public function setGraphicsURL(string $graphicsURL): void
  976.     {
  977.         $this->graphicsURL $graphicsURL;
  978.     }
  979.     /**
  980.      * Get graphicsURL
  981.      *
  982.      * @return string || null
  983.      */
  984.     public function getGraphicsURL()
  985.     {
  986.         return $this->graphicsURL;
  987.     }
  988.     /**
  989.      * Set categoryURL
  990.      *
  991.      * @param string $categoryURL
  992.      *
  993.      * @return string
  994.      */
  995.     public function setCategoryURL(string $categoryURL): void
  996.     {
  997.         $this->categoryURL $categoryURL;
  998.     }
  999.     /**
  1000.      * Get categoryURL
  1001.      *
  1002.      * @return string || null
  1003.      */
  1004.     public function getCategoryURL()
  1005.     {
  1006.         return $this->categoryURL;
  1007.     }
  1008.     /**
  1009.      * Set googleMerchantProductType
  1010.      *
  1011.      * @param \App\Entity\Gos\GoogleMerchantProductType $googleMerchantProductType
  1012.      *
  1013.      * @return GoogleMerchantFeed
  1014.      */
  1015.     public function setGoogleMerchantProductType(\App\Entity\Gos\GoogleMerchantProductType $googleMerchantProductType null)
  1016.     {
  1017.         $this->googleMerchantProductType $googleMerchantProductType;
  1018.         return $this;
  1019.     }
  1020.     /**
  1021.      * Get googleMerchantProductType
  1022.      *
  1023.      * @return \App\Entity\Gos\GoogleMerchantProductType
  1024.      */
  1025.     public function getGoogleMerchantProductType()
  1026.     {
  1027.         return $this->googleMerchantProductType;
  1028.     }
  1029.     /**
  1030.      * Set isUniqskills
  1031.      *
  1032.      * @param boolean $isUniqskills
  1033.      *
  1034.      * @return GoogleMerchantFeed
  1035.      */
  1036.     public function setIsUniqskills($isUniqskills)
  1037.     {
  1038.         $this->isUniqskills $isUniqskills;
  1039.         return $this;
  1040.     }
  1041.     /**
  1042.      * Get isUniqskills
  1043.      *
  1044.      * @return boolean
  1045.      */
  1046.     public function getIsUniqskills()
  1047.     {
  1048.         return $this->isUniqskills;
  1049.     }
  1050.     /**
  1051.      * Set isLatino
  1052.      *
  1053.      * @param boolean $isLatino
  1054.      *
  1055.      * @return GoogleMerchantFeed
  1056.      */
  1057.     public function setIsLatino($isLatino)
  1058.     {
  1059.         $this->isLatino $isLatino;
  1060.         return $this;
  1061.     }
  1062.     /**
  1063.      * Get isLatino
  1064.      *
  1065.      * @return boolean
  1066.      */
  1067.     public function getIsLatino()
  1068.     {
  1069.         return $this->isLatino;
  1070.     }
  1071.     /**
  1072.      * Set uniqskillsId
  1073.      *
  1074.      * @param integer $uniqskillsId
  1075.      *
  1076.      * @return GoogleMerchantFeed
  1077.      */
  1078.     public function setUniqskillsId($uniqskillsId)
  1079.     {
  1080.         $this->uniqskillsId $uniqskillsId;
  1081.         return $this;
  1082.     }
  1083.     /**
  1084.      * Get uniqskillsId
  1085.      *
  1086.      * @return boolean
  1087.      */
  1088.     public function getUniqskillsId()
  1089.     {
  1090.         return $this->uniqskillsId;
  1091.     }
  1092.     /**
  1093.      * @return Collection|ProductVariant[]
  1094.      */
  1095.     public function getAssociatedVariants()
  1096.     {
  1097.         return $this->associatedVariants;
  1098.     }
  1099.     public function addAssociatedVariant(ProductVariant $associatedVariant): self
  1100.     {
  1101.         if (!$this->associatedVariants->contains($associatedVariant)) {
  1102.             $this->associatedVariants[] = $associatedVariant;
  1103.             $associatedVariant->setGoogleMerchantFeed($this);
  1104.         }
  1105.         return $this;
  1106.     }
  1107.     public function removeAssociatedVariant(ProductVariant $associatedVariant): self
  1108.     {
  1109.         if ($this->associatedVariants->contains($associatedVariant)) {
  1110.             $this->associatedVariants->removeElement($associatedVariant);
  1111.             // set the owning side to null (unless already changed)
  1112.             if ($associatedVariant->getGoogleMerchantFeed() === $this) {
  1113.                 $associatedVariant->setGoogleMerchantFeed(null);
  1114.             }
  1115.         }
  1116.         return $this;
  1117.     }
  1118. }