Subversion-Projekte lars-tiefland.php_share

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?php
// autogenerated file 22.07.2011 09:27
// $Id: $
// $Log: $
//
//
require_once 'ItemType.php';
require_once 'AbstractRequestType.php';

/**
 * Adds a Selling Manager template.One product can have up to 20 templates 
 * associated with it.This call is subject to change without notice; thedeprecation 
 * process is inapplicable to this call. 
 *
 * @link http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/AddSellingManagerTemplateRequestType.html
 *
 */
class AddSellingManagerTemplateRequestType extends AbstractRequestType
{
        /**
         * @var ItemType
         */
        protected $Item;
        /**
         * @var string
         */
        protected $SaleTemplateName;
        /**
         * @var long
         */
        protected $ProductID;

        /**
         * @return ItemType
         */
        function getItem()
        {
                return $this->Item;
        }
        /**
         * @return void
         * @param ItemType $value 
         */
        function setItem($value)
        {
                $this->Item = $value;
        }
        /**
         * @return string
         */
        function getSaleTemplateName()
        {
                return $this->SaleTemplateName;
        }
        /**
         * @return void
         * @param string $value 
         */
        function setSaleTemplateName($value)
        {
                $this->SaleTemplateName = $value;
        }
        /**
         * @return long
         */
        function getProductID()
        {
                return $this->ProductID;
        }
        /**
         * @return void
         * @param long $value 
         */
        function setProductID($value)
        {
                $this->ProductID = $value;
        }
        /**
         * @return 
         */
        function __construct()
        {
                parent::__construct('AddSellingManagerTemplateRequestType', 'urn:ebay:apis:eBLBaseComponents');
                if (!isset(self::$_elements[__CLASS__]))
                                self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()],
                                array(
                                        'Item' =>
                                        array(
                                                'required' => false,
                                                'type' => 'ItemType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'SaleTemplateName' =>
                                        array(
                                                'required' => false,
                                                'type' => 'string',
                                                'nsURI' => 'http://www.w3.org/2001/XMLSchema',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'ProductID' =>
                                        array(
                                                'required' => false,
                                                'type' => 'long',
                                                'nsURI' => 'http://www.w3.org/2001/XMLSchema',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        )
                                ));
        }
}
?>