<?php

namespace SelectSiparis;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for SetSepetKampanyaRequest StructType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:SetSepetKampanyaRequest
 * @subpackage Structs
 */
class SetSepetKampanyaRequest 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 SetSepetKampanyaRequest
     * @uses SetSepetKampanyaRequest::setKampanyaId()
     * @uses SetSepetKampanyaRequest::setSepetId()
     * @uses SetSepetKampanyaRequest::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\SetSepetKampanyaRequest
     */
    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\SetSepetKampanyaRequest
     */
    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\SetSepetKampanyaRequest
     */
    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;
    }
}
