Subversion-Projekte lars-tiefland.content-management

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?php
// autogenerated file 22.07.2011 09:27
// $Id: PromotionDetailsType.php 4066 2011-11-03 08:13:59Z tiefland $
// $Log: $
//
//
require_once 'EbatNs_ComplexType.php';
require_once 'PromotionItemPriceTypeCodeType.php';
require_once 'AmountType.php';

/**
 * Contains information about a promoted item. 
 *
 * @link http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/PromotionDetailsType.html
 *
 */
class PromotionDetailsType extends EbatNs_ComplexType
{
        /**
         * @var AmountType
         */
        protected $PromotionPrice;
        /**
         * @var PromotionItemPriceTypeCodeType
         */
        protected $PromotionPriceType;
        /**
         * @var int
         */
        protected $BidCount;
        /**
         * @var AmountType
         */
        protected $ConvertedPromotionPrice;

        /**
         * @return AmountType
         */
        function getPromotionPrice()
        {
                return $this->PromotionPrice;
        }
        /**
         * @return void
         * @param AmountType $value 
         */
        function setPromotionPrice($value)
        {
                $this->PromotionPrice = $value;
        }
        /**
         * @return PromotionItemPriceTypeCodeType
         */
        function getPromotionPriceType()
        {
                return $this->PromotionPriceType;
        }
        /**
         * @return void
         * @param PromotionItemPriceTypeCodeType $value 
         */
        function setPromotionPriceType($value)
        {
                $this->PromotionPriceType = $value;
        }
        /**
         * @return int
         */
        function getBidCount()
        {
                return $this->BidCount;
        }
        /**
         * @return void
         * @param int $value 
         */
        function setBidCount($value)
        {
                $this->BidCount = $value;
        }
        /**
         * @return AmountType
         */
        function getConvertedPromotionPrice()
        {
                return $this->ConvertedPromotionPrice;
        }
        /**
         * @return void
         * @param AmountType $value 
         */
        function setConvertedPromotionPrice($value)
        {
                $this->ConvertedPromotionPrice = $value;
        }
        /**
         * @return 
         */
        function __construct()
        {
                parent::__construct('PromotionDetailsType', 'urn:ebay:apis:eBLBaseComponents');
                if (!isset(self::$_elements[__CLASS__]))
                                self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()],
                                array(
                                        'PromotionPrice' =>
                                        array(
                                                'required' => false,
                                                'type' => 'AmountType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'PromotionPriceType' =>
                                        array(
                                                'required' => false,
                                                'type' => 'PromotionItemPriceTypeCodeType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'BidCount' =>
                                        array(
                                                'required' => false,
                                                'type' => 'int',
                                                'nsURI' => 'http://www.w3.org/2001/XMLSchema',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'ConvertedPromotionPrice' =>
                                        array(
                                                'required' => false,
                                                'type' => 'AmountType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        )
                                ));
        }
}
?>