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

require_once 'AbstractRequestType.php';
require_once 'ItemType.php';

/**
  * Defines and lists a new fixed-price listing.
  * The main difference between <b>AddFixedPriceItem</b> and <b>AddItem</b> is that
  * <b>AddFixedPriceItem</b> supports the creation of fixed-price listings only,
  * whereas <b>AddItem</b> supports all listing formats.
  * <br>
  * <br>
  * Also, only <b>AddFixedPriceItem</b> supports multi-variation listings
  * and tracking inventory by SKU. <b>AddItem</b> does not support
  * Variations or the <b>InventoryTrackingMethod</b> field.
  * 
 **/

class AddFixedPriceItemRequestType extends AbstractRequestType
{
	/**
	* @var ItemType
	**/
	protected $Item;


	/**
	 * Class Constructor 
	 **/
	function __construct()
	{
		parent::__construct('AddFixedPriceItemRequestType', 'urn:ebay:apis:eBLBaseComponents');
		if (!isset(self::$_elements[__CLASS__]))
		{
			self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class(__CLASS__)],
			array(
				'Item' =>
				array(
					'required' => false,
					'type' => 'ItemType',
					'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
					'array' => false,
					'cardinality' => '0..1'
				)));
		}
		$this->_attributes = array_merge($this->_attributes,
		array(
));
	}

	/**
	 * @return ItemType
	 **/
	function getItem()
	{
		return $this->Item;
	}

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

}
?>
