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

require_once 'EbatNs_ComplexType.php';

/**
  * Type defining the <b>QuantityInfo</b> container, which consists of the <b>MinimumRemnantSet</b> field, which sets the minimum amount of event tickets that can remain in the fixed-price listing's inventory after a buyer purchases one or more tickets (but not all) from the listing.
  * 
 **/

class QuantityInfoType extends EbatNs_ComplexType
{
	/**
	* @var int
	**/
	protected $MinimumRemnantSet;


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

	/**
	 * @return int
	 **/
	function getMinimumRemnantSet()
	{
		return $this->MinimumRemnantSet;
	}

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

}
?>
