line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::AddDispute; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
21387
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
43
|
|
6
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
41
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. AddDispute.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 |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 INHERITANCE |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
eBay::API::XML::Call::AddDispute inherits from the L class |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
1
|
|
|
1
|
|
659
|
use eBay::API::XML::BaseCall; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseCall"); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
use eBay::API::XML::Call::AddDispute::AddDisputeRequestType; |
41
|
|
|
|
|
|
|
use eBay::API::XML::Call::AddDispute::AddDisputeResponseType; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 Subroutines: |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
sub getApiCallName { |
49
|
|
|
|
|
|
|
return 'AddDispute'; |
50
|
|
|
|
|
|
|
} |
51
|
|
|
|
|
|
|
sub getRequestDataTypeFullPackage { |
52
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::AddDispute::AddDisputeRequestType'; |
53
|
|
|
|
|
|
|
} |
54
|
|
|
|
|
|
|
sub getResponseDataTypeFullPackage { |
55
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::AddDispute::AddDisputeResponseType'; |
56
|
|
|
|
|
|
|
} |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
# |
59
|
|
|
|
|
|
|
# input properties |
60
|
|
|
|
|
|
|
# |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 setDisputeExplanation() |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
An explanation of the dispute that supplements the |
65
|
|
|
|
|
|
|
DisputeReason. The allowed value depends on the value of |
66
|
|
|
|
|
|
|
DisputeReason. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
RequiredInput: Yes |
69
|
|
|
|
|
|
|
# Argument: 'ns:DisputeExplanationCodeType' |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=cut |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
sub setDisputeExplanation { |
74
|
|
|
|
|
|
|
my $self = shift; |
75
|
|
|
|
|
|
|
my $sDisputeExplanation = shift; |
76
|
|
|
|
|
|
|
$self->getRequestDataType()->setDisputeExplanation($sDisputeExplanation); |
77
|
|
|
|
|
|
|
} |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head2 setDisputeReason() |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
The top-level reason for the Unpaid Item Dispute. |
82
|
|
|
|
|
|
|
DisputeReasonCodeType has several possible values. However, only |
83
|
|
|
|
|
|
|
BuyerHasNotPaid and TransactionMutuallyCanceled apply to |
84
|
|
|
|
|
|
|
AddDispute--you can only use AddDisputeCall to create Unpaid |
85
|
|
|
|
|
|
|
Item disputes. |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
RequiredInput: Yes |
88
|
|
|
|
|
|
|
# Argument: 'ns:DisputeReasonCodeType' |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=cut |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
sub setDisputeReason { |
93
|
|
|
|
|
|
|
my $self = shift; |
94
|
|
|
|
|
|
|
my $sDisputeReason = shift; |
95
|
|
|
|
|
|
|
$self->getRequestDataType()->setDisputeReason($sDisputeReason); |
96
|
|
|
|
|
|
|
} |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=head2 setItemID() |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
The eBay ID of the item in dispute, an item which has been |
101
|
|
|
|
|
|
|
sold but not yet paid for. |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits) |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
RequiredInput: Yes |
106
|
|
|
|
|
|
|
# Argument: 'ns:ItemIDType' |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=cut |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
sub setItemID { |
111
|
|
|
|
|
|
|
my $self = shift; |
112
|
|
|
|
|
|
|
my $pItemID = shift; |
113
|
|
|
|
|
|
|
$self->getRequestDataType()->setItemID($pItemID); |
114
|
|
|
|
|
|
|
} |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=head2 setTransactionID() |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
The eBay ID of a transaction, created when the buyer committed |
119
|
|
|
|
|
|
|
to purchasing the item. A transaction ID is unique to the item |
120
|
|
|
|
|
|
|
but not across the entire eBay site. The transaction ID must be |
121
|
|
|
|
|
|
|
combined with an item ID to uniquely identify an item. |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, transaction IDs are usually 9 to 12 digits.) |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
RequiredInput: Yes |
126
|
|
|
|
|
|
|
# Argument: 'xs:string' |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
=cut |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
sub setTransactionID { |
131
|
|
|
|
|
|
|
my $self = shift; |
132
|
|
|
|
|
|
|
my $sTransactionID = shift; |
133
|
|
|
|
|
|
|
$self->getRequestDataType()->setTransactionID($sTransactionID); |
134
|
|
|
|
|
|
|
} |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
# |
139
|
|
|
|
|
|
|
# output properties |
140
|
|
|
|
|
|
|
# |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
=head2 getDisputeID() |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
The unique identifier of the Unpaid Item dispute. |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
Returned: Always |
147
|
|
|
|
|
|
|
# Returns: 'ns:DisputeIDType' |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
=cut |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
sub getDisputeID { |
152
|
|
|
|
|
|
|
my $self = shift; |
153
|
|
|
|
|
|
|
return $self->getResponseDataType()->getDisputeID(); |
154
|
|
|
|
|
|
|
} |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
1; |