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

require_once 'AbstractRequestType.php';

/**
  * Retrieves details for VeRO reason codes and their descriptions. You can specify a
  * reason code ID to get details for a specific reason on the site specified in the
  * request header. If <strong>ReasonCodeID</strong> is not passed in the request, all reason codes are
  * returned. Set <strong>ReturnAllSites</strong> to <code>true</code> to retrieve reason codes for all sites.
  * You must be a member of the Verified Rights Owner (VeRO) Program to use this call.
  * 
 **/

class GetVeROReasonCodeDetailsRequestType extends AbstractRequestType
{
	/**
	* @var long
	**/
	protected $ReasonCodeID;

	/**
	* @var boolean
	**/
	protected $ReturnAllSites;


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

	/**
	 * @return long
	 **/
	function getReasonCodeID()
	{
		return $this->ReasonCodeID;
	}

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

	/**
	 * @return boolean
	 **/
	function getReturnAllSites()
	{
		return $this->ReturnAllSites;
	}

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

}
?>
