<?php

namespace Proxies\__CG__\OfficeBrain\Bundle\QuoteBundle\Entity;

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class QuoteShippingDetail extends \OfficeBrain\Bundle\QuoteBundle\Entity\QuoteShippingDetail 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\Persistence\Proxy::__setInitializer
     */
    public $__initializer__;

    /**
     * @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
     *
     * @see \Doctrine\Common\Persistence\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\Persistence\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" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'id', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'quoteProductId', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'shippingType', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'serviceType', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'shipType', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'pickFrom', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'shippingCharge', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'name', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'email', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'street1', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'street2', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'countryId', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'countryName', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'stateId', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'stateName', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'cityId', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'cityName', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'zipCode', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'extension', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'phone', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'mobile', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'inHandDate', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'fax', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'website', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'companyName', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'selectedAddressId'];
        }

        return ['__isInitialized__', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'id', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'quoteProductId', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'shippingType', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'serviceType', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'shipType', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'pickFrom', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'shippingCharge', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'name', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'email', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'street1', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'street2', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'countryId', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'countryName', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'stateId', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'stateName', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'cityId', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'cityName', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'zipCode', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'extension', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'phone', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'mobile', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'inHandDate', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'fax', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'website', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'companyName', '' . "\0" . 'OfficeBrain\\Bundle\\QuoteBundle\\Entity\\QuoteShippingDetail' . "\0" . 'selectedAddressId'];
    }

    /**
     * 
     */
    public function __wakeup()
    {
        if ( ! $this->__isInitialized__) {
            $this->__initializer__ = function (QuoteShippingDetail $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 setQuoteProductId($quoteProductId)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setQuoteProductId', [$quoteProductId]);

        return parent::setQuoteProductId($quoteProductId);
    }

    /**
     * {@inheritDoc}
     */
    public function getQuoteProductId()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getQuoteProductId', []);

        return parent::getQuoteProductId();
    }

    /**
     * {@inheritDoc}
     */
    public function setShippingType($shippingType)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setShippingType', [$shippingType]);

        return parent::setShippingType($shippingType);
    }

    /**
     * {@inheritDoc}
     */
    public function getShippingType()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getShippingType', []);

        return parent::getShippingType();
    }

    /**
     * {@inheritDoc}
     */
    public function setServiceType($serviceType)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setServiceType', [$serviceType]);

        return parent::setServiceType($serviceType);
    }

    /**
     * {@inheritDoc}
     */
    public function getServiceType()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getServiceType', []);

        return parent::getServiceType();
    }

    /**
     * {@inheritDoc}
     */
    public function setShippingCharge($shippingCharge)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setShippingCharge', [$shippingCharge]);

        return parent::setShippingCharge($shippingCharge);
    }

    /**
     * {@inheritDoc}
     */
    public function getShippingCharge()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getShippingCharge', []);

        return parent::getShippingCharge();
    }

    /**
     * {@inheritDoc}
     */
    public function setName($name)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);

        return parent::setName($name);
    }

    /**
     * {@inheritDoc}
     */
    public function getName()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);

        return parent::getName();
    }

    /**
     * {@inheritDoc}
     */
    public function setEmail($email)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmail', [$email]);

        return parent::setEmail($email);
    }

    /**
     * {@inheritDoc}
     */
    public function getEmail()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmail', []);

        return parent::getEmail();
    }

    /**
     * {@inheritDoc}
     */
    public function setStreet1($street1)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setStreet1', [$street1]);

        return parent::setStreet1($street1);
    }

    /**
     * {@inheritDoc}
     */
    public function getStreet1()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getStreet1', []);

        return parent::getStreet1();
    }

    /**
     * {@inheritDoc}
     */
    public function setStreet2($street2)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setStreet2', [$street2]);

        return parent::setStreet2($street2);
    }

    /**
     * {@inheritDoc}
     */
    public function getStreet2()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getStreet2', []);

        return parent::getStreet2();
    }

    /**
     * {@inheritDoc}
     */
    public function setCountryId($countryId)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCountryId', [$countryId]);

        return parent::setCountryId($countryId);
    }

    /**
     * {@inheritDoc}
     */
    public function getCountryId()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCountryId', []);

        return parent::getCountryId();
    }

    /**
     * {@inheritDoc}
     */
    public function setCountryName($countryName)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCountryName', [$countryName]);

        return parent::setCountryName($countryName);
    }

    /**
     * {@inheritDoc}
     */
    public function getCountryName()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCountryName', []);

        return parent::getCountryName();
    }

    /**
     * {@inheritDoc}
     */
    public function setStateId($stateId)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setStateId', [$stateId]);

        return parent::setStateId($stateId);
    }

    /**
     * {@inheritDoc}
     */
    public function getStateId()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getStateId', []);

        return parent::getStateId();
    }

    /**
     * {@inheritDoc}
     */
    public function setStateName($stateName)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setStateName', [$stateName]);

        return parent::setStateName($stateName);
    }

    /**
     * {@inheritDoc}
     */
    public function getStateName()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getStateName', []);

        return parent::getStateName();
    }

    /**
     * {@inheritDoc}
     */
    public function setCityId($cityId)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCityId', [$cityId]);

        return parent::setCityId($cityId);
    }

    /**
     * {@inheritDoc}
     */
    public function getCityId()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCityId', []);

        return parent::getCityId();
    }

    /**
     * {@inheritDoc}
     */
    public function setCityName($cityName)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCityName', [$cityName]);

        return parent::setCityName($cityName);
    }

    /**
     * {@inheritDoc}
     */
    public function getCityName()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCityName', []);

        return parent::getCityName();
    }

    /**
     * {@inheritDoc}
     */
    public function setZipCode($zipCode)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setZipCode', [$zipCode]);

        return parent::setZipCode($zipCode);
    }

    /**
     * {@inheritDoc}
     */
    public function getZipCode()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getZipCode', []);

        return parent::getZipCode();
    }

    /**
     * {@inheritDoc}
     */
    public function setExtension($extension)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setExtension', [$extension]);

        return parent::setExtension($extension);
    }

    /**
     * {@inheritDoc}
     */
    public function getExtension()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getExtension', []);

        return parent::getExtension();
    }

    /**
     * {@inheritDoc}
     */
    public function setPhone($phone)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPhone', [$phone]);

        return parent::setPhone($phone);
    }

    /**
     * {@inheritDoc}
     */
    public function getPhone()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPhone', []);

        return parent::getPhone();
    }

    /**
     * {@inheritDoc}
     */
    public function setMobile($mobile)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setMobile', [$mobile]);

        return parent::setMobile($mobile);
    }

    /**
     * {@inheritDoc}
     */
    public function getMobile()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMobile', []);

        return parent::getMobile();
    }

    /**
     * {@inheritDoc}
     */
    public function setInHandDate($inHandDate)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setInHandDate', [$inHandDate]);

        return parent::setInHandDate($inHandDate);
    }

    /**
     * {@inheritDoc}
     */
    public function getInHandDate()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getInHandDate', []);

        return parent::getInHandDate();
    }

    /**
     * {@inheritDoc}
     */
    public function setFax($fax)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFax', [$fax]);

        return parent::setFax($fax);
    }

    /**
     * {@inheritDoc}
     */
    public function getFax()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFax', []);

        return parent::getFax();
    }

    /**
     * {@inheritDoc}
     */
    public function setWebsite($website)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setWebsite', [$website]);

        return parent::setWebsite($website);
    }

    /**
     * {@inheritDoc}
     */
    public function getWebsite()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWebsite', []);

        return parent::getWebsite();
    }

    /**
     * {@inheritDoc}
     */
    public function setCompanyName($companyName)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCompanyName', [$companyName]);

        return parent::setCompanyName($companyName);
    }

    /**
     * {@inheritDoc}
     */
    public function getCompanyName()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCompanyName', []);

        return parent::getCompanyName();
    }

    /**
     * {@inheritDoc}
     */
    public function setCompanyNumber($companyNumber)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCompanyNumber', [$companyNumber]);

        return parent::setCompanyNumber($companyNumber);
    }

    /**
     * {@inheritDoc}
     */
    public function getCompanyNumber()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCompanyNumber', []);

        return parent::getCompanyNumber();
    }

    /**
     * {@inheritDoc}
     */
    public function setShipType($shipType)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setShipType', [$shipType]);

        return parent::setShipType($shipType);
    }

    /**
     * {@inheritDoc}
     */
    public function getShipType()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getShipType', []);

        return parent::getShipType();
    }

    /**
     * {@inheritDoc}
     */
    public function setPickFrom($pickFrom)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPickFrom', [$pickFrom]);

        return parent::setPickFrom($pickFrom);
    }

    /**
     * {@inheritDoc}
     */
    public function getPickFrom()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPickFrom', []);

        return parent::getPickFrom();
    }

    /**
     * {@inheritDoc}
     */
    public function setSelectedAddressId($selectedAddressId)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSelectedAddressId', [$selectedAddressId]);

        return parent::setSelectedAddressId($selectedAddressId);
    }

    /**
     * {@inheritDoc}
     */
    public function getSelectedAddressId()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSelectedAddressId', []);

        return parent::getSelectedAddressId();
    }

}
