<?php
/* Generated on 6/26/15 3:23 AM by globalsync
 * $Id: $
 * $Log: $
 */

require_once 'AbstractResponseType.php';
require_once 'AmountType.php';

/**
  * Indicates the refund amount that a seller issued to a buyer for a single Half.com order line item.
  * Refunds may only be issued for a specific order line item. Sellers do not have the ability to issue a 
  * general refund (not tied to an order line item) to a buyer.
  * 
 **/

class IssueRefundResponseType extends AbstractResponseType
{
	/**
	* @var AmountType
	**/
	protected $RefundFromSeller;

	/**
	* @var AmountType
	**/
	protected $TotalRefundToBuyer;


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

	/**
	 * @return AmountType
	 **/
	function getRefundFromSeller()
	{
		return $this->RefundFromSeller;
	}

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

	/**
	 * @return AmountType
	 **/
	function getTotalRefundToBuyer()
	{
		return $this->TotalRefundToBuyer;
	}

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

}
?>
