line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::SetUserNotes::SetUserNotesRequestType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
2026
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
42
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
41
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. SetUserNotesRequestType.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::SetUserNotes::SetUserNotesRequestType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Enables users to add, replace, and delete My eBay notes for |
25
|
|
|
|
|
|
|
items that are being tracked in the My eBay All Selling and |
26
|
|
|
|
|
|
|
All Buying areas. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 SYNOPSIS |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=cut |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 INHERITANCE |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
eBay::API::XML::Call::SetUserNotes::SetUserNotesRequestType inherits from the L class |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=cut |
40
|
|
|
|
|
|
|
|
41
|
1
|
|
|
1
|
|
48
|
use eBay::API::XML::RequestDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::RequestDataType"); |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
use eBay::API::XML::DataType::ItemIDType; |
45
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::SetUserNotesActionCodeType; |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
my @gaProperties = ( [ 'Action', 'ns:SetUserNotesActionCodeType', '' |
49
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::SetUserNotesActionCodeType', '' ] |
50
|
|
|
|
|
|
|
, [ 'ItemID', 'ns:ItemIDType', '' |
51
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType', '1' ] |
52
|
|
|
|
|
|
|
, [ 'NoteText', 'xs:string', '', '', '' ] |
53
|
|
|
|
|
|
|
, [ 'TransactionID', 'xs:string', '', '', '' ] |
54
|
|
|
|
|
|
|
); |
55
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()}; |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
my @gaAttributes = ( |
58
|
|
|
|
|
|
|
); |
59
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::RequestDataType::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 setAction() |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
Specifies whether to add/update the note or delete. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
RequiredInput: Yes |
83
|
|
|
|
|
|
|
# Argument: 'ns:SetUserNotesActionCodeType' |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=cut |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
sub setAction { |
88
|
|
|
|
|
|
|
my $self = shift; |
89
|
|
|
|
|
|
|
$self->{'Action'} = shift |
90
|
|
|
|
|
|
|
} |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=head2 getAction() |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
# Returns: 'ns:SetUserNotesActionCodeType' |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=cut |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
sub getAction { |
99
|
|
|
|
|
|
|
my $self = shift; |
100
|
|
|
|
|
|
|
return $self->{'Action'}; |
101
|
|
|
|
|
|
|
} |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=head2 setItemID() |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
ID of the item to which the My eBay note will be |
107
|
|
|
|
|
|
|
attached. Notes can only be added to items that are |
108
|
|
|
|
|
|
|
currently being tracked in My eBay. |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits) |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
RequiredInput: Yes |
113
|
|
|
|
|
|
|
# Argument: 'ns:ItemIDType' |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=cut |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
sub setItemID { |
118
|
|
|
|
|
|
|
my $self = shift; |
119
|
|
|
|
|
|
|
$self->{'ItemID'} = shift |
120
|
|
|
|
|
|
|
} |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
=head2 getItemID() |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
# Returns: 'ns:ItemIDType' |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=cut |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
sub getItemID { |
129
|
|
|
|
|
|
|
my $self = shift; |
130
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ItemID' |
131
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType'); |
132
|
|
|
|
|
|
|
} |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=head2 setNoteText() |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
Text of the note. Maximum 250 characters. Required only |
138
|
|
|
|
|
|
|
if the Action is AddOrUpdate. This note text will |
139
|
|
|
|
|
|
|
completely replace any existing My eBay note for the |
140
|
|
|
|
|
|
|
specified item. |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
MaxLength: 250 |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
RequiredInput: Conditionally |
145
|
|
|
|
|
|
|
# Argument: 'xs:string' |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
=cut |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
sub setNoteText { |
150
|
|
|
|
|
|
|
my $self = shift; |
151
|
|
|
|
|
|
|
$self->{'NoteText'} = shift |
152
|
|
|
|
|
|
|
} |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
=head2 getNoteText() |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
# Returns: 'xs:string' |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
=cut |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
sub getNoteText { |
161
|
|
|
|
|
|
|
my $self = shift; |
162
|
|
|
|
|
|
|
return $self->{'NoteText'}; |
163
|
|
|
|
|
|
|
} |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
=head2 setTransactionID() |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
ID of the transaction to which the My eBay note will be |
169
|
|
|
|
|
|
|
attached. Notes can only be added to transactions that are |
170
|
|
|
|
|
|
|
currently being tracked in My eBay. |
171
|
|
|
|
|
|
|
You can see it in the Won list of GetMyeBayBuying if you are the buyer. |
172
|
|
|
|
|
|
|
You can see it from Sold list of GetMyeBaySelling if you are the seller. |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
RequiredInput: No |
175
|
|
|
|
|
|
|
# Argument: 'xs:string' |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
=cut |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
sub setTransactionID { |
180
|
|
|
|
|
|
|
my $self = shift; |
181
|
|
|
|
|
|
|
$self->{'TransactionID'} = shift |
182
|
|
|
|
|
|
|
} |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
=head2 getTransactionID() |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
# Returns: 'xs:string' |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
=cut |
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
sub getTransactionID { |
191
|
|
|
|
|
|
|
my $self = shift; |
192
|
|
|
|
|
|
|
return $self->{'TransactionID'}; |
193
|
|
|
|
|
|
|
} |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
## Attribute and Property lists |
200
|
|
|
|
|
|
|
sub getPropertiesList { |
201
|
|
|
|
|
|
|
my $self = shift; |
202
|
|
|
|
|
|
|
return \@gaProperties; |
203
|
|
|
|
|
|
|
} |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
sub getAttributesList { |
206
|
|
|
|
|
|
|
my $self = shift; |
207
|
|
|
|
|
|
|
return \@gaAttributes; |
208
|
|
|
|
|
|
|
} |
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
1; |