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

/**
 * Type for expressing sales tax data. 
 *
 * @link http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/SalesTaxType.html
 *
 */
class SalesTaxType extends EbatNs_ComplexType
{
	/**
	 * @var float
	 */
	protected $SalesTaxPercent;
	/**
	 * @var string
	 */
	protected $SalesTaxState;
	/**
	 * @var boolean
	 */
	protected $ShippingIncludedInTax;
	/**
	 * @var AmountType
	 */
	protected $SalesTaxAmount;

	/**
	 * @return float
	 */
	function getSalesTaxPercent()
	{
		return $this->SalesTaxPercent;
	}
	/**
	 * @return void
	 * @param float $value 
	 */
	function setSalesTaxPercent($value)
	{
		$this->SalesTaxPercent = $value;
	}
	/**
	 * @return string
	 */
	function getSalesTaxState()
	{
		return $this->SalesTaxState;
	}
	/**
	 * @return void
	 * @param string $value 
	 */
	function setSalesTaxState($value)
	{
		$this->SalesTaxState = $value;
	}
	/**
	 * @return boolean
	 */
	function getShippingIncludedInTax()
	{
		return $this->ShippingIncludedInTax;
	}
	/**
	 * @return void
	 * @param boolean $value 
	 */
	function setShippingIncludedInTax($value)
	{
		$this->ShippingIncludedInTax = $value;
	}
	/**
	 * @return AmountType
	 */
	function getSalesTaxAmount()
	{
		return $this->SalesTaxAmount;
	}
	/**
	 * @return void
	 * @param AmountType $value 
	 */
	function setSalesTaxAmount($value)
	{
		$this->SalesTaxAmount = $value;
	}
	/**
	 * @return 
	 */
	function __construct()
	{
		parent::__construct('SalesTaxType', 'urn:ebay:apis:eBLBaseComponents');
		if (!isset(self::$_elements[__CLASS__]))
				self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()],
				array(
					'SalesTaxPercent' =>
					array(
						'required' => false,
						'type' => 'float',
						'nsURI' => 'http://www.w3.org/2001/XMLSchema',
						'array' => false,
						'cardinality' => '0..1'
					),
					'SalesTaxState' =>
					array(
						'required' => false,
						'type' => 'string',
						'nsURI' => 'http://www.w3.org/2001/XMLSchema',
						'array' => false,
						'cardinality' => '0..1'
					),
					'ShippingIncludedInTax' =>
					array(
						'required' => false,
						'type' => 'boolean',
						'nsURI' => 'http://www.w3.org/2001/XMLSchema',
						'array' => false,
						'cardinality' => '0..1'
					),
					'SalesTaxAmount' =>
					array(
						'required' => false,
						'type' => 'AmountType',
						'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
						'array' => false,
						'cardinality' => '0..1'
					)
				));
	}
}
?>
