Subversion-Projekte lars-tiefland.php_share

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

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

/**
 * Container that specifies discount pricing details for an item, including the 
 * original retail priceand where that price can be found (on or off of eBay). The 
 * pricing treatment displayed for a discounteditem depends on the values specified 
 * in this container when the item is listed. Discount pricingtreatments 
 * (Strikethrough Pricing and Minimum Advertised Price) apply to only fixed price, 
 * BIN items.Sellers can apply Discount Pricing to both MSKU and Non-MSKU items. 
 *
 * @link http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/DiscountPriceInfoType.html
 *
 */
class DiscountPriceInfoType extends EbatNs_ComplexType
{
        /**
         * @var AmountType
         */
        protected $OriginalRetailPrice;
        /**
         * @var AmountType
         */
        protected $MinimumAdvertisedPrice;
        /**
         * @var MinimumAdvertisedPriceExposureCodeType
         */
        protected $MinimumAdvertisedPriceExposure;
        /**
         * @var PricingTreatmentCodeType
         */
        protected $PricingTreatment;
        /**
         * @var boolean
         */
        protected $SoldOneBay;
        /**
         * @var boolean
         */
        protected $SoldOffeBay;

        /**
         * @return AmountType
         */
        function getOriginalRetailPrice()
        {
                return $this->OriginalRetailPrice;
        }
        /**
         * @return void
         * @param AmountType $value 
         */
        function setOriginalRetailPrice($value)
        {
                $this->OriginalRetailPrice = $value;
        }
        /**
         * @return AmountType
         */
        function getMinimumAdvertisedPrice()
        {
                return $this->MinimumAdvertisedPrice;
        }
        /**
         * @return void
         * @param AmountType $value 
         */
        function setMinimumAdvertisedPrice($value)
        {
                $this->MinimumAdvertisedPrice = $value;
        }
        /**
         * @return MinimumAdvertisedPriceExposureCodeType
         */
        function getMinimumAdvertisedPriceExposure()
        {
                return $this->MinimumAdvertisedPriceExposure;
        }
        /**
         * @return void
         * @param MinimumAdvertisedPriceExposureCodeType $value 
         */
        function setMinimumAdvertisedPriceExposure($value)
        {
                $this->MinimumAdvertisedPriceExposure = $value;
        }
        /**
         * @return PricingTreatmentCodeType
         */
        function getPricingTreatment()
        {
                return $this->PricingTreatment;
        }
        /**
         * @return void
         * @param PricingTreatmentCodeType $value 
         */
        function setPricingTreatment($value)
        {
                $this->PricingTreatment = $value;
        }
        /**
         * @return boolean
         */
        function getSoldOneBay()
        {
                return $this->SoldOneBay;
        }
        /**
         * @return void
         * @param boolean $value 
         */
        function setSoldOneBay($value)
        {
                $this->SoldOneBay = $value;
        }
        /**
         * @return boolean
         */
        function getSoldOffeBay()
        {
                return $this->SoldOffeBay;
        }
        /**
         * @return void
         * @param boolean $value 
         */
        function setSoldOffeBay($value)
        {
                $this->SoldOffeBay = $value;
        }
        /**
         * @return 
         */
        function __construct()
        {
                parent::__construct('DiscountPriceInfoType', 'urn:ebay:apis:eBLBaseComponents');
                if (!isset(self::$_elements[__CLASS__]))
                                self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()],
                                array(
                                        'OriginalRetailPrice' =>
                                        array(
                                                'required' => false,
                                                'type' => 'AmountType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'MinimumAdvertisedPrice' =>
                                        array(
                                                'required' => false,
                                                'type' => 'AmountType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'MinimumAdvertisedPriceExposure' =>
                                        array(
                                                'required' => false,
                                                'type' => 'MinimumAdvertisedPriceExposureCodeType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'PricingTreatment' =>
                                        array(
                                                'required' => false,
                                                'type' => 'PricingTreatmentCodeType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'SoldOneBay' =>
                                        array(
                                                'required' => false,
                                                'type' => 'boolean',
                                                'nsURI' => 'http://www.w3.org/2001/XMLSchema',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'SoldOffeBay' =>
                                        array(
                                                'required' => false,
                                                'type' => 'boolean',
                                                'nsURI' => 'http://www.w3.org/2001/XMLSchema',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        )
                                ));
        }
}
?>