<?php

namespace Proxies\__CG__\Plugin\RemisePayment4\Entity;

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class OrderResultCvs extends \Plugin\RemisePayment4\Entity\OrderResultCvs 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" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'id', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'jobid', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'r_code', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'pay_way', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'pay_csv', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'pay_no1', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'pay_no2', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'rec_cvscode', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'rec_cvsname', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'rec_scode', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'pay_date', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'rec_date', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'cen_date', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'receipt_date', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'create_date', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'update_date', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'OrderResult'];
        }

        return ['__isInitialized__', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'id', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'jobid', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'r_code', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'pay_way', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'pay_csv', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'pay_no1', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'pay_no2', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'rec_cvscode', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'rec_cvsname', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'rec_scode', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'pay_date', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'rec_date', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'cen_date', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'receipt_date', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'create_date', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'update_date', '' . "\0" . 'Plugin\\RemisePayment4\\Entity\\OrderResultCvs' . "\0" . 'OrderResult'];
    }

    /**
     * 
     */
    public function __wakeup()
    {
        if ( ! $this->__isInitialized__) {
            $this->__initializer__ = function (OrderResultCvs $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 setId($id)
    {

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

        return parent::setId($id);
    }

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

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

        return parent::getJobid();
    }

    /**
     * {@inheritDoc}
     */
    public function setJobid($jobid)
    {

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

        return parent::setJobid($jobid);
    }

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

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

        return parent::getRCode();
    }

    /**
     * {@inheritDoc}
     */
    public function setRCode($r_code)
    {

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

        return parent::setRCode($r_code);
    }

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

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

        return parent::getPayWay();
    }

    /**
     * {@inheritDoc}
     */
    public function setPayWay($pay_way)
    {

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

        return parent::setPayWay($pay_way);
    }

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

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

        return parent::getPayCsv();
    }

    /**
     * {@inheritDoc}
     */
    public function setPayCsv($pay_csv)
    {

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

        return parent::setPayCsv($pay_csv);
    }

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

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

        return parent::getPayNo1();
    }

    /**
     * {@inheritDoc}
     */
    public function setPayNo1($pay_no1)
    {

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

        return parent::setPayNo1($pay_no1);
    }

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

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

        return parent::getPayNo2();
    }

    /**
     * {@inheritDoc}
     */
    public function setPayNo2($pay_no2)
    {

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

        return parent::setPayNo2($pay_no2);
    }

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

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

        return parent::getRecCvscode();
    }

    /**
     * {@inheritDoc}
     */
    public function setRecCvscode($rec_cvscode)
    {

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

        return parent::setRecCvscode($rec_cvscode);
    }

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

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

        return parent::getRecCvsname();
    }

    /**
     * {@inheritDoc}
     */
    public function setRecCvsname($rec_cvsname)
    {

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

        return parent::setRecCvsname($rec_cvsname);
    }

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

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

        return parent::getRecScode();
    }

    /**
     * {@inheritDoc}
     */
    public function setRecScode($rec_scode)
    {

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

        return parent::setRecScode($rec_scode);
    }

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

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

        return parent::getPayDate();
    }

    /**
     * {@inheritDoc}
     */
    public function getPayDateStr($format)
    {

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

        return parent::getPayDateStr($format);
    }

    /**
     * {@inheritDoc}
     */
    public function setPayDate($pay_date)
    {

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

        return parent::setPayDate($pay_date);
    }

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

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

        return parent::getRecDate();
    }

    /**
     * {@inheritDoc}
     */
    public function setRecDate($rec_date)
    {

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

        return parent::setRecDate($rec_date);
    }

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

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

        return parent::getCenDate();
    }

    /**
     * {@inheritDoc}
     */
    public function setCenDate($cen_date)
    {

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

        return parent::setCenDate($cen_date);
    }

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

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

        return parent::getReceiptDate();
    }

    /**
     * {@inheritDoc}
     */
    public function setReceiptDate($receipt_date)
    {

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

        return parent::setReceiptDate($receipt_date);
    }

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

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

        return parent::getCreateDate();
    }

    /**
     * {@inheritDoc}
     */
    public function setCreateDate($create_date)
    {

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

        return parent::setCreateDate($create_date);
    }

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

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

        return parent::getUpdateDate();
    }

    /**
     * {@inheritDoc}
     */
    public function setUpdateDate($update_date)
    {

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

        return parent::setUpdateDate($update_date);
    }

    /**
     * {@inheritDoc}
     */
    public function setOrderResult(\Plugin\RemisePayment4\Entity\OrderResult $OrderResult = NULL)
    {

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

        return parent::setOrderResult($OrderResult);
    }

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

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

        return parent::getOrderResult();
    }

}
