Subversion-Projekte lars-tiefland.php_share

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?php
// autogenerated file 22.07.2011 09:27
// $Id: VariationType.php 814 2011-11-03 08:36:50Z tiefland $
// $Log: $
//
//
require_once 'SellingManagerProductInventoryStatusType.php';
require_once 'SKUType.php';
require_once 'EbatNs_ComplexType.php';
require_once 'NameValueListArrayType.php';
require_once 'SellingStatusType.php';
require_once 'AmountType.php';
require_once 'DiscountPriceInfoType.php';

/**
 * This type defines the details about one specific variation. 
 *
 * @link http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/VariationType.html
 *
 */
class VariationType extends EbatNs_ComplexType
{
        /**
         * @var SKUType
         */
        protected $SKU;
        /**
         * @var AmountType
         */
        protected $StartPrice;
        /**
         * @var int
         */
        protected $Quantity;
        /**
         * @var NameValueListArrayType
         */
        protected $VariationSpecifics;
        /**
         * @var int
         */
        protected $UnitsAvailable;
        /**
         * @var AmountType
         */
        protected $UnitCost;
        /**
         * @var SellingStatusType
         */
        protected $SellingStatus;
        /**
         * @var string
         */
        protected $VariationTitle;
        /**
         * @var anyURI
         */
        protected $VariationViewItemURL;
        /**
         * @var boolean
         */
        protected $Delete;
        /**
         * @var SellingManagerProductInventoryStatusType
         */
        protected $SellingManagerProductInventoryStatus;
        /**
         * @var long
         */
        protected $WatchCount;
        /**
         * @var string
         */
        protected $PrivateNotes;
        /**
         * @var DiscountPriceInfoType
         */
        protected $DiscountPriceInfo;

        /**
         * @return SKUType
         */
        function getSKU()
        {
                return $this->SKU;
        }
        /**
         * @return void
         * @param SKUType $value 
         */
        function setSKU($value)
        {
                $this->SKU = $value;
        }
        /**
         * @return AmountType
         */
        function getStartPrice()
        {
                return $this->StartPrice;
        }
        /**
         * @return void
         * @param AmountType $value 
         */
        function setStartPrice($value)
        {
                $this->StartPrice = $value;
        }
        /**
         * @return int
         */
        function getQuantity()
        {
                return $this->Quantity;
        }
        /**
         * @return void
         * @param int $value 
         */
        function setQuantity($value)
        {
                $this->Quantity = $value;
        }
        /**
         * @return NameValueListArrayType
         */
        function getVariationSpecifics()
        {
                return $this->VariationSpecifics;
        }
        /**
         * @return void
         * @param NameValueListArrayType $value 
         */
        function setVariationSpecifics($value)
        {
                $this->VariationSpecifics = $value;
        }
        /**
         * @return int
         */
        function getUnitsAvailable()
        {
                return $this->UnitsAvailable;
        }
        /**
         * @return void
         * @param int $value 
         */
        function setUnitsAvailable($value)
        {
                $this->UnitsAvailable = $value;
        }
        /**
         * @return AmountType
         */
        function getUnitCost()
        {
                return $this->UnitCost;
        }
        /**
         * @return void
         * @param AmountType $value 
         */
        function setUnitCost($value)
        {
                $this->UnitCost = $value;
        }
        /**
         * @return SellingStatusType
         */
        function getSellingStatus()
        {
                return $this->SellingStatus;
        }
        /**
         * @return void
         * @param SellingStatusType $value 
         */
        function setSellingStatus($value)
        {
                $this->SellingStatus = $value;
        }
        /**
         * @return string
         */
        function getVariationTitle()
        {
                return $this->VariationTitle;
        }
        /**
         * @return void
         * @param string $value 
         */
        function setVariationTitle($value)
        {
                $this->VariationTitle = $value;
        }
        /**
         * @return anyURI
         */
        function getVariationViewItemURL()
        {
                return $this->VariationViewItemURL;
        }
        /**
         * @return void
         * @param anyURI $value 
         */
        function setVariationViewItemURL($value)
        {
                $this->VariationViewItemURL = $value;
        }
        /**
         * @return boolean
         */
        function getDelete()
        {
                return $this->Delete;
        }
        /**
         * @return void
         * @param boolean $value 
         */
        function setDelete($value)
        {
                $this->Delete = $value;
        }
        /**
         * @return SellingManagerProductInventoryStatusType
         */
        function getSellingManagerProductInventoryStatus()
        {
                return $this->SellingManagerProductInventoryStatus;
        }
        /**
         * @return void
         * @param SellingManagerProductInventoryStatusType $value 
         */
        function setSellingManagerProductInventoryStatus($value)
        {
                $this->SellingManagerProductInventoryStatus = $value;
        }
        /**
         * @return long
         */
        function getWatchCount()
        {
                return $this->WatchCount;
        }
        /**
         * @return void
         * @param long $value 
         */
        function setWatchCount($value)
        {
                $this->WatchCount = $value;
        }
        /**
         * @return string
         */
        function getPrivateNotes()
        {
                return $this->PrivateNotes;
        }
        /**
         * @return void
         * @param string $value 
         */
        function setPrivateNotes($value)
        {
                $this->PrivateNotes = $value;
        }
        /**
         * @return DiscountPriceInfoType
         */
        function getDiscountPriceInfo()
        {
                return $this->DiscountPriceInfo;
        }
        /**
         * @return void
         * @param DiscountPriceInfoType $value 
         */
        function setDiscountPriceInfo($value)
        {
                $this->DiscountPriceInfo = $value;
        }
        /**
         * @return 
         */
        function __construct()
        {
                parent::__construct('VariationType', 'urn:ebay:apis:eBLBaseComponents');
                if (!isset(self::$_elements[__CLASS__]))
                                self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()],
                                array(
                                        'SKU' =>
                                        array(
                                                'required' => false,
                                                'type' => 'SKUType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'StartPrice' =>
                                        array(
                                                'required' => false,
                                                'type' => 'AmountType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'Quantity' =>
                                        array(
                                                'required' => false,
                                                'type' => 'int',
                                                'nsURI' => 'http://www.w3.org/2001/XMLSchema',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'VariationSpecifics' =>
                                        array(
                                                'required' => false,
                                                'type' => 'NameValueListArrayType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'UnitsAvailable' =>
                                        array(
                                                'required' => false,
                                                'type' => 'int',
                                                'nsURI' => 'http://www.w3.org/2001/XMLSchema',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'UnitCost' =>
                                        array(
                                                'required' => false,
                                                'type' => 'AmountType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'SellingStatus' =>
                                        array(
                                                'required' => false,
                                                'type' => 'SellingStatusType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'VariationTitle' =>
                                        array(
                                                'required' => false,
                                                'type' => 'string',
                                                'nsURI' => 'http://www.w3.org/2001/XMLSchema',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'VariationViewItemURL' =>
                                        array(
                                                'required' => false,
                                                'type' => 'anyURI',
                                                'nsURI' => 'http://www.w3.org/2001/XMLSchema',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'Delete' =>
                                        array(
                                                'required' => false,
                                                'type' => 'boolean',
                                                'nsURI' => 'http://www.w3.org/2001/XMLSchema',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'SellingManagerProductInventoryStatus' =>
                                        array(
                                                'required' => false,
                                                'type' => 'SellingManagerProductInventoryStatusType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'WatchCount' =>
                                        array(
                                                'required' => false,
                                                'type' => 'long',
                                                'nsURI' => 'http://www.w3.org/2001/XMLSchema',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'PrivateNotes' =>
                                        array(
                                                'required' => false,
                                                'type' => 'string',
                                                'nsURI' => 'http://www.w3.org/2001/XMLSchema',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'DiscountPriceInfo' =>
                                        array(
                                                'required' => false,
                                                'type' => 'DiscountPriceInfoType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        )
                                ));
        }
}
?>