<?php
namespace Proxies\__CG__\App\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class DeliveryMethod extends \App\Entity\DeliveryMethod implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = [];
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'id', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'averageDays', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'firstItem', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'additionalItem', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'product', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'serviceId', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'valid', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'companyDefaultShipping', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'freeAboveATotalOf', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'fixedPrice', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'pickupSchedule', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'pickupAddress', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'isAPickup', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'pickupLocationId', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'withPacking'];
}
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'id', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'averageDays', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'firstItem', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'additionalItem', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'product', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'serviceId', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'valid', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'companyDefaultShipping', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'freeAboveATotalOf', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'fixedPrice', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'pickupSchedule', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'pickupAddress', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'isAPickup', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'pickupLocationId', '' . "\0" . 'App\\Entity\\DeliveryMethod' . "\0" . 'withPacking'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (DeliveryMethod $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId()
{
if ($this->__isInitialized__ === false) {
return (int) parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []);
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function getServiceName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getServiceName', []);
return parent::getServiceName();
}
/**
* {@inheritDoc}
*/
public function getDeliveryDays()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeliveryDays', []);
return parent::getDeliveryDays();
}
/**
* {@inheritDoc}
*/
public function getAverageDays(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAverageDays', []);
return parent::getAverageDays();
}
/**
* {@inheritDoc}
*/
public function setAverageDays(int $averageDays): \App\Entity\DeliveryMethod
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAverageDays', [$averageDays]);
return parent::setAverageDays($averageDays);
}
/**
* {@inheritDoc}
*/
public function getPickupLocationId(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPickupLocationId', []);
return parent::getPickupLocationId();
}
/**
* {@inheritDoc}
*/
public function setPickupLocationId(int $pickupLocationId): \App\Entity\DeliveryMethod
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPickupLocationId', [$pickupLocationId]);
return parent::setPickupLocationId($pickupLocationId);
}
/**
* {@inheritDoc}
*/
public function getFirstItem(): ?float
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFirstItem', []);
return parent::getFirstItem();
}
/**
* {@inheritDoc}
*/
public function setFirstItem(?float $firstItem): \App\Entity\DeliveryMethod
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFirstItem', [$firstItem]);
return parent::setFirstItem($firstItem);
}
/**
* {@inheritDoc}
*/
public function getAdditionalItem(): ?float
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAdditionalItem', []);
return parent::getAdditionalItem();
}
/**
* {@inheritDoc}
*/
public function setAdditionalItem(?float $additionalItem): \App\Entity\DeliveryMethod
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAdditionalItem', [$additionalItem]);
return parent::setAdditionalItem($additionalItem);
}
/**
* {@inheritDoc}
*/
public function getProduct(): ?\App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProduct', []);
return parent::getProduct();
}
/**
* {@inheritDoc}
*/
public function setProduct(?\App\Entity\Product $product): \App\Entity\DeliveryMethod
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setProduct', [$product]);
return parent::setProduct($product);
}
/**
* {@inheritDoc}
*/
public function getServiceId(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getServiceId', []);
return parent::getServiceId();
}
/**
* {@inheritDoc}
*/
public function setServiceId(int $serviceId): \App\Entity\DeliveryMethod
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setServiceId', [$serviceId]);
return parent::setServiceId($serviceId);
}
/**
* {@inheritDoc}
*/
public function getValid(): ?bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getValid', []);
return parent::getValid();
}
/**
* {@inheritDoc}
*/
public function setValid(bool $valid): \App\Entity\DeliveryMethod
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setValid', [$valid]);
return parent::setValid($valid);
}
/**
* {@inheritDoc}
*/
public function getCompanyDefaultShipping(): ?\App\Entity\CompanyDefaultShipping
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCompanyDefaultShipping', []);
return parent::getCompanyDefaultShipping();
}
/**
* {@inheritDoc}
*/
public function setCompanyDefaultShipping(?\App\Entity\CompanyDefaultShipping $companyDefaultShipping): \App\Entity\DeliveryMethod
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCompanyDefaultShipping', [$companyDefaultShipping]);
return parent::setCompanyDefaultShipping($companyDefaultShipping);
}
/**
* {@inheritDoc}
*/
public function getFreeAboveATotalOf(): ?float
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFreeAboveATotalOf', []);
return parent::getFreeAboveATotalOf();
}
/**
* {@inheritDoc}
*/
public function setFreeAboveATotalOf(?float $freeAboveATotalOf): \App\Entity\DeliveryMethod
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFreeAboveATotalOf', [$freeAboveATotalOf]);
return parent::setFreeAboveATotalOf($freeAboveATotalOf);
}
/**
* {@inheritDoc}
*/
public function getFixedPrice(): ?float
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFixedPrice', []);
return parent::getFixedPrice();
}
/**
* {@inheritDoc}
*/
public function setFixedPrice(?float $fixedPrice): \App\Entity\DeliveryMethod
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFixedPrice', [$fixedPrice]);
return parent::setFixedPrice($fixedPrice);
}
/**
* {@inheritDoc}
*/
public function getDisplayPrice()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDisplayPrice', []);
return parent::getDisplayPrice();
}
/**
* {@inheritDoc}
*/
public function __toString()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []);
return parent::__toString();
}
/**
* {@inheritDoc}
*/
public function getPickupSchedule(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPickupSchedule', []);
return parent::getPickupSchedule();
}
/**
* {@inheritDoc}
*/
public function setPickupSchedule(?string $pickupSchedule): \App\Entity\DeliveryMethod
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPickupSchedule', [$pickupSchedule]);
return parent::setPickupSchedule($pickupSchedule);
}
/**
* {@inheritDoc}
*/
public function getPickupAddress(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPickupAddress', []);
return parent::getPickupAddress();
}
/**
* {@inheritDoc}
*/
public function setPickupAddress(?string $pickupAddress): \App\Entity\DeliveryMethod
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPickupAddress', [$pickupAddress]);
return parent::setPickupAddress($pickupAddress);
}
/**
* {@inheritDoc}
*/
public function getIsAPickup(): ?bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsAPickup', []);
return parent::getIsAPickup();
}
/**
* {@inheritDoc}
*/
public function setIsAPickup(bool $isAPickup): \App\Entity\DeliveryMethod
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsAPickup', [$isAPickup]);
return parent::setIsAPickup($isAPickup);
}
/**
* {@inheritDoc}
*/
public function getWithPacking(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getWithPacking', []);
return parent::getWithPacking();
}
/**
* {@inheritDoc}
*/
public function setWithPacking(bool $withPacking): \App\Entity\DeliveryMethod
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setWithPacking', [$withPacking]);
return parent::setWithPacking($withPacking);
}
}