line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::GetProductSellingPages::GetProductSellingPagesRequestType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1526
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
25
|
|
6
|
1
|
|
|
1
|
|
16
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. GetProductSellingPagesRequestType.pm |
12
|
|
|
|
|
|
|
# Generated by: ......... genEBayApiDataTypes.pl |
13
|
|
|
|
|
|
|
# Last Generated: ....... 08/24/2008 16:44 |
14
|
|
|
|
|
|
|
# API Release Number: ... 579 |
15
|
|
|
|
|
|
|
# |
16
|
|
|
|
|
|
|
########################################################################## |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 NAME |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
eBay::API::XML::Call::GetProductSellingPages::GetProductSellingPagesRequestType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Retrieves information that describes how to present catalog |
25
|
|
|
|
|
|
|
product information to a seller. Use this information to present |
26
|
|
|
|
|
|
|
users with the equivalent of the Item Specifics portion of the |
27
|
|
|
|
|
|
|
eBay Title and Description pages and to validate user-specified |
28
|
|
|
|
|
|
|
values for eBay attributes on the client before including them in |
29
|
|
|
|
|
|
|
an AddItem call or related calls. The data contains a list of all |
30
|
|
|
|
|
|
|
the attributes that are applicable for one or more requested |
31
|
|
|
|
|
|
|
products, along with related meta-data. The meta-data specifies |
32
|
|
|
|
|
|
|
the pre-filled values of each attribute, the possible values of |
33
|
|
|
|
|
|
|
attributes that are not pre-filled, the logic for presenting the |
34
|
|
|
|
|
|
|
attributes to a user, and rules for validating the user's |
35
|
|
|
|
|
|
|
selections. Use the results in combination with GetAttributesXSL |
36
|
|
|
|
|
|
|
to render the Item Specifics in a graphical user interface. See |
37
|
|
|
|
|
|
|
the eBay Web Services Guide for an overview of Pre-filled Item |
38
|
|
|
|
|
|
|
Information, details about searching for catalog products, and |
39
|
|
|
|
|
|
|
information about the ProductSellingPages content model. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 SYNOPSIS |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=cut |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 INHERITANCE |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
eBay::API::XML::Call::GetProductSellingPages::GetProductSellingPagesRequestType inherits from the L class |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=cut |
53
|
|
|
|
|
|
|
|
54
|
1
|
|
|
1
|
|
33
|
use eBay::API::XML::RequestDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::RequestDataType"); |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
use eBay::API::XML::DataType::ProductType; |
58
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::ProductUseCaseCodeType; |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
my @gaProperties = ( [ 'Product', 'ns:ProductType', '1' |
62
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ProductType', '1' ] |
63
|
|
|
|
|
|
|
, [ 'UseCase', 'ns:ProductUseCaseCodeType', '' |
64
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::ProductUseCaseCodeType', '' ] |
65
|
|
|
|
|
|
|
); |
66
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()}; |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
my @gaAttributes = ( |
69
|
|
|
|
|
|
|
); |
70
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()}; |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head1 Subroutines: |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=cut |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
sub new { |
77
|
|
|
|
|
|
|
my $classname = shift; |
78
|
|
|
|
|
|
|
my %args = @_; |
79
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
80
|
|
|
|
|
|
|
return $self; |
81
|
|
|
|
|
|
|
} |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
sub isScalar { |
84
|
|
|
|
|
|
|
return 0; |
85
|
|
|
|
|
|
|
} |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head2 setProduct() |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
A catalog product identifies a prototype description |
92
|
|
|
|
|
|
|
of a well-known type of item, such as a popular book. |
93
|
|
|
|
|
|
|
As this call supports batch requests, you can pass in an array of products |
94
|
|
|
|
|
|
|
to retrieve data for several products at the same time. |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AttrGPSellP |
97
|
|
|
|
|
|
|
Title: Retrieving a Product's Item Specifics |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
RequiredInput: Yes |
100
|
|
|
|
|
|
|
# Argument: reference to an array |
101
|
|
|
|
|
|
|
of 'ns:ProductType' |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=cut |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
sub setProduct { |
106
|
|
|
|
|
|
|
my $self = shift; |
107
|
|
|
|
|
|
|
$self->{'Product'} = |
108
|
|
|
|
|
|
|
$self->convertArray_To_RefToArrayIfNeeded(@_); |
109
|
|
|
|
|
|
|
} |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=head2 getProduct() |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
# Returns: reference to an array |
114
|
|
|
|
|
|
|
of 'ns:ProductType' |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=cut |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
sub getProduct { |
119
|
|
|
|
|
|
|
my $self = shift; |
120
|
|
|
|
|
|
|
return $self->_getDataTypeArray('Product'); |
121
|
|
|
|
|
|
|
} |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=head2 setUseCase() |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
Specifies the context in which the call is being executed, which will imply |
127
|
|
|
|
|
|
|
certain validation rules. Use this property to make sure you retrieve the |
128
|
|
|
|
|
|
|
appropriate version of product information and attribute meta-data |
129
|
|
|
|
|
|
|
when you are listing, revising, or relisting an item with Pre-filled Item Information. |
130
|
|
|
|
|
|
|
Valid values: |
131
|
|
|
|
|
|
|
SYI = Sell Your Item. Use before adding an item. Causes the response to include the |
132
|
|
|
|
|
|
|
latest product ID in the system (given an ID specified in the Products element) |
133
|
|
|
|
|
|
|
and the corresponding characteristic meta-data. |
134
|
|
|
|
|
|
|
RYI = Revise Your Item. Use this before revising an item. Causes the response to return |
135
|
|
|
|
|
|
|
the product ID, attribute data, and other data associated with the version of the product |
136
|
|
|
|
|
|
|
that you pass in the Products element. This is useful in case the product ID or associated data |
137
|
|
|
|
|
|
|
has changed in the system since the item was originally listed. When revising |
138
|
|
|
|
|
|
|
an item, this helps you make changes that are consistent with the original listing. |
139
|
|
|
|
|
|
|
RELIST = Use this before relisting an item. Causes the response to include the |
140
|
|
|
|
|
|
|
latest product ID in the system (given an ID specified in the Products element) |
141
|
|
|
|
|
|
|
and the corresponding characteristic meta-data. (Same as SYI). |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
RequiredInput: Yes |
144
|
|
|
|
|
|
|
# Argument: 'ns:ProductUseCaseCodeType' |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=cut |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
sub setUseCase { |
149
|
|
|
|
|
|
|
my $self = shift; |
150
|
|
|
|
|
|
|
$self->{'UseCase'} = shift |
151
|
|
|
|
|
|
|
} |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
=head2 getUseCase() |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
# Returns: 'ns:ProductUseCaseCodeType' |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
=cut |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
sub getUseCase { |
160
|
|
|
|
|
|
|
my $self = shift; |
161
|
|
|
|
|
|
|
return $self->{'UseCase'}; |
162
|
|
|
|
|
|
|
} |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
## Attribute and Property lists |
169
|
|
|
|
|
|
|
sub getPropertiesList { |
170
|
|
|
|
|
|
|
my $self = shift; |
171
|
|
|
|
|
|
|
return \@gaProperties; |
172
|
|
|
|
|
|
|
} |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
sub getAttributesList { |
175
|
|
|
|
|
|
|
my $self = shift; |
176
|
|
|
|
|
|
|
return \@gaAttributes; |
177
|
|
|
|
|
|
|
} |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
1; |