<?php
// autogenerated file 26.07.2010 14:55
// $Id: $
// $Log: $
//
//
require_once 'MeasureType.php';
require_once 'EbatNs_ComplexType.php';
require_once 'AmountType.php';

/**
 * Details of a flat or calculated shipping discount profile. 
 *
 * @link http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/DiscountProfileType.html
 *
 */
class DiscountProfileType extends EbatNs_ComplexType
{
	/**
	 * @var string
	 */
	protected $DiscountProfileID;
	/**
	 * @var string
	 */
	protected $DiscountProfileName;
	/**
	 * @var AmountType
	 */
	protected $EachAdditionalAmount;
	/**
	 * @var AmountType
	 */
	protected $EachAdditionalAmountOff;
	/**
	 * @var float
	 */
	protected $EachAdditionalPercentOff;
	/**
	 * @var MeasureType
	 */
	protected $WeightOff;
	/**
	 * @var string
	 */
	protected $MappedDiscountProfileID;

	/**
	 * @return string
	 */
	function getDiscountProfileID()
	{
		return $this->DiscountProfileID;
	}
	/**
	 * @return void
	 * @param string $value 
	 */
	function setDiscountProfileID($value)
	{
		$this->DiscountProfileID = $value;
	}
	/**
	 * @return string
	 */
	function getDiscountProfileName()
	{
		return $this->DiscountProfileName;
	}
	/**
	 * @return void
	 * @param string $value 
	 */
	function setDiscountProfileName($value)
	{
		$this->DiscountProfileName = $value;
	}
	/**
	 * @return AmountType
	 */
	function getEachAdditionalAmount()
	{
		return $this->EachAdditionalAmount;
	}
	/**
	 * @return void
	 * @param AmountType $value 
	 */
	function setEachAdditionalAmount($value)
	{
		$this->EachAdditionalAmount = $value;
	}
	/**
	 * @return AmountType
	 */
	function getEachAdditionalAmountOff()
	{
		return $this->EachAdditionalAmountOff;
	}
	/**
	 * @return void
	 * @param AmountType $value 
	 */
	function setEachAdditionalAmountOff($value)
	{
		$this->EachAdditionalAmountOff = $value;
	}
	/**
	 * @return float
	 */
	function getEachAdditionalPercentOff()
	{
		return $this->EachAdditionalPercentOff;
	}
	/**
	 * @return void
	 * @param float $value 
	 */
	function setEachAdditionalPercentOff($value)
	{
		$this->EachAdditionalPercentOff = $value;
	}
	/**
	 * @return MeasureType
	 */
	function getWeightOff()
	{
		return $this->WeightOff;
	}
	/**
	 * @return void
	 * @param MeasureType $value 
	 */
	function setWeightOff($value)
	{
		$this->WeightOff = $value;
	}
	/**
	 * @return string
	 */
	function getMappedDiscountProfileID()
	{
		return $this->MappedDiscountProfileID;
	}
	/**
	 * @return void
	 * @param string $value 
	 */
	function setMappedDiscountProfileID($value)
	{
		$this->MappedDiscountProfileID = $value;
	}
	/**
	 * @return 
	 */
	function __construct()
	{
		parent::__construct('DiscountProfileType', 'urn:ebay:apis:eBLBaseComponents');
		if (!isset(self::$_elements[__CLASS__]))
				self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()],
				array(
					'DiscountProfileID' =>
					array(
						'required' => false,
						'type' => 'string',
						'nsURI' => 'http://www.w3.org/2001/XMLSchema',
						'array' => false,
						'cardinality' => '0..1'
					),
					'DiscountProfileName' =>
					array(
						'required' => false,
						'type' => 'string',
						'nsURI' => 'http://www.w3.org/2001/XMLSchema',
						'array' => false,
						'cardinality' => '0..1'
					),
					'EachAdditionalAmount' =>
					array(
						'required' => false,
						'type' => 'AmountType',
						'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
						'array' => false,
						'cardinality' => '0..1'
					),
					'EachAdditionalAmountOff' =>
					array(
						'required' => false,
						'type' => 'AmountType',
						'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
						'array' => false,
						'cardinality' => '0..1'
					),
					'EachAdditionalPercentOff' =>
					array(
						'required' => false,
						'type' => 'float',
						'nsURI' => 'http://www.w3.org/2001/XMLSchema',
						'array' => false,
						'cardinality' => '0..1'
					),
					'WeightOff' =>
					array(
						'required' => false,
						'type' => 'MeasureType',
						'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
						'array' => false,
						'cardinality' => '0..1'
					),
					'MappedDiscountProfileID' =>
					array(
						'required' => false,
						'type' => 'string',
						'nsURI' => 'http://www.w3.org/2001/XMLSchema',
						'array' => false,
						'cardinality' => '0..1'
					)
				));
	}
}
?>
