Service/Ebay/Finding/Error/Data.php
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service
- Subpackage
- Ebay
- Version
- $Id: Data.php 22791 2010-08-04 16:11:47Z renanbr $
\Zend_Service_Ebay_Finding_Error_Data
- Parent(s)
- \Zend_Service_Ebay_Finding_Abstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
- \global\Zend_Service_Ebay_Finding_Abstract
Properties

array $_attributes = array()array()Details- Type
- array
- Inherited_from
- \Zend_Service_Ebay_Finding_Abstract::$$_attributes

\DOMElement $_dom- Type
- \DOMElement
- Inherited_from
- \Zend_Service_Ebay_Finding_Abstract::$$_dom

\DOMXPath $_xPath- Type
- \DOMXPath
- Inherited_from
- \Zend_Service_Ebay_Finding_Abstract::$$_xPath

string $category- Type
- string

string $domainDomain values
Marketplace: A business or validation error occurred in the service.
SOA: An exception occurred in the Service Oriented Architecture (SOA) framework.
- Type
- string

integer $errorIdYour application can use error codes as identifiers in your customized error-handling algorithms.
- Type
- integer

string[] $parameterThis is often the field or value that triggered the error.
- Type
- string[]

string $severityReview the error message details for information on the cause.
This API throws an exception when a fatal error occurs. Only warning problems can fill this attribute. See more about error parsing at {@Zend_Service_Ebay_Finding::_parseResponse()}.
If the request fails and the application is the source of the error (for example, a required element is missing), update the application before you retry the request. If the problem is due to incorrect user data, alert the end-user to the problem and provide the means for them to correct the data. Once the problem in the application or data is resolved, re-send the request to eBay.
If the source of the problem is on eBay's side, you can retry the request a reasonable number of times (eBay recommends you try the request twice). If the error persists, contact Developer Technical Support. Once the problem has been resolved, you can resend the request in its original form.
If a warning occurs, warning information is returned in addition to the business data. Normally, you do not need to resend the request (as the original request was successful). However, depending on the cause of the warning, you might need to contact the end user, or eBay, to effect a long term solution to the problem.
- Type
- string
Methods

__construct(\DOMElement $dom) : void| Name | Type | Description |
|---|---|---|
| $dom | \DOMElement |

_init() : voidInitialize object.
Post construct logic, classes must read their members here. Called from __construct() as final step of object initialization.

_initXPath() : voidLoad DOMXPath for current DOM object.
Inherited from: \Zend_Service_Ebay_Finding_Abstract::_initXPath()
_query(string $path, string $type, string $array = false) : mixed| Name | Type | Description |
|---|---|---|
| $path | string | |
| $type | string | |
| $array | string | When true means it expects more than one node occurence |
| Type | Description |
|---|---|
| mixed |

attributes(string $tag, string $attribute = null) : mixed| Name | Type | Description |
|---|---|---|
| $tag | string | |
| $attribute | string |
| Type | Description |
|---|---|
| mixed |

getDom() : \DOMElement| Type | Description |
|---|---|
| \DOMElement |

getXPath() : \DOMXPath| Type | Description |
|---|---|
| \DOMXPath |