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

require_once 'AbstractRequestType.php';
require_once 'ItemIDType.php';
require_once 'CommentTypeCodeType.php';
require_once 'UserIDType.php';
require_once 'ItemRatingDetailArrayType.php';
require_once 'ItemArrivedWithinEDDCodeType.php';

/**
  * Enables a buyer and seller to leave Feedback for their order partner at the
  * conclusion of a successful order.
  * 
 **/

class LeaveFeedbackRequestType extends AbstractRequestType
{
	/**
	* @var ItemIDType
	**/
	protected $ItemID;

	/**
	* @var string
	**/
	protected $CommentText;

	/**
	* @var CommentTypeCodeType
	**/
	protected $CommentType;

	/**
	* @var string
	**/
	protected $TransactionID;

	/**
	* @var UserIDType
	**/
	protected $TargetUser;

	/**
	* @var ItemRatingDetailArrayType
	**/
	protected $SellerItemRatingDetailArray;

	/**
	* @var string
	**/
	protected $OrderLineItemID;

	/**
	* @var ItemArrivedWithinEDDCodeType
	**/
	protected $ItemArrivedWithinEDDType;

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


	/**
	 * Class Constructor 
	 **/
	function __construct()
	{
		parent::__construct('LeaveFeedbackRequestType', 'urn:ebay:apis:eBLBaseComponents');
		if (!isset(self::$_elements[__CLASS__]))
		{
			self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class(__CLASS__)],
			array(
				'ItemID' =>
				array(
					'required' => false,
					'type' => 'ItemIDType',
					'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
					'array' => false,
					'cardinality' => '0..1'
				),
				'CommentText' =>
				array(
					'required' => false,
					'type' => 'string',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '0..1'
				),
				'CommentType' =>
				array(
					'required' => false,
					'type' => 'CommentTypeCodeType',
					'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
					'array' => false,
					'cardinality' => '0..1'
				),
				'TransactionID' =>
				array(
					'required' => false,
					'type' => 'string',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '0..1'
				),
				'TargetUser' =>
				array(
					'required' => false,
					'type' => 'UserIDType',
					'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
					'array' => false,
					'cardinality' => '0..1'
				),
				'SellerItemRatingDetailArray' =>
				array(
					'required' => false,
					'type' => 'ItemRatingDetailArrayType',
					'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
					'array' => false,
					'cardinality' => '0..1'
				),
				'OrderLineItemID' =>
				array(
					'required' => false,
					'type' => 'string',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '0..1'
				),
				'ItemArrivedWithinEDDType' =>
				array(
					'required' => false,
					'type' => 'ItemArrivedWithinEDDCodeType',
					'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
					'array' => false,
					'cardinality' => '0..1'
				),
				'ItemDeliveredWithinEDD' =>
				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 ItemIDType
	 **/
	function getItemID()
	{
		return $this->ItemID;
	}

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

	/**
	 * @return string
	 **/
	function getCommentText()
	{
		return $this->CommentText;
	}

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

	/**
	 * @return CommentTypeCodeType
	 **/
	function getCommentType()
	{
		return $this->CommentType;
	}

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

	/**
	 * @return string
	 **/
	function getTransactionID()
	{
		return $this->TransactionID;
	}

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

	/**
	 * @return UserIDType
	 **/
	function getTargetUser()
	{
		return $this->TargetUser;
	}

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

	/**
	 * @return ItemRatingDetailArrayType
	 **/
	function getSellerItemRatingDetailArray()
	{
		return $this->SellerItemRatingDetailArray;
	}

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

	/**
	 * @return string
	 **/
	function getOrderLineItemID()
	{
		return $this->OrderLineItemID;
	}

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

	/**
	 * @return ItemArrivedWithinEDDCodeType
	 **/
	function getItemArrivedWithinEDDType()
	{
		return $this->ItemArrivedWithinEDDType;
	}

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

	/**
	 * @return boolean
	 **/
	function getItemDeliveredWithinEDD()
	{
		return $this->ItemDeliveredWithinEDD;
	}

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

}
?>
