line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::ListingTipMessageType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
2602
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
40
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
55
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. ListingTipMessageType.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::ListingTipMessageType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Contains the message portion of a listing tip that is returned by the Listing Analyzer engine. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::DataType::ListingTipMessageType inherits from the L class |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
1
|
|
|
1
|
|
41
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
my @gaProperties = ( [ 'HelpURLPath', 'xs:string', '', '', '' ] |
45
|
|
|
|
|
|
|
, [ 'ListingTipMessageID', 'xs:string', '', '', '' ] |
46
|
|
|
|
|
|
|
, [ 'LongMessage', 'xs:string', '', '', '' ] |
47
|
|
|
|
|
|
|
, [ 'ShortMessage', 'xs:string', '', '', '' ] |
48
|
|
|
|
|
|
|
); |
49
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
my @gaAttributes = ( |
52
|
|
|
|
|
|
|
); |
53
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 Subroutines: |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=cut |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
sub new { |
60
|
|
|
|
|
|
|
my $classname = shift; |
61
|
|
|
|
|
|
|
my %args = @_; |
62
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
63
|
|
|
|
|
|
|
return $self; |
64
|
|
|
|
|
|
|
} |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
sub isScalar { |
67
|
|
|
|
|
|
|
return 0; |
68
|
|
|
|
|
|
|
} |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head2 setHelpURLPath() |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
Path part of a URL for a "Learn More" link that points to a relevant eBay Web site online help page. |
75
|
|
|
|
|
|
|
The path is relative to http://pages.ebay.XX, where XX is the 2-letter site code |
76
|
|
|
|
|
|
|
(e.g., http://pages.ebay.de for the eBay Germany site). Applications should append the |
77
|
|
|
|
|
|
|
URL to the appropriate path for the user's site. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
MaxLength: 125 |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
# Argument: 'xs:string' |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=cut |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
sub setHelpURLPath { |
86
|
|
|
|
|
|
|
my $self = shift; |
87
|
|
|
|
|
|
|
$self->{'HelpURLPath'} = shift |
88
|
|
|
|
|
|
|
} |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head2 getHelpURLPath() |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
Calls: GetItemRecommendations |
93
|
|
|
|
|
|
|
Returned: Conditionally |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
# Returns: 'xs:string' |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=cut |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
sub getHelpURLPath { |
100
|
|
|
|
|
|
|
my $self = shift; |
101
|
|
|
|
|
|
|
return $self->{'HelpURLPath'}; |
102
|
|
|
|
|
|
|
} |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head2 setListingTipMessageID() |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
Identifier for the tip message. Primarily for internal use. This value may change over time. |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
# Argument: 'xs:string' |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=cut |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
sub setListingTipMessageID { |
114
|
|
|
|
|
|
|
my $self = shift; |
115
|
|
|
|
|
|
|
$self->{'ListingTipMessageID'} = shift |
116
|
|
|
|
|
|
|
} |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=head2 getListingTipMessageID() |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
Calls: GetItemRecommendations |
121
|
|
|
|
|
|
|
Returned: Conditionally |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
# Returns: 'xs:string' |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=cut |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
sub getListingTipMessageID { |
128
|
|
|
|
|
|
|
my $self = shift; |
129
|
|
|
|
|
|
|
return $self->{'ListingTipMessageID'}; |
130
|
|
|
|
|
|
|
} |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=head2 setLongMessage() |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
Detailed version of the tip message. |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
MaxLength: 125 |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
# Argument: 'xs:string' |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
=cut |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
sub setLongMessage { |
144
|
|
|
|
|
|
|
my $self = shift; |
145
|
|
|
|
|
|
|
$self->{'LongMessage'} = shift |
146
|
|
|
|
|
|
|
} |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
=head2 getLongMessage() |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
Calls: GetItemRecommendations |
151
|
|
|
|
|
|
|
Returned: Conditionally |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
# Returns: 'xs:string' |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
=cut |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
sub getLongMessage { |
158
|
|
|
|
|
|
|
my $self = shift; |
159
|
|
|
|
|
|
|
return $self->{'LongMessage'}; |
160
|
|
|
|
|
|
|
} |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
=head2 setShortMessage() |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
Brief version of the tip message. |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
MaxLength: 125 |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
# Argument: 'xs:string' |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
=cut |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
sub setShortMessage { |
174
|
|
|
|
|
|
|
my $self = shift; |
175
|
|
|
|
|
|
|
$self->{'ShortMessage'} = shift |
176
|
|
|
|
|
|
|
} |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
=head2 getShortMessage() |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
Calls: GetItemRecommendations |
181
|
|
|
|
|
|
|
Returned: Conditionally |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
# Returns: 'xs:string' |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
=cut |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
sub getShortMessage { |
188
|
|
|
|
|
|
|
my $self = shift; |
189
|
|
|
|
|
|
|
return $self->{'ShortMessage'}; |
190
|
|
|
|
|
|
|
} |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
## Attribute and Property lists |
197
|
|
|
|
|
|
|
sub getPropertiesList { |
198
|
|
|
|
|
|
|
my $self = shift; |
199
|
|
|
|
|
|
|
return \@gaProperties; |
200
|
|
|
|
|
|
|
} |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
sub getAttributesList { |
203
|
|
|
|
|
|
|
my $self = shift; |
204
|
|
|
|
|
|
|
return \@gaAttributes; |
205
|
|
|
|
|
|
|
} |
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
1; |