<?php

namespace SelectSiparis;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for HediyeCekiUygulaResponse StructType
 * @subpackage Structs
 */
class HediyeCekiUygulaResponse extends AbstractStructBase
{
    /**
     * The HediyeCekiUygulaResult
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \SelectSiparis\WebHediyeCekiUygulaResponse
     */
    public $HediyeCekiUygulaResult;
    /**
     * Constructor method for HediyeCekiUygulaResponse
     * @uses HediyeCekiUygulaResponse::setHediyeCekiUygulaResult()
     * @param \SelectSiparis\WebHediyeCekiUygulaResponse $hediyeCekiUygulaResult
     */
    public function __construct(\SelectSiparis\WebHediyeCekiUygulaResponse $hediyeCekiUygulaResult = null)
    {
        $this
            ->setHediyeCekiUygulaResult($hediyeCekiUygulaResult);
    }
    /**
     * Get HediyeCekiUygulaResult value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \SelectSiparis\WebHediyeCekiUygulaResponse|null
     */
    public function getHediyeCekiUygulaResult()
    {
        return isset($this->HediyeCekiUygulaResult) ? $this->HediyeCekiUygulaResult : null;
    }
    /**
     * Set HediyeCekiUygulaResult value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \SelectSiparis\WebHediyeCekiUygulaResponse $hediyeCekiUygulaResult
     * @return \SelectSiparis\HediyeCekiUygulaResponse
     */
    public function setHediyeCekiUygulaResult(\SelectSiparis\WebHediyeCekiUygulaResponse $hediyeCekiUygulaResult = null)
    {
        if (is_null($hediyeCekiUygulaResult) || (is_array($hediyeCekiUygulaResult) && empty($hediyeCekiUygulaResult))) {
            unset($this->HediyeCekiUygulaResult);
        } else {
            $this->HediyeCekiUygulaResult = $hediyeCekiUygulaResult;
        }
        return $this;
    }
}
