Trading_ExternalProductIDType Class Reference
Inherits from | NSObject |
Conforms to | PicoBindable |
Declared in | Trading_ExternalProductIDType.h Trading_ExternalProductIDType.m |
Overview
This type is deprecated as the partent of this type is no longer available.
@ingroup EBayAPIInterface
Tasks
-
value
An industry-standard value that uniquely identifies the product. The valid
property
values are dictated by the Type property. Required if Type is specified. Max
length 13 for ISBN (as of February 2007), 13 for EAN, 12 for UPC, and 4000 for
ProductID. No max length for ticket keywords (but passing too much data can
result in “no match found” errors).
For AddItem and related calls:
If the primary and secondary categories are both catalog-enabled, the value must
apply to the primary category. Event tickets listings support a set of keywords
that uniquely identify the listing. The ticket keywords specify the event name
(the title shown on the ticket), venue name, and event date and time. See the
eBay Web Services guide for more information and validation rules. For
convenience, you can pass an eBay product ID as input (not limited to media
categories).
Required for Half.com listing use cases, and this can only be an ISBN, UPC, or
EAN value.
For GetSellerPayments output only:
Also see AlternateValue, which is returned if the catalog defines multiple
ISBN values (e.g., one for ISBN-13 and one for ISBN-10). Please note that
some catalogs return ISBN values that are not 10 or 13 characters, and some
values contain non-alphanumeric symbols (e.g., $). -
returnSearchResultOnDuplicates
Applicable for listing use cases only (not buy-side searching).
property
Indicates what eBay should do if more than one product matches
the value passed in Value. Only takes effect when more than one
match is found. If true, the response should include an error
and all matching product IDs. If false, the response should include
an error but should not return the matching product IDs.
This field is also applicable when listing Half.com items. -
type
The kind of identifier being used. The choices are listed
property
For requests, required if Value is specified.
For Half.com listing use cases, only ISBN, UPC, and EAN are supported. -
alternateValue
An industry-standard value that provides an alternate identification for
property
the product, if any. Currently, this only returns an alternate ISBN
value. If the catalog defines both an ISBN-13 and ISBN-10,
then the ISBN-13 is returned in Value and the ISBN-10 is returned in
AlternateValue. (That is, the ISBN-13 is considered to be the preferred
identifier.) If the catalog only defines one ISBN, it is returned in
Value (and AlternateValue is not returned). Please note that some
catalogs return ISBN values that are not 10 or 13 characters,
and some values contain non-alphanumeric symbols (e.g., $). -
any
(public property)
property
Properties
alternateValue
An industry-standard value that provides an alternate identification for
the product, if any. Currently, this only returns an alternate ISBN
value. If the catalog defines both an ISBN-13 and ISBN-10,
then the ISBN-13 is returned in Value and the ISBN-10 is returned in
AlternateValue. (That is, the ISBN-13 is considered to be the preferred
identifier.) If the catalog only defines one ISBN, it is returned in
Value (and AlternateValue is not returned). Please note that some
catalogs return ISBN values that are not 10 or 13 characters,
and some values contain non-alphanumeric symbols (e.g., $).
@property (nonatomic, retain) NSMutableArray *alternateValue
Discussion
An industry-standard value that provides an alternate identification for
the product, if any. Currently, this only returns an alternate ISBN
value. If the catalog defines both an ISBN-13 and ISBN-10,
then the ISBN-13 is returned in Value and the ISBN-10 is returned in
AlternateValue. (That is, the ISBN-13 is considered to be the preferred
identifier.) If the catalog only defines one ISBN, it is returned in
Value (and AlternateValue is not returned). Please note that some
catalogs return ISBN values that are not 10 or 13 characters,
and some values contain non-alphanumeric symbols (e.g., $).
entry type : NSString, wrapper for primitive string
Declared In
Trading_ExternalProductIDType.h
any
(public property)
@property (nonatomic, retain) NSMutableArray *any
Declared In
Trading_ExternalProductIDType.h
returnSearchResultOnDuplicates
Applicable for listing use cases only (not buy-side searching).
Indicates what eBay should do if more than one product matches
the value passed in Value. Only takes effect when more than one
match is found. If true, the response should include an error
and all matching product IDs. If false, the response should include
an error but should not return the matching product IDs.
This field is also applicable when listing Half.com items.
@property (nonatomic, retain) NSNumber *returnSearchResultOnDuplicates
Discussion
Applicable for listing use cases only (not buy-side searching).
Indicates what eBay should do if more than one product matches
the value passed in Value. Only takes effect when more than one
match is found. If true, the response should include an error
and all matching product IDs. If false, the response should include
an error but should not return the matching product IDs.
This field is also applicable when listing Half.com items.
type : NSNumber, wrapper for primitive bool
Declared In
Trading_ExternalProductIDType.h
type
The kind of identifier being used. The choices are listed
For requests, required if Value is specified.
For Half.com listing use cases, only ISBN, UPC, and EAN are supported.
@property (nonatomic, retain) NSString *type
Discussion
The kind of identifier being used. The choices are listed
For requests, required if Value is specified.
For Half.com listing use cases, only ISBN, UPC, and EAN are supported.
type: string constant in Trading_ExternalProductCodeType.h
Declared In
Trading_ExternalProductIDType.h
value
An industry-standard value that uniquely identifies the product. The valid
values are dictated by the Type property. Required if Type is specified. Max
length 13 for ISBN (as of February 2007), 13 for EAN, 12 for UPC, and 4000 for
ProductID. No max length for ticket keywords (but passing too much data can
result in “no match found” errors).
For AddItem and related calls:
If the primary and secondary categories are both catalog-enabled, the value must
apply to the primary category. Event tickets listings support a set of keywords
that uniquely identify the listing. The ticket keywords specify the event name
(the title shown on the ticket), venue name, and event date and time. See the
eBay Web Services guide for more information and validation rules. For
convenience, you can pass an eBay product ID as input (not limited to media
categories).
Required for Half.com listing use cases, and this can only be an ISBN, UPC, or
EAN value.
For GetSellerPayments output only:
Also see AlternateValue, which is returned if the catalog defines multiple
ISBN values (e.g., one for ISBN-13 and one for ISBN-10). Please note that
some catalogs return ISBN values that are not 10 or 13 characters, and some
values contain non-alphanumeric symbols (e.g., $).
@property (nonatomic, retain) NSString *value
Discussion
An industry-standard value that uniquely identifies the product. The valid
values are dictated by the Type property. Required if Type is specified. Max
length 13 for ISBN (as of February 2007), 13 for EAN, 12 for UPC, and 4000 for
ProductID. No max length for ticket keywords (but passing too much data can
result in “no match found” errors).
For AddItem and related calls:
If the primary and secondary categories are both catalog-enabled, the value must
apply to the primary category. Event tickets listings support a set of keywords
that uniquely identify the listing. The ticket keywords specify the event name
(the title shown on the ticket), venue name, and event date and time. See the
eBay Web Services guide for more information and validation rules. For
convenience, you can pass an eBay product ID as input (not limited to media
categories).
Required for Half.com listing use cases, and this can only be an ISBN, UPC, or
EAN value.
For GetSellerPayments output only:
Also see AlternateValue, which is returned if the catalog defines multiple
ISBN values (e.g., one for ISBN-13 and one for ISBN-10). Please note that
some catalogs return ISBN values that are not 10 or 13 characters, and some
values contain non-alphanumeric symbols (e.g., $).
type : NSString, wrapper for primitive string
Declared In
Trading_ExternalProductIDType.h