<?php

namespace SelectSiparis;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for SelectOdemeTipleriResponse StructType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:SelectOdemeTipleriResponse
 * @subpackage Structs
 */
class SelectOdemeTipleriResponse extends WebServisResponse
{
    /**
     * The OdemeTipleri
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \SelectSiparis\ArrayOfEnumKeyValue
     */
    public $OdemeTipleri;
    /**
     * The SelectOdemeTipleriResult
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \SelectSiparis\SelectOdemeTipleriResponse
     */
    public $SelectOdemeTipleriResult;
    /**
     * Constructor method for SelectOdemeTipleriResponse
     * @uses SelectOdemeTipleriResponse::setOdemeTipleri()
     * @uses SelectOdemeTipleriResponse::setSelectOdemeTipleriResult()
     * @param \SelectSiparis\ArrayOfEnumKeyValue $odemeTipleri
     * @param \SelectSiparis\SelectOdemeTipleriResponse $selectOdemeTipleriResult
     */
    public function __construct(\SelectSiparis\ArrayOfEnumKeyValue $odemeTipleri = null, \SelectSiparis\SelectOdemeTipleriResponse $selectOdemeTipleriResult = null)
    {
        $this
            ->setOdemeTipleri($odemeTipleri)
            ->setSelectOdemeTipleriResult($selectOdemeTipleriResult);
    }
    /**
     * Get OdemeTipleri 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\ArrayOfEnumKeyValue|null
     */
    public function getOdemeTipleri()
    {
        return isset($this->OdemeTipleri) ? $this->OdemeTipleri : null;
    }
    /**
     * Set OdemeTipleri 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\ArrayOfEnumKeyValue $odemeTipleri
     * @return \SelectSiparis\SelectOdemeTipleriResponse
     */
    public function setOdemeTipleri(\SelectSiparis\ArrayOfEnumKeyValue $odemeTipleri = null)
    {
        if (is_null($odemeTipleri) || (is_array($odemeTipleri) && empty($odemeTipleri))) {
            unset($this->OdemeTipleri);
        } else {
            $this->OdemeTipleri = $odemeTipleri;
        }
        return $this;
    }
    /**
     * Get SelectOdemeTipleriResult 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\SelectOdemeTipleriResponse|null
     */
    public function getSelectOdemeTipleriResult()
    {
        return isset($this->SelectOdemeTipleriResult) ? $this->SelectOdemeTipleriResult : null;
    }
    /**
     * Set SelectOdemeTipleriResult 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\SelectOdemeTipleriResponse $selectOdemeTipleriResult
     * @return \SelectSiparis\SelectOdemeTipleriResponse
     */
    public function setSelectOdemeTipleriResult(\SelectSiparis\SelectOdemeTipleriResponse $selectOdemeTipleriResult = null)
    {
        if (is_null($selectOdemeTipleriResult) || (is_array($selectOdemeTipleriResult) && empty($selectOdemeTipleriResult))) {
            unset($this->SelectOdemeTipleriResult);
        } else {
            $this->SelectOdemeTipleriResult = $selectOdemeTipleriResult;
        }
        return $this;
    }
}
