/framework/GetCategoryListingsRequestType.php
https://github.com/iloveitaly/ebay-php · PHP · 561 lines · 346 code · 2 blank · 213 comment · 1 complexity · e3a3acb99904c6f455bd5be6e7e8169c MD5 · raw file
- <?php
- // autogenerated file 04.06.2009 09:55
- // $Id: $
- // $Log: $
- //
- //
- require_once 'PaginationType.php';
- require_once 'SearchLocationType.php';
- require_once 'CategoryListingsOrderCodeType.php';
- require_once 'CurrencyCodeType.php';
- require_once 'ProximitySearchType.php';
- require_once 'PaymentMethodSearchCodeType.php';
- require_once 'GroupType.php';
- require_once 'AbstractRequestType.php';
- require_once 'CategoryListingsSearchCodeType.php';
- require_once 'ItemTypeFilterCodeType.php';
- /**
- * Returns items in a specified category. A number of inputs are providedfor
- * filtering the item listings returned using such criteria aslocation, whether the
- * item is listed in an ebay Store,the listing type, and including or excluding
- * specified sellers.<br><br>If you are not using the BestMatch search option, the
- * API search results may not match the search results returned by the eBay
- * website.<br><br>It is recommended that you consider using FindItemsAdvanced(in
- * the Shopping API) instead of GetCategoryListings becauseFindItemsAdvanced is
- * easier to use and faster.See <a
- * href="http://developer.ebay.com/products/shopping/" target="_blank">Shopping
- * API</a>for more information.
- *
- * @link http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/GetCategoryListingsRequestType.html
- *
- */
- class GetCategoryListingsRequestType extends AbstractRequestType
- {
- /**
- * @var boolean
- */
- protected $MotorsGermanySearchable;
- /**
- * @var string
- */
- protected $CategoryID;
- /**
- * @var boolean
- */
- protected $AdFormat;
- /**
- * @var boolean
- */
- protected $FreeShipping;
- /**
- * @var CurrencyCodeType
- */
- protected $Currency;
- /**
- * @var ItemTypeFilterCodeType
- */
- protected $ItemTypeFilter;
- /**
- * @var CategoryListingsSearchCodeType
- */
- protected $SearchType;
- /**
- * @var CategoryListingsOrderCodeType
- */
- protected $OrderBy;
- /**
- * @var PaginationType
- */
- protected $Pagination;
- /**
- * @var SearchLocationType
- */
- protected $SearchLocation;
- /**
- * @var ProximitySearchType
- */
- protected $ProximitySearch;
- /**
- * @var boolean
- */
- protected $IncludeGetItFastItems;
- /**
- * @var PaymentMethodSearchCodeType
- */
- protected $PaymentMethod;
- /**
- * @var boolean
- */
- protected $IncludeCondition;
- /**
- * @var boolean
- */
- protected $IncludeFeedback;
- /**
- * @var string
- */
- protected $LocalSearchPostalCode;
- /**
- * @var int
- */
- protected $MaxRelatedSearchKeywords;
- /**
- * @var GroupType
- */
- protected $Group;
- /**
- * @var boolean
- */
- protected $HideDuplicateItems;
- /**
- * @return boolean
- */
- function getMotorsGermanySearchable()
- {
- return $this->MotorsGermanySearchable;
- }
- /**
- * @return void
- * @param boolean $value
- */
- function setMotorsGermanySearchable($value)
- {
- $this->MotorsGermanySearchable = $value;
- }
- /**
- * @return string
- */
- function getCategoryID()
- {
- return $this->CategoryID;
- }
- /**
- * @return void
- * @param string $value
- */
- function setCategoryID($value)
- {
- $this->CategoryID = $value;
- }
- /**
- * @return boolean
- */
- function getAdFormat()
- {
- return $this->AdFormat;
- }
- /**
- * @return void
- * @param boolean $value
- */
- function setAdFormat($value)
- {
- $this->AdFormat = $value;
- }
- /**
- * @return boolean
- */
- function getFreeShipping()
- {
- return $this->FreeShipping;
- }
- /**
- * @return void
- * @param boolean $value
- */
- function setFreeShipping($value)
- {
- $this->FreeShipping = $value;
- }
- /**
- * @return CurrencyCodeType
- */
- function getCurrency()
- {
- return $this->Currency;
- }
- /**
- * @return void
- * @param CurrencyCodeType $value
- */
- function setCurrency($value)
- {
- $this->Currency = $value;
- }
- /**
- * @return ItemTypeFilterCodeType
- */
- function getItemTypeFilter()
- {
- return $this->ItemTypeFilter;
- }
- /**
- * @return void
- * @param ItemTypeFilterCodeType $value
- */
- function setItemTypeFilter($value)
- {
- $this->ItemTypeFilter = $value;
- }
- /**
- * @return CategoryListingsSearchCodeType
- */
- function getSearchType()
- {
- return $this->SearchType;
- }
- /**
- * @return void
- * @param CategoryListingsSearchCodeType $value
- */
- function setSearchType($value)
- {
- $this->SearchType = $value;
- }
- /**
- * @return CategoryListingsOrderCodeType
- */
- function getOrderBy()
- {
- return $this->OrderBy;
- }
- /**
- * @return void
- * @param CategoryListingsOrderCodeType $value
- */
- function setOrderBy($value)
- {
- $this->OrderBy = $value;
- }
- /**
- * @return PaginationType
- */
- function getPagination()
- {
- return $this->Pagination;
- }
- /**
- * @return void
- * @param PaginationType $value
- */
- function setPagination($value)
- {
- $this->Pagination = $value;
- }
- /**
- * @return SearchLocationType
- */
- function getSearchLocation()
- {
- return $this->SearchLocation;
- }
- /**
- * @return void
- * @param SearchLocationType $value
- */
- function setSearchLocation($value)
- {
- $this->SearchLocation = $value;
- }
- /**
- * @return ProximitySearchType
- */
- function getProximitySearch()
- {
- return $this->ProximitySearch;
- }
- /**
- * @return void
- * @param ProximitySearchType $value
- */
- function setProximitySearch($value)
- {
- $this->ProximitySearch = $value;
- }
- /**
- * @return boolean
- */
- function getIncludeGetItFastItems()
- {
- return $this->IncludeGetItFastItems;
- }
- /**
- * @return void
- * @param boolean $value
- */
- function setIncludeGetItFastItems($value)
- {
- $this->IncludeGetItFastItems = $value;
- }
- /**
- * @return PaymentMethodSearchCodeType
- */
- function getPaymentMethod()
- {
- return $this->PaymentMethod;
- }
- /**
- * @return void
- * @param PaymentMethodSearchCodeType $value
- */
- function setPaymentMethod($value)
- {
- $this->PaymentMethod = $value;
- }
- /**
- * @return boolean
- */
- function getIncludeCondition()
- {
- return $this->IncludeCondition;
- }
- /**
- * @return void
- * @param boolean $value
- */
- function setIncludeCondition($value)
- {
- $this->IncludeCondition = $value;
- }
- /**
- * @return boolean
- */
- function getIncludeFeedback()
- {
- return $this->IncludeFeedback;
- }
- /**
- * @return void
- * @param boolean $value
- */
- function setIncludeFeedback($value)
- {
- $this->IncludeFeedback = $value;
- }
- /**
- * @return string
- */
- function getLocalSearchPostalCode()
- {
- return $this->LocalSearchPostalCode;
- }
- /**
- * @return void
- * @param string $value
- */
- function setLocalSearchPostalCode($value)
- {
- $this->LocalSearchPostalCode = $value;
- }
- /**
- * @return int
- */
- function getMaxRelatedSearchKeywords()
- {
- return $this->MaxRelatedSearchKeywords;
- }
- /**
- * @return void
- * @param int $value
- */
- function setMaxRelatedSearchKeywords($value)
- {
- $this->MaxRelatedSearchKeywords = $value;
- }
- /**
- * @return GroupType
- */
- function getGroup()
- {
- return $this->Group;
- }
- /**
- * @return void
- * @param GroupType $value
- */
- function setGroup($value)
- {
- $this->Group = $value;
- }
- /**
- * @return boolean
- */
- function getHideDuplicateItems()
- {
- return $this->HideDuplicateItems;
- }
- /**
- * @return void
- * @param boolean $value
- */
- function setHideDuplicateItems($value)
- {
- $this->HideDuplicateItems = $value;
- }
- /**
- * @return
- */
- function __construct()
- {
- parent::__construct('GetCategoryListingsRequestType', 'urn:ebay:apis:eBLBaseComponents');
- if (!isset(self::$_elements[__CLASS__]))
- self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()],
- array(
- 'MotorsGermanySearchable' =>
- array(
- 'required' => false,
- 'type' => 'boolean',
- 'nsURI' => 'http://www.w3.org/2001/XMLSchema',
- 'array' => false,
- 'cardinality' => '0..1'
- ),
- 'CategoryID' =>
- array(
- 'required' => false,
- 'type' => 'string',
- 'nsURI' => 'http://www.w3.org/2001/XMLSchema',
- 'array' => false,
- 'cardinality' => '0..1'
- ),
- 'AdFormat' =>
- array(
- 'required' => false,
- 'type' => 'boolean',
- 'nsURI' => 'http://www.w3.org/2001/XMLSchema',
- 'array' => false,
- 'cardinality' => '0..1'
- ),
- 'FreeShipping' =>
- array(
- 'required' => false,
- 'type' => 'boolean',
- 'nsURI' => 'http://www.w3.org/2001/XMLSchema',
- 'array' => false,
- 'cardinality' => '0..1'
- ),
- 'Currency' =>
- array(
- 'required' => false,
- 'type' => 'CurrencyCodeType',
- 'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
- 'array' => false,
- 'cardinality' => '0..1'
- ),
- 'ItemTypeFilter' =>
- array(
- 'required' => false,
- 'type' => 'ItemTypeFilterCodeType',
- 'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
- 'array' => false,
- 'cardinality' => '0..1'
- ),
- 'SearchType' =>
- array(
- 'required' => false,
- 'type' => 'CategoryListingsSearchCodeType',
- 'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
- 'array' => false,
- 'cardinality' => '0..1'
- ),
- 'OrderBy' =>
- array(
- 'required' => false,
- 'type' => 'CategoryListingsOrderCodeType',
- 'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
- 'array' => false,
- 'cardinality' => '0..1'
- ),
- 'Pagination' =>
- array(
- 'required' => false,
- 'type' => 'PaginationType',
- 'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
- 'array' => false,
- 'cardinality' => '0..1'
- ),
- 'SearchLocation' =>
- array(
- 'required' => false,
- 'type' => 'SearchLocationType',
- 'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
- 'array' => false,
- 'cardinality' => '0..1'
- ),
- 'ProximitySearch' =>
- array(
- 'required' => false,
- 'type' => 'ProximitySearchType',
- 'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
- 'array' => false,
- 'cardinality' => '0..1'
- ),
- 'IncludeGetItFastItems' =>
- array(
- 'required' => false,
- 'type' => 'boolean',
- 'nsURI' => 'http://www.w3.org/2001/XMLSchema',
- 'array' => false,
- 'cardinality' => '0..1'
- ),
- 'PaymentMethod' =>
- array(
- 'required' => false,
- 'type' => 'PaymentMethodSearchCodeType',
- 'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
- 'array' => false,
- 'cardinality' => '0..1'
- ),
- 'IncludeCondition' =>
- array(
- 'required' => false,
- 'type' => 'boolean',
- 'nsURI' => 'http://www.w3.org/2001/XMLSchema',
- 'array' => false,
- 'cardinality' => '0..1'
- ),
- 'IncludeFeedback' =>
- array(
- 'required' => false,
- 'type' => 'boolean',
- 'nsURI' => 'http://www.w3.org/2001/XMLSchema',
- 'array' => false,
- 'cardinality' => '0..1'
- ),
- 'LocalSearchPostalCode' =>
- array(
- 'required' => false,
- 'type' => 'string',
- 'nsURI' => 'http://www.w3.org/2001/XMLSchema',
- 'array' => false,
- 'cardinality' => '0..1'
- ),
- 'MaxRelatedSearchKeywords' =>
- array(
- 'required' => false,
- 'type' => 'int',
- 'nsURI' => 'http://www.w3.org/2001/XMLSchema',
- 'array' => false,
- 'cardinality' => '0..1'
- ),
- 'Group' =>
- array(
- 'required' => false,
- 'type' => 'GroupType',
- 'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
- 'array' => false,
- 'cardinality' => '0..1'
- ),
- 'HideDuplicateItems' =>
- array(
- 'required' => false,
- 'type' => 'boolean',
- 'nsURI' => 'http://www.w3.org/2001/XMLSchema',
- 'array' => false,
- 'cardinality' => '0..1'
- )
- ));
- }
- }
- ?>