| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::AddDisputeResponse::AddDisputeResponseRequestType; |
|
4
|
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1504
|
use strict; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
27
|
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
26
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
|
9
|
|
|
|
|
|
|
# |
|
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
|
11
|
|
|
|
|
|
|
# File: ................. AddDisputeResponseRequestType.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::AddDisputeResponse::AddDisputeResponseRequestType |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Allows a seller to respond to an Unpaid Item or Item Not Received dispute. |
|
25
|
|
|
|
|
|
|
The response can add a comment or close the dispute. |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=cut |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 INHERITANCE |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
eBay::API::XML::Call::AddDisputeResponse::AddDisputeResponseRequestType inherits from the L class |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |
|
39
|
|
|
|
|
|
|
|
|
40
|
1
|
|
|
1
|
|
33
|
use eBay::API::XML::RequestDataType; |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::RequestDataType"); |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
use eBay::API::XML::DataType::DisputeIDType; |
|
44
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::DisputeActivityCodeType; |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
my @gaProperties = ( [ 'DisputeActivity', 'ns:DisputeActivityCodeType', '' |
|
48
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::DisputeActivityCodeType', '' ] |
|
49
|
|
|
|
|
|
|
, [ 'DisputeID', 'ns:DisputeIDType', '' |
|
50
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::DisputeIDType', '1' ] |
|
51
|
|
|
|
|
|
|
, [ 'MessageText', 'xs:string', '', '', '' ] |
|
52
|
|
|
|
|
|
|
, [ 'ShipmentTrackNumber', 'xs:string', '', '', '' ] |
|
53
|
|
|
|
|
|
|
, [ 'ShippingCarrierUsed', 'xs:string', '', '', '' ] |
|
54
|
|
|
|
|
|
|
, [ 'ShippingTime', 'xs:dateTime', '', '', '' ] |
|
55
|
|
|
|
|
|
|
); |
|
56
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()}; |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
my @gaAttributes = ( |
|
59
|
|
|
|
|
|
|
); |
|
60
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()}; |
|
61
|
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 Subroutines: |
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=cut |
|
65
|
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
sub new { |
|
67
|
|
|
|
|
|
|
my $classname = shift; |
|
68
|
|
|
|
|
|
|
my %args = @_; |
|
69
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
|
70
|
|
|
|
|
|
|
return $self; |
|
71
|
|
|
|
|
|
|
} |
|
72
|
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
sub isScalar { |
|
74
|
|
|
|
|
|
|
return 0; |
|
75
|
|
|
|
|
|
|
} |
|
76
|
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head2 setDisputeActivity() |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
The type of activity the seller is taking on the dispute. |
|
82
|
|
|
|
|
|
|
The allowed value is determined by the current value of |
|
83
|
|
|
|
|
|
|
DisputeState, returned by GetDispute or GetUserDisputes. |
|
84
|
|
|
|
|
|
|
Some values are for Unpaid Item disputes and some are for Item |
|
85
|
|
|
|
|
|
|
Not Received disputes. |
|
86
|
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=UnpaidItemDisputes |
|
88
|
|
|
|
|
|
|
Title: Unpaid Item Disputes |
|
89
|
|
|
|
|
|
|
, URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=ItemNotReceivedDisputes |
|
90
|
|
|
|
|
|
|
Title: Item Not Received Disputes |
|
91
|
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
94
|
|
|
|
|
|
|
# Argument: 'ns:DisputeActivityCodeType' |
|
95
|
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=cut |
|
97
|
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
sub setDisputeActivity { |
|
99
|
|
|
|
|
|
|
my $self = shift; |
|
100
|
|
|
|
|
|
|
$self->{'DisputeActivity'} = shift |
|
101
|
|
|
|
|
|
|
} |
|
102
|
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=head2 getDisputeActivity() |
|
104
|
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
# Returns: 'ns:DisputeActivityCodeType' |
|
106
|
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=cut |
|
108
|
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
sub getDisputeActivity { |
|
110
|
|
|
|
|
|
|
my $self = shift; |
|
111
|
|
|
|
|
|
|
return $self->{'DisputeActivity'}; |
|
112
|
|
|
|
|
|
|
} |
|
113
|
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=head2 setDisputeID() |
|
116
|
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
The unique identifier of the dispute, |
|
118
|
|
|
|
|
|
|
returned when the dispute was created. |
|
119
|
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
RequiredInput: Yes |
|
121
|
|
|
|
|
|
|
# Argument: 'ns:DisputeIDType' |
|
122
|
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
=cut |
|
124
|
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
sub setDisputeID { |
|
126
|
|
|
|
|
|
|
my $self = shift; |
|
127
|
|
|
|
|
|
|
$self->{'DisputeID'} = shift |
|
128
|
|
|
|
|
|
|
} |
|
129
|
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=head2 getDisputeID() |
|
131
|
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
# Returns: 'ns:DisputeIDType' |
|
133
|
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=cut |
|
135
|
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
sub getDisputeID { |
|
137
|
|
|
|
|
|
|
my $self = shift; |
|
138
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'DisputeID' |
|
139
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::DisputeIDType'); |
|
140
|
|
|
|
|
|
|
} |
|
141
|
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
=head2 setMessageText() |
|
144
|
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
The text of a comment or response being posted to the dispute. Required |
|
146
|
|
|
|
|
|
|
when DisputeActivity is SellerAddInformation, SellerComment, or |
|
147
|
|
|
|
|
|
|
SellerPaymentNotReceived; otherwise, optional. |
|
148
|
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
150
|
|
|
|
|
|
|
# Argument: 'xs:string' |
|
151
|
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=cut |
|
153
|
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
sub setMessageText { |
|
155
|
|
|
|
|
|
|
my $self = shift; |
|
156
|
|
|
|
|
|
|
$self->{'MessageText'} = shift |
|
157
|
|
|
|
|
|
|
} |
|
158
|
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
=head2 getMessageText() |
|
160
|
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
# Returns: 'xs:string' |
|
162
|
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
=cut |
|
164
|
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
sub getMessageText { |
|
166
|
|
|
|
|
|
|
my $self = shift; |
|
167
|
|
|
|
|
|
|
return $self->{'MessageText'}; |
|
168
|
|
|
|
|
|
|
} |
|
169
|
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
=head2 setShipmentTrackNumber() |
|
172
|
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
The shipper's tracking number for the item being shipped. Required |
|
174
|
|
|
|
|
|
|
if DisputeActivity is SellerShippedItem; otherwise, optional. |
|
175
|
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
177
|
|
|
|
|
|
|
# Argument: 'xs:string' |
|
178
|
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
=cut |
|
180
|
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
sub setShipmentTrackNumber { |
|
182
|
|
|
|
|
|
|
my $self = shift; |
|
183
|
|
|
|
|
|
|
$self->{'ShipmentTrackNumber'} = shift |
|
184
|
|
|
|
|
|
|
} |
|
185
|
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
=head2 getShipmentTrackNumber() |
|
187
|
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
# Returns: 'xs:string' |
|
189
|
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
=cut |
|
191
|
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
sub getShipmentTrackNumber { |
|
193
|
|
|
|
|
|
|
my $self = shift; |
|
194
|
|
|
|
|
|
|
return $self->{'ShipmentTrackNumber'}; |
|
195
|
|
|
|
|
|
|
} |
|
196
|
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
=head2 setShippingCarrierUsed() |
|
199
|
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
The shipping carrier used for the item in dispute. Required if DisputeActivity |
|
201
|
|
|
|
|
|
|
is SellerShippedItem; otherwise, optional. |
|
202
|
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
204
|
|
|
|
|
|
|
# Argument: 'xs:string' |
|
205
|
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
=cut |
|
207
|
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
sub setShippingCarrierUsed { |
|
209
|
|
|
|
|
|
|
my $self = shift; |
|
210
|
|
|
|
|
|
|
$self->{'ShippingCarrierUsed'} = shift |
|
211
|
|
|
|
|
|
|
} |
|
212
|
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
=head2 getShippingCarrierUsed() |
|
214
|
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
# Returns: 'xs:string' |
|
216
|
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
=cut |
|
218
|
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
sub getShippingCarrierUsed { |
|
220
|
|
|
|
|
|
|
my $self = shift; |
|
221
|
|
|
|
|
|
|
return $self->{'ShippingCarrierUsed'}; |
|
222
|
|
|
|
|
|
|
} |
|
223
|
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
=head2 setShippingTime() |
|
226
|
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
The date the item under dispute was shipped. Required if DisputeActivity |
|
228
|
|
|
|
|
|
|
is SellerShippedItem; otherwise, optional. |
|
229
|
|
|
|
|
|
|
|
|
230
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
231
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
|
232
|
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
=cut |
|
234
|
|
|
|
|
|
|
|
|
235
|
|
|
|
|
|
|
sub setShippingTime { |
|
236
|
|
|
|
|
|
|
my $self = shift; |
|
237
|
|
|
|
|
|
|
$self->{'ShippingTime'} = shift |
|
238
|
|
|
|
|
|
|
} |
|
239
|
|
|
|
|
|
|
|
|
240
|
|
|
|
|
|
|
=head2 getShippingTime() |
|
241
|
|
|
|
|
|
|
|
|
242
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
|
243
|
|
|
|
|
|
|
|
|
244
|
|
|
|
|
|
|
=cut |
|
245
|
|
|
|
|
|
|
|
|
246
|
|
|
|
|
|
|
sub getShippingTime { |
|
247
|
|
|
|
|
|
|
my $self = shift; |
|
248
|
|
|
|
|
|
|
return $self->{'ShippingTime'}; |
|
249
|
|
|
|
|
|
|
} |
|
250
|
|
|
|
|
|
|
|
|
251
|
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
|
|
253
|
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
|
|
255
|
|
|
|
|
|
|
## Attribute and Property lists |
|
256
|
|
|
|
|
|
|
sub getPropertiesList { |
|
257
|
|
|
|
|
|
|
my $self = shift; |
|
258
|
|
|
|
|
|
|
return \@gaProperties; |
|
259
|
|
|
|
|
|
|
} |
|
260
|
|
|
|
|
|
|
|
|
261
|
|
|
|
|
|
|
sub getAttributesList { |
|
262
|
|
|
|
|
|
|
my $self = shift; |
|
263
|
|
|
|
|
|
|
return \@gaAttributes; |
|
264
|
|
|
|
|
|
|
} |
|
265
|
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
|
|
267
|
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
1; |