line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::VeROReportedItemType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1690
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
33
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
32
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. VeROReportedItemType.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::VeROReportedItemType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
A container for item and VeROReportedItem's. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::DataType::VeROReportedItemType inherits from the L class |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
1
|
|
|
1
|
|
43
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
use eBay::API::XML::DataType::ItemIDType; |
43
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::VeROItemStatusCodeType; |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
my @gaProperties = ( [ 'ItemID', 'ns:ItemIDType', '' |
47
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType', '1' ] |
48
|
|
|
|
|
|
|
, [ 'ItemReasonForFailure', 'xs:string', '', '', '' ] |
49
|
|
|
|
|
|
|
, [ 'ItemStatus', 'ns:VeROItemStatusCodeType', '' |
50
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::VeROItemStatusCodeType', '' ] |
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 setItemID() |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
The item ID of the item reported for infringment. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits) |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
# Argument: 'ns:ItemIDType' |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=cut |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
sub setItemID { |
86
|
|
|
|
|
|
|
my $self = shift; |
87
|
|
|
|
|
|
|
$self->{'ItemID'} = shift |
88
|
|
|
|
|
|
|
} |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head2 getItemID() |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
Calls: GetVeROReportStatus |
93
|
|
|
|
|
|
|
Returned: Conditionally |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
# Returns: 'ns:ItemIDType' |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=cut |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
sub getItemID { |
100
|
|
|
|
|
|
|
my $self = shift; |
101
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ItemID' |
102
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType'); |
103
|
|
|
|
|
|
|
} |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=head2 setItemReasonForFailure() |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
The explanation entered by eBay when an item reported for infringement is |
109
|
|
|
|
|
|
|
given a status of SubmissionFailed or ClarificationRequired. |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
# Argument: 'xs:string' |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=cut |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
sub setItemReasonForFailure { |
116
|
|
|
|
|
|
|
my $self = shift; |
117
|
|
|
|
|
|
|
$self->{'ItemReasonForFailure'} = shift |
118
|
|
|
|
|
|
|
} |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=head2 getItemReasonForFailure() |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
Calls: GetVeROReportStatus |
123
|
|
|
|
|
|
|
Returned: Conditionally |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
# Returns: 'xs:string' |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=cut |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
sub getItemReasonForFailure { |
130
|
|
|
|
|
|
|
my $self = shift; |
131
|
|
|
|
|
|
|
return $self->{'ItemReasonForFailure'}; |
132
|
|
|
|
|
|
|
} |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=head2 setItemStatus() |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
The VeRO reporting status for a given item. |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
# Argument: 'ns:VeROItemStatusCodeType' |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
=cut |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
sub setItemStatus { |
144
|
|
|
|
|
|
|
my $self = shift; |
145
|
|
|
|
|
|
|
$self->{'ItemStatus'} = shift |
146
|
|
|
|
|
|
|
} |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
=head2 getItemStatus() |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
Calls: GetVeROReportStatus |
151
|
|
|
|
|
|
|
Returned: Conditionally |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
# Returns: 'ns:VeROItemStatusCodeType' |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
=cut |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
sub getItemStatus { |
158
|
|
|
|
|
|
|
my $self = shift; |
159
|
|
|
|
|
|
|
return $self->{'ItemStatus'}; |
160
|
|
|
|
|
|
|
} |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
## Attribute and Property lists |
167
|
|
|
|
|
|
|
sub getPropertiesList { |
168
|
|
|
|
|
|
|
my $self = shift; |
169
|
|
|
|
|
|
|
return \@gaProperties; |
170
|
|
|
|
|
|
|
} |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
sub getAttributesList { |
173
|
|
|
|
|
|
|
my $self = shift; |
174
|
|
|
|
|
|
|
return \@gaAttributes; |
175
|
|
|
|
|
|
|
} |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
1; |