Subversion-Projekte lars-tiefland.content-management

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?php
// autogenerated file 22.07.2011 09:27
// $Id: SalesTaxType.php 4066 2011-11-03 08:13:59Z tiefland $
// $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'
                                        )
                                ));
        }
}
?>