Subversion-Projekte lars-tiefland.content-management

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?php
// autogenerated file 22.07.2011 09:27
// $Id: OfferType.php 4066 2011-11-03 08:13:59Z tiefland $
// $Log: $
//
//
require_once 'BestOfferIDType.php';
require_once 'AmountType.php';
require_once 'ItemIDType.php';
require_once 'EbatNs_ComplexType.php';
require_once 'UserType.php';
require_once 'BidActionCodeType.php';
require_once 'CurrencyCodeType.php';

/**
 * Contains information pertaining to an offer made on an item listing andthe 
 * current bidding or purchase state of the listing. 
 *
 * @link http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/OfferType.html
 *
 */
class OfferType extends EbatNs_ComplexType
{
        /**
         * @var BidActionCodeType
         */
        protected $Action;
        /**
         * @var CurrencyCodeType
         */
        protected $Currency;
        /**
         * @var ItemIDType
         */
        protected $ItemID;
        /**
         * @var AmountType
         */
        protected $MaxBid;
        /**
         * @var int
         */
        protected $Quantity;
        /**
         * @var boolean
         */
        protected $SecondChanceEnabled;
        /**
         * @var CurrencyCodeType
         */
        protected $SiteCurrency;
        /**
         * @var dateTime
         */
        protected $TimeBid;
        /**
         * @var AmountType
         */
        protected $HighestBid;
        /**
         * @var AmountType
         */
        protected $ConvertedPrice;
        /**
         * @var string
         */
        protected $TransactionID;
        /**
         * @var UserType
         */
        protected $User;
        /**
         * @var boolean
         */
        protected $UserConsent;
        /**
         * @var int
         */
        protected $BidCount;
        /**
         * @var string
         */
        protected $Message;
        /**
         * @var BestOfferIDType
         */
        protected $BestOfferID;
        /**
         * @var AmountType
         */
        protected $MyMaxBid;

        /**
         * @return BidActionCodeType
         */
        function getAction()
        {
                return $this->Action;
        }
        /**
         * @return void
         * @param BidActionCodeType $value 
         */
        function setAction($value)
        {
                $this->Action = $value;
        }
        /**
         * @return CurrencyCodeType
         */
        function getCurrency()
        {
                return $this->Currency;
        }
        /**
         * @return void
         * @param CurrencyCodeType $value 
         */
        function setCurrency($value)
        {
                $this->Currency = $value;
        }
        /**
         * @return ItemIDType
         */
        function getItemID()
        {
                return $this->ItemID;
        }
        /**
         * @return void
         * @param ItemIDType $value 
         */
        function setItemID($value)
        {
                $this->ItemID = $value;
        }
        /**
         * @return AmountType
         */
        function getMaxBid()
        {
                return $this->MaxBid;
        }
        /**
         * @return void
         * @param AmountType $value 
         */
        function setMaxBid($value)
        {
                $this->MaxBid = $value;
        }
        /**
         * @return int
         */
        function getQuantity()
        {
                return $this->Quantity;
        }
        /**
         * @return void
         * @param int $value 
         */
        function setQuantity($value)
        {
                $this->Quantity = $value;
        }
        /**
         * @return boolean
         */
        function getSecondChanceEnabled()
        {
                return $this->SecondChanceEnabled;
        }
        /**
         * @return void
         * @param boolean $value 
         */
        function setSecondChanceEnabled($value)
        {
                $this->SecondChanceEnabled = $value;
        }
        /**
         * @return CurrencyCodeType
         */
        function getSiteCurrency()
        {
                return $this->SiteCurrency;
        }
        /**
         * @return void
         * @param CurrencyCodeType $value 
         */
        function setSiteCurrency($value)
        {
                $this->SiteCurrency = $value;
        }
        /**
         * @return dateTime
         */
        function getTimeBid()
        {
                return $this->TimeBid;
        }
        /**
         * @return void
         * @param dateTime $value 
         */
        function setTimeBid($value)
        {
                $this->TimeBid = $value;
        }
        /**
         * @return AmountType
         */
        function getHighestBid()
        {
                return $this->HighestBid;
        }
        /**
         * @return void
         * @param AmountType $value 
         */
        function setHighestBid($value)
        {
                $this->HighestBid = $value;
        }
        /**
         * @return AmountType
         */
        function getConvertedPrice()
        {
                return $this->ConvertedPrice;
        }
        /**
         * @return void
         * @param AmountType $value 
         */
        function setConvertedPrice($value)
        {
                $this->ConvertedPrice = $value;
        }
        /**
         * @return string
         */
        function getTransactionID()
        {
                return $this->TransactionID;
        }
        /**
         * @return void
         * @param string $value 
         */
        function setTransactionID($value)
        {
                $this->TransactionID = $value;
        }
        /**
         * @return UserType
         */
        function getUser()
        {
                return $this->User;
        }
        /**
         * @return void
         * @param UserType $value 
         */
        function setUser($value)
        {
                $this->User = $value;
        }
        /**
         * @return boolean
         */
        function getUserConsent()
        {
                return $this->UserConsent;
        }
        /**
         * @return void
         * @param boolean $value 
         */
        function setUserConsent($value)
        {
                $this->UserConsent = $value;
        }
        /**
         * @return int
         */
        function getBidCount()
        {
                return $this->BidCount;
        }
        /**
         * @return void
         * @param int $value 
         */
        function setBidCount($value)
        {
                $this->BidCount = $value;
        }
        /**
         * @return string
         */
        function getMessage()
        {
                return $this->Message;
        }
        /**
         * @return void
         * @param string $value 
         */
        function setMessage($value)
        {
                $this->Message = $value;
        }
        /**
         * @return BestOfferIDType
         */
        function getBestOfferID()
        {
                return $this->BestOfferID;
        }
        /**
         * @return void
         * @param BestOfferIDType $value 
         */
        function setBestOfferID($value)
        {
                $this->BestOfferID = $value;
        }
        /**
         * @return AmountType
         */
        function getMyMaxBid()
        {
                return $this->MyMaxBid;
        }
        /**
         * @return void
         * @param AmountType $value 
         */
        function setMyMaxBid($value)
        {
                $this->MyMaxBid = $value;
        }
        /**
         * @return 
         */
        function __construct()
        {
                parent::__construct('OfferType', 'urn:ebay:apis:eBLBaseComponents');
                if (!isset(self::$_elements[__CLASS__]))
                                self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()],
                                array(
                                        'Action' =>
                                        array(
                                                'required' => false,
                                                'type' => 'BidActionCodeType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'Currency' =>
                                        array(
                                                'required' => false,
                                                'type' => 'CurrencyCodeType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'ItemID' =>
                                        array(
                                                'required' => false,
                                                'type' => 'ItemIDType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'MaxBid' =>
                                        array(
                                                'required' => false,
                                                'type' => 'AmountType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'Quantity' =>
                                        array(
                                                'required' => false,
                                                'type' => 'int',
                                                'nsURI' => 'http://www.w3.org/2001/XMLSchema',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'SecondChanceEnabled' =>
                                        array(
                                                'required' => false,
                                                'type' => 'boolean',
                                                'nsURI' => 'http://www.w3.org/2001/XMLSchema',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'SiteCurrency' =>
                                        array(
                                                'required' => false,
                                                'type' => 'CurrencyCodeType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'TimeBid' =>
                                        array(
                                                'required' => false,
                                                'type' => 'dateTime',
                                                'nsURI' => 'http://www.w3.org/2001/XMLSchema',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'HighestBid' =>
                                        array(
                                                'required' => false,
                                                'type' => 'AmountType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'ConvertedPrice' =>
                                        array(
                                                'required' => false,
                                                'type' => 'AmountType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'TransactionID' =>
                                        array(
                                                'required' => false,
                                                'type' => 'string',
                                                'nsURI' => 'http://www.w3.org/2001/XMLSchema',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'User' =>
                                        array(
                                                'required' => false,
                                                'type' => 'UserType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'UserConsent' =>
                                        array(
                                                'required' => false,
                                                'type' => 'boolean',
                                                'nsURI' => 'http://www.w3.org/2001/XMLSchema',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'BidCount' =>
                                        array(
                                                'required' => false,
                                                'type' => 'int',
                                                'nsURI' => 'http://www.w3.org/2001/XMLSchema',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'Message' =>
                                        array(
                                                'required' => false,
                                                'type' => 'string',
                                                'nsURI' => 'http://www.w3.org/2001/XMLSchema',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'BestOfferID' =>
                                        array(
                                                'required' => false,
                                                'type' => 'BestOfferIDType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        ),
                                        'MyMaxBid' =>
                                        array(
                                                'required' => false,
                                                'type' => 'AmountType',
                                                'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
                                                'array' => false,
                                                'cardinality' => '0..1'
                                        )
                                ));
        }
}
?>