<?php

namespace SelectSiparis;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for WebSiparisSaveRequest StructType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:WebSiparisSaveRequest
 * @subpackage Structs
 */
class WebSiparisSaveRequest extends AbstractStructBase
{
    /**
     * The FaturaAdres
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \SelectSiparis\WebFaturaAdres
     */
    public $FaturaAdres;
    /**
     * The FaturaAdresId
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var int
     */
    public $FaturaAdresId;
    /**
     * The IndirimTutari
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $IndirimTutari;
    /**
     * The IsMarketplace
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $IsMarketplace;
    /**
     * The KargoAdresId
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var int
     */
    public $KargoAdresId;
    /**
     * The KargoFirmaId
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var int
     */
    public $KargoFirmaId;
    /**
     * The KargoTutari
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $KargoTutari;
    /**
     * The KdvOraniniSiparisUrundenAl
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var bool
     */
    public $KdvOraniniSiparisUrundenAl;
    /**
     * The MaliyetiSiparisUrundenAl
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var bool
     */
    public $MaliyetiSiparisUrundenAl;
    /**
     * The MarketplaceKampanyaKodu
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $MarketplaceKampanyaKodu;
    /**
     * The Odeme
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \SelectSiparis\WebSiparisSaveOdeme
     */
    public $Odeme;
    /**
     * The Odemeler
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \SelectSiparis\ArrayOfWebSiparisSaveOdeme
     */
    public $Odemeler;
    /**
     * The OzelAlan1
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $OzelAlan1;
    /**
     * The OzelAlan2
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $OzelAlan2;
    /**
     * The OzelAlan3
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $OzelAlan3;
    /**
     * The ParaBirimi
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $ParaBirimi;
    /**
     * The ReferansNo
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $ReferansNo;
    /**
     * The SiparisKaynagi
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $SiparisKaynagi;
    /**
     * The SiparisNo
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $SiparisNo;
    /**
     * The SiparisNotu
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $SiparisNotu;
    /**
     * The SmsGonder
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $SmsGonder;
    /**
     * The TeslimatAdres
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \SelectSiparis\WebTeslimatAdres
     */
    public $TeslimatAdres;
    /**
     * The TeslimatSaati
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $TeslimatSaati;
    /**
     * The TeslimatTarihi
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $TeslimatTarihi;
    /**
     * The UrunTutari
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $UrunTutari;
    /**
     * The UrunTutariKdv
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $UrunTutariKdv;
    /**
     * The Urunler
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \SelectSiparis\ArrayOfWebSiparisSaveUrun
     */
    public $Urunler;
    /**
     * The UyeAdi
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $UyeAdi;
    /**
     * The UyeCep
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $UyeCep;
    /**
     * The UyeId
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var int
     */
    public $UyeId;
    /**
     * The UyeKazanimAktif
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $UyeKazanimAktif;
    /**
     * The UyeMail
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $UyeMail;
    /**
     * Constructor method for WebSiparisSaveRequest
     * @uses WebSiparisSaveRequest::setFaturaAdres()
     * @uses WebSiparisSaveRequest::setFaturaAdresId()
     * @uses WebSiparisSaveRequest::setIndirimTutari()
     * @uses WebSiparisSaveRequest::setIsMarketplace()
     * @uses WebSiparisSaveRequest::setKargoAdresId()
     * @uses WebSiparisSaveRequest::setKargoFirmaId()
     * @uses WebSiparisSaveRequest::setKargoTutari()
     * @uses WebSiparisSaveRequest::setKdvOraniniSiparisUrundenAl()
     * @uses WebSiparisSaveRequest::setMaliyetiSiparisUrundenAl()
     * @uses WebSiparisSaveRequest::setMarketplaceKampanyaKodu()
     * @uses WebSiparisSaveRequest::setOdeme()
     * @uses WebSiparisSaveRequest::setOdemeler()
     * @uses WebSiparisSaveRequest::setOzelAlan1()
     * @uses WebSiparisSaveRequest::setOzelAlan2()
     * @uses WebSiparisSaveRequest::setOzelAlan3()
     * @uses WebSiparisSaveRequest::setParaBirimi()
     * @uses WebSiparisSaveRequest::setReferansNo()
     * @uses WebSiparisSaveRequest::setSiparisKaynagi()
     * @uses WebSiparisSaveRequest::setSiparisNo()
     * @uses WebSiparisSaveRequest::setSiparisNotu()
     * @uses WebSiparisSaveRequest::setSmsGonder()
     * @uses WebSiparisSaveRequest::setTeslimatAdres()
     * @uses WebSiparisSaveRequest::setTeslimatSaati()
     * @uses WebSiparisSaveRequest::setTeslimatTarihi()
     * @uses WebSiparisSaveRequest::setUrunTutari()
     * @uses WebSiparisSaveRequest::setUrunTutariKdv()
     * @uses WebSiparisSaveRequest::setUrunler()
     * @uses WebSiparisSaveRequest::setUyeAdi()
     * @uses WebSiparisSaveRequest::setUyeCep()
     * @uses WebSiparisSaveRequest::setUyeId()
     * @uses WebSiparisSaveRequest::setUyeKazanimAktif()
     * @uses WebSiparisSaveRequest::setUyeMail()
     * @param \SelectSiparis\WebFaturaAdres $faturaAdres
     * @param int $faturaAdresId
     * @param float $indirimTutari
     * @param bool $isMarketplace
     * @param int $kargoAdresId
     * @param int $kargoFirmaId
     * @param float $kargoTutari
     * @param bool $kdvOraniniSiparisUrundenAl
     * @param bool $maliyetiSiparisUrundenAl
     * @param string $marketplaceKampanyaKodu
     * @param \SelectSiparis\WebSiparisSaveOdeme $odeme
     * @param \SelectSiparis\ArrayOfWebSiparisSaveOdeme $odemeler
     * @param string $ozelAlan1
     * @param string $ozelAlan2
     * @param string $ozelAlan3
     * @param string $paraBirimi
     * @param string $referansNo
     * @param string $siparisKaynagi
     * @param string $siparisNo
     * @param string $siparisNotu
     * @param bool $smsGonder
     * @param \SelectSiparis\WebTeslimatAdres $teslimatAdres
     * @param string $teslimatSaati
     * @param string $teslimatTarihi
     * @param float $urunTutari
     * @param float $urunTutariKdv
     * @param \SelectSiparis\ArrayOfWebSiparisSaveUrun $urunler
     * @param string $uyeAdi
     * @param string $uyeCep
     * @param int $uyeId
     * @param bool $uyeKazanimAktif
     * @param string $uyeMail
     */
    public function __construct(\SelectSiparis\WebFaturaAdres $faturaAdres = null, $faturaAdresId = null, $indirimTutari = null, $isMarketplace = null, $kargoAdresId = null, $kargoFirmaId = null, $kargoTutari = null, $kdvOraniniSiparisUrundenAl = null, $maliyetiSiparisUrundenAl = null, $marketplaceKampanyaKodu = null, \SelectSiparis\WebSiparisSaveOdeme $odeme = null, \SelectSiparis\ArrayOfWebSiparisSaveOdeme $odemeler = null, $ozelAlan1 = null, $ozelAlan2 = null, $ozelAlan3 = null, $paraBirimi = null, $referansNo = null, $siparisKaynagi = null, $siparisNo = null, $siparisNotu = null, $smsGonder = null, \SelectSiparis\WebTeslimatAdres $teslimatAdres = null, $teslimatSaati = null, $teslimatTarihi = null, $urunTutari = null, $urunTutariKdv = null, \SelectSiparis\ArrayOfWebSiparisSaveUrun $urunler = null, $uyeAdi = null, $uyeCep = null, $uyeId = null, $uyeKazanimAktif = null, $uyeMail = null)
    {
        $this
            ->setFaturaAdres($faturaAdres)
            ->setFaturaAdresId($faturaAdresId)
            ->setIndirimTutari($indirimTutari)
            ->setIsMarketplace($isMarketplace)
            ->setKargoAdresId($kargoAdresId)
            ->setKargoFirmaId($kargoFirmaId)
            ->setKargoTutari($kargoTutari)
            ->setKdvOraniniSiparisUrundenAl($kdvOraniniSiparisUrundenAl)
            ->setMaliyetiSiparisUrundenAl($maliyetiSiparisUrundenAl)
            ->setMarketplaceKampanyaKodu($marketplaceKampanyaKodu)
            ->setOdeme($odeme)
            ->setOdemeler($odemeler)
            ->setOzelAlan1($ozelAlan1)
            ->setOzelAlan2($ozelAlan2)
            ->setOzelAlan3($ozelAlan3)
            ->setParaBirimi($paraBirimi)
            ->setReferansNo($referansNo)
            ->setSiparisKaynagi($siparisKaynagi)
            ->setSiparisNo($siparisNo)
            ->setSiparisNotu($siparisNotu)
            ->setSmsGonder($smsGonder)
            ->setTeslimatAdres($teslimatAdres)
            ->setTeslimatSaati($teslimatSaati)
            ->setTeslimatTarihi($teslimatTarihi)
            ->setUrunTutari($urunTutari)
            ->setUrunTutariKdv($urunTutariKdv)
            ->setUrunler($urunler)
            ->setUyeAdi($uyeAdi)
            ->setUyeCep($uyeCep)
            ->setUyeId($uyeId)
            ->setUyeKazanimAktif($uyeKazanimAktif)
            ->setUyeMail($uyeMail);
    }
    /**
     * Get FaturaAdres 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\WebFaturaAdres|null
     */
    public function getFaturaAdres()
    {
        return isset($this->FaturaAdres) ? $this->FaturaAdres : null;
    }
    /**
     * Set FaturaAdres 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\WebFaturaAdres $faturaAdres
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setFaturaAdres(\SelectSiparis\WebFaturaAdres $faturaAdres = null)
    {
        if (is_null($faturaAdres) || (is_array($faturaAdres) && empty($faturaAdres))) {
            unset($this->FaturaAdres);
        } else {
            $this->FaturaAdres = $faturaAdres;
        }
        return $this;
    }
    /**
     * Get FaturaAdresId value
     * @return int|null
     */
    public function getFaturaAdresId()
    {
        return $this->FaturaAdresId;
    }
    /**
     * Set FaturaAdresId value
     * @param int $faturaAdresId
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setFaturaAdresId($faturaAdresId = null)
    {
        // validation for constraint: int
        if (!is_null($faturaAdresId) && !(is_int($faturaAdresId) || ctype_digit($faturaAdresId))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($faturaAdresId, true), gettype($faturaAdresId)), __LINE__);
        }
        $this->FaturaAdresId = $faturaAdresId;
        return $this;
    }
    /**
     * Get IndirimTutari value
     * @return float|null
     */
    public function getIndirimTutari()
    {
        return $this->IndirimTutari;
    }
    /**
     * Set IndirimTutari value
     * @param float $indirimTutari
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setIndirimTutari($indirimTutari = null)
    {
        // validation for constraint: float
        if (!is_null($indirimTutari) && !(is_float($indirimTutari) || is_numeric($indirimTutari))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($indirimTutari, true), gettype($indirimTutari)), __LINE__);
        }
        $this->IndirimTutari = $indirimTutari;
        return $this;
    }
    /**
     * Get IsMarketplace value
     * @return bool|null
     */
    public function getIsMarketplace()
    {
        return $this->IsMarketplace;
    }
    /**
     * Set IsMarketplace value
     * @param bool $isMarketplace
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setIsMarketplace($isMarketplace = null)
    {
        // validation for constraint: boolean
        if (!is_null($isMarketplace) && !is_bool($isMarketplace)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($isMarketplace, true), gettype($isMarketplace)), __LINE__);
        }
        $this->IsMarketplace = $isMarketplace;
        return $this;
    }
    /**
     * Get KargoAdresId value
     * @return int|null
     */
    public function getKargoAdresId()
    {
        return $this->KargoAdresId;
    }
    /**
     * Set KargoAdresId value
     * @param int $kargoAdresId
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setKargoAdresId($kargoAdresId = null)
    {
        // validation for constraint: int
        if (!is_null($kargoAdresId) && !(is_int($kargoAdresId) || ctype_digit($kargoAdresId))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($kargoAdresId, true), gettype($kargoAdresId)), __LINE__);
        }
        $this->KargoAdresId = $kargoAdresId;
        return $this;
    }
    /**
     * Get KargoFirmaId value
     * @return int|null
     */
    public function getKargoFirmaId()
    {
        return $this->KargoFirmaId;
    }
    /**
     * Set KargoFirmaId value
     * @param int $kargoFirmaId
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setKargoFirmaId($kargoFirmaId = null)
    {
        // validation for constraint: int
        if (!is_null($kargoFirmaId) && !(is_int($kargoFirmaId) || ctype_digit($kargoFirmaId))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($kargoFirmaId, true), gettype($kargoFirmaId)), __LINE__);
        }
        $this->KargoFirmaId = $kargoFirmaId;
        return $this;
    }
    /**
     * Get KargoTutari value
     * @return float|null
     */
    public function getKargoTutari()
    {
        return $this->KargoTutari;
    }
    /**
     * Set KargoTutari value
     * @param float $kargoTutari
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setKargoTutari($kargoTutari = null)
    {
        // validation for constraint: float
        if (!is_null($kargoTutari) && !(is_float($kargoTutari) || is_numeric($kargoTutari))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($kargoTutari, true), gettype($kargoTutari)), __LINE__);
        }
        $this->KargoTutari = $kargoTutari;
        return $this;
    }
    /**
     * Get KdvOraniniSiparisUrundenAl 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 bool|null
     */
    public function getKdvOraniniSiparisUrundenAl()
    {
        return isset($this->KdvOraniniSiparisUrundenAl) ? $this->KdvOraniniSiparisUrundenAl : null;
    }
    /**
     * Set KdvOraniniSiparisUrundenAl 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 bool $kdvOraniniSiparisUrundenAl
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setKdvOraniniSiparisUrundenAl($kdvOraniniSiparisUrundenAl = null)
    {
        // validation for constraint: boolean
        if (!is_null($kdvOraniniSiparisUrundenAl) && !is_bool($kdvOraniniSiparisUrundenAl)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($kdvOraniniSiparisUrundenAl, true), gettype($kdvOraniniSiparisUrundenAl)), __LINE__);
        }
        if (is_null($kdvOraniniSiparisUrundenAl) || (is_array($kdvOraniniSiparisUrundenAl) && empty($kdvOraniniSiparisUrundenAl))) {
            unset($this->KdvOraniniSiparisUrundenAl);
        } else {
            $this->KdvOraniniSiparisUrundenAl = $kdvOraniniSiparisUrundenAl;
        }
        return $this;
    }
    /**
     * Get MaliyetiSiparisUrundenAl 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 bool|null
     */
    public function getMaliyetiSiparisUrundenAl()
    {
        return isset($this->MaliyetiSiparisUrundenAl) ? $this->MaliyetiSiparisUrundenAl : null;
    }
    /**
     * Set MaliyetiSiparisUrundenAl 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 bool $maliyetiSiparisUrundenAl
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setMaliyetiSiparisUrundenAl($maliyetiSiparisUrundenAl = null)
    {
        // validation for constraint: boolean
        if (!is_null($maliyetiSiparisUrundenAl) && !is_bool($maliyetiSiparisUrundenAl)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($maliyetiSiparisUrundenAl, true), gettype($maliyetiSiparisUrundenAl)), __LINE__);
        }
        if (is_null($maliyetiSiparisUrundenAl) || (is_array($maliyetiSiparisUrundenAl) && empty($maliyetiSiparisUrundenAl))) {
            unset($this->MaliyetiSiparisUrundenAl);
        } else {
            $this->MaliyetiSiparisUrundenAl = $maliyetiSiparisUrundenAl;
        }
        return $this;
    }
    /**
     * Get MarketplaceKampanyaKodu 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 string|null
     */
    public function getMarketplaceKampanyaKodu()
    {
        return isset($this->MarketplaceKampanyaKodu) ? $this->MarketplaceKampanyaKodu : null;
    }
    /**
     * Set MarketplaceKampanyaKodu 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 string $marketplaceKampanyaKodu
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setMarketplaceKampanyaKodu($marketplaceKampanyaKodu = null)
    {
        // validation for constraint: string
        if (!is_null($marketplaceKampanyaKodu) && !is_string($marketplaceKampanyaKodu)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($marketplaceKampanyaKodu, true), gettype($marketplaceKampanyaKodu)), __LINE__);
        }
        if (is_null($marketplaceKampanyaKodu) || (is_array($marketplaceKampanyaKodu) && empty($marketplaceKampanyaKodu))) {
            unset($this->MarketplaceKampanyaKodu);
        } else {
            $this->MarketplaceKampanyaKodu = $marketplaceKampanyaKodu;
        }
        return $this;
    }
    /**
     * Get Odeme 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\WebSiparisSaveOdeme|null
     */
    public function getOdeme()
    {
        return isset($this->Odeme) ? $this->Odeme : null;
    }
    /**
     * Set Odeme 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\WebSiparisSaveOdeme $odeme
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setOdeme(\SelectSiparis\WebSiparisSaveOdeme $odeme = null)
    {
        if (is_null($odeme) || (is_array($odeme) && empty($odeme))) {
            unset($this->Odeme);
        } else {
            $this->Odeme = $odeme;
        }
        return $this;
    }
    /**
     * Get Odemeler 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\ArrayOfWebSiparisSaveOdeme|null
     */
    public function getOdemeler()
    {
        return isset($this->Odemeler) ? $this->Odemeler : null;
    }
    /**
     * Set Odemeler 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\ArrayOfWebSiparisSaveOdeme $odemeler
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setOdemeler(\SelectSiparis\ArrayOfWebSiparisSaveOdeme $odemeler = null)
    {
        if (is_null($odemeler) || (is_array($odemeler) && empty($odemeler))) {
            unset($this->Odemeler);
        } else {
            $this->Odemeler = $odemeler;
        }
        return $this;
    }
    /**
     * Get OzelAlan1 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 string|null
     */
    public function getOzelAlan1()
    {
        return isset($this->OzelAlan1) ? $this->OzelAlan1 : null;
    }
    /**
     * Set OzelAlan1 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 string $ozelAlan1
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setOzelAlan1($ozelAlan1 = null)
    {
        // validation for constraint: string
        if (!is_null($ozelAlan1) && !is_string($ozelAlan1)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($ozelAlan1, true), gettype($ozelAlan1)), __LINE__);
        }
        if (is_null($ozelAlan1) || (is_array($ozelAlan1) && empty($ozelAlan1))) {
            unset($this->OzelAlan1);
        } else {
            $this->OzelAlan1 = $ozelAlan1;
        }
        return $this;
    }
    /**
     * Get OzelAlan2 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 string|null
     */
    public function getOzelAlan2()
    {
        return isset($this->OzelAlan2) ? $this->OzelAlan2 : null;
    }
    /**
     * Set OzelAlan2 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 string $ozelAlan2
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setOzelAlan2($ozelAlan2 = null)
    {
        // validation for constraint: string
        if (!is_null($ozelAlan2) && !is_string($ozelAlan2)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($ozelAlan2, true), gettype($ozelAlan2)), __LINE__);
        }
        if (is_null($ozelAlan2) || (is_array($ozelAlan2) && empty($ozelAlan2))) {
            unset($this->OzelAlan2);
        } else {
            $this->OzelAlan2 = $ozelAlan2;
        }
        return $this;
    }
    /**
     * Get OzelAlan3 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 string|null
     */
    public function getOzelAlan3()
    {
        return isset($this->OzelAlan3) ? $this->OzelAlan3 : null;
    }
    /**
     * Set OzelAlan3 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 string $ozelAlan3
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setOzelAlan3($ozelAlan3 = null)
    {
        // validation for constraint: string
        if (!is_null($ozelAlan3) && !is_string($ozelAlan3)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($ozelAlan3, true), gettype($ozelAlan3)), __LINE__);
        }
        if (is_null($ozelAlan3) || (is_array($ozelAlan3) && empty($ozelAlan3))) {
            unset($this->OzelAlan3);
        } else {
            $this->OzelAlan3 = $ozelAlan3;
        }
        return $this;
    }
    /**
     * Get ParaBirimi 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 string|null
     */
    public function getParaBirimi()
    {
        return isset($this->ParaBirimi) ? $this->ParaBirimi : null;
    }
    /**
     * Set ParaBirimi 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 string $paraBirimi
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setParaBirimi($paraBirimi = null)
    {
        // validation for constraint: string
        if (!is_null($paraBirimi) && !is_string($paraBirimi)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($paraBirimi, true), gettype($paraBirimi)), __LINE__);
        }
        if (is_null($paraBirimi) || (is_array($paraBirimi) && empty($paraBirimi))) {
            unset($this->ParaBirimi);
        } else {
            $this->ParaBirimi = $paraBirimi;
        }
        return $this;
    }
    /**
     * Get ReferansNo 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 string|null
     */
    public function getReferansNo()
    {
        return isset($this->ReferansNo) ? $this->ReferansNo : null;
    }
    /**
     * Set ReferansNo 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 string $referansNo
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setReferansNo($referansNo = null)
    {
        // validation for constraint: string
        if (!is_null($referansNo) && !is_string($referansNo)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($referansNo, true), gettype($referansNo)), __LINE__);
        }
        if (is_null($referansNo) || (is_array($referansNo) && empty($referansNo))) {
            unset($this->ReferansNo);
        } else {
            $this->ReferansNo = $referansNo;
        }
        return $this;
    }
    /**
     * Get SiparisKaynagi 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 string|null
     */
    public function getSiparisKaynagi()
    {
        return isset($this->SiparisKaynagi) ? $this->SiparisKaynagi : null;
    }
    /**
     * Set SiparisKaynagi 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 string $siparisKaynagi
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setSiparisKaynagi($siparisKaynagi = null)
    {
        // validation for constraint: string
        if (!is_null($siparisKaynagi) && !is_string($siparisKaynagi)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($siparisKaynagi, true), gettype($siparisKaynagi)), __LINE__);
        }
        if (is_null($siparisKaynagi) || (is_array($siparisKaynagi) && empty($siparisKaynagi))) {
            unset($this->SiparisKaynagi);
        } else {
            $this->SiparisKaynagi = $siparisKaynagi;
        }
        return $this;
    }
    /**
     * Get SiparisNo 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 string|null
     */
    public function getSiparisNo()
    {
        return isset($this->SiparisNo) ? $this->SiparisNo : null;
    }
    /**
     * Set SiparisNo 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 string $siparisNo
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setSiparisNo($siparisNo = null)
    {
        // validation for constraint: string
        if (!is_null($siparisNo) && !is_string($siparisNo)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($siparisNo, true), gettype($siparisNo)), __LINE__);
        }
        if (is_null($siparisNo) || (is_array($siparisNo) && empty($siparisNo))) {
            unset($this->SiparisNo);
        } else {
            $this->SiparisNo = $siparisNo;
        }
        return $this;
    }
    /**
     * Get SiparisNotu 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 string|null
     */
    public function getSiparisNotu()
    {
        return isset($this->SiparisNotu) ? $this->SiparisNotu : null;
    }
    /**
     * Set SiparisNotu 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 string $siparisNotu
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setSiparisNotu($siparisNotu = null)
    {
        // validation for constraint: string
        if (!is_null($siparisNotu) && !is_string($siparisNotu)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($siparisNotu, true), gettype($siparisNotu)), __LINE__);
        }
        if (is_null($siparisNotu) || (is_array($siparisNotu) && empty($siparisNotu))) {
            unset($this->SiparisNotu);
        } else {
            $this->SiparisNotu = $siparisNotu;
        }
        return $this;
    }
    /**
     * Get SmsGonder value
     * @return bool|null
     */
    public function getSmsGonder()
    {
        return $this->SmsGonder;
    }
    /**
     * Set SmsGonder value
     * @param bool $smsGonder
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setSmsGonder($smsGonder = null)
    {
        // validation for constraint: boolean
        if (!is_null($smsGonder) && !is_bool($smsGonder)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($smsGonder, true), gettype($smsGonder)), __LINE__);
        }
        $this->SmsGonder = $smsGonder;
        return $this;
    }
    /**
     * Get TeslimatAdres 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\WebTeslimatAdres|null
     */
    public function getTeslimatAdres()
    {
        return isset($this->TeslimatAdres) ? $this->TeslimatAdres : null;
    }
    /**
     * Set TeslimatAdres 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\WebTeslimatAdres $teslimatAdres
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setTeslimatAdres(\SelectSiparis\WebTeslimatAdres $teslimatAdres = null)
    {
        if (is_null($teslimatAdres) || (is_array($teslimatAdres) && empty($teslimatAdres))) {
            unset($this->TeslimatAdres);
        } else {
            $this->TeslimatAdres = $teslimatAdres;
        }
        return $this;
    }
    /**
     * Get TeslimatSaati 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 string|null
     */
    public function getTeslimatSaati()
    {
        return isset($this->TeslimatSaati) ? $this->TeslimatSaati : null;
    }
    /**
     * Set TeslimatSaati 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 string $teslimatSaati
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setTeslimatSaati($teslimatSaati = null)
    {
        // validation for constraint: string
        if (!is_null($teslimatSaati) && !is_string($teslimatSaati)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($teslimatSaati, true), gettype($teslimatSaati)), __LINE__);
        }
        if (is_null($teslimatSaati) || (is_array($teslimatSaati) && empty($teslimatSaati))) {
            unset($this->TeslimatSaati);
        } else {
            $this->TeslimatSaati = $teslimatSaati;
        }
        return $this;
    }
    /**
     * Get TeslimatTarihi value
     * @return string|null
     */
    public function getTeslimatTarihi()
    {
        return $this->TeslimatTarihi;
    }
    /**
     * Set TeslimatTarihi value
     * @param string $teslimatTarihi
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setTeslimatTarihi($teslimatTarihi = null)
    {
        // validation for constraint: string
        if (!is_null($teslimatTarihi) && !is_string($teslimatTarihi)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($teslimatTarihi, true), gettype($teslimatTarihi)), __LINE__);
        }
        $this->TeslimatTarihi = $teslimatTarihi;
        return $this;
    }
    /**
     * Get UrunTutari value
     * @return float|null
     */
    public function getUrunTutari()
    {
        return $this->UrunTutari;
    }
    /**
     * Set UrunTutari value
     * @param float $urunTutari
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setUrunTutari($urunTutari = null)
    {
        // validation for constraint: float
        if (!is_null($urunTutari) && !(is_float($urunTutari) || is_numeric($urunTutari))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($urunTutari, true), gettype($urunTutari)), __LINE__);
        }
        $this->UrunTutari = $urunTutari;
        return $this;
    }
    /**
     * Get UrunTutariKdv value
     * @return float|null
     */
    public function getUrunTutariKdv()
    {
        return $this->UrunTutariKdv;
    }
    /**
     * Set UrunTutariKdv value
     * @param float $urunTutariKdv
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setUrunTutariKdv($urunTutariKdv = null)
    {
        // validation for constraint: float
        if (!is_null($urunTutariKdv) && !(is_float($urunTutariKdv) || is_numeric($urunTutariKdv))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($urunTutariKdv, true), gettype($urunTutariKdv)), __LINE__);
        }
        $this->UrunTutariKdv = $urunTutariKdv;
        return $this;
    }
    /**
     * Get Urunler 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\ArrayOfWebSiparisSaveUrun|null
     */
    public function getUrunler()
    {
        return isset($this->Urunler) ? $this->Urunler : null;
    }
    /**
     * Set Urunler 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\ArrayOfWebSiparisSaveUrun $urunler
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setUrunler(\SelectSiparis\ArrayOfWebSiparisSaveUrun $urunler = null)
    {
        if (is_null($urunler) || (is_array($urunler) && empty($urunler))) {
            unset($this->Urunler);
        } else {
            $this->Urunler = $urunler;
        }
        return $this;
    }
    /**
     * Get UyeAdi 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 string|null
     */
    public function getUyeAdi()
    {
        return isset($this->UyeAdi) ? $this->UyeAdi : null;
    }
    /**
     * Set UyeAdi 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 string $uyeAdi
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setUyeAdi($uyeAdi = null)
    {
        // validation for constraint: string
        if (!is_null($uyeAdi) && !is_string($uyeAdi)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($uyeAdi, true), gettype($uyeAdi)), __LINE__);
        }
        if (is_null($uyeAdi) || (is_array($uyeAdi) && empty($uyeAdi))) {
            unset($this->UyeAdi);
        } else {
            $this->UyeAdi = $uyeAdi;
        }
        return $this;
    }
    /**
     * Get UyeCep 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 string|null
     */
    public function getUyeCep()
    {
        return isset($this->UyeCep) ? $this->UyeCep : null;
    }
    /**
     * Set UyeCep 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 string $uyeCep
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setUyeCep($uyeCep = null)
    {
        // validation for constraint: string
        if (!is_null($uyeCep) && !is_string($uyeCep)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($uyeCep, true), gettype($uyeCep)), __LINE__);
        }
        if (is_null($uyeCep) || (is_array($uyeCep) && empty($uyeCep))) {
            unset($this->UyeCep);
        } else {
            $this->UyeCep = $uyeCep;
        }
        return $this;
    }
    /**
     * Get UyeId value
     * @return int|null
     */
    public function getUyeId()
    {
        return $this->UyeId;
    }
    /**
     * Set UyeId value
     * @param int $uyeId
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setUyeId($uyeId = null)
    {
        // validation for constraint: int
        if (!is_null($uyeId) && !(is_int($uyeId) || ctype_digit($uyeId))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($uyeId, true), gettype($uyeId)), __LINE__);
        }
        $this->UyeId = $uyeId;
        return $this;
    }
    /**
     * Get UyeKazanimAktif value
     * @return bool|null
     */
    public function getUyeKazanimAktif()
    {
        return $this->UyeKazanimAktif;
    }
    /**
     * Set UyeKazanimAktif value
     * @param bool $uyeKazanimAktif
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setUyeKazanimAktif($uyeKazanimAktif = null)
    {
        // validation for constraint: boolean
        if (!is_null($uyeKazanimAktif) && !is_bool($uyeKazanimAktif)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($uyeKazanimAktif, true), gettype($uyeKazanimAktif)), __LINE__);
        }
        $this->UyeKazanimAktif = $uyeKazanimAktif;
        return $this;
    }
    /**
     * Get UyeMail 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 string|null
     */
    public function getUyeMail()
    {
        return isset($this->UyeMail) ? $this->UyeMail : null;
    }
    /**
     * Set UyeMail 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 string $uyeMail
     * @return \SelectSiparis\WebSiparisSaveRequest
     */
    public function setUyeMail($uyeMail = null)
    {
        // validation for constraint: string
        if (!is_null($uyeMail) && !is_string($uyeMail)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($uyeMail, true), gettype($uyeMail)), __LINE__);
        }
        if (is_null($uyeMail) || (is_array($uyeMail) && empty($uyeMail))) {
            unset($this->UyeMail);
        } else {
            $this->UyeMail = $uyeMail;
        }
        return $this;
    }
}
