<?php
/* Generated on 14.02.18 14:28 by globalsync
 * $Id: $
 * $Log: $
 */

require_once 'AbstractRequestType.php';
require_once 'StoreCategoryUpdateActionCodeType.php';
require_once 'StoreCustomCategoryArrayType.php';

/**
  * This call allows you to set or modify the category structure of an eBay Store. Sellers must have an eBay Store subscription in order to use this call.
  * 
 **/

class SetStoreCategoriesRequestType extends AbstractRequestType
{
	/**
	* @var StoreCategoryUpdateActionCodeType
	**/
	protected $Action;

	/**
	* @var long
	**/
	protected $ItemDestinationCategoryID;

	/**
	* @var long
	**/
	protected $DestinationParentCategoryID;

	/**
	* @var StoreCustomCategoryArrayType
	**/
	protected $StoreCategories;


	/**
	 * Class Constructor 
	 **/
	function __construct()
	{
		parent::__construct('SetStoreCategoriesRequestType', 'urn:ebay:apis:eBLBaseComponents');
		if (!isset(self::$_elements[__CLASS__]))
		{
			self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class(__CLASS__)],
			array(
				'Action' =>
				array(
					'required' => false,
					'type' => 'StoreCategoryUpdateActionCodeType',
					'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
					'array' => false,
					'cardinality' => '0..1'
				),
				'ItemDestinationCategoryID' =>
				array(
					'required' => false,
					'type' => 'long',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '0..1'
				),
				'DestinationParentCategoryID' =>
				array(
					'required' => false,
					'type' => 'long',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '0..1'
				),
				'StoreCategories' =>
				array(
					'required' => false,
					'type' => 'StoreCustomCategoryArrayType',
					'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
					'array' => false,
					'cardinality' => '0..1'
				)));
		}
		$this->_attributes = array_merge($this->_attributes,
		array(
));
	}

	/**
	 * @return StoreCategoryUpdateActionCodeType
	 **/
	function getAction()
	{
		return $this->Action;
	}

	/**
	 * @return void
	 **/
	function setAction($value)
	{
		$this->Action = $value;
	}

	/**
	 * @return long
	 **/
	function getItemDestinationCategoryID()
	{
		return $this->ItemDestinationCategoryID;
	}

	/**
	 * @return void
	 **/
	function setItemDestinationCategoryID($value)
	{
		$this->ItemDestinationCategoryID = $value;
	}

	/**
	 * @return long
	 **/
	function getDestinationParentCategoryID()
	{
		return $this->DestinationParentCategoryID;
	}

	/**
	 * @return void
	 **/
	function setDestinationParentCategoryID($value)
	{
		$this->DestinationParentCategoryID = $value;
	}

	/**
	 * @return StoreCustomCategoryArrayType
	 **/
	function getStoreCategories()
	{
		return $this->StoreCategories;
	}

	/**
	 * @return void
	 **/
	function setStoreCategories($value)
	{
		$this->StoreCategories = $value;
	}

}
?>
