<?php
namespace App\Entity\System;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
/**
* Product
*
* @ORM\Table(name="ps_product")
*
* @ORM\Entity(repositoryClass="App\Repository\System\ProductRepository")
*/
class Product
{
public const SELLING_CHANNEL_BIGBUY_EU = 'BIGBUY_EU';
public const SELLING_CHANNEL_DROPSHIPPING = 'DROPSHIPPING';
public const SELLING_CHANNELS_ALLOWED_INDEX = [
self::SELLING_CHANNEL_DROPSHIPPING => true,
self::SELLING_CHANNEL_BIGBUY_EU => true,
];
public const SHOPIFY_PRODUCTS = [95079, 95081, 95082, 95083, 95085, 95092, 95093, 95094];
public const SHOP_360_PRODUCTS = [41256, 41259, 206924, 206923, 206922, 206921, 206920, 206919, 273397, 273398];
public const B2B_PRODUCT_ID = 34990;
public const COURSE_ECOMMERCE_SKU = 'SRV01028';
public const COURSE_SHOPIFY_STORE_CONTROL_ONBOARDING_SKU = 'SRV01016';
public const COURSE_SHOPIFY_SETUP_ESSENTIALS_ONBOARDING_SKU = 'SRV01022';
public const SHOPIFY_COURSES_GIFT_REFERENCES = [self::COURSE_SHOPIFY_SETUP_ESSENTIALS_ONBOARDING_SKU];
public const SHOPS_COURSES_GIFT_REFERENCES = [self::COURSE_SHOPIFY_STORE_CONTROL_ONBOARDING_SKU, self::COURSE_ECOMMERCE_SKU];
public const FEATURE_LANG_POWER_MBA = 4907;
public const FEATURE_ACADEMY_COURSE_TYPE = 4920;
public const FEATURE_ACADEMY_COURSE_TYPE_ONBOARDING = 231154;
public const FEATURE_ACADEMY_COURSE_TYPE_INTERNAL = 233082;
public const FEATURE_ACADEMY_COURSE_TYPE_EXTERNAL = 233517;
public const FEATURE_ACADEMY_COURSE_TYPE_REGISTRATION = 234032;
public const FEATURE_COUNTRY_OF_ORIGIN = 279;
public const FEATURE_PLUG_EU = 28017;
public const MONEYBOX_PRODUCT_ID = 13690;
public const REGISTRATION_COURSE_SKU = 'SRV01037';
public const RENOVATION_COURSE_SKU = 'SRV01038';
public const POWER_MBA_REGISTRATION_REFERENCES = [self::REGISTRATION_COURSE_SKU, self::RENOVATION_COURSE_SKU];
public const FEATURES_INCLUDED_FOR_API = [
self::FEATURE_COUNTRY_OF_ORIGIN,
self::FEATURE_PLUG_EU,
];
public const PACK_MARKETPLACES_ANNUAL_PRODUCT_ID = 95301;
public const PACK_MARKETPLACES_BIANNUAL_PRODUCT_ID = 95303;
public const PACK_MARKETPLACES_MONTHLY_PRODUCT_ID = 95302;
public const NEW_PACK_MARKETPLACES_ANNUAL_PRODUCT_ID = 165016;
public const NEW_PACK_MARKETPLACES_BIANNUAL_PRODUCT_ID = 165028;
public const NEW_PACK_MARKETPLACES_MONTHLY_PRODUCT_ID = 165024;
public const PACK_MARKETPLACES_PRODUCT_IDS = [
self::PACK_MARKETPLACES_ANNUAL_PRODUCT_ID,
self::PACK_MARKETPLACES_BIANNUAL_PRODUCT_ID,
self::PACK_MARKETPLACES_MONTHLY_PRODUCT_ID,
self::NEW_PACK_MARKETPLACES_ANNUAL_PRODUCT_ID,
self::NEW_PACK_MARKETPLACES_BIANNUAL_PRODUCT_ID,
self::NEW_PACK_MARKETPLACES_MONTHLY_PRODUCT_ID,
];
public const PACK_ECOMMERCE_ANNUAL_PRODUCT_ID = 95298;
public const PACK_ECOMMERCE_BIANNUAL_PRODUCT_ID = 95300;
public const PACK_ECOMMERCE_MONTHLY_PRODUCT_ID = 95299;
public const PACK_B2B_PRODUCT_ID = 100185;
public const PACK_ECOMMERCE_PRODUCT_IDS = [
self::PACK_ECOMMERCE_ANNUAL_PRODUCT_ID,
self::PACK_ECOMMERCE_BIANNUAL_PRODUCT_ID,
self::PACK_ECOMMERCE_MONTHLY_PRODUCT_ID,
];
/** @deprecated use feature type self::FEATURE_ACADEMY_COURSE_TYPE_REGISTRATION */
public const REGISTRATION_COURSES_LIST = [self::REGISTRATION_COURSE_SKU, self::RENOVATION_COURSE_SKU];
public const SHOPIFY_CONNECTOR_ID = 95291;
public const SUPPORT_PRODUCT_ID = 5022;
public const MAINTENANCE_PRODUCT_ID = 1035502;
public const SUPPORT_AND_MAINTENANCE_PRODUCTS = [
self::SUPPORT_PRODUCT_ID,
self::MAINTENANCE_PRODUCT_ID,
];
/**
* @var int
*
* @ORM\Column(name="id_product", type="integer")
*
* @ORM\Id
*
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity="Tax")
*
* @ORM\JoinColumn(name="id_tax", referencedColumnName="id_tax")
*/
private $tax;
/**
* @ORM\ManyToOne(targetEntity="Supplier")
*
* @ORM\JoinColumn(name="id_supplier", referencedColumnName="id_plazo_aprovisionamiento_proveedor", nullable=true)
*/
private ?Supplier $supplier;
/**
* @var bool
*
* @ORM\Column(type="boolean", columnDefinition="tinyint(1)", options={"default" : 0})
*/
private $onSale;
/**
* @var bool
*
* @ORM\Column(type="boolean", columnDefinition="tinyint(1)", options={"default" : 0})
*/
private $onlineOnly;
/**
* @var string|null
*
* @ORM\Column(name="ean13", type="string", length=13, nullable=true)
*/
private $ean;
/**
* @var string|null
*
* @ORM\Column(type="string", length=12, nullable=true)
*/
private $upc;
/**
* @var float|null
*
* @ORM\Column(type="decimal", precision=17, scale=6, options={"default" : 0.000000}, nullable=true)
*/
private $ecotax;
/**
* @var int|null
*
* @ORM\Column(type="integer", length=10, nullable=true, options={"default" : 0})
*/
private $quantity;
/**
* @var int|null
*
* @ORM\Column(type="integer", length=10, nullable=true, options={"default" : 1})
*/
private $minimalQuantity;
/**
* @var float
*
* @ORM\Column(name="price", type="decimal", precision=20, scale=6, options={"default" : 0.000000})
*/
private $price;
/**
* @var float
*
* @ORM\Column(name="wholesale_price", type="decimal", precision=20, scale=6, options={"default" : 0.000000})
*/
private $wholesalePrice;
/**
* /**
* @var string|null
*
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $unity;
/**
* @var string
*
* @ORM\Column(name="reference", type="string", length=32)
*/
private $sku;
/**
* @var bool
*
* @ORM\Column(name="active", type="boolean")
*/
private $active;
/**
* @var ArrayCollection|ProductImage[]
*
* @ORM\OneToMany(targetEntity="ProductImage", mappedBy="product", cascade={"persist"})
*/
private $productImages;
/**
* @var ArrayCollection|ProductAttribute[]
*
* @ORM\OneToMany(targetEntity="ProductAttribute", mappedBy="product", cascade={"persist"})
*/
private $productAttributes;
/**
* @var ArrayCollection|ProductDate[]
*
* @ORM\OneToMany(targetEntity="ProductDate", mappedBy="product", cascade={"persist"})
*/
private $productDates;
/**
* @var ArrayCollection|StockAvailable[]
*
* @ORM\OneToMany(targetEntity="StockAvailable", mappedBy="product", cascade={"persist", "remove"})
*/
private $stocks;
/**
* @var ArrayCollection|SpecificPrice[]
*
* @ORM\OneToMany(targetEntity="SpecificPrice", mappedBy="product", cascade={"persist", "remove"})
*/
private $specificPrices;
/**
* @var float
*
* @ORM\Column(name="wholesale_price_old", type="float", nullable=false)
*/
private $oldWholesalePrice;
/**
* @var int|null
*
* @ORM\Column(name="id_category_default", type="integer", length=10, nullable=true)
*/
private $categoryDefault;
/**
* @var int
*
* @ORM\Column(name="sincronizar", type="boolean")
*/
private $sincronizar;
/**
* @var float
*
* @ORM\Column(name="weight", type="float")
*/
private $weight;
/**
* @var string|null
*
* @ORM\Column(name="ean13_2", type="string", length=13)
*/
private $eanVirtual;
/**
* @var float
*
* @ORM\Column(name="height", type="float")
*/
private $height;
/**
* @var float
*
* @ORM\Column(name="width", type="float")
*/
private $width;
/**
* @var float
*
* @ORM\Column(name="depth", type="float")
*/
private $depth;
/**
* @var float
*
* @ORM\Column(name="estimate_cost_price", type="float")
*/
private $estimateCostPrice;
/** @var string
* @ORM\Column(name="intrastat", type="string", length=32)
*/
private $intrastat;
/**
* @var bool
*
* @ORM\Column(name="is_virtual", type="boolean")
*/
private $isVirtual;
/**
* @var ArrayCollection|MinimumOrderQuantity[]
*
* @ORM\OneToMany(targetEntity="MinimumOrderQuantity", mappedBy="product", cascade={"persist", "remove"})
*/
private $minimumOrderQuantitys;
/**
* @var ArrayCollection|ProductEan[]
*
* @ORM\OneToMany(targetEntity="ProductEan", mappedBy="product", cascade={"persist"})
*/
private $productEans;
/**
* @ORM\Column(name="date_add", type="datetime")
*/
private $dateAdd;
/**
* @ORM\Column(name="date_upd", type="datetime")
*/
private $dateUpd;
/**
* @ORM\Column(name="date_next", type="datetime")
*/
private $dateNext;
/**
* @ORM\Column(name="date_new_stock", type="datetime")
*/
private $dateNewStock;
/**
* @ORM\Column(name="available_date", type="datetime")
*/
private $availableDate;
/**
* @ORM\Column(name="palet", type="integer")
*/
private $palletUnits;
/**
* @ORM\Column(name="box", type="integer")
*/
private $boxUnits;
/**
* @ORM\Column(name="video", type="string")
*/
private $video;
/**
* @var Brand
*
* @ORM\ManyToOne(targetEntity="Brand")
*
* @ORM\JoinColumn(name="id_manufacturer", referencedColumnName="id_manufacturer")
*/
private $manufacturer;
/**
* @var Subscription[]|ArrayCollection
*
* @ORM\OneToMany(targetEntity="Subscription", mappedBy="product", cascade={"persist"})
*/
private $subscriptions;
/**
* @var int
*
* @ORM\Column(type="integer")
*/
private $idShopDefault;
/**
* @var float
*
* @ORM\Column(type="decimal", precision=20, scale=6)
*/
private $unitPriceRatio;
/**
* @var float
*
* @ORM\Column(type="decimal", precision=20, scale=2)
*/
private $additionalShippingCost;
/**
* @var string
*
* @ORM\Column(type="string", length=32)
*/
private $supplierReference;
/**
* @var string
*
* @ORM\Column(type="string", length=64)
*/
private $location;
/**
* @var int
*
* @ORM\Column(type="integer")
*/
private $outOfStock;
/**
* @var bool
*
* @ORM\Column(type="boolean")
*/
private $quantityDiscount;
/**
* @var int
*
* @ORM\Column(type="integer")
*/
private $customizable;
/**
* @var int
*
* @ORM\Column(type="integer")
*/
private $uploadableFiles;
/**
* @var int
*
* @ORM\Column(type="integer")
*/
private $textFields;
/**
* @var string
*
* @ORM\Column(type="string")
*/
private $redirectType;
/**
* @var int
*
* @ORM\Column(type="integer")
*/
private $idProductRedirected;
/**
* @var bool
*
* @ORM\Column(type="boolean")
*/
private $availableForOrder;
/**
* @var \DateTime
*
* @ORM\Column(type="date")
*/
private $dateNew;
/**
* @var int
*
* @ORM\Column(type="integer", name="container_20p")
*/
private $container20p;
/**
* @var int
*
* @ORM\Column(type="integer", name="container_40p")
*/
private $container40p;
/**
* @var string
*
* @ORM\Column(type="string", length=50)
*/
private $picking;
/**
* @var string
*
* @ORM\Column(type="string", length=50)
*/
private $locationPalet1;
/**
* @var string
*
* @ORM\Column(type="string", length=50)
*/
private $locationPalet2;
/**
* @var int
*
* @ORM\Column(type="integer")
*/
private $minimumQty;
/**
* @var string
*
* @ORM\Column(type="string")
*/
private $condition;
/**
* @var bool
*
* @ORM\Column(type="boolean")
*/
private $showPrice;
/**
* @var bool
*
* @ORM\Column(type="boolean")
*/
private $indexed;
/**
* @var string
*
* @ORM\Column(type="string")
*/
private $visibility;
/**
* @var bool
*
* @ORM\Column(type="boolean")
*/
private $cacheIsPack;
/**
* @var bool
*
* @ORM\Column(type="boolean")
*/
private $cacheHasAttachments;
/**
* @var int
*
* @ORM\Column(type="integer")
*/
private $cacheDefaultAttribute;
/**
* @var bool
*
* @ORM\Column(type="boolean")
*/
private $advancedStockManagement;
/**
* @var string
*
* @ORM\Column(type="string")
*/
private $etiquetas;
/**
* @var bool
*
* @ORM\Column(type="boolean")
*/
private $traducir;
/**
* @var bool
*
* @ORM\Column(type="boolean")
*/
private $exportar;
/**
* @var string
*
* @ORM\Column(type="string", length=64)
*/
private $videoCsv;
/**
* @var int
*
* @ORM\Column(type="integer")
*/
private $oldIdProduct;
/**
* @var bool
*
* @ORM\Column(type="boolean")
*/
private $courierBox;
/**
* @var string
*
* @ORM\Column(type="string", length=32)
*/
private $oldReference;
/**
* @var int
*
* @ORM\Column(type="integer")
*/
private $delay;
/**
* @var int
*
* @ORM\Column(type="integer")
*/
private $remesa;
/**
* @var bool
*
* @ORM\Column(type="boolean")
*/
private $productoElectronico;
/**
* @var int
*
* @ORM\Column(type="integer")
*/
private $oldIdCategoryDefault;
/**
* @var bool
*
* @ORM\Column(type="boolean")
*/
private $descatalogado;
/**
* @var int
*
* @ORM\Column(type="integer")
*/
private $idProductCompras;
/**
* @var bool
*
* @ORM\Column(type="boolean")
*/
private $aleatorio;
/**
* @var bool
*
* @ORM\Column(type="boolean")
*/
private $expositor;
/**
* @var int
*
* @ORM\Column(type="integer")
*/
private $relatedProduct;
/**
* @var ProductType|null
*
* @ORM\ManyToOne(targetEntity="ProductType")
*
* @ORM\JoinColumn(name="product_type_id", referencedColumnName="id")
*/
private $productType;
/**
* @var Taxonomy|null
*
* @ORM\ManyToOne(targetEntity="Taxonomy")
*
* @ORM\JoinColumn(name="id_taxonomy_default", referencedColumnName="id")
*/
private $taxonomyDefault;
/**
* @var ProductLangBg
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangBg", mappedBy="product")
*/
private $productLangBg;
/**
* @var ProductLangCs
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangCs", mappedBy="product")
*/
private $productLangCs;
/**
* @var ProductLangDa
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangDa", mappedBy="product")
*/
private $productLangDa;
/**
* @var ProductLangDe
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangDe", mappedBy="product")
*/
private $productLangDe;
/**
* @var ProductLangEl
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangEl", mappedBy="product")
*/
private $productLangEl;
/**
* @var ProductLangEn
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangEn", mappedBy="product")
*/
private $productLangEn;
/**
* @var ProductLangEs
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangEs", mappedBy="product")
*/
private $productLangEs;
/**
* @var ProductLangEt
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangEt", mappedBy="product")
*/
private $productLangEt;
/**
* @var ProductLangFi
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangFi", mappedBy="product")
*/
private $productLangFi;
/**
* @var ProductLangFr
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangFr", mappedBy="product")
*/
private $productLangFr;
/**
* @var ProductLangHr
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangHr", mappedBy="product")
*/
private $productLangHr;
/**
* @var ProductLangHu
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangHu", mappedBy="product")
*/
private $productLangHu;
/**
* @var ProductLangIt
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangIt", mappedBy="product")
*/
private $productLangIt;
/**
* @var ProductLangLt
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangLt", mappedBy="product")
*/
private $productLangLt;
/**
* @var ProductLangLv
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangLv", mappedBy="product")
*/
private $productLangLv;
/**
* @var ProductLangNl
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangNl", mappedBy="product")
*/
private $productLangNl;
/**
* @var ProductLangNo
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangNo", mappedBy="product")
*/
private $productLangNo;
/**
* @var ProductLangPl
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangPl", mappedBy="product")
*/
private $productLangPl;
/**
* @var ProductLangPt
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangPt", mappedBy="product")
*/
private $productLangPt;
/**
* @var ProductLangRo
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangRo", mappedBy="product")
*/
private $productLangRo;
/**
* @var ProductLangRu
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangRu", mappedBy="product")
*/
private $productLangRu;
/**
* @var ProductLangSi
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangSi", mappedBy="product")
*/
private $productLangSi;
/**
* @var ProductLangSk
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangSk", mappedBy="product")
*/
private $productLangSk;
/**
* @var ProductLangSv
*
* @ORM\OneToOne(targetEntity="App\Entity\System\ProductLangSv", mappedBy="product")
*/
private $productLangSv;
/**
* @var Collection
*
* @ORM\ManyToMany(targetEntity="App\Entity\System\Taxonomy", inversedBy="products")
*
* @ORM\JoinTable(
* name="taxonomy_product",
* joinColumns={@ORM\JoinColumn(name="id_product", referencedColumnName="id_product", fieldName="id")},
* inverseJoinColumns={@ORM\JoinColumn(name="id", referencedColumnName="id", fieldName="id")}
* )
*/
private $taxonomies;
/**
* @var CoreUrlRewrite[]|ArrayCollection
*
* @ORM\OneToMany(targetEntity="App\Entity\System\CoreUrlRewrite", mappedBy="product", cascade={"persist"}, indexBy="id_lang")
*/
private $coreUrlRewrites;
/**
* @ORM\OneToMany(targetEntity="ProductCatalog", mappedBy="product", orphanRemoval=true)
*/
private $productCatalogs;
/**
* @var int
*
* @ORM\Column(name="id_taxonomy_default", type="integer")
*/
private $defaultTaxonomyId;
/**
* @var bool
*
* @ORM\Column(name="buybox", type="boolean")
*/
private $buyBox;
/**
* @var FutureStock[]|Collection
*
* @ORM\OneToMany(targetEntity="FutureStock", mappedBy="product")
*/
private $futureStocks;
/**
* @ORM\Column(type="string", length=128)
*/
private ?string $partNumber = null;
/**
* * @ORM\Column(type="float")
*/
private ?float $canon = null;
/**
* Product constructor.
*/
public function __construct()
{
$this->productAttributes = new ArrayCollection();
$this->productImages = new ArrayCollection();
$this->productDates = new ArrayCollection();
$this->minimumOrderQuantitys = new ArrayCollection();
$this->manufacturer = new ArrayCollection();
$this->subscriptions = new ArrayCollection();
$this->productEans = new ArrayCollection();
$this->idShopDefault = 1;
$this->onSale = false;
$this->onlineOnly = false;
$this->ecotax = 0;
$this->quantity = 0;
$this->minimalQuantity = 1;
$this->price = 0;
$this->wholesalePrice = 0;
$this->unitPriceRatio = 0;
$this->additionalShippingCost = 0;
$this->weight = 0;
$this->height = 0;
$this->depth = 0;
$this->width = 0;
$this->outOfStock = 2;
$this->quantityDiscount = 0;
$this->customizable = 0;
$this->uploadableFiles = 0;
$this->textFields = 0;
$this->redirectType = '404';
$this->idProductRedirected = 0;
$this->availableForOrder = true;
$this->boxUnits = 0;
$this->container20p = 0;
$this->container40p = 0;
$this->palletUnits = 0;
$this->minimumQty = 0;
$this->condition = 'new';
$this->showPrice = true;
$this->indexed = false;
$this->visibility = 'both';
$this->cacheIsPack = false;
$this->cacheHasAttachments = false;
$this->isVirtual = false;
$this->advancedStockManagement = false;
$this->traducir = false;
$this->exportar = false;
$this->sincronizar = false;
$this->productoElectronico = false;
$this->oldWholesalePrice = 0;
$this->estimateCostPrice = 0;
$this->intrastat = null;
$this->taxonomies = new ArrayCollection();
$this->coreUrlRewrites = new ArrayCollection();
$this->productCatalogs = new ArrayCollection();
}
/**
* @return int
*/
public function getId(): int
{
return $this->id;
}
public function getSupplier(): ?Supplier
{
return $this->supplier;
}
public function setSupplier(?Supplier $supplier): Product
{
$this->supplier = $supplier;
return $this;
}
/**
* @return bool
*/
public function isOnSale(): bool
{
return $this->onSale;
}
/**
* @param bool $onSale
*
* @return Product
*/
public function setOnSale(bool $onSale): Product
{
$this->onSale = $onSale;
return $this;
}
/**
* @return bool
*/
public function isOnlineOnly(): bool
{
return $this->onlineOnly;
}
/**
* @param bool $onlineOnly
*
* @return Product
*/
public function setOnlineOnly(bool $onlineOnly): Product
{
$this->onlineOnly = $onlineOnly;
return $this;
}
/**
* @return string|null
*/
public function getEan(): ?string
{
return $this->ean;
}
/**
* @param string|null $ean
*
* @return Product
*/
public function setEan(?string $ean): Product
{
$this->ean = $ean;
return $this;
}
/**
* @return string|null
*/
public function getUpc(): ?string
{
return $this->upc;
}
/**
* @param string|null $upc
*
* @return Product
*/
public function setUpc(?string $upc): Product
{
$this->upc = $upc;
return $this;
}
/**
* @return float|null
*/
public function getEcotax(): ?float
{
return $this->ecotax;
}
/**
* @param float|null $ecotax
*
* @return Product
*/
public function setEcotax(?float $ecotax): Product
{
$this->ecotax = $ecotax;
return $this;
}
/**
* @return int|null
*/
public function getQuantity(): ?int
{
return $this->quantity;
}
/**
* @param int|null $quantity
*
* @return Product
*/
public function setQuantity(?int $quantity): Product
{
$this->quantity = $quantity;
return $this;
}
/**
* @return int|null
*/
public function getMinimalQuantity(): ?int
{
return $this->minimalQuantity;
}
/**
* @param int|null $minimalQuantity
*
* @return Product
*/
public function setMinimalQuantity(?int $minimalQuantity): Product
{
$this->minimalQuantity = $minimalQuantity;
return $this;
}
/**
* @return float
*/
public function getPrice(): float
{
return $this->price;
}
/**
* @param float $price
*
* @return Product
*/
public function setPrice(float $price): Product
{
$this->price = $price;
return $this;
}
/**
* @return float
*/
public function getWholesalePrice(): float
{
return $this->wholesalePrice;
}
/**
* @param float $wholesalePrice
*
* @return Product
*/
public function setWholesalePrice(float $wholesalePrice): Product
{
$this->wholesalePrice = $wholesalePrice;
return $this;
}
/**
* @return string|null
*/
public function getUnity(): ?string
{
return $this->unity;
}
/**
* @param string|null $unity
*
* @return Product
*/
public function setUnity(?string $unity): Product
{
$this->unity = $unity;
return $this;
}
/**
* @return string
*/
public function getSku(): string
{
return $this->sku;
}
/**
* @param string $sku
*
* @return Product
*/
public function setSku(string $sku): Product
{
$this->sku = $sku;
return $this;
}
/**
* @return bool
*/
public function isActive(): bool
{
return $this->active;
}
/**
* @param bool $active
*
* @return Product
*/
public function setActive(bool $active): Product
{
$this->active = $active;
return $this;
}
/**
* @return ProductImage[]|ArrayCollection
*/
public function getProductImages()
{
return $this->productImages;
}
/**
* @param ProductImage[]|ArrayCollection $productImages
*
* @return Product
*/
public function setProductImages($productImages): Product
{
$this->productImages = $productImages;
return $this;
}
/**
* @return ProductAttribute[]|ArrayCollection
*/
public function getProductAttributes()
{
return $this->productAttributes;
}
/**
* @param ProductAttribute[]|ArrayCollection $productAttributes
*
* @return Product
*/
public function setProductAttributes($productAttributes): Product
{
$this->productAttributes = $productAttributes;
return $this;
}
/**
* @return ProductDate[]|ArrayCollection
*/
public function getProductDates()
{
return $this->productDates;
}
/**
* @param ProductDate[]|ArrayCollection $productDates
*
* @return Product
*/
public function setProductDates($productDates): Product
{
$this->productDates = $productDates;
return $this;
}
/**
* @return StockAvailable[]|ArrayCollection<StockAvailable>
*/
public function getStocks()
{
return $this->stocks;
}
/**
* @param StockAvailable[]|ArrayCollection $stocks
*
* @return Product
*/
public function setStocks($stocks): Product
{
$this->stocks = $stocks;
return $this;
}
/**
* @return SpecificPrice[]|ArrayCollection
*/
public function getSpecificPrices()
{
return $this->specificPrices;
}
/**
* @param SpecificPrice[]|ArrayCollection $specificPrices
*
* @return Product
*/
public function setSpecificPrices($specificPrices): Product
{
$this->specificPrices = $specificPrices;
return $this;
}
/**
* @return float
*/
public function getOldWholesalePrice(): float
{
return $this->oldWholesalePrice;
}
/**
* @param float $oldWholesalePrice
*
* @return Product
*/
public function setOldWholesalePrice(float $oldWholesalePrice): Product
{
$this->oldWholesalePrice = $oldWholesalePrice;
return $this;
}
/**
* @return int|null
*/
public function getCategoryDefault(): ?int
{
return $this->categoryDefault;
}
/**
* @param int|null $categoryDefault
*
* @return Product
*/
public function setCategoryDefault(?int $categoryDefault): Product
{
$this->categoryDefault = $categoryDefault;
return $this;
}
/**
* @return int
*/
public function getSincronizar(): int
{
return $this->sincronizar;
}
/**
* @param int $sincronizar
*
* @return Product
*/
public function setSincronizar(int $sincronizar): Product
{
$this->sincronizar = $sincronizar;
return $this;
}
/**
* @return float
*/
public function getWeight(): float
{
return $this->weight;
}
/**
* @param float $weight
*
* @return Product
*/
public function setWeight(float $weight): Product
{
$this->weight = $weight;
return $this;
}
/**
* @return string
*/
public function getEanVirtual(): ?string
{
return $this->eanVirtual;
}
/**
* @param string $eanVirtual
*
* @return Product
*/
public function setEanVirtual(string $eanVirtual): Product
{
$this->eanVirtual = $eanVirtual;
return $this;
}
/**
* @return float
*/
public function getHeight(): float
{
return $this->height;
}
/**
* @param float $height
*
* @return Product
*/
public function setHeight(float $height): Product
{
$this->height = $height;
return $this;
}
/**
* @return float
*/
public function getWidth(): float
{
return $this->width;
}
/**
* @param float $width
*
* @return Product
*/
public function setWidth(float $width): Product
{
$this->width = $width;
return $this;
}
/**
* @return float
*/
public function getDepth(): float
{
return $this->depth;
}
/**
* @param float $depth
*
* @return Product
*/
public function setDepth(float $depth): Product
{
$this->depth = $depth;
return $this;
}
/**
* @return float
*/
public function getEstimateCostPrice(): float
{
return $this->estimateCostPrice;
}
/**
* @param float $estimateCostPrice
*
* @return Product
*/
public function setEstimateCostPrice(float $estimateCostPrice): Product
{
$this->estimateCostPrice = $estimateCostPrice;
return $this;
}
/**
* @return bool
*/
public function isVirtual(): bool
{
return $this->isVirtual;
}
/**
* @param bool $isVirtual
*
* @return Product
*/
public function setIsVirtual(bool $isVirtual): Product
{
$this->isVirtual = $isVirtual;
return $this;
}
/**
* @return MinimumOrderQuantity[]|ArrayCollection
*/
public function getMinimumOrderQuantitys()
{
return $this->minimumOrderQuantitys;
}
/**
* @param MinimumOrderQuantity[]|ArrayCollection $minimumOrderQuantitys
*
* @return Product
*/
public function setMinimumOrderQuantitys($minimumOrderQuantitys): Product
{
$this->minimumOrderQuantitys = $minimumOrderQuantitys;
return $this;
}
/**
* @return ProductEan[]|ArrayCollection
*/
public function getProductEans()
{
return $this->productEans;
}
/**
* @param ProductEan[]|ArrayCollection $productEans
*
* @return Product
*/
public function setProductEans($productEans): Product
{
$this->productEans = $productEans;
return $this;
}
/**
* @return mixed
*/
public function getDateAdd()
{
return $this->dateAdd;
}
/**
* @param mixed $dateAdd
*
* @return Product
*/
public function setDateAdd($dateAdd): Product
{
$this->dateAdd = $dateAdd;
return $this;
}
/**
* @return mixed
*/
public function getDateUpd()
{
return $this->dateUpd;
}
/**
* @param mixed $dateUpd
*
* @return Product
*/
public function setDateUpd($dateUpd): Product
{
$this->dateUpd = $dateUpd;
return $this;
}
/**
* @return mixed
*/
public function getDateNext()
{
return $this->dateNext;
}
/**
* @param mixed $dateNext
*
* @return Product
*/
public function setDateNext($dateNext): Product
{
$this->dateNext = $dateNext;
return $this;
}
/**
* @return mixed
*/
public function getDateNewStock()
{
return $this->dateNewStock;
}
/**
* @param mixed $dateNewStock
*
* @return Product
*/
public function setDateNewStock($dateNewStock): Product
{
$this->dateNewStock = $dateNewStock;
return $this;
}
/**
* @return mixed
*/
public function getAvailableDate()
{
return $this->availableDate;
}
/**
* @param mixed $availableDate
*
* @return Product
*/
public function setAvailableDate($availableDate): Product
{
$this->availableDate = $availableDate;
return $this;
}
/**
* @return mixed
*/
public function getPalletUnits()
{
return $this->palletUnits;
}
/**
* @param mixed $palletUnits
*
* @return Product
*/
public function setPalletUnits($palletUnits): Product
{
$this->palletUnits = $palletUnits;
return $this;
}
/**
* @return mixed
*/
public function getBoxUnits()
{
return $this->boxUnits;
}
/**
* @param mixed $boxUnits
*
* @return Product
*/
public function setBoxUnits($boxUnits): Product
{
$this->boxUnits = $boxUnits;
return $this;
}
/**
* @return mixed
*/
public function getVideo()
{
return $this->video;
}
/**
* @param mixed $video
*
* @return Product
*/
public function setVideo($video): Product
{
$this->video = $video;
return $this;
}
/**
* @return Brand
*/
public function getManufacturer(): Brand
{
return $this->manufacturer;
}
/**
* @param Brand $manufacturer
*
* @return Product
*/
public function setManufacturer(Brand $manufacturer): Product
{
$this->manufacturer = $manufacturer;
return $this;
}
/**
* @return Subscription[]|ArrayCollection
*/
public function getSubscriptions(): Subscription
{
return $this->subscriptions;
}
/**
* @param Subscription[]|ArrayCollection $subscriptions
*
* @return Product
*/
public function setSubscriptions($subscriptions): Product
{
$this->subscriptions = $subscriptions;
return $this;
}
/**
* @return string
*/
public function getLocation(): string
{
return $this->location;
}
/**
* @param string $location
*
* @return Product
*/
public function setLocation(string $location): Product
{
$this->location = $location;
return $this;
}
/**
* @return int
*/
public function getOutOfStock(): int
{
return $this->outOfStock;
}
/**
* @param int $outOfStock
*
* @return Product
*/
public function setOutOfStock(int $outOfStock): Product
{
$this->outOfStock = $outOfStock;
return $this;
}
/**
* @return bool
*/
public function isQuantityDiscount(): bool
{
return $this->quantityDiscount;
}
/**
* @param bool $quantityDiscount
*
* @return Product
*/
public function setQuantityDiscount(bool $quantityDiscount): Product
{
$this->quantityDiscount = $quantityDiscount;
return $this;
}
/**
* @return int
*/
public function getCustomizable(): int
{
return $this->customizable;
}
/**
* @param int $customizable
*
* @return Product
*/
public function setCustomizable(int $customizable): Product
{
$this->customizable = $customizable;
return $this;
}
/**
* @return int
*/
public function getUploadableFiles(): int
{
return $this->uploadableFiles;
}
/**
* @param int $uploadableFiles
*
* @return Product
*/
public function setUploadableFiles(int $uploadableFiles): Product
{
$this->uploadableFiles = $uploadableFiles;
return $this;
}
/**
* @return int
*/
public function getTextFields(): int
{
return $this->textFields;
}
/**
* @param int $textFields
*
* @return Product
*/
public function setTextFields(int $textFields): Product
{
$this->textFields = $textFields;
return $this;
}
/**
* @return string
*/
public function getRedirectType(): string
{
return $this->redirectType;
}
/**
* @param string $redirectType
*
* @return Product
*/
public function setRedirectType(string $redirectType): Product
{
$this->redirectType = $redirectType;
return $this;
}
/**
* @return int
*/
public function getIdProductRedirected(): int
{
return $this->idProductRedirected;
}
/**
* @param int $idProductRedirected
*
* @return Product
*/
public function setIdProductRedirected(int $idProductRedirected): Product
{
$this->idProductRedirected = $idProductRedirected;
return $this;
}
/**
* @return bool
*/
public function isAvailableForOrder(): bool
{
return $this->availableForOrder;
}
/**
* @param bool $availableForOrder
*
* @return Product
*/
public function setAvailableForOrder(bool $availableForOrder): Product
{
$this->availableForOrder = $availableForOrder;
return $this;
}
/**
* @return \DateTime
*/
public function getDateNew(): \DateTime
{
return $this->dateNew;
}
/**
* @param \DateTime $dateNew
*
* @return Product
*/
public function setDateNew(\DateTime $dateNew): Product
{
$this->dateNew = $dateNew;
return $this;
}
/**
* @return int
*/
public function getContainer20p(): int
{
return $this->container20p;
}
/**
* @param int $container20p
*
* @return Product
*/
public function setContainer20p(int $container20p): Product
{
$this->container20p = $container20p;
return $this;
}
/**
* @return int
*/
public function getContainer40p(): int
{
return $this->container40p;
}
/**
* @param int $container40p
*
* @return Product
*/
public function setContainer40p(int $container40p): Product
{
$this->container40p = $container40p;
return $this;
}
/**
* @return string
*/
public function getPicking(): string
{
return $this->picking;
}
/**
* @param string $picking
*
* @return Product
*/
public function setPicking(string $picking): Product
{
$this->picking = $picking;
return $this;
}
/**
* @return string
*/
public function getLocationPalet1(): string
{
return $this->locationPalet1;
}
/**
* @param string $locationPalet1
*
* @return Product
*/
public function setLocationPalet1(string $locationPalet1): Product
{
$this->locationPalet1 = $locationPalet1;
return $this;
}
/**
* @return string
*/
public function getLocationPalet2(): string
{
return $this->locationPalet2;
}
/**
* @param string $locationPalet2
*
* @return Product
*/
public function setLocationPalet2(string $locationPalet2): Product
{
$this->locationPalet2 = $locationPalet2;
return $this;
}
/**
* @return int
*/
public function getMinimumQty(): int
{
return $this->minimumQty;
}
/**
* @param int $minimumQty
*
* @return Product
*/
public function setMinimumQty(int $minimumQty): Product
{
$this->minimumQty = $minimumQty;
return $this;
}
/**
* @return string
*/
public function getCondition(): string
{
return $this->condition;
}
/**
* @param string $condition
*
* @return Product
*/
public function setCondition(string $condition): Product
{
$this->condition = $condition;
return $this;
}
/**
* @return bool
*/
public function isShowPrice(): bool
{
return $this->showPrice;
}
/**
* @param bool $showPrice
*
* @return Product
*/
public function setShowPrice(bool $showPrice): Product
{
$this->showPrice = $showPrice;
return $this;
}
/**
* @return bool
*/
public function isIndexed(): bool
{
return $this->indexed;
}
/**
* @param bool $indexed
*
* @return Product
*/
public function setIndexed(bool $indexed): Product
{
$this->indexed = $indexed;
return $this;
}
/**
* @return string
*/
public function getVisibility(): string
{
return $this->visibility;
}
/**
* @param string $visibility
*
* @return Product
*/
public function setVisibility(string $visibility): Product
{
$this->visibility = $visibility;
return $this;
}
/**
* @return bool
*/
public function isCacheIsPack(): bool
{
return $this->cacheIsPack;
}
/**
* @param bool $cacheIsPack
*
* @return Product
*/
public function setCacheIsPack(bool $cacheIsPack): Product
{
$this->cacheIsPack = $cacheIsPack;
return $this;
}
/**
* @return bool
*/
public function isCacheHasAttachments(): bool
{
return $this->cacheHasAttachments;
}
/**
* @param bool $cacheHasAttachments
*
* @return Product
*/
public function setCacheHasAttachments(bool $cacheHasAttachments): Product
{
$this->cacheHasAttachments = $cacheHasAttachments;
return $this;
}
/**
* @return int
*/
public function getCacheDefaultAttribute(): int
{
return $this->cacheDefaultAttribute;
}
/**
* @param int $cacheDefaultAttribute
*
* @return Product
*/
public function setCacheDefaultAttribute(int $cacheDefaultAttribute): Product
{
$this->cacheDefaultAttribute = $cacheDefaultAttribute;
return $this;
}
/**
* @return bool
*/
public function isAdvancedStockManagement(): bool
{
return $this->advancedStockManagement;
}
/**
* @param bool $advancedStockManagement
*
* @return Product
*/
public function setAdvancedStockManagement(bool $advancedStockManagement): Product
{
$this->advancedStockManagement = $advancedStockManagement;
return $this;
}
/**
* @return string
*/
public function getEtiquetas(): string
{
return $this->etiquetas;
}
/**
* @param string $etiquetas
*
* @return Product
*/
public function setEtiquetas(string $etiquetas): Product
{
$this->etiquetas = $etiquetas;
return $this;
}
/**
* @return bool
*/
public function isTraducir(): bool
{
return $this->traducir;
}
/**
* @param bool $traducir
*
* @return Product
*/
public function setTraducir(bool $traducir): Product
{
$this->traducir = $traducir;
return $this;
}
/**
* @return bool
*/
public function isExportar(): bool
{
return $this->exportar;
}
/**
* @param bool $exportar
*
* @return Product
*/
public function setExportar(bool $exportar): Product
{
$this->exportar = $exportar;
return $this;
}
/**
* @return string
*/
public function getVideoCsv(): string
{
return $this->videoCsv;
}
/**
* @param string $videoCsv
*
* @return Product
*/
public function setVideoCsv(string $videoCsv): Product
{
$this->videoCsv = $videoCsv;
return $this;
}
/**
* @return int
*/
public function getOldIdProduct(): int
{
return $this->oldIdProduct;
}
/**
* @param int $oldIdProduct
*
* @return Product
*/
public function setOldIdProduct(int $oldIdProduct): Product
{
$this->oldIdProduct = $oldIdProduct;
return $this;
}
/**
* @return bool
*/
public function isCourierBox(): bool
{
return $this->courierBox;
}
/**
* @param bool $courierBox
*
* @return Product
*/
public function setCourierBox(bool $courierBox): Product
{
$this->courierBox = $courierBox;
return $this;
}
/**
* @return string
*/
public function getOldReference(): string
{
return $this->oldReference;
}
/**
* @param string $oldReference
*
* @return Product
*/
public function setOldReference(string $oldReference): Product
{
$this->oldReference = $oldReference;
return $this;
}
/**
* @return int
*/
public function getDelay(): int
{
return $this->delay;
}
/**
* @param int $delay
*
* @return Product
*/
public function setDelay(int $delay): Product
{
$this->delay = $delay;
return $this;
}
/**
* @return int
*/
public function getRemesa(): int
{
return $this->remesa;
}
/**
* @param int $remesa
*
* @return Product
*/
public function setRemesa(int $remesa): Product
{
$this->remesa = $remesa;
return $this;
}
/**
* @return bool
*/
public function isProductoElectronico(): bool
{
return $this->productoElectronico;
}
/**
* @param bool $productoElectronico
*
* @return Product
*/
public function setProductoElectronico(bool $productoElectronico): Product
{
$this->productoElectronico = $productoElectronico;
return $this;
}
/**
* @return int
*/
public function getOldIdCategoryDefault(): int
{
return $this->oldIdCategoryDefault;
}
/**
* @param int $oldIdCategoryDefault
*
* @return Product
*/
public function setOldIdCategoryDefault(int $oldIdCategoryDefault): Product
{
$this->oldIdCategoryDefault = $oldIdCategoryDefault;
return $this;
}
/**
* @return bool
*/
public function isDescatalogado(): bool
{
return $this->descatalogado;
}
/**
* @param bool $descatalogado
*
* @return Product
*/
public function setDescatalogado(bool $descatalogado): Product
{
$this->descatalogado = $descatalogado;
return $this;
}
/**
* @return int
*/
public function getIdProductCompras(): int
{
return $this->idProductCompras;
}
/**
* @param int $idProductCompras
*
* @return Product
*/
public function setIdProductCompras(int $idProductCompras): Product
{
$this->idProductCompras = $idProductCompras;
return $this;
}
/**
* @return bool
*/
public function isAleatorio(): bool
{
return $this->aleatorio;
}
/**
* @param bool $aleatorio
*
* @return Product
*/
public function setAleatorio(bool $aleatorio): Product
{
$this->aleatorio = $aleatorio;
return $this;
}
/**
* @return bool
*/
public function isExpositor(): bool
{
return $this->expositor;
}
/**
* @param bool $expositor
*
* @return Product
*/
public function setExpositor(bool $expositor): Product
{
$this->expositor = $expositor;
return $this;
}
/**
* @return int
*/
public function getRelatedProduct(): int
{
return $this->relatedProduct;
}
/**
* @param int $relatedProduct
*
* @return Product
*/
public function setRelatedProduct(int $relatedProduct): Product
{
$this->relatedProduct = $relatedProduct;
return $this;
}
/**
* @return ProductType|null
*/
public function getProductType(): ?ProductType
{
return $this->productType;
}
/**
* @param ProductType|null $productType
*
* @return Product
*/
public function setProductType(?ProductType $productType): self
{
$this->productType = $productType;
return $this;
}
/**
* @return ProductLangInterface[]
*/
public function getLanguages(): array
{
return [
1 => $this->productLangEn,
4 => $this->productLangEs,
5 => $this->productLangFr,
6 => $this->productLangDe,
7 => $this->productLangPt,
8 => $this->productLangEl,
9 => $this->productLangHr,
10 => $this->productLangIt,
11 => $this->productLangEt,
12 => $this->productLangDa,
13 => $this->productLangFi,
14 => $this->productLangRo,
15 => $this->productLangBg,
16 => $this->productLangHu,
18 => $this->productLangSk,
19 => $this->productLangSi,
20 => $this->productLangLt,
21 => $this->productLangLv,
22 => $this->productLangPl,
24 => $this->productLangNl,
25 => $this->productLangRu,
26 => $this->productLangNo,
27 => $this->productLangSv,
28 => $this->productLangCs,
];
}
/**
* @return Collection
*/
public function getTaxonomies(): Collection
{
return $this->taxonomies;
}
/**
* @param Collection $taxonomies
*
* @return Product
*/
public function setTaxonomies(Collection $taxonomies): Product
{
$this->taxonomies = $taxonomies;
return $this;
}
/**
* @return CoreUrlRewrite[]|ArrayCollection
*/
public function getCoreUrlRewrites()
{
return $this->coreUrlRewrites;
}
/**
* @param CoreUrlRewrite[]|ArrayCollection $coreUrlRewrites
*/
public function setCoreUrlRewrites($coreUrlRewrites): Product
{
$this->coreUrlRewrites = $coreUrlRewrites;
return $this;
}
public function getProductCatalogs()
{
return $this->productCatalogs;
}
/**
* @param ArrayCollection $productCatalogs
*
* @return Product
*/
public function setProductCatalogs(ArrayCollection $productCatalogs): Product
{
$this->productCatalogs = $productCatalogs;
return $this;
}
/**
* @return ProductLangEn
*/
public function getProductLangEn(): ProductLangEn
{
return $this->productLangEn;
}
/**
* @return ProductLangEs
*/
public function getProductLangEs(): ProductLangEs
{
return $this->productLangEs;
}
/**
* @param ProductLangEn $productLangEn
*/
public function setProductLangEn(ProductLangEn $productLangEn): void
{
$this->productLangEn = $productLangEn;
}
/**
* @param ProductLangEs $productLangEs
*/
public function setProductLangEs(ProductLangEs $productLangEs): void
{
$this->productLangEs = $productLangEs;
}
/**
* @return Taxonomy|null
*/
public function getTaxonomyDefault(): ?Taxonomy
{
return $this->taxonomyDefault;
}
/**
* @param Taxonomy|null $taxonomyDefault
*
* @return Product
*/
public function setTaxonomyDefault(?Taxonomy $taxonomyDefault): self
{
$this->taxonomyDefault = $taxonomyDefault;
return $this;
}
/**
* @return string
*/
public function getIntrastat(): ?string
{
return $this->intrastat;
}
/**
* @return FutureStock[]|Collection
*/
public function getFutureStocks()
{
return $this->futureStocks;
}
/**
* @param string $isoCode
*
* @return ProductLangInterface|null
*/
public function getProductLangByIsoCode(string $isoCode): ?ProductLangInterface
{
if (!array_key_exists($isoCode, Language::LANG_IDS_INDEXED_BY_ISOCODE)) {
return null;
}
$getProductLangMethod = 'getProductLang'.ucfirst($isoCode);
return $this->$getProductLangMethod();
}
/**
* @return ProductLangBg
*/
public function getProductLangBg(): ProductLangBg
{
return $this->productLangBg;
}
/**
* @return ProductLangCs
*/
public function getProductLangCs(): ProductLangCs
{
return $this->productLangCs;
}
/**
* @return ProductLangDa
*/
public function getProductLangDa(): ProductLangDa
{
return $this->productLangDa;
}
/**
* @return ProductLangDe
*/
public function getProductLangDe(): ProductLangDe
{
return $this->productLangDe;
}
/**
* @return ProductLangEl
*/
public function getProductLangEl(): ProductLangEl
{
return $this->productLangEl;
}
/**
* @return ProductLangEt
*/
public function getProductLangEt(): ProductLangEt
{
return $this->productLangEt;
}
/**
* @return ProductLangFi
*/
public function getProductLangFi(): ProductLangFi
{
return $this->productLangFi;
}
/**
* @return ProductLangFr
*/
public function getProductLangFr(): ProductLangFr
{
return $this->productLangFr;
}
/**
* @return ProductLangHr
*/
public function getProductLangHr(): ProductLangHr
{
return $this->productLangHr;
}
/**
* @return ProductLangHu
*/
public function getProductLangHu(): ProductLangHu
{
return $this->productLangHu;
}
/**
* @return ProductLangIt
*/
public function getProductLangIt(): ProductLangIt
{
return $this->productLangIt;
}
/**
* @return ProductLangLt
*/
public function getProductLangLt(): ProductLangLt
{
return $this->productLangLt;
}
/**
* @return ProductLangLv
*/
public function getProductLangLv(): ProductLangLv
{
return $this->productLangLv;
}
/**
* @return ProductLangNl
*/
public function getProductLangNl(): ProductLangNl
{
return $this->productLangNl;
}
/**
* @return ProductLangNo
*/
public function getProductLangNo(): ProductLangNo
{
return $this->productLangNo;
}
/**
* @return ProductLangPl
*/
public function getProductLangPl(): ProductLangPl
{
return $this->productLangPl;
}
/**
* @return ProductLangPt
*/
public function getProductLangPt(): ProductLangPt
{
return $this->productLangPt;
}
/**
* @return ProductLangRo
*/
public function getProductLangRo(): ProductLangRo
{
return $this->productLangRo;
}
/**
* @return ProductLangRu
*/
public function getProductLangRu(): ProductLangRu
{
return $this->productLangRu;
}
/**
* @return ProductLangSi
*/
public function getProductLangSi(): ProductLangSi
{
return $this->productLangSi;
}
/**
* @return ProductLangSk
*/
public function getProductLangSk(): ProductLangSk
{
return $this->productLangSk;
}
/**
* @return ProductLangSv
*/
public function getProductLangSv(): ProductLangSv
{
return $this->productLangSv;
}
public function isBuyBox(): bool
{
return $this->buyBox;
}
public function setBuyBox(bool $buyBox): void
{
$this->buyBox = $buyBox;
}
public function getPartNumber(): ?string
{
return $this->partNumber;
}
public function setPartNumber(string $partNumber): Product
{
$this->partNumber = $partNumber;
return $this;
}
public function getCanon(): ?float
{
return $this->canon;
}
public function setCanon(float $canon): Product
{
$this->canon = $canon;
return $this;
}
}