line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::DisputeResolutionType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1244
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
28
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
28
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. DisputeResolutionType.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::DisputeResolutionType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Contains all information about a dispute resolution. A dispute |
25
|
|
|
|
|
|
|
can have a resolution even if the seller does not receive payment. |
26
|
|
|
|
|
|
|
The resolution can have various results, including a Final Value Fee credit to |
27
|
|
|
|
|
|
|
the seller or a strike to the buyer. |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 SYNOPSIS |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=cut |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 INHERITANCE |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
eBay::API::XML::DataType::DisputeResolutionType inherits from the L class |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=cut |
41
|
|
|
|
|
|
|
|
42
|
1
|
|
|
1
|
|
33
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::DisputeResolutionReasonCodeType; |
46
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::DisputeResolutionRecordTypeCodeType; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
my @gaProperties = ( [ 'DisputeResolutionReason', 'ns:DisputeResolutionReasonCodeType', '' |
50
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::DisputeResolutionReasonCodeType', '' ] |
51
|
|
|
|
|
|
|
, [ 'DisputeResolutionRecordType', 'ns:DisputeResolutionRecordTypeCodeType', '' |
52
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::DisputeResolutionRecordTypeCodeType', '' ] |
53
|
|
|
|
|
|
|
, [ 'ResolutionTime', 'xs:dateTime', '', '', '' ] |
54
|
|
|
|
|
|
|
); |
55
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
my @gaAttributes = ( |
58
|
|
|
|
|
|
|
); |
59
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 Subroutines: |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=cut |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
sub new { |
66
|
|
|
|
|
|
|
my $classname = shift; |
67
|
|
|
|
|
|
|
my %args = @_; |
68
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
69
|
|
|
|
|
|
|
return $self; |
70
|
|
|
|
|
|
|
} |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
sub isScalar { |
73
|
|
|
|
|
|
|
return 0; |
74
|
|
|
|
|
|
|
} |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=head2 setDisputeResolutionReason() |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
The reason for the resolution. The DisputeResolutionReason |
81
|
|
|
|
|
|
|
results in the action described by the DisputeResolutionRecordType. |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
# Argument: 'ns:DisputeResolutionReasonCodeType' |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=cut |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
sub setDisputeResolutionReason { |
88
|
|
|
|
|
|
|
my $self = shift; |
89
|
|
|
|
|
|
|
$self->{'DisputeResolutionReason'} = shift |
90
|
|
|
|
|
|
|
} |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=head2 getDisputeResolutionReason() |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
Calls: GetUserDisputes |
95
|
|
|
|
|
|
|
Returned: Conditionally |
96
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll, none |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
# Returns: 'ns:DisputeResolutionReasonCodeType' |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=cut |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
sub getDisputeResolutionReason { |
103
|
|
|
|
|
|
|
my $self = shift; |
104
|
|
|
|
|
|
|
return $self->{'DisputeResolutionReason'}; |
105
|
|
|
|
|
|
|
} |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=head2 setDisputeResolutionRecordType() |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
The action resulting from the resolution, affecting either |
111
|
|
|
|
|
|
|
the buyer or the seller. |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
# Argument: 'ns:DisputeResolutionRecordTypeCodeType' |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=cut |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
sub setDisputeResolutionRecordType { |
118
|
|
|
|
|
|
|
my $self = shift; |
119
|
|
|
|
|
|
|
$self->{'DisputeResolutionRecordType'} = shift |
120
|
|
|
|
|
|
|
} |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
=head2 getDisputeResolutionRecordType() |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
Calls: GetUserDisputes |
125
|
|
|
|
|
|
|
Returned: Conditionally |
126
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll, none |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
# Returns: 'ns:DisputeResolutionRecordTypeCodeType' |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=cut |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
sub getDisputeResolutionRecordType { |
133
|
|
|
|
|
|
|
my $self = shift; |
134
|
|
|
|
|
|
|
return $self->{'DisputeResolutionRecordType'}; |
135
|
|
|
|
|
|
|
} |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=head2 setResolutionTime() |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
The date and time the dispute was resolved, in GMT. |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
=cut |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
sub setResolutionTime { |
147
|
|
|
|
|
|
|
my $self = shift; |
148
|
|
|
|
|
|
|
$self->{'ResolutionTime'} = shift |
149
|
|
|
|
|
|
|
} |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
=head2 getResolutionTime() |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
Calls: GetUserDisputes |
154
|
|
|
|
|
|
|
Returned: Conditionally |
155
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll, none |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
=cut |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
sub getResolutionTime { |
162
|
|
|
|
|
|
|
my $self = shift; |
163
|
|
|
|
|
|
|
return $self->{'ResolutionTime'}; |
164
|
|
|
|
|
|
|
} |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
## Attribute and Property lists |
171
|
|
|
|
|
|
|
sub getPropertiesList { |
172
|
|
|
|
|
|
|
my $self = shift; |
173
|
|
|
|
|
|
|
return \@gaProperties; |
174
|
|
|
|
|
|
|
} |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
sub getAttributesList { |
177
|
|
|
|
|
|
|
my $self = shift; |
178
|
|
|
|
|
|
|
return \@gaAttributes; |
179
|
|
|
|
|
|
|
} |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
1; |