<?php

namespace SelectSiparis;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for CreateSepetRequest StructType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:CreateSepetRequest
 * @subpackage Structs
 */
class CreateSepetRequest extends AbstractStructBase
{
    /**
     * The UyeID
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var int
     */
    public $UyeID;
    /**
     * Constructor method for CreateSepetRequest
     * @uses CreateSepetRequest::setUyeID()
     * @param int $uyeID
     */
    public function __construct($uyeID = null)
    {
        $this
            ->setUyeID($uyeID);
    }
    /**
     * Get UyeID value
     * @return int|null
     */
    public function getUyeID()
    {
        return $this->UyeID;
    }
    /**
     * Set UyeID value
     * @param int $uyeID
     * @return \SelectSiparis\CreateSepetRequest
     */
    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;
    }
}
