<?php

namespace SelectSiparis;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for FaturaAdres StructType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:FaturaAdres
 * @subpackage Structs
 */
class FaturaAdres extends AbstractStructBase
{
    /**
     * The Adres
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $Adres;
    /**
     * The AliciTelefon
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $AliciTelefon;
    /**
     * The EntegrasyonId
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $EntegrasyonId;
    /**
     * The FirmaAdi
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $FirmaAdi;
    /**
     * The ID
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var int
     */
    public $ID;
    /**
     * The Il
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $Il;
    /**
     * The IlID
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var int
     */
    public $IlID;
    /**
     * The IlKodu
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $IlKodu;
    /**
     * The Ilce
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $Ilce;
    /**
     * The IlceID
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var int
     */
    public $IlceID;
    /**
     * The IlceKodu
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $IlceKodu;
    /**
     * The Mahalle
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $Mahalle;
    /**
     * The MahalleID
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var int
     */
    public $MahalleID;
    /**
     * The MahalleKodu
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $MahalleKodu;
    /**
     * The Semt
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $Semt;
    /**
     * The SemtID
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var int
     */
    public $SemtID;
    /**
     * The SemtKodu
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $SemtKodu;
    /**
     * The Ulke
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \SelectSiparis\WebUlke
     */
    public $Ulke;
    /**
     * The VergiDairesi
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $VergiDairesi;
    /**
     * The VergiNo
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $VergiNo;
    /**
     * The isKurumsal
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $isKurumsal;
    /**
     * Constructor method for FaturaAdres
     * @uses FaturaAdres::setAdres()
     * @uses FaturaAdres::setAliciTelefon()
     * @uses FaturaAdres::setEntegrasyonId()
     * @uses FaturaAdres::setFirmaAdi()
     * @uses FaturaAdres::setID()
     * @uses FaturaAdres::setIl()
     * @uses FaturaAdres::setIlID()
     * @uses FaturaAdres::setIlKodu()
     * @uses FaturaAdres::setIlce()
     * @uses FaturaAdres::setIlceID()
     * @uses FaturaAdres::setIlceKodu()
     * @uses FaturaAdres::setMahalle()
     * @uses FaturaAdres::setMahalleID()
     * @uses FaturaAdres::setMahalleKodu()
     * @uses FaturaAdres::setSemt()
     * @uses FaturaAdres::setSemtID()
     * @uses FaturaAdres::setSemtKodu()
     * @uses FaturaAdres::setUlke()
     * @uses FaturaAdres::setVergiDairesi()
     * @uses FaturaAdres::setVergiNo()
     * @uses FaturaAdres::setIsKurumsal()
     * @param string $adres
     * @param string $aliciTelefon
     * @param string $entegrasyonId
     * @param string $firmaAdi
     * @param int $iD
     * @param string $il
     * @param int $ilID
     * @param string $ilKodu
     * @param string $ilce
     * @param int $ilceID
     * @param string $ilceKodu
     * @param string $mahalle
     * @param int $mahalleID
     * @param string $mahalleKodu
     * @param string $semt
     * @param int $semtID
     * @param string $semtKodu
     * @param \SelectSiparis\WebUlke $ulke
     * @param string $vergiDairesi
     * @param string $vergiNo
     * @param bool $isKurumsal
     */
    public function __construct($adres = null, $aliciTelefon = null, $entegrasyonId = null, $firmaAdi = null, $iD = null, $il = null, $ilID = null, $ilKodu = null, $ilce = null, $ilceID = null, $ilceKodu = null, $mahalle = null, $mahalleID = null, $mahalleKodu = null, $semt = null, $semtID = null, $semtKodu = null, \SelectSiparis\WebUlke $ulke = null, $vergiDairesi = null, $vergiNo = null, $isKurumsal = null)
    {
        $this
            ->setAdres($adres)
            ->setAliciTelefon($aliciTelefon)
            ->setEntegrasyonId($entegrasyonId)
            ->setFirmaAdi($firmaAdi)
            ->setID($iD)
            ->setIl($il)
            ->setIlID($ilID)
            ->setIlKodu($ilKodu)
            ->setIlce($ilce)
            ->setIlceID($ilceID)
            ->setIlceKodu($ilceKodu)
            ->setMahalle($mahalle)
            ->setMahalleID($mahalleID)
            ->setMahalleKodu($mahalleKodu)
            ->setSemt($semt)
            ->setSemtID($semtID)
            ->setSemtKodu($semtKodu)
            ->setUlke($ulke)
            ->setVergiDairesi($vergiDairesi)
            ->setVergiNo($vergiNo)
            ->setIsKurumsal($isKurumsal);
    }
    /**
     * Get Adres 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 getAdres()
    {
        return isset($this->Adres) ? $this->Adres : null;
    }
    /**
     * Set Adres 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 $adres
     * @return \SelectSiparis\FaturaAdres
     */
    public function setAdres($adres = null)
    {
        // validation for constraint: string
        if (!is_null($adres) && !is_string($adres)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($adres, true), gettype($adres)), __LINE__);
        }
        if (is_null($adres) || (is_array($adres) && empty($adres))) {
            unset($this->Adres);
        } else {
            $this->Adres = $adres;
        }
        return $this;
    }
    /**
     * Get AliciTelefon 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 getAliciTelefon()
    {
        return isset($this->AliciTelefon) ? $this->AliciTelefon : null;
    }
    /**
     * Set AliciTelefon 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 $aliciTelefon
     * @return \SelectSiparis\FaturaAdres
     */
    public function setAliciTelefon($aliciTelefon = null)
    {
        // validation for constraint: string
        if (!is_null($aliciTelefon) && !is_string($aliciTelefon)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($aliciTelefon, true), gettype($aliciTelefon)), __LINE__);
        }
        if (is_null($aliciTelefon) || (is_array($aliciTelefon) && empty($aliciTelefon))) {
            unset($this->AliciTelefon);
        } else {
            $this->AliciTelefon = $aliciTelefon;
        }
        return $this;
    }
    /**
     * Get EntegrasyonId 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 getEntegrasyonId()
    {
        return isset($this->EntegrasyonId) ? $this->EntegrasyonId : null;
    }
    /**
     * Set EntegrasyonId 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 $entegrasyonId
     * @return \SelectSiparis\FaturaAdres
     */
    public function setEntegrasyonId($entegrasyonId = null)
    {
        // validation for constraint: string
        if (!is_null($entegrasyonId) && !is_string($entegrasyonId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($entegrasyonId, true), gettype($entegrasyonId)), __LINE__);
        }
        if (is_null($entegrasyonId) || (is_array($entegrasyonId) && empty($entegrasyonId))) {
            unset($this->EntegrasyonId);
        } else {
            $this->EntegrasyonId = $entegrasyonId;
        }
        return $this;
    }
    /**
     * Get FirmaAdi 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 getFirmaAdi()
    {
        return isset($this->FirmaAdi) ? $this->FirmaAdi : null;
    }
    /**
     * Set FirmaAdi 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 $firmaAdi
     * @return \SelectSiparis\FaturaAdres
     */
    public function setFirmaAdi($firmaAdi = null)
    {
        // validation for constraint: string
        if (!is_null($firmaAdi) && !is_string($firmaAdi)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($firmaAdi, true), gettype($firmaAdi)), __LINE__);
        }
        if (is_null($firmaAdi) || (is_array($firmaAdi) && empty($firmaAdi))) {
            unset($this->FirmaAdi);
        } else {
            $this->FirmaAdi = $firmaAdi;
        }
        return $this;
    }
    /**
     * Get ID value
     * @return int|null
     */
    public function getID()
    {
        return $this->ID;
    }
    /**
     * Set ID value
     * @param int $iD
     * @return \SelectSiparis\FaturaAdres
     */
    public function setID($iD = null)
    {
        // validation for constraint: int
        if (!is_null($iD) && !(is_int($iD) || ctype_digit($iD))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($iD, true), gettype($iD)), __LINE__);
        }
        $this->ID = $iD;
        return $this;
    }
    /**
     * Get Il 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 getIl()
    {
        return isset($this->Il) ? $this->Il : null;
    }
    /**
     * Set Il 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 $il
     * @return \SelectSiparis\FaturaAdres
     */
    public function setIl($il = null)
    {
        // validation for constraint: string
        if (!is_null($il) && !is_string($il)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($il, true), gettype($il)), __LINE__);
        }
        if (is_null($il) || (is_array($il) && empty($il))) {
            unset($this->Il);
        } else {
            $this->Il = $il;
        }
        return $this;
    }
    /**
     * Get IlID value
     * @return int|null
     */
    public function getIlID()
    {
        return $this->IlID;
    }
    /**
     * Set IlID value
     * @param int $ilID
     * @return \SelectSiparis\FaturaAdres
     */
    public function setIlID($ilID = null)
    {
        // validation for constraint: int
        if (!is_null($ilID) && !(is_int($ilID) || ctype_digit($ilID))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($ilID, true), gettype($ilID)), __LINE__);
        }
        $this->IlID = $ilID;
        return $this;
    }
    /**
     * Get IlKodu 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 getIlKodu()
    {
        return isset($this->IlKodu) ? $this->IlKodu : null;
    }
    /**
     * Set IlKodu 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 $ilKodu
     * @return \SelectSiparis\FaturaAdres
     */
    public function setIlKodu($ilKodu = null)
    {
        // validation for constraint: string
        if (!is_null($ilKodu) && !is_string($ilKodu)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($ilKodu, true), gettype($ilKodu)), __LINE__);
        }
        if (is_null($ilKodu) || (is_array($ilKodu) && empty($ilKodu))) {
            unset($this->IlKodu);
        } else {
            $this->IlKodu = $ilKodu;
        }
        return $this;
    }
    /**
     * Get Ilce 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 getIlce()
    {
        return isset($this->Ilce) ? $this->Ilce : null;
    }
    /**
     * Set Ilce 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 $ilce
     * @return \SelectSiparis\FaturaAdres
     */
    public function setIlce($ilce = null)
    {
        // validation for constraint: string
        if (!is_null($ilce) && !is_string($ilce)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($ilce, true), gettype($ilce)), __LINE__);
        }
        if (is_null($ilce) || (is_array($ilce) && empty($ilce))) {
            unset($this->Ilce);
        } else {
            $this->Ilce = $ilce;
        }
        return $this;
    }
    /**
     * Get IlceID value
     * @return int|null
     */
    public function getIlceID()
    {
        return $this->IlceID;
    }
    /**
     * Set IlceID value
     * @param int $ilceID
     * @return \SelectSiparis\FaturaAdres
     */
    public function setIlceID($ilceID = null)
    {
        // validation for constraint: int
        if (!is_null($ilceID) && !(is_int($ilceID) || ctype_digit($ilceID))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($ilceID, true), gettype($ilceID)), __LINE__);
        }
        $this->IlceID = $ilceID;
        return $this;
    }
    /**
     * Get IlceKodu 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 getIlceKodu()
    {
        return isset($this->IlceKodu) ? $this->IlceKodu : null;
    }
    /**
     * Set IlceKodu 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 $ilceKodu
     * @return \SelectSiparis\FaturaAdres
     */
    public function setIlceKodu($ilceKodu = null)
    {
        // validation for constraint: string
        if (!is_null($ilceKodu) && !is_string($ilceKodu)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($ilceKodu, true), gettype($ilceKodu)), __LINE__);
        }
        if (is_null($ilceKodu) || (is_array($ilceKodu) && empty($ilceKodu))) {
            unset($this->IlceKodu);
        } else {
            $this->IlceKodu = $ilceKodu;
        }
        return $this;
    }
    /**
     * Get Mahalle 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 getMahalle()
    {
        return isset($this->Mahalle) ? $this->Mahalle : null;
    }
    /**
     * Set Mahalle 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 $mahalle
     * @return \SelectSiparis\FaturaAdres
     */
    public function setMahalle($mahalle = null)
    {
        // validation for constraint: string
        if (!is_null($mahalle) && !is_string($mahalle)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($mahalle, true), gettype($mahalle)), __LINE__);
        }
        if (is_null($mahalle) || (is_array($mahalle) && empty($mahalle))) {
            unset($this->Mahalle);
        } else {
            $this->Mahalle = $mahalle;
        }
        return $this;
    }
    /**
     * Get MahalleID value
     * @return int|null
     */
    public function getMahalleID()
    {
        return $this->MahalleID;
    }
    /**
     * Set MahalleID value
     * @param int $mahalleID
     * @return \SelectSiparis\FaturaAdres
     */
    public function setMahalleID($mahalleID = null)
    {
        // validation for constraint: int
        if (!is_null($mahalleID) && !(is_int($mahalleID) || ctype_digit($mahalleID))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($mahalleID, true), gettype($mahalleID)), __LINE__);
        }
        $this->MahalleID = $mahalleID;
        return $this;
    }
    /**
     * Get MahalleKodu 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 getMahalleKodu()
    {
        return isset($this->MahalleKodu) ? $this->MahalleKodu : null;
    }
    /**
     * Set MahalleKodu 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 $mahalleKodu
     * @return \SelectSiparis\FaturaAdres
     */
    public function setMahalleKodu($mahalleKodu = null)
    {
        // validation for constraint: string
        if (!is_null($mahalleKodu) && !is_string($mahalleKodu)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($mahalleKodu, true), gettype($mahalleKodu)), __LINE__);
        }
        if (is_null($mahalleKodu) || (is_array($mahalleKodu) && empty($mahalleKodu))) {
            unset($this->MahalleKodu);
        } else {
            $this->MahalleKodu = $mahalleKodu;
        }
        return $this;
    }
    /**
     * Get Semt 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 getSemt()
    {
        return isset($this->Semt) ? $this->Semt : null;
    }
    /**
     * Set Semt 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 $semt
     * @return \SelectSiparis\FaturaAdres
     */
    public function setSemt($semt = null)
    {
        // validation for constraint: string
        if (!is_null($semt) && !is_string($semt)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($semt, true), gettype($semt)), __LINE__);
        }
        if (is_null($semt) || (is_array($semt) && empty($semt))) {
            unset($this->Semt);
        } else {
            $this->Semt = $semt;
        }
        return $this;
    }
    /**
     * Get SemtID value
     * @return int|null
     */
    public function getSemtID()
    {
        return $this->SemtID;
    }
    /**
     * Set SemtID value
     * @param int $semtID
     * @return \SelectSiparis\FaturaAdres
     */
    public function setSemtID($semtID = null)
    {
        // validation for constraint: int
        if (!is_null($semtID) && !(is_int($semtID) || ctype_digit($semtID))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($semtID, true), gettype($semtID)), __LINE__);
        }
        $this->SemtID = $semtID;
        return $this;
    }
    /**
     * Get SemtKodu 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 getSemtKodu()
    {
        return isset($this->SemtKodu) ? $this->SemtKodu : null;
    }
    /**
     * Set SemtKodu 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 $semtKodu
     * @return \SelectSiparis\FaturaAdres
     */
    public function setSemtKodu($semtKodu = null)
    {
        // validation for constraint: string
        if (!is_null($semtKodu) && !is_string($semtKodu)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($semtKodu, true), gettype($semtKodu)), __LINE__);
        }
        if (is_null($semtKodu) || (is_array($semtKodu) && empty($semtKodu))) {
            unset($this->SemtKodu);
        } else {
            $this->SemtKodu = $semtKodu;
        }
        return $this;
    }
    /**
     * Get Ulke 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\WebUlke|null
     */
    public function getUlke()
    {
        return isset($this->Ulke) ? $this->Ulke : null;
    }
    /**
     * Set Ulke 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\WebUlke $ulke
     * @return \SelectSiparis\FaturaAdres
     */
    public function setUlke(\SelectSiparis\WebUlke $ulke = null)
    {
        if (is_null($ulke) || (is_array($ulke) && empty($ulke))) {
            unset($this->Ulke);
        } else {
            $this->Ulke = $ulke;
        }
        return $this;
    }
    /**
     * Get VergiDairesi 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 getVergiDairesi()
    {
        return isset($this->VergiDairesi) ? $this->VergiDairesi : null;
    }
    /**
     * Set VergiDairesi 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 $vergiDairesi
     * @return \SelectSiparis\FaturaAdres
     */
    public function setVergiDairesi($vergiDairesi = null)
    {
        // validation for constraint: string
        if (!is_null($vergiDairesi) && !is_string($vergiDairesi)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($vergiDairesi, true), gettype($vergiDairesi)), __LINE__);
        }
        if (is_null($vergiDairesi) || (is_array($vergiDairesi) && empty($vergiDairesi))) {
            unset($this->VergiDairesi);
        } else {
            $this->VergiDairesi = $vergiDairesi;
        }
        return $this;
    }
    /**
     * Get VergiNo 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 getVergiNo()
    {
        return isset($this->VergiNo) ? $this->VergiNo : null;
    }
    /**
     * Set VergiNo 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 $vergiNo
     * @return \SelectSiparis\FaturaAdres
     */
    public function setVergiNo($vergiNo = null)
    {
        // validation for constraint: string
        if (!is_null($vergiNo) && !is_string($vergiNo)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($vergiNo, true), gettype($vergiNo)), __LINE__);
        }
        if (is_null($vergiNo) || (is_array($vergiNo) && empty($vergiNo))) {
            unset($this->VergiNo);
        } else {
            $this->VergiNo = $vergiNo;
        }
        return $this;
    }
    /**
     * Get isKurumsal value
     * @return bool|null
     */
    public function getIsKurumsal()
    {
        return $this->isKurumsal;
    }
    /**
     * Set isKurumsal value
     * @param bool $isKurumsal
     * @return \SelectSiparis\FaturaAdres
     */
    public function setIsKurumsal($isKurumsal = null)
    {
        // validation for constraint: boolean
        if (!is_null($isKurumsal) && !is_bool($isKurumsal)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($isKurumsal, true), gettype($isKurumsal)), __LINE__);
        }
        $this->isKurumsal = $isKurumsal;
        return $this;
    }
}
