<?php

namespace SelectSiparis;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetSepetRequest StructType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:GetSepetRequest
 * @subpackage Structs
 */
class GetSepetRequest extends AbstractStructBase
{
    /**
     * The KampanyaID
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var int
     */
    public $KampanyaID;
    /**
     * The SepetID
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var int
     */
    public $SepetID;
    /**
     * The UyeID
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var int
     */
    public $UyeID;
    /**
     * Constructor method for GetSepetRequest
     * @uses GetSepetRequest::setKampanyaID()
     * @uses GetSepetRequest::setSepetID()
     * @uses GetSepetRequest::setUyeID()
     * @param int $kampanyaID
     * @param int $sepetID
     * @param int $uyeID
     */
    public function __construct($kampanyaID = null, $sepetID = null, $uyeID = null)
    {
        $this
            ->setKampanyaID($kampanyaID)
            ->setSepetID($sepetID)
            ->setUyeID($uyeID);
    }
    /**
     * Get KampanyaID value
     * @return int|null
     */
    public function getKampanyaID()
    {
        return $this->KampanyaID;
    }
    /**
     * Set KampanyaID value
     * @param int $kampanyaID
     * @return \SelectSiparis\GetSepetRequest
     */
    public function setKampanyaID($kampanyaID = null)
    {
        // validation for constraint: int
        if (!is_null($kampanyaID) && !(is_int($kampanyaID) || ctype_digit($kampanyaID))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($kampanyaID, true), gettype($kampanyaID)), __LINE__);
        }
        $this->KampanyaID = $kampanyaID;
        return $this;
    }
    /**
     * Get SepetID value
     * @return int|null
     */
    public function getSepetID()
    {
        return $this->SepetID;
    }
    /**
     * Set SepetID value
     * @param int $sepetID
     * @return \SelectSiparis\GetSepetRequest
     */
    public function setSepetID($sepetID = null)
    {
        // validation for constraint: int
        if (!is_null($sepetID) && !(is_int($sepetID) || ctype_digit($sepetID))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($sepetID, true), gettype($sepetID)), __LINE__);
        }
        $this->SepetID = $sepetID;
        return $this;
    }
    /**
     * Get UyeID value
     * @return int|null
     */
    public function getUyeID()
    {
        return $this->UyeID;
    }
    /**
     * Set UyeID value
     * @param int $uyeID
     * @return \SelectSiparis\GetSepetRequest
     */
    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;
    }
}
