Subversion-Projekte lars-tiefland.content-management

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?php
// autogenerated file 22.07.2011 09:27
// $Id: CombinedPaymentPreferencesType.php 4066 2011-11-03 08:13:59Z tiefland $
// $Log: $
//
//
require_once 'EbatNs_ComplexType.php';
require_once 'CalculatedShippingPreferencesType.php';
require_once 'CombinedPaymentOptionCodeType.php';
require_once 'FlatShippingPreferencesType.php';
require_once 'CombinedPaymentPeriodCodeType.php';

/**
 * Type used to define all Combined Payment preferences, including preferences 
 * andrules for Calculated and Flat Rate shipping, a flag to allow or disallow 
 * CombinedPayment orders, and the time period in which to allow buyers to combine 
 * multiplepurchases from the seller into a Combined Payment order. 
 *
 * @link http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/CombinedPaymentPreferencesType.html
 *
 */
class CombinedPaymentPreferencesType extends EbatNs_ComplexType
{
        /**
         * @var CalculatedShippingPreferencesType
         */
        protected $CalculatedShippingPreferences;
        /**
         * @var CombinedPaymentOptionCodeType
         */
        protected $CombinedPaymentOption;
        /**
         * @var CombinedPaymentPeriodCodeType
         */
        protected $CombinedPaymentPeriod;
        /**
         * @var FlatShippingPreferencesType
         */
        protected $FlatShippingPreferences;

        /**
         * @return CalculatedShippingPreferencesType
         */
        function getCalculatedShippingPreferences()
        {
                return $this->CalculatedShippingPreferences;
        }
        /**
         * @return void
         * @param CalculatedShippingPreferencesType $value 
         */
        function setCalculatedShippingPreferences($value)
        {
                $this->CalculatedShippingPreferences = $value;
        }
        /**
         * @return CombinedPaymentOptionCodeType
         */
        function getCombinedPaymentOption()
        {
                return $this->CombinedPaymentOption;
        }
        /**
         * @return void
         * @param CombinedPaymentOptionCodeType $value 
         */
        function setCombinedPaymentOption($value)
        {
                $this->CombinedPaymentOption = $value;
        }
        /**
         * @return CombinedPaymentPeriodCodeType
         */
        function getCombinedPaymentPeriod()
        {
                return $this->CombinedPaymentPeriod;
        }
        /**
         * @return void
         * @param CombinedPaymentPeriodCodeType $value 
         */
        function setCombinedPaymentPeriod($value)
        {
                $this->CombinedPaymentPeriod = $value;
        }
        /**
         * @return FlatShippingPreferencesType
         */
        function getFlatShippingPreferences()
        {
                return $this->FlatShippingPreferences;
        }
        /**
         * @return void
         * @param FlatShippingPreferencesType $value 
         */
        function setFlatShippingPreferences($value)
        {
                $this->FlatShippingPreferences = $value;
        }
        /**
         * @return 
         */
        function __construct()
        {
                parent::__construct('CombinedPaymentPreferencesType', 'urn:ebay:apis:eBLBaseComponents');
                if (!isset(self::$_elements[__CLASS__]))
                                self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()],
                                array(
                                        'CalculatedShippingPreferences' =>
                                        array(
                                                'required' => false,
                                                'type' => 'CalculatedShippingPreferencesType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'CombinedPaymentOption' =>
                                        array(
                                                'required' => false,
                                                'type' => 'CombinedPaymentOptionCodeType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'CombinedPaymentPeriod' =>
                                        array(
                                                'required' => false,
                                                'type' => 'CombinedPaymentPeriodCodeType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'FlatShippingPreferences' =>
                                        array(
                                                'required' => false,
                                                'type' => 'FlatShippingPreferencesType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        )
                                ));
        }
}
?>