Subversion-Projekte lars-tiefland.content-management

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?php
// autogenerated file 22.07.2011 09:27
// $Id: GetNotificationPreferencesRequestType.php 4066 2011-11-03 08:13:59Z tiefland $
// $Log: $
//
//
require_once 'NotificationRoleCodeType.php';
require_once 'AbstractRequestType.php';

/**
 * Retrieves the requesting application's notification preferences. Details are 
 * only returned for events for which apreference has been set. For example, if you 
 * enabled notification for the EndOfAuction event and later disabled it,the 
 * GetNotificationPreferences response would cite the EndOfAuction event preference 
 * as Disabled. Otherwise, nodetails would be returned regarding EndOfAuction. 
 *
 * @link http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/GetNotificationPreferencesRequestType.html
 *
 */
class GetNotificationPreferencesRequestType extends AbstractRequestType
{
        /**
         * @var NotificationRoleCodeType
         */
        protected $PreferenceLevel;

        /**
         * @return NotificationRoleCodeType
         */
        function getPreferenceLevel()
        {
                return $this->PreferenceLevel;
        }
        /**
         * @return void
         * @param NotificationRoleCodeType $value 
         */
        function setPreferenceLevel($value)
        {
                $this->PreferenceLevel = $value;
        }
        /**
         * @return 
         */
        function __construct()
        {
                parent::__construct('GetNotificationPreferencesRequestType', 'urn:ebay:apis:eBLBaseComponents');
                if (!isset(self::$_elements[__CLASS__]))
                                self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()],
                                array(
                                        'PreferenceLevel' =>
                                        array(
                                                'required' => false,
                                                'type' => 'NotificationRoleCodeType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        )
                                ));
        }
}
?>