line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::LookupAttributeArrayType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1731
|
use strict; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
35
|
|
6
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
39
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. LookupAttributeArrayType.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::LookupAttributeArrayType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Only valid when using AddItem for items in Media categories (Books, DVD and |
25
|
|
|
|
|
|
|
Movies, Music, and Video Game categories). You can pass either |
26
|
|
|
|
|
|
|
AttributeSetArrayType or LookupAttributeArrayType, but you cannot pass both |
27
|
|
|
|
|
|
|
containers in the same request. See the eBay Web Services guide for additional |
28
|
|
|
|
|
|
|
information. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 SYNOPSIS |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=cut |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 INHERITANCE |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
eBay::API::XML::DataType::LookupAttributeArrayType inherits from the L class |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=cut |
42
|
|
|
|
|
|
|
|
43
|
1
|
|
|
1
|
|
45
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
use eBay::API::XML::DataType::LookupAttributeType; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
my @gaProperties = ( [ 'LookupAttribute', 'ns:LookupAttributeType', '1' |
50
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::LookupAttributeType', '1' ] |
51
|
|
|
|
|
|
|
); |
52
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
my @gaAttributes = ( |
55
|
|
|
|
|
|
|
); |
56
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 Subroutines: |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=cut |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
sub new { |
63
|
|
|
|
|
|
|
my $classname = shift; |
64
|
|
|
|
|
|
|
my %args = @_; |
65
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
66
|
|
|
|
|
|
|
return $self; |
67
|
|
|
|
|
|
|
} |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
sub isScalar { |
70
|
|
|
|
|
|
|
return 0; |
71
|
|
|
|
|
|
|
} |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 setLookupAttribute() |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
The condition of the item. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Calls: AddItem |
80
|
|
|
|
|
|
|
GetItemRecommendations |
81
|
|
|
|
|
|
|
RelistItem |
82
|
|
|
|
|
|
|
VerifyAddItem |
83
|
|
|
|
|
|
|
RequiredInput: No |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
# Argument: reference to an array |
86
|
|
|
|
|
|
|
of 'ns:LookupAttributeType' |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=cut |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
sub setLookupAttribute { |
91
|
|
|
|
|
|
|
my $self = shift; |
92
|
|
|
|
|
|
|
$self->{'LookupAttribute'} = |
93
|
|
|
|
|
|
|
$self->convertArray_To_RefToArrayIfNeeded(@_); |
94
|
|
|
|
|
|
|
} |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=head2 getLookupAttribute() |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
# Returns: reference to an array |
99
|
|
|
|
|
|
|
of 'ns:LookupAttributeType' |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=cut |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
sub getLookupAttribute { |
104
|
|
|
|
|
|
|
my $self = shift; |
105
|
|
|
|
|
|
|
return $self->_getDataTypeArray('LookupAttribute'); |
106
|
|
|
|
|
|
|
} |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
## Attribute and Property lists |
113
|
|
|
|
|
|
|
sub getPropertiesList { |
114
|
|
|
|
|
|
|
my $self = shift; |
115
|
|
|
|
|
|
|
return \@gaProperties; |
116
|
|
|
|
|
|
|
} |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
sub getAttributesList { |
119
|
|
|
|
|
|
|
my $self = shift; |
120
|
|
|
|
|
|
|
return \@gaAttributes; |
121
|
|
|
|
|
|
|
} |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
1; |