| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::AddDispute::AddDisputeRequestType; |
|
4
|
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
9161
|
use strict; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
52
|
|
|
6
|
1
|
|
|
1
|
|
8
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
48
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
|
9
|
|
|
|
|
|
|
# |
|
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
|
11
|
|
|
|
|
|
|
# File: ................. AddDisputeRequestType.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::AddDispute::AddDisputeRequestType |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Enables a seller to create a new Unpaid Item dispute. (Item Not Received |
|
25
|
|
|
|
|
|
|
disputes can only be created via the eBay web site.) |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=cut |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 INHERITANCE |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
eBay::API::XML::Call::AddDispute::AddDisputeRequestType inherits from the L class |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |
|
39
|
|
|
|
|
|
|
|
|
40
|
1
|
|
|
1
|
|
599
|
use eBay::API::XML::RequestDataType; |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::RequestDataType"); |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
use eBay::API::XML::DataType::ItemIDType; |
|
44
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::DisputeExplanationCodeType; |
|
45
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::DisputeReasonCodeType; |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
my @gaProperties = ( [ 'DisputeExplanation', 'ns:DisputeExplanationCodeType', '' |
|
49
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::DisputeExplanationCodeType', '' ] |
|
50
|
|
|
|
|
|
|
, [ 'DisputeReason', 'ns:DisputeReasonCodeType', '' |
|
51
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::DisputeReasonCodeType', '' ] |
|
52
|
|
|
|
|
|
|
, [ 'ItemID', 'ns:ItemIDType', '' |
|
53
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType', '1' ] |
|
54
|
|
|
|
|
|
|
, [ 'TransactionID', 'xs:string', '', '', '' ] |
|
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 setDisputeExplanation() |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
An explanation of the dispute that supplements the |
|
82
|
|
|
|
|
|
|
DisputeReason. The allowed value depends on the value of |
|
83
|
|
|
|
|
|
|
DisputeReason. |
|
84
|
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
RequiredInput: Yes |
|
86
|
|
|
|
|
|
|
# Argument: 'ns:DisputeExplanationCodeType' |
|
87
|
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=cut |
|
89
|
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
sub setDisputeExplanation { |
|
91
|
|
|
|
|
|
|
my $self = shift; |
|
92
|
|
|
|
|
|
|
$self->{'DisputeExplanation'} = shift |
|
93
|
|
|
|
|
|
|
} |
|
94
|
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head2 getDisputeExplanation() |
|
96
|
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
# Returns: 'ns:DisputeExplanationCodeType' |
|
98
|
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=cut |
|
100
|
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
sub getDisputeExplanation { |
|
102
|
|
|
|
|
|
|
my $self = shift; |
|
103
|
|
|
|
|
|
|
return $self->{'DisputeExplanation'}; |
|
104
|
|
|
|
|
|
|
} |
|
105
|
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head2 setDisputeReason() |
|
108
|
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
The top-level reason for the Unpaid Item Dispute. |
|
110
|
|
|
|
|
|
|
DisputeReasonCodeType has several possible values. However, only |
|
111
|
|
|
|
|
|
|
BuyerHasNotPaid and TransactionMutuallyCanceled apply to |
|
112
|
|
|
|
|
|
|
AddDispute--you can only use AddDisputeCall to create Unpaid |
|
113
|
|
|
|
|
|
|
Item disputes. |
|
114
|
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
RequiredInput: Yes |
|
116
|
|
|
|
|
|
|
# Argument: 'ns:DisputeReasonCodeType' |
|
117
|
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=cut |
|
119
|
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
sub setDisputeReason { |
|
121
|
|
|
|
|
|
|
my $self = shift; |
|
122
|
|
|
|
|
|
|
$self->{'DisputeReason'} = shift |
|
123
|
|
|
|
|
|
|
} |
|
124
|
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=head2 getDisputeReason() |
|
126
|
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
# Returns: 'ns:DisputeReasonCodeType' |
|
128
|
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=cut |
|
130
|
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
sub getDisputeReason { |
|
132
|
|
|
|
|
|
|
my $self = shift; |
|
133
|
|
|
|
|
|
|
return $self->{'DisputeReason'}; |
|
134
|
|
|
|
|
|
|
} |
|
135
|
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
=head2 setItemID() |
|
138
|
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
The eBay ID of the item in dispute, an item which has been |
|
140
|
|
|
|
|
|
|
sold but not yet paid for. |
|
141
|
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits) |
|
143
|
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
RequiredInput: Yes |
|
145
|
|
|
|
|
|
|
# Argument: 'ns:ItemIDType' |
|
146
|
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
=cut |
|
148
|
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
sub setItemID { |
|
150
|
|
|
|
|
|
|
my $self = shift; |
|
151
|
|
|
|
|
|
|
$self->{'ItemID'} = shift |
|
152
|
|
|
|
|
|
|
} |
|
153
|
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
=head2 getItemID() |
|
155
|
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
# Returns: 'ns:ItemIDType' |
|
157
|
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
=cut |
|
159
|
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
sub getItemID { |
|
161
|
|
|
|
|
|
|
my $self = shift; |
|
162
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ItemID' |
|
163
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType'); |
|
164
|
|
|
|
|
|
|
} |
|
165
|
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
=head2 setTransactionID() |
|
168
|
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
The eBay ID of a transaction, created when the buyer committed |
|
170
|
|
|
|
|
|
|
to purchasing the item. A transaction ID is unique to the item |
|
171
|
|
|
|
|
|
|
but not across the entire eBay site. The transaction ID must be |
|
172
|
|
|
|
|
|
|
combined with an item ID to uniquely identify an item. |
|
173
|
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, transaction IDs are usually 9 to 12 digits.) |
|
175
|
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
RequiredInput: Yes |
|
177
|
|
|
|
|
|
|
# Argument: 'xs:string' |
|
178
|
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
=cut |
|
180
|
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
sub setTransactionID { |
|
182
|
|
|
|
|
|
|
my $self = shift; |
|
183
|
|
|
|
|
|
|
$self->{'TransactionID'} = shift |
|
184
|
|
|
|
|
|
|
} |
|
185
|
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
=head2 getTransactionID() |
|
187
|
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
# Returns: 'xs:string' |
|
189
|
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
=cut |
|
191
|
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
sub getTransactionID { |
|
193
|
|
|
|
|
|
|
my $self = shift; |
|
194
|
|
|
|
|
|
|
return $self->{'TransactionID'}; |
|
195
|
|
|
|
|
|
|
} |
|
196
|
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
## Attribute and Property lists |
|
202
|
|
|
|
|
|
|
sub getPropertiesList { |
|
203
|
|
|
|
|
|
|
my $self = shift; |
|
204
|
|
|
|
|
|
|
return \@gaProperties; |
|
205
|
|
|
|
|
|
|
} |
|
206
|
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
sub getAttributesList { |
|
208
|
|
|
|
|
|
|
my $self = shift; |
|
209
|
|
|
|
|
|
|
return \@gaAttributes; |
|
210
|
|
|
|
|
|
|
} |
|
211
|
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
|
|
214
|
|
|
|
|
|
|
1; |