line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::NameValueListArrayType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1707
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
37
|
|
6
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
37
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. NameValueListArrayType.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::DataType::NameValueListArrayType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
A list of one or more valid names and corresponding values. Currently |
25
|
|
|
|
|
|
|
only used for Item Specifics. |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 SYNOPSIS |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=cut |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 INHERITANCE |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
eBay::API::XML::DataType::NameValueListArrayType inherits from the L class |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |
39
|
|
|
|
|
|
|
|
40
|
1
|
|
|
1
|
|
61
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
use eBay::API::XML::DataType::NameValueListType; |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
my @gaProperties = ( [ 'NameValueList', 'ns:NameValueListType', '1' |
47
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::NameValueListType', '1' ] |
48
|
|
|
|
|
|
|
); |
49
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
my @gaAttributes = ( |
52
|
|
|
|
|
|
|
); |
53
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 Subroutines: |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=cut |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
sub new { |
60
|
|
|
|
|
|
|
my $classname = shift; |
61
|
|
|
|
|
|
|
my %args = @_; |
62
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
63
|
|
|
|
|
|
|
return $self; |
64
|
|
|
|
|
|
|
} |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
sub isScalar { |
67
|
|
|
|
|
|
|
return 0; |
68
|
|
|
|
|
|
|
} |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head2 setNameValueList() |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
Contains the name of an Item Specific, and one or more corresponding |
75
|
|
|
|
|
|
|
values, if any. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
In the AddItem family of calls, |
78
|
|
|
|
|
|
|
this is only required when the ItemSpecifics container is specified. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
In GetSearchResults, GetSearchResultsExpress, GetProducts, |
81
|
|
|
|
|
|
|
GetCategorySpecifics, (and soon in GetItem), this is only returned |
82
|
|
|
|
|
|
|
when the ItemSpecifics (or ItemSpecific) node is returned. |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
Calls: AddItem |
85
|
|
|
|
|
|
|
AddLiveAuctionItem |
86
|
|
|
|
|
|
|
RelistItem |
87
|
|
|
|
|
|
|
ReviseItem |
88
|
|
|
|
|
|
|
ReviseLiveAuctionItem |
89
|
|
|
|
|
|
|
VerifyAddItem |
90
|
|
|
|
|
|
|
RequiredInput: Conditionally |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
# Argument: reference to an array |
93
|
|
|
|
|
|
|
of 'ns:NameValueListType' |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=cut |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
sub setNameValueList { |
98
|
|
|
|
|
|
|
my $self = shift; |
99
|
|
|
|
|
|
|
$self->{'NameValueList'} = |
100
|
|
|
|
|
|
|
$self->convertArray_To_RefToArrayIfNeeded(@_); |
101
|
|
|
|
|
|
|
} |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=head2 getNameValueList() |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
Calls: GetCategorySpecifics |
106
|
|
|
|
|
|
|
GetItemRecommendations |
107
|
|
|
|
|
|
|
Returned: Conditionally |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
Calls: GetItem |
110
|
|
|
|
|
|
|
Returned: Conditionally |
111
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, |
112
|
|
|
|
|
|
|
ItemReturnAttributes, ReturnAll |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
Calls: GetSearchResults |
115
|
|
|
|
|
|
|
Returned: Conditionally |
116
|
|
|
|
|
|
|
Details: DetailLevel: ItemReturnAttributes, ItemReturnCategories, none, ReturnAll |
117
|
|
|
|
|
|
|
GranularityLevel: Coarse |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
Calls: GetProducts |
121
|
|
|
|
|
|
|
Returned: Conditionally |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
# Returns: reference to an array |
124
|
|
|
|
|
|
|
of 'ns:NameValueListType' |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=cut |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
sub getNameValueList { |
129
|
|
|
|
|
|
|
my $self = shift; |
130
|
|
|
|
|
|
|
return $self->_getDataTypeArray('NameValueList'); |
131
|
|
|
|
|
|
|
} |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
## Attribute and Property lists |
138
|
|
|
|
|
|
|
sub getPropertiesList { |
139
|
|
|
|
|
|
|
my $self = shift; |
140
|
|
|
|
|
|
|
return \@gaProperties; |
141
|
|
|
|
|
|
|
} |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
sub getAttributesList { |
144
|
|
|
|
|
|
|
my $self = shift; |
145
|
|
|
|
|
|
|
return \@gaAttributes; |
146
|
|
|
|
|
|
|
} |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
1; |